<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://chemwiki.ch.ic.ac.uk/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jo1213</id>
	<title>ChemWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://chemwiki.ch.ic.ac.uk/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jo1213"/>
	<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/wiki/Special:Contributions/Jo1213"/>
	<updated>2026-05-16T15:25:27Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553580</id>
		<title>Rep:Mod:JOH95MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553580"/>
		<updated>2016-03-11T11:55:09Z</updated>

		<summary type="html">&lt;p&gt;Jo1213: /* Molecular Dynamics */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
The experiment will investigate the properties of an MgO crystal. Firstly the dimensions of the unit cells will be investigated along with the associated energy. Then the phonon dispersion and DOS will be investigated, evaluating the optimal grid size to use. The energies of the crystal will be investigates along with the thermal expansion coefficients. Lastly the quasi-harmonic approximation (QHA) and the molecular dynamics (MD) will be compared. &lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon-based model used to describe volume-dependent thermal effects. The harmonic phonon model assumes that all intermolecular forces are harmonic. This is not sufficient to describe thermal expansion as there is no change to the equilibrium bond length as temperature increases. The QHA takes into account that molecules do have an anharmonic effect at higher temperatures by treating frequencies as volume dependent. &lt;br /&gt;
&lt;br /&gt;
The MD approach allows a system to evolve in time according to Newton&#039;s second law &amp;lt;math&amp;gt;F=ma&amp;lt;/math&amp;gt;. The initial configurations and velocities are assigned to allow the program to iterate positions and velocities. The atoms follow trajectories and the properties, such as E and T, are computed as time averages of their behaviour.&lt;br /&gt;
&lt;br /&gt;
The programs used were RedHat Linux, DLVisulaize (DLV) and General Utility Lattice Program (GULP). DLV allows us to visualise the MgO crystals and GULP is used to perform simulations on materials using boundary conditions, in this case on a 3D lattice.&lt;br /&gt;
&lt;br /&gt;
== Internal Energy of MgO ==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:PC 1.png|left|thumb|300px|Figure 1. Primitive Cell of MgO]]&lt;br /&gt;
|[[File:CC .png|left|thumb|300px|Figure 2. Conventional Cell of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 1 shows the primitive unit cell of MgO. The primitive unit cell consists of 2 atoms Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; which are held together by a Buckingham repulsive potential. The unit cell has a rhombohedron shape with lattice constants of 2.9783 Å and an internal angle a = 60°. The primitive cell contains one lattice point and is the simplest cell to describe the crystal. A calculation was run on MgO. In the [https://wiki.ch.ic.ac.uk/wiki/images/e/e7/MgO_1_james.txt LogFile] GULF describes MgO using a primitive unit cell. The Cartesian lattice vectors of the cell are reported in table 1 and the total lattice energy was -41.07531759 eV which represents the energy to pull all the atom infinitely apart. The GULP calculation correlates with LCAO HF calculations found in literature (2.573 Å &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;). &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|-&lt;br /&gt;
|+ Table 1ː Cell Vector Dimensions/Å&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The conventional cell has four times the volume of the primitive cell as shown in figure 2. The structure of the cell is face centered cubic (FCC) which has an internal angel a = 90° and a lattice vector of 4.212 Å (which agrees with literature of 4.21 Å &amp;lt;ref name =&amp;quot;Ref 2&amp;quot; /&amp;gt;). The conventional cell is more representative of the crystal so is chosen in the calculations.&lt;br /&gt;
&lt;br /&gt;
==Computing the Phonon Dispersion Curves==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO Phonon Dispersion JOH.png|thumb|300px|Figure 3. Phonon Dispersion Graph of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The vibrational modes of the lattice were then computed. The phonon modes were displayed as a dispersion curve, as shown in figure 3. The phonon frequencies were calculated along a path in k-space. Special points along the path, &amp;lt;math&amp;gt;W, L, \Gamma, X, W, K&amp;lt;/math&amp;gt;, can be seen in figure 3. There are two phonos modes associated with each axis, acoustic (in-phase) and optical (out-of-phase) phonons. In the 3D model three axis (x,y,z) are taken into consideration meaning there are 6 phonon modes as shown by the six different curves in figure 3. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:K=0 JOH.png|thumb|300px|Figure 4. Acoustic and optical modes at k=0]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The relationship between the wavevector k to the wavelength &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) is &amp;lt;math&amp;gt;k= \frac{2\pi}{\lambda}&amp;lt;/math&amp;gt;. Furthermore the relationship between wavelength &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) and frequency is &amp;lt;math&amp;gt; v = \frac{c}{\lambda} &amp;lt;/math&amp;gt;. As shown in figure 4 when k=0, for the acoustic mode, the wavelength approaches infinity as all the atoms move in the same direction along the axis. As &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; approaches infinity, frequency will tend to 0. For the optical mode the frequency is non-zero. With this information it is clear that at k=0 the dispersion graph is at symmetry point &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; as this is the only point on the dispersion curve where phonon modes display a frequency of zero. &lt;br /&gt;
&lt;br /&gt;
Following the path from &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;, to &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and then to &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; the acoustic mode splits into 3 modes, two transverse modes (TA) and one longitude mode (LA). The two TA are degenerate between &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; until it splits between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Phonon Density of States (DOS)==&lt;br /&gt;
The next part involved calculating the phonon density of states. The DOS is defined as the number of states per energy at a given energy, in this case vibrational frequency. The larger the number of k values considered in reciprocal space the more accurate the DOS. This is achieved by increasing the grid size (nxnxn) to give a better representation of the crystal by sampling more k values in reciprocal space. However, at a certain point the difference between k values is negligible so does not further increase the accuracy of the DOS. Furthermore calculating an infinite number of k values would take an infinite amount of computing time.&lt;br /&gt;
&lt;br /&gt;
The DOS was calculated for a 1x1x1 grid by setting the shrinking value to 1 as shown in figure 5. The grid size was then increased to find the optimum shrinking value that gave a good representation of the DOS without taking too long to calculate as shown by figures 6 through 10. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo Phonon DOS JOH 111.png|thumb|300px|Figure 5. Phonon DOS of MgO using 1x1x1 grid size]]&lt;br /&gt;
|[[File:JOHphononDOS444.png|thumb|300px|Figure 6. Phonon DOS of MgO using 4x4x4 grid size]]&lt;br /&gt;
|[[File:JOHDOS888.png|thumb|300px|Figure 7. Phonon DOS of MgO using 8x8x8 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOHDOS161616.png|thumb|300px|Figure 8. Phonon DOS of MgO using 16x16x16 grid size]]&lt;br /&gt;
|[[File:JOHDOS323232.png|thumb|300px|Figure 9. Phonon DOS of MgO using 32x32x32 grid size]]&lt;br /&gt;
|[[File:JOHDOS50.png|thumb|300px|Figure 10. Phonon DOS of MgO using 50x50x50 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 5 shows the DOS for a 1x1x1 grid size. The four peaks 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 676 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 819 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; represent the four frequencies at point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. At symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;, by looking at figure 3, the two phonon modes at 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; are degenerate (as they go on to split in two curves between points &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;). This degeneracy is confirmed in the DOS graph in figure 5 as the intensity of the peaks around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; is around double that of the peaks around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is chosen as the k-value for a grid size of 1x1x1 as it is the most representative point in k-space for the DOS. This is shown visually from figures 5 to 10 as when the DOS becomes more accurate the main peak remains around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; with the smaller peak still remaining around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. There is a theorem about using the &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; point in reciprocal space for a 1x1x1 grid called Baldereschi theorem &amp;lt;ref name = &amp;quot;Ref 3&amp;quot;/&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The ideal grid size is one that represents the DOS without taking too long to calculate. From figure 8 onwards the shape of the curve does not change much, so it can be concluded that using a grid size of 16 is sufficient enough to gain a good understanding of the DOS without taking too long to calculate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:DOS dispersion JOH.png|thumb|400px|Figure 11. Comparing the dispersion curve with the DOS]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It is important to note the relationship between the dispersion curve and the DOS graph as shown in figure 11. The frequency in the phonon dispersion curve on the y axis is the same as the frequency on the DOS curve in the x-axis. It can be seen visually that the most popular states are around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The relationship between real space and reciprocal space is given by the formula &amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt; - a being the length in real space transformed to a* in reciprocal space. This shows that the larger the lattice constant a, the smaller the reciprocal cell. This is important to consider when assessing the DOS for other structures. Lithium has a lattice constant of 3.490 Å &amp;lt;ref name = &amp;quot;Ref 4&amp;quot;/&amp;gt; which is 0.721 Å lower that the conventional unit cell of MgO that is being modelled. Due to the inverse relationship of real to reciprocal space, lithium will have a larger cell in reciprocal space and therefore need a larger grid size in order to measure more k values to give an accurate DOS. Conversely Faujasite has a lattice constant of 24.7 Å &amp;lt;ref name = &amp;quot;Ref 5&amp;quot; /&amp;gt; which will give a much smaller cell in reciprocal space meaning that a smaller grid size would give an accurate measurement of the DOS as there are fewer k values needed to measure the cell. CaO has a very similar lattice constant to MgO meaning that a similar grid size would be needed to accurately measure the DOS - in this case a grid size of 16x16x16 would be sufficient.&lt;br /&gt;
&lt;br /&gt;
==Computing the Free Energy==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Table 2ː Energy vs Grid size&lt;br /&gt;
! Grid Size nxnxn/n&lt;br /&gt;
! Free Energy/eV&lt;br /&gt;
! Accuracy/ meV&lt;br /&gt;
! Log file&lt;br /&gt;
! rowspan=&amp;quot;9&amp;quot;|[[File:JOH Free energy vs grid size.png|thumb|400px|]]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| -40.930301&lt;br /&gt;
| 4&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/1/12/JOH_fe_MgO_111.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| -40.926609&lt;br /&gt;
| 0.2&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/aa/JOH_fe_MgO_222.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -40.926432&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4d/JOH_fe_MgO_333.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -40.926450&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/40/JOH_fe_MgO_444.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -40.926478&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/7/70/JOH_fe_MgO_888.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -40.926482&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4f/JOH_fe_MgO_16.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/ac/JOH_fe_MgO_32.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 50&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [[Media:JOH_fe_MgO_50.txt.zip|log file]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Table 2 displays the free energies of MgO as a function of grid size n. Similar to finding the ideal grid size to calculate the DOS, the optimal grid size to calculate the free energy can be found in table 2. As the grid size increases from 1 to 3 there is a sharp increase in the free energy from -40.930301 eV to -40.926432 eV, afterwards the free energy eventually converges at -40.926483 eV. From a grid size of 4 onwards the degree of accuracy is greater that 0.1 meV. There is no change in free energy from a grid size of 32 to 50 suggesting that a grid size of 32 is all that is needed to precisely determine the free energy of MgO. &lt;br /&gt;
&lt;br /&gt;
The graph in table 2 can be rationalised by the equation for the Helmholtz free energy - &amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A is the Helmholtz fee energy, U is the internal energy, T is temperature and S is entropy. As the grid size increases, the volume increases so the internal energy decreases (&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt;). This in turn means that the Helmholtz free energy would decrease.&lt;br /&gt;
&lt;br /&gt;
Furthermore as the number of microstates sampled increases the entropy term will increase according to the relationship &amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt;. This in turn means that the free energy will be lowered. By considering these two factors the decrease in free energy can be rationalised.&lt;br /&gt;
&lt;br /&gt;
==Thermal Expansion of MgO==&lt;br /&gt;
The structure of MgO will be optimised with respect to the free energy at different temperatures (0 - 1000 K in steps of 100 K). The free energy will be computed using the quasi-harmonic approximation (QHA) which uses the following expression: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
*&amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; = frequency of the vibration &lt;br /&gt;
*&amp;lt;math&amp;gt;E_{0}&amp;lt;/math&amp;gt; = zero point energy &lt;br /&gt;
*&amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; = Temperature&lt;br /&gt;
*&amp;lt;math&amp;gt;k_B&amp;lt;/math&amp;gt; = Boltzmann Constant &lt;br /&gt;
*&amp;lt;math&amp;gt;\hbar&amp;lt;/math&amp;gt; = reduced Planck&#039;s constant. &lt;br /&gt;
&lt;br /&gt;
The equations is split into three parts - the zero point energy and the harmonic and entropic contribution.&lt;br /&gt;
&lt;br /&gt;
In addition the coefficients of thermal expansion was calculated. Thermal expansion is the tendency for matter to change in response to temperature, due to heat transfer. The coefficient of thermal expansion describes how the size of an object changes with temperature. The larger the coefficient the greater the change in size as temperature increases. Several coefficients have been developed and the two that we will look at are the linear and volumetric thermal expansion. The generic equation is as follows:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\alpha_x = \frac{1}{x}\,\left(\frac{\partial x}{\partial T}\right)_p&lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* α&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt; = thermal expansion coefficient&lt;br /&gt;
* x = initial dimension &lt;br /&gt;
* ∂x = the partial derivative of the dimension under study &lt;br /&gt;
* ∂T = partial derivative of temperature &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy vs temp.png|thumb|400px|Figure 12. Free Energy dependence on Temperature for the QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH lattice constant vs temp.png|thumb|400px|Figure 13. Lattice Constant dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|[[File:JOH LV temp.png|thumb|400px|Figure 14. Lattice Volume dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 12 shows that as temperature increases the free energy becomes more negative. This can be rationalised with the derivation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; G = H - TS &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Plug in &amp;lt;math&amp;gt;H = U + PV&amp;lt;/math&amp;gt; to get  &amp;lt;math&amp;gt;G = U + PV - TS&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dG = dU + PdV + VdP - TdS - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = q + w &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dq = TdS &amp;lt;/math&amp;gt; &amp;lt;math&amp;gt; dw = -PdV &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \therefore dG = VdP - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This implies that both the volume and the entropic factor contribute to the free energy. As the temperature increases the volume will increase, however the entropic factor will overcome this due to large change in temperature. This explains the trend observed in figure 12. &lt;br /&gt;
&lt;br /&gt;
We would expect a linear negative decrease - &amp;lt;math&amp;gt; \left( \frac{\partial G}{\partial T} \right)_P = -S &amp;lt;/math&amp;gt;. However figure 12 shows that the trend is a curve, the free energy becomes more negative at an increasing rate, suggesting that the pressure may not be constant.&lt;br /&gt;
&lt;br /&gt;
The trend could also be explained using the Helmoholtz free energy equation used in the QHA. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The entropic contribution in the equation has a large dependence on temperature and therefore as temperature increases the entropic contribution becomes more negative. This is due to the exponential factor in the entropic contribution. This results in the Helmholtz becoming more negative.  &lt;br /&gt;
&lt;br /&gt;
===Calculating the Thermal expansion coefficients===&lt;br /&gt;
Figure 13 and 12 show how the lattice constant and volume change with temperature. Both graphs initially increase gradually and after 400 K show a near perfect linear trend. The trend in both graphs shows strong correlation with R&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; values close to one. By taking the gradient of these trend lines the thermal expansion coefficients can be calculated:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Linear Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{1}{L} \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{0.00002342}{2.986563} = 7.7815\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
L = the initial lattice constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 13&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Volumetric Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V} \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{0.00044612}{18.836496} = 2.3684\times 10^{-5}&amp;lt;/math&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
V = the initial volume constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 14&lt;br /&gt;
&lt;br /&gt;
For isotropic materials the volumetric coefficient is three times larger that then linear coefficient - &amp;lt;math&amp;gt;3&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;. For the coefficients calculated &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt; is almost three times larger than &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; (&amp;lt;math&amp;gt;3.04&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;) implying that MgO is an isotropic material &amp;lt;ref name=&amp;quot;Ref 6&amp;quot;/&amp;gt;, in other words lattice constants a, b and c expand at equal rates. At 200 K the L value increases to 2.987604 Å resulting in &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;7.839\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; which is close to the literature value of &amp;lt;math&amp;gt;7.39\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The main approximation with the QHA occurs at higher temperatures. This is because at higher temperatures the lattice experiences a larger anharmonic effect due to a larger deviation from bond equilibrium as more energy is put into the bond. Furthermore as anharmonicity comes from scattered phonons interacting due to lattice defects, this effect will be accentuated as lattice vibrations gain more energy. The QHA simplifies the anharmonic effect by letting the phonon frequencies become volume dependent so therefore is unable to model the anharmonic effect well. Furthermore the born-oppenheimer approximation would become less valid at larger temperatures as the motion of nuclei becomes more important. So as the temperature reaches melting point the phonon modes would not represent the motion of the ions well. &lt;br /&gt;
&lt;br /&gt;
Lastly in a diatomic molecule, with an exact harmonic potential, as the temperature increases there would be no change in equilibrium bond length as the parabolic function is symmetric. Instead the maximum and minimum bond lengths would increase or in other words a larger amplitude would be reached.&lt;br /&gt;
&lt;br /&gt;
== Molecular Dynamics ==&lt;br /&gt;
The crystal was then studied using Molecular Dynamics. In the previous investigations MgO has been described using a primitive cell containing a single MgO unit. Running an MD would not produce meaningful data as every cell would move perfectly in phase. By increasing the size of the cell the MD would become more accurate but become more computationally expensive so a compromise is reached for a cell containing 32 MgO units. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy temperature QHA MD.png|thumb|400px|Figure 15. Free Energy vs Temperature for MD compared to QHA]]&lt;br /&gt;
|[[File:JOHlatticeQHAMD2.png|thumb|400px|Figure 16. Lattice Constant vs Temperature for MD compared to QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics allows a system to evolve in time according to Newton&#039;s second law F=ma. As the system is treated classically energy can be modelled by the equipartition principle, &amp;lt;math&amp;gt;E = \frac{3}{2} k_B T&amp;lt;/math&amp;gt;, and as such the energy will increase linearly with temperature. In comparison QHA follows the relationship &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
This means that the energy should decrease with temperature. Both the free energy modelled by MD and QHA can be seen in figure 15. &lt;br /&gt;
&lt;br /&gt;
Looking at figure 16 the MD and the QHA show similar trend lines between 400-1000 K, thus the volumetric expansion coefficients would be similar:&lt;br /&gt;
*MD - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; = 3.06 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
*QHA - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;  = 2.89 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
This similarity in data strengthens the reliability of the volumetric expansion coefficients between 400 - 1000 K. However, below 400 K the QHA begins to break from a linear trend and curve towards 18.84 Å&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt; whereas the MD follows the linear trend. At lower temperatures the anharmonic effect is not as prevalent due to less energy in the bond causing less deviation from the equilibrium bond length as it vibrates. This means the QHA is a better model for the lattice volume at lower temperatures. The MD model does not accurately show how the lattice volume changes at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
===Limitation===&lt;br /&gt;
&lt;br /&gt;
Overall both QHA and MD models have their limitations. &lt;br /&gt;
&lt;br /&gt;
The atoms are modelled using a classical approach or in other words atoms are modelled as hard charged spheres. So the quantum mechanical contributions cannot be taken into account. This will reduced the accuracy of the models &lt;br /&gt;
&lt;br /&gt;
Furthermore, the models do not consider long-range interactions, only interactions of atoms relatively close. In a realistic crystal there will be interactions outside the nearest neighbours albeit small interactions. Thus slight inaccuracy in the models is seen. &lt;br /&gt;
&lt;br /&gt;
For both models it can be assumed that the trends can be extrapolated until the melting point of MgO is reached, as upon melting a change in volume occurs. Furthermore liquid MgO has no structured order so cannot be described by a repeated unit cell. &lt;br /&gt;
&lt;br /&gt;
In the QHA the interactions between atoms of different unit cells was not taken into consideration. There would be an energy increase if there was overlap between atoms in different cells.&lt;br /&gt;
&lt;br /&gt;
For these MD calculations, as only a small number of atoms were considered it was reasonable to use a time step of 1.0 femtoseconds. However, when considering a much larger system, say for example a protein, then this would become computationally expensive.&lt;br /&gt;
&lt;br /&gt;
==Conclusion== &lt;br /&gt;
The experiment showed the thermal expansion of MgO, the phonon dispersion and the DOS. Comparisons between the QHA and the MD were made, both approaches giving reasonable thermal expansion coefficients between 400-1000 K. At lower temperatures the QHA was a better model, due to the reduction in anharmonic effects.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 1&amp;quot; &amp;gt; O. Madelung, U. Rössler and M. Schulz, Eds., II-VI and I-VII compounds; Semimagnetic compounds, Springer-Verlag, 1999. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 2&amp;quot; &amp;gt; A. CIMINO, P. PORTA and M. VALIGI, Journal of the American Ceramic Society, 1966, 49, 152–156. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 3&amp;quot;&amp;gt; A. Baldereschi, Physical Review B, 1973, 7, 5212–5215. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 4&amp;quot; &amp;gt; E. J. Covington and D. J. Montgomery, J. Appl. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys, 2010, 27, 1030–53111. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 5&amp;quot; &amp;gt; J. A. Kaduk and J. Faber, The Rigaku journal 14 CRYSTAL STRUCTURE OF ZEOLITE Y AS A FUNCTION OF ION EXCHANGE, 1995. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 6&amp;quot; &amp;gt; J.R. Vinson, Plate and Panel structures of Isotropic, Composite and Piezoelectric Materials, including Sandwich Construction. Delaware; Springer; 2005. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Appendix==&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo phonon DOS 222 JOH.png|thumb|300px|Figure 1. Phonon DOS of MgO using 2x2x2 grid size]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Jo1213</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553572</id>
		<title>Rep:Mod:JOH95MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553572"/>
		<updated>2016-03-11T11:48:02Z</updated>

		<summary type="html">&lt;p&gt;Jo1213: /* Molecular Dynamics */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
The experiment will investigate the properties of an MgO crystal. Firstly the dimensions of the unit cells will be investigated along with the associated energy. Then the phonon dispersion and DOS will be investigated, evaluating the optimal grid size to use. The energies of the crystal will be investigates along with the thermal expansion coefficients. Lastly the quasi-harmonic approximation (QHA) and the molecular dynamics (MD) will be compared. &lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon-based model used to describe volume-dependent thermal effects. The harmonic phonon model assumes that all intermolecular forces are harmonic. This is not sufficient to describe thermal expansion as there is no change to the equilibrium bond length as temperature increases. The QHA takes into account that molecules do have an anharmonic effect at higher temperatures by treating frequencies as volume dependent. &lt;br /&gt;
&lt;br /&gt;
The MD approach allows a system to evolve in time according to Newton&#039;s second law &amp;lt;math&amp;gt;F=ma&amp;lt;/math&amp;gt;. The initial configurations and velocities are assigned to allow the program to iterate positions and velocities. The atoms follow trajectories and the properties, such as E and T, are computed as time averages of their behaviour.&lt;br /&gt;
&lt;br /&gt;
The programs used were RedHat Linux, DLVisulaize (DLV) and General Utility Lattice Program (GULP). DLV allows us to visualise the MgO crystals and GULP is used to perform simulations on materials using boundary conditions, in this case on a 3D lattice.&lt;br /&gt;
&lt;br /&gt;
== Internal Energy of MgO ==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:PC 1.png|left|thumb|300px|Figure 1. Primitive Cell of MgO]]&lt;br /&gt;
|[[File:CC .png|left|thumb|300px|Figure 2. Conventional Cell of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 1 shows the primitive unit cell of MgO. The primitive unit cell consists of 2 atoms Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; which are held together by a Buckingham repulsive potential. The unit cell has a rhombohedron shape with lattice constants of 2.9783 Å and an internal angle a = 60°. The primitive cell contains one lattice point and is the simplest cell to describe the crystal. A calculation was run on MgO. In the [https://wiki.ch.ic.ac.uk/wiki/images/e/e7/MgO_1_james.txt LogFile] GULF describes MgO using a primitive unit cell. The Cartesian lattice vectors of the cell are reported in table 1 and the total lattice energy was -41.07531759 eV which represents the energy to pull all the atom infinitely apart. The GULP calculation correlates with LCAO HF calculations found in literature (2.573 Å &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;). &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|-&lt;br /&gt;
|+ Table 1ː Cell Vector Dimensions/Å&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The conventional cell has four times the volume of the primitive cell as shown in figure 2. The structure of the cell is face centered cubic (FCC) which has an internal angel a = 90° and a lattice vector of 4.212 Å (which agrees with literature of 4.21 Å &amp;lt;ref name =&amp;quot;Ref 2&amp;quot; /&amp;gt;). The conventional cell is more representative of the crystal so is chosen in the calculations.&lt;br /&gt;
&lt;br /&gt;
==Computing the Phonon Dispersion Curves==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO Phonon Dispersion JOH.png|thumb|300px|Figure 3. Phonon Dispersion Graph of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The vibrational modes of the lattice were then computed. The phonon modes were displayed as a dispersion curve, as shown in figure 3. The phonon frequencies were calculated along a path in k-space. Special points along the path, &amp;lt;math&amp;gt;W, L, \Gamma, X, W, K&amp;lt;/math&amp;gt;, can be seen in figure 3. There are two phonos modes associated with each axis, acoustic (in-phase) and optical (out-of-phase) phonons. In the 3D model three axis (x,y,z) are taken into consideration meaning there are 6 phonon modes as shown by the six different curves in figure 3. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:K=0 JOH.png|thumb|300px|Figure 4. Acoustic and optical modes at k=0]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The relationship between the wavevector k to the wavelength &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) is &amp;lt;math&amp;gt;k= \frac{2\pi}{\lambda}&amp;lt;/math&amp;gt;. Furthermore the relationship between wavelength &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) and frequency is &amp;lt;math&amp;gt; v = \frac{c}{\lambda} &amp;lt;/math&amp;gt;. As shown in figure 4 when k=0, for the acoustic mode, the wavelength approaches infinity as all the atoms move in the same direction along the axis. As &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; approaches infinity, frequency will tend to 0. For the optical mode the frequency is non-zero. With this information it is clear that at k=0 the dispersion graph is at symmetry point &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; as this is the only point on the dispersion curve where phonon modes display a frequency of zero. &lt;br /&gt;
&lt;br /&gt;
Following the path from &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;, to &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and then to &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; the acoustic mode splits into 3 modes, two transverse modes (TA) and one longitude mode (LA). The two TA are degenerate between &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; until it splits between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Phonon Density of States (DOS)==&lt;br /&gt;
The next part involved calculating the phonon density of states. The DOS is defined as the number of states per energy at a given energy, in this case vibrational frequency. The larger the number of k values considered in reciprocal space the more accurate the DOS. This is achieved by increasing the grid size (nxnxn) to give a better representation of the crystal by sampling more k values in reciprocal space. However, at a certain point the difference between k values is negligible so does not further increase the accuracy of the DOS. Furthermore calculating an infinite number of k values would take an infinite amount of computing time.&lt;br /&gt;
&lt;br /&gt;
The DOS was calculated for a 1x1x1 grid by setting the shrinking value to 1 as shown in figure 5. The grid size was then increased to find the optimum shrinking value that gave a good representation of the DOS without taking too long to calculate as shown by figures 6 through 10. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo Phonon DOS JOH 111.png|thumb|300px|Figure 5. Phonon DOS of MgO using 1x1x1 grid size]]&lt;br /&gt;
|[[File:JOHphononDOS444.png|thumb|300px|Figure 6. Phonon DOS of MgO using 4x4x4 grid size]]&lt;br /&gt;
|[[File:JOHDOS888.png|thumb|300px|Figure 7. Phonon DOS of MgO using 8x8x8 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOHDOS161616.png|thumb|300px|Figure 8. Phonon DOS of MgO using 16x16x16 grid size]]&lt;br /&gt;
|[[File:JOHDOS323232.png|thumb|300px|Figure 9. Phonon DOS of MgO using 32x32x32 grid size]]&lt;br /&gt;
|[[File:JOHDOS50.png|thumb|300px|Figure 10. Phonon DOS of MgO using 50x50x50 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 5 shows the DOS for a 1x1x1 grid size. The four peaks 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 676 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 819 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; represent the four frequencies at point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. At symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;, by looking at figure 3, the two phonon modes at 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; are degenerate (as they go on to split in two curves between points &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;). This degeneracy is confirmed in the DOS graph in figure 5 as the intensity of the peaks around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; is around double that of the peaks around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is chosen as the k-value for a grid size of 1x1x1 as it is the most representative point in k-space for the DOS. This is shown visually from figures 5 to 10 as when the DOS becomes more accurate the main peak remains around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; with the smaller peak still remaining around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. There is a theorem about using the &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; point in reciprocal space for a 1x1x1 grid called Baldereschi theorem &amp;lt;ref name = &amp;quot;Ref 3&amp;quot;/&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The ideal grid size is one that represents the DOS without taking too long to calculate. From figure 8 onwards the shape of the curve does not change much, so it can be concluded that using a grid size of 16 is sufficient enough to gain a good understanding of the DOS without taking too long to calculate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:DOS dispersion JOH.png|thumb|400px|Figure 11. Comparing the dispersion curve with the DOS]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It is important to note the relationship between the dispersion curve and the DOS graph as shown in figure 11. The frequency in the phonon dispersion curve on the y axis is the same as the frequency on the DOS curve in the x-axis. It can be seen visually that the most popular states are around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The relationship between real space and reciprocal space is given by the formula &amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt; - a being the length in real space transformed to a* in reciprocal space. This shows that the larger the lattice constant a, the smaller the reciprocal cell. This is important to consider when assessing the DOS for other structures. Lithium has a lattice constant of 3.490 Å &amp;lt;ref name = &amp;quot;Ref 4&amp;quot;/&amp;gt; which is 0.721 Å lower that the conventional unit cell of MgO that is being modelled. Due to the inverse relationship of real to reciprocal space, lithium will have a larger cell in reciprocal space and therefore need a larger grid size in order to measure more k values to give an accurate DOS. Conversely Faujasite has a lattice constant of 24.7 Å &amp;lt;ref name = &amp;quot;Ref 5&amp;quot; /&amp;gt; which will give a much smaller cell in reciprocal space meaning that a smaller grid size would give an accurate measurement of the DOS as there are fewer k values needed to measure the cell. CaO has a very similar lattice constant to MgO meaning that a similar grid size would be needed to accurately measure the DOS - in this case a grid size of 16x16x16 would be sufficient.&lt;br /&gt;
&lt;br /&gt;
==Computing the Free Energy==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Table 2ː Energy vs Grid size&lt;br /&gt;
! Grid Size nxnxn/n&lt;br /&gt;
! Free Energy/eV&lt;br /&gt;
! Accuracy/ meV&lt;br /&gt;
! Log file&lt;br /&gt;
! rowspan=&amp;quot;9&amp;quot;|[[File:JOH Free energy vs grid size.png|thumb|400px|]]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| -40.930301&lt;br /&gt;
| 4&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/1/12/JOH_fe_MgO_111.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| -40.926609&lt;br /&gt;
| 0.2&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/aa/JOH_fe_MgO_222.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -40.926432&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4d/JOH_fe_MgO_333.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -40.926450&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/40/JOH_fe_MgO_444.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -40.926478&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/7/70/JOH_fe_MgO_888.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -40.926482&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4f/JOH_fe_MgO_16.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/ac/JOH_fe_MgO_32.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 50&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [[Media:JOH_fe_MgO_50.txt.zip|log file]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Table 2 displays the free energies of MgO as a function of grid size n. Similar to finding the ideal grid size to calculate the DOS, the optimal grid size to calculate the free energy can be found in table 2. As the grid size increases from 1 to 3 there is a sharp increase in the free energy from -40.930301 eV to -40.926432 eV, afterwards the free energy eventually converges at -40.926483 eV. From a grid size of 4 onwards the degree of accuracy is greater that 0.1 meV. There is no change in free energy from a grid size of 32 to 50 suggesting that a grid size of 32 is all that is needed to precisely determine the free energy of MgO. &lt;br /&gt;
&lt;br /&gt;
The graph in table 2 can be rationalised by the equation for the Helmholtz free energy - &amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A is the Helmholtz fee energy, U is the internal energy, T is temperature and S is entropy. As the grid size increases, the volume increases so the internal energy decreases (&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt;). This in turn means that the Helmholtz free energy would decrease.&lt;br /&gt;
&lt;br /&gt;
Furthermore as the number of microstates sampled increases the entropy term will increase according to the relationship &amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt;. This in turn means that the free energy will be lowered. By considering these two factors the decrease in free energy can be rationalised.&lt;br /&gt;
&lt;br /&gt;
==Thermal Expansion of MgO==&lt;br /&gt;
The structure of MgO will be optimised with respect to the free energy at different temperatures (0 - 1000 K in steps of 100 K). The free energy will be computed using the quasi-harmonic approximation (QHA) which uses the following expression: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
*&amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; = frequency of the vibration &lt;br /&gt;
*&amp;lt;math&amp;gt;E_{0}&amp;lt;/math&amp;gt; = zero point energy &lt;br /&gt;
*&amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; = Temperature&lt;br /&gt;
*&amp;lt;math&amp;gt;k_B&amp;lt;/math&amp;gt; = Boltzmann Constant &lt;br /&gt;
*&amp;lt;math&amp;gt;\hbar&amp;lt;/math&amp;gt; = reduced Planck&#039;s constant. &lt;br /&gt;
&lt;br /&gt;
The equations is split into three parts - the zero point energy and the harmonic and entropic contribution.&lt;br /&gt;
&lt;br /&gt;
In addition the coefficients of thermal expansion was calculated. Thermal expansion is the tendency for matter to change in response to temperature, due to heat transfer. The coefficient of thermal expansion describes how the size of an object changes with temperature. The larger the coefficient the greater the change in size as temperature increases. Several coefficients have been developed and the two that we will look at are the linear and volumetric thermal expansion. The generic equation is as follows:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\alpha_x = \frac{1}{x}\,\left(\frac{\partial x}{\partial T}\right)_p&lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* α&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt; = thermal expansion coefficient&lt;br /&gt;
* x = initial dimension &lt;br /&gt;
* ∂x = the partial derivative of the dimension under study &lt;br /&gt;
* ∂T = partial derivative of temperature &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy vs temp.png|thumb|400px|Figure 12. Free Energy dependence on Temperature for the QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH lattice constant vs temp.png|thumb|400px|Figure 13. Lattice Constant dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|[[File:JOH LV temp.png|thumb|400px|Figure 14. Lattice Volume dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 12 shows that as temperature increases the free energy becomes more negative. This can be rationalised with the derivation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; G = H - TS &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Plug in &amp;lt;math&amp;gt;H = U + PV&amp;lt;/math&amp;gt; to get  &amp;lt;math&amp;gt;G = U + PV - TS&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dG = dU + PdV + VdP - TdS - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = q + w &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dq = TdS &amp;lt;/math&amp;gt; &amp;lt;math&amp;gt; dw = -PdV &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \therefore dG = VdP - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This implies that both the volume and the entropic factor contribute to the free energy. As the temperature increases the volume will increase, however the entropic factor will overcome this due to large change in temperature. This explains the trend observed in figure 12. &lt;br /&gt;
&lt;br /&gt;
We would expect a linear negative decrease - &amp;lt;math&amp;gt; \left( \frac{\partial G}{\partial T} \right)_P = -S &amp;lt;/math&amp;gt;. However figure 12 shows that the trend is a curve, the free energy becomes more negative at an increasing rate, suggesting that the pressure may not be constant.&lt;br /&gt;
&lt;br /&gt;
The trend could also be explained using the Helmoholtz free energy equation used in the QHA. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The entropic contribution in the equation has a large dependence on temperature and therefore as temperature increases the entropic contribution becomes more negative. This is due to the exponential factor in the entropic contribution. This results in the Helmholtz becoming more negative.  &lt;br /&gt;
&lt;br /&gt;
===Calculating the Thermal expansion coefficients===&lt;br /&gt;
Figure 13 and 12 show how the lattice constant and volume change with temperature. Both graphs initially increase gradually and after 400 K show a near perfect linear trend. The trend in both graphs shows strong correlation with R&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; values close to one. By taking the gradient of these trend lines the thermal expansion coefficients can be calculated:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Linear Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{1}{L} \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{0.00002342}{2.986563} = 7.7815\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
L = the initial lattice constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 13&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Volumetric Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V} \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{0.00044612}{18.836496} = 2.3684\times 10^{-5}&amp;lt;/math&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
V = the initial volume constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 14&lt;br /&gt;
&lt;br /&gt;
For isotropic materials the volumetric coefficient is three times larger that then linear coefficient - &amp;lt;math&amp;gt;3&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;. For the coefficients calculated &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt; is almost three times larger than &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; (&amp;lt;math&amp;gt;3.04&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;) implying that MgO is an isotropic material &amp;lt;ref name=&amp;quot;Ref 6&amp;quot;/&amp;gt;, in other words lattice constants a, b and c expand at equal rates. At 200 K the L value increases to 2.987604 Å resulting in &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;7.839\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; which is close to the literature value of &amp;lt;math&amp;gt;7.39\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The main approximation with the QHA occurs at higher temperatures. This is because at higher temperatures the lattice experiences a larger anharmonic effect due to a larger deviation from bond equilibrium as more energy is put into the bond. Furthermore as anharmonicity comes from scattered phonons interacting due to lattice defects, this effect will be accentuated as lattice vibrations gain more energy. The QHA simplifies the anharmonic effect by letting the phonon frequencies become volume dependent so therefore is unable to model the anharmonic effect well. Furthermore the born-oppenheimer approximation would become less valid at larger temperatures as the motion of nuclei becomes more important. So as the temperature reaches melting point the phonon modes would not represent the motion of the ions well. &lt;br /&gt;
&lt;br /&gt;
Lastly in a diatomic molecule, with an exact harmonic potential, as the temperature increases there would be no change in equilibrium bond length as the parabolic function is symmetric. Instead the maximum and minimum bond lengths would increase or in other words a larger amplitude would be reached.&lt;br /&gt;
&lt;br /&gt;
== Molecular Dynamics ==&lt;br /&gt;
The crystal was then studied using Molecular Dynamics. In the previous investigations MgO has been described using a primitive cell containing a single MgO unit. Running an MD would not produce meaningful data as every cell would move perfectly in phase. By increasing the size of the cell the MD would become more accurate but become more computationally expensive so a compromise is reached for a cell containing 32 MgO units. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy temperature QHA MD.png|thumb|400px|Figure 15. Free Energy vs Temperature for MD compared to QHA]]&lt;br /&gt;
|[[File:JOHlatticeQHAMD2.png|thumb|400px|Figure 16. Lattice Constant vs Temperature for MD compared to QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics allows a system to evolve in time according to Newton&#039;s second law F=ma. As the system is treated classically energy can be modelled by the equipartition principle, &amp;lt;math&amp;gt;E = \frac{3}{2} k_B T&amp;lt;/math&amp;gt;, and as such the energy will increase linearly with temperature. In comparison QHA follows the relationship &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
This means that the energy should decrease with temperature. Both the free energy modelled by MD and QHA can be seen in figure 15. &lt;br /&gt;
&lt;br /&gt;
Looking at figure 16 the MD and the QHA show similar trend lines between 400-1000 K, thus the volumetric expansion coefficients would be similar:&lt;br /&gt;
*MD - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; = 3.06 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
*QHA - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;  = 2.89 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
This similarity in data strengthens the reliability of the volumetric expansion coefficients between 400 - 1000 K. However, below 400 K the QHA begins to break from a linear trend and curve towards 18.84 Å&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt; whereas the MD follows the linear trend. At lower trends the anharmonic effect is not as prevalent so the QHA is a better model for the lattice volume at lower temperatures. The MD model does not accurately show how the lattice volume changes at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
===Limitation===&lt;br /&gt;
&lt;br /&gt;
Overall both QHA and MD models have their limitations. &lt;br /&gt;
&lt;br /&gt;
The atoms are modelled using a classical approach or in other words atoms are modelled as hard charged spheres. So the quantum mechanical contributions cannot be taken into account. This will reduced the accuracy of the models &lt;br /&gt;
&lt;br /&gt;
Furthermore, the models do not consider long-range interactions, only interactions of atoms relatively close. In a realistic crystal there will be interactions outside the nearest neighbours albeit small interactions. Thus slight inaccuracy in the models is seen. &lt;br /&gt;
&lt;br /&gt;
For both models it can be assumed that the trends can be extrapolated until the melting point of MgO is reached, as upon melting a change in volume occurs. Furthermore liquid MgO has no structured order so cannot be described by a repeated unit cell. &lt;br /&gt;
&lt;br /&gt;
In the QHA the interactions between atoms of different unit cells was not taken into consideration. There would be an energy increase if there was overlap between atoms in different cells.&lt;br /&gt;
&lt;br /&gt;
For these MD calculations, as only a small number of atoms were considered it was reasonable to use a time step of 1.0 femtoseconds. However, when considering a much larger system, say for example a protein, then this would become computationally expensive.&lt;br /&gt;
&lt;br /&gt;
==Conclusion== &lt;br /&gt;
The experiment showed the thermal expansion of MgO, the phonon dispersion and the DOS. Comparisons between the QHA and the MD were made, both approaches giving reasonable thermal expansion coefficients between 400-1000 K. At lower temperatures the QHA was a better model, due to the reduction in anharmonic effects.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 1&amp;quot; &amp;gt; O. Madelung, U. Rössler and M. Schulz, Eds., II-VI and I-VII compounds; Semimagnetic compounds, Springer-Verlag, 1999. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 2&amp;quot; &amp;gt; A. CIMINO, P. PORTA and M. VALIGI, Journal of the American Ceramic Society, 1966, 49, 152–156. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 3&amp;quot;&amp;gt; A. Baldereschi, Physical Review B, 1973, 7, 5212–5215. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 4&amp;quot; &amp;gt; E. J. Covington and D. J. Montgomery, J. Appl. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys, 2010, 27, 1030–53111. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 5&amp;quot; &amp;gt; J. A. Kaduk and J. Faber, The Rigaku journal 14 CRYSTAL STRUCTURE OF ZEOLITE Y AS A FUNCTION OF ION EXCHANGE, 1995. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 6&amp;quot; &amp;gt; J.R. Vinson, Plate and Panel structures of Isotropic, Composite and Piezoelectric Materials, including Sandwich Construction. Delaware; Springer; 2005. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Appendix==&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo phonon DOS 222 JOH.png|thumb|300px|Figure 1. Phonon DOS of MgO using 2x2x2 grid size]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Jo1213</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553532</id>
		<title>Rep:Mod:JOH95MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553532"/>
		<updated>2016-03-11T11:24:35Z</updated>

		<summary type="html">&lt;p&gt;Jo1213: /* Molecular Dynamics */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
The experiment will investigate the properties of an MgO crystal. Firstly the dimensions of the unit cells will be investigated along with the associated energy. Then the phonon dispersion and DOS will be investigated, evaluating the optimal grid size to use. The energies of the crystal will be investigates along with the thermal expansion coefficients. Lastly the quasi-harmonic approximation (QHA) and the molecular dynamics (MD) will be compared. &lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon-based model used to describe volume-dependent thermal effects. The harmonic phonon model assumes that all intermolecular forces are harmonic. This is not sufficient to describe thermal expansion as there is no change to the equilibrium bond length as temperature increases. The QHA takes into account that molecules do have an anharmonic effect at higher temperatures by treating frequencies as volume dependent. &lt;br /&gt;
&lt;br /&gt;
The MD approach allows a system to evolve in time according to Newton&#039;s second law &amp;lt;math&amp;gt;F=ma&amp;lt;/math&amp;gt;. The initial configurations and velocities are assigned to allow the program to iterate positions and velocities. The atoms follow trajectories and the properties, such as E and T, are computed as time averages of their behaviour.&lt;br /&gt;
&lt;br /&gt;
The programs used were RedHat Linux, DLVisulaize (DLV) and General Utility Lattice Program (GULP). DLV allows us to visualise the MgO crystals and GULP is used to perform simulations on materials using boundary conditions, in this case on a 3D lattice.&lt;br /&gt;
&lt;br /&gt;
== Internal Energy of MgO ==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:PC 1.png|left|thumb|300px|Figure 1. Primitive Cell of MgO]]&lt;br /&gt;
|[[File:CC .png|left|thumb|300px|Figure 2. Conventional Cell of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 1 shows the primitive unit cell of MgO. The primitive unit cell consists of 2 atoms Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; which are held together by a Buckingham repulsive potential. The unit cell has a rhombohedron shape with lattice constants of 2.9783 Å and an internal angle a = 60°. The primitive cell contains one lattice point and is the simplest cell to describe the crystal. A calculation was run on MgO. In the [https://wiki.ch.ic.ac.uk/wiki/images/e/e7/MgO_1_james.txt LogFile] GULF describes MgO using a primitive unit cell. The Cartesian lattice vectors of the cell are reported in table 1 and the total lattice energy was -41.07531759 eV which represents the energy to pull all the atom infinitely apart. The GULP calculation correlates with LCAO HF calculations found in literature (2.573 Å &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;). &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|-&lt;br /&gt;
|+ Table 1ː Cell Vector Dimensions/Å&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The conventional cell has four times the volume of the primitive cell as shown in figure 2. The structure of the cell is face centered cubic (FCC) which has an internal angel a = 90° and a lattice vector of 4.212 Å (which agrees with literature of 4.21 Å &amp;lt;ref name =&amp;quot;Ref 2&amp;quot; /&amp;gt;). The conventional cell is more representative of the crystal so is chosen in the calculations.&lt;br /&gt;
&lt;br /&gt;
==Computing the Phonon Dispersion Curves==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO Phonon Dispersion JOH.png|thumb|300px|Figure 3. Phonon Dispersion Graph of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The vibrational modes of the lattice were then computed. The phonon modes were displayed as a dispersion curve, as shown in figure 3. The phonon frequencies were calculated along a path in k-space. Special points along the path, &amp;lt;math&amp;gt;W, L, \Gamma, X, W, K&amp;lt;/math&amp;gt;, can be seen in figure 3. There are two phonos modes associated with each axis, acoustic (in-phase) and optical (out-of-phase) phonons. In the 3D model three axis (x,y,z) are taken into consideration meaning there are 6 phonon modes as shown by the six different curves in figure 3. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:K=0 JOH.png|thumb|300px|Figure 4. Acoustic and optical modes at k=0]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The relationship between the wavevector k to the wavelength &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) is &amp;lt;math&amp;gt;k= \frac{2\pi}{\lambda}&amp;lt;/math&amp;gt;. Furthermore the relationship between wavelength &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) and frequency is &amp;lt;math&amp;gt; v = \frac{c}{\lambda} &amp;lt;/math&amp;gt;. As shown in figure 4 when k=0, for the acoustic mode, the wavelength approaches infinity as all the atoms move in the same direction along the axis. As &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; approaches infinity, frequency will tend to 0. For the optical mode the frequency is non-zero. With this information it is clear that at k=0 the dispersion graph is at symmetry point &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; as this is the only point on the dispersion curve where phonon modes display a frequency of zero. &lt;br /&gt;
&lt;br /&gt;
Following the path from &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;, to &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and then to &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; the acoustic mode splits into 3 modes, two transverse modes (TA) and one longitude mode (LA). The two TA are degenerate between &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; until it splits between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Phonon Density of States (DOS)==&lt;br /&gt;
The next part involved calculating the phonon density of states. The DOS is defined as the number of states per energy at a given energy, in this case vibrational frequency. The larger the number of k values considered in reciprocal space the more accurate the DOS. This is achieved by increasing the grid size (nxnxn) to give a better representation of the crystal by sampling more k values in reciprocal space. However, at a certain point the difference between k values is negligible so does not further increase the accuracy of the DOS. Furthermore calculating an infinite number of k values would take an infinite amount of computing time.&lt;br /&gt;
&lt;br /&gt;
The DOS was calculated for a 1x1x1 grid by setting the shrinking value to 1 as shown in figure 5. The grid size was then increased to find the optimum shrinking value that gave a good representation of the DOS without taking too long to calculate as shown by figures 6 through 10. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo Phonon DOS JOH 111.png|thumb|300px|Figure 5. Phonon DOS of MgO using 1x1x1 grid size]]&lt;br /&gt;
|[[File:JOHphononDOS444.png|thumb|300px|Figure 6. Phonon DOS of MgO using 4x4x4 grid size]]&lt;br /&gt;
|[[File:JOHDOS888.png|thumb|300px|Figure 7. Phonon DOS of MgO using 8x8x8 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOHDOS161616.png|thumb|300px|Figure 8. Phonon DOS of MgO using 16x16x16 grid size]]&lt;br /&gt;
|[[File:JOHDOS323232.png|thumb|300px|Figure 9. Phonon DOS of MgO using 32x32x32 grid size]]&lt;br /&gt;
|[[File:JOHDOS50.png|thumb|300px|Figure 10. Phonon DOS of MgO using 50x50x50 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 5 shows the DOS for a 1x1x1 grid size. The four peaks 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 676 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 819 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; represent the four frequencies at point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. At symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;, by looking at figure 3, the two phonon modes at 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; are degenerate (as they go on to split in two curves between points &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;). This degeneracy is confirmed in the DOS graph in figure 5 as the intensity of the peaks around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; is around double that of the peaks around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is chosen as the k-value for a grid size of 1x1x1 as it is the most representative point in k-space for the DOS. This is shown visually from figures 5 to 10 as when the DOS becomes more accurate the main peak remains around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; with the smaller peak still remaining around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. There is a theorem about using the &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; point in reciprocal space for a 1x1x1 grid called Baldereschi theorem &amp;lt;ref name = &amp;quot;Ref 3&amp;quot;/&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The ideal grid size is one that represents the DOS without taking too long to calculate. From figure 8 onwards the shape of the curve does not change much, so it can be concluded that using a grid size of 16 is sufficient enough to gain a good understanding of the DOS without taking too long to calculate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:DOS dispersion JOH.png|thumb|400px|Figure 11. Comparing the dispersion curve with the DOS]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It is important to note the relationship between the dispersion curve and the DOS graph as shown in figure 11. The frequency in the phonon dispersion curve on the y axis is the same as the frequency on the DOS curve in the x-axis. It can be seen visually that the most popular states are around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The relationship between real space and reciprocal space is given by the formula &amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt; - a being the length in real space transformed to a* in reciprocal space. This shows that the larger the lattice constant a, the smaller the reciprocal cell. This is important to consider when assessing the DOS for other structures. Lithium has a lattice constant of 3.490 Å &amp;lt;ref name = &amp;quot;Ref 4&amp;quot;/&amp;gt; which is 0.721 Å lower that the conventional unit cell of MgO that is being modelled. Due to the inverse relationship of real to reciprocal space, lithium will have a larger cell in reciprocal space and therefore need a larger grid size in order to measure more k values to give an accurate DOS. Conversely Faujasite has a lattice constant of 24.7 Å &amp;lt;ref name = &amp;quot;Ref 5&amp;quot; /&amp;gt; which will give a much smaller cell in reciprocal space meaning that a smaller grid size would give an accurate measurement of the DOS as there are fewer k values needed to measure the cell. CaO has a very similar lattice constant to MgO meaning that a similar grid size would be needed to accurately measure the DOS - in this case a grid size of 16x16x16 would be sufficient.&lt;br /&gt;
&lt;br /&gt;
==Computing the Free Energy==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Table 2ː Energy vs Grid size&lt;br /&gt;
! Grid Size nxnxn/n&lt;br /&gt;
! Free Energy/eV&lt;br /&gt;
! Accuracy/ meV&lt;br /&gt;
! Log file&lt;br /&gt;
! rowspan=&amp;quot;9&amp;quot;|[[File:JOH Free energy vs grid size.png|thumb|400px|]]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| -40.930301&lt;br /&gt;
| 4&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/1/12/JOH_fe_MgO_111.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| -40.926609&lt;br /&gt;
| 0.2&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/aa/JOH_fe_MgO_222.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -40.926432&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4d/JOH_fe_MgO_333.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -40.926450&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/40/JOH_fe_MgO_444.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -40.926478&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/7/70/JOH_fe_MgO_888.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -40.926482&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4f/JOH_fe_MgO_16.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/ac/JOH_fe_MgO_32.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 50&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [[Media:JOH_fe_MgO_50.txt.zip|log file]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Table 2 displays the free energies of MgO as a function of grid size n. Similar to finding the ideal grid size to calculate the DOS, the optimal grid size to calculate the free energy can be found in table 2. As the grid size increases from 1 to 3 there is a sharp increase in the free energy from -40.930301 eV to -40.926432 eV, afterwards the free energy eventually converges at -40.926483 eV. From a grid size of 4 onwards the degree of accuracy is greater that 0.1 meV. There is no change in free energy from a grid size of 32 to 50 suggesting that a grid size of 32 is all that is needed to precisely determine the free energy of MgO. &lt;br /&gt;
&lt;br /&gt;
The graph in table 2 can be rationalised by the equation for the Helmholtz free energy - &amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A is the Helmholtz fee energy, U is the internal energy, T is temperature and S is entropy. As the grid size increases, the volume increases so the internal energy decreases (&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt;). This in turn means that the Helmholtz free energy would decrease.&lt;br /&gt;
&lt;br /&gt;
Furthermore as the number of microstates sampled increases the entropy term will increase according to the relationship &amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt;. This in turn means that the free energy will be lowered. By considering these two factors the decrease in free energy can be rationalised.&lt;br /&gt;
&lt;br /&gt;
==Thermal Expansion of MgO==&lt;br /&gt;
The structure of MgO will be optimised with respect to the free energy at different temperatures (0 - 1000 K in steps of 100 K). The free energy will be computed using the quasi-harmonic approximation (QHA) which uses the following expression: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
*&amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; = frequency of the vibration &lt;br /&gt;
*&amp;lt;math&amp;gt;E_{0}&amp;lt;/math&amp;gt; = zero point energy &lt;br /&gt;
*&amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; = Temperature&lt;br /&gt;
*&amp;lt;math&amp;gt;k_B&amp;lt;/math&amp;gt; = Boltzmann Constant &lt;br /&gt;
*&amp;lt;math&amp;gt;\hbar&amp;lt;/math&amp;gt; = reduced Planck&#039;s constant. &lt;br /&gt;
&lt;br /&gt;
The equations is split into three parts - the zero point energy and the harmonic and entropic contribution.&lt;br /&gt;
&lt;br /&gt;
In addition the coefficients of thermal expansion was calculated. Thermal expansion is the tendency for matter to change in response to temperature, due to heat transfer. The coefficient of thermal expansion describes how the size of an object changes with temperature. The larger the coefficient the greater the change in size as temperature increases. Several coefficients have been developed and the two that we will look at are the linear and volumetric thermal expansion. The generic equation is as follows:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\alpha_x = \frac{1}{x}\,\left(\frac{\partial x}{\partial T}\right)_p&lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* α&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt; = thermal expansion coefficient&lt;br /&gt;
* x = initial dimension &lt;br /&gt;
* ∂x = the partial derivative of the dimension under study &lt;br /&gt;
* ∂T = partial derivative of temperature &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy vs temp.png|thumb|400px|Figure 12. Free Energy dependence on Temperature for the QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH lattice constant vs temp.png|thumb|400px|Figure 13. Lattice Constant dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|[[File:JOH LV temp.png|thumb|400px|Figure 14. Lattice Volume dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 12 shows that as temperature increases the free energy becomes more negative. This can be rationalised with the derivation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; G = H - TS &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Plug in &amp;lt;math&amp;gt;H = U + PV&amp;lt;/math&amp;gt; to get  &amp;lt;math&amp;gt;G = U + PV - TS&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dG = dU + PdV + VdP - TdS - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = q + w &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dq = TdS &amp;lt;/math&amp;gt; &amp;lt;math&amp;gt; dw = -PdV &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \therefore dG = VdP - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This implies that both the volume and the entropic factor contribute to the free energy. As the temperature increases the volume will increase, however the entropic factor will overcome this due to large change in temperature. This explains the trend observed in figure 12. &lt;br /&gt;
&lt;br /&gt;
We would expect a linear negative decrease - &amp;lt;math&amp;gt; \left( \frac{\partial G}{\partial T} \right)_P = -S &amp;lt;/math&amp;gt;. However figure 12 shows that the trend is a curve, the free energy becomes more negative at an increasing rate, suggesting that the pressure may not be constant.&lt;br /&gt;
&lt;br /&gt;
The trend could also be explained using the Helmoholtz free energy equation used in the QHA. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The entropic contribution in the equation has a large dependence on temperature and therefore as temperature increases the entropic contribution becomes more negative. This is due to the exponential factor in the entropic contribution. This results in the Helmholtz becoming more negative.  &lt;br /&gt;
&lt;br /&gt;
===Calculating the Thermal expansion coefficients===&lt;br /&gt;
Figure 13 and 12 show how the lattice constant and volume change with temperature. Both graphs initially increase gradually and after 400 K show a near perfect linear trend. The trend in both graphs shows strong correlation with R&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; values close to one. By taking the gradient of these trend lines the thermal expansion coefficients can be calculated:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Linear Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{1}{L} \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{0.00002342}{2.986563} = 7.7815\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
L = the initial lattice constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 13&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Volumetric Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V} \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{0.00044612}{18.836496} = 2.3684\times 10^{-5}&amp;lt;/math&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
V = the initial volume constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 14&lt;br /&gt;
&lt;br /&gt;
For isotropic materials the volumetric coefficient is three times larger that then linear coefficient - &amp;lt;math&amp;gt;3&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;. For the coefficients calculated &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt; is almost three times larger than &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; (&amp;lt;math&amp;gt;3.04&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;) implying that MgO is an isotropic material &amp;lt;ref name=&amp;quot;Ref 6&amp;quot;/&amp;gt;, in other words lattice constants a, b and c expand at equal rates. At 200 K the L value increases to 2.987604 Å resulting in &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;7.839\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; which is close to the literature value of &amp;lt;math&amp;gt;7.39\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The main approximation with the QHA occurs at higher temperatures. This is because at higher temperatures the lattice experiences a larger anharmonic effect due to a larger deviation from bond equilibrium as more energy is put into the bond. Furthermore as anharmonicity comes from scattered phonons interacting due to lattice defects, this effect will be accentuated as lattice vibrations gain more energy. The QHA simplifies the anharmonic effect by letting the phonon frequencies become volume dependent so therefore is unable to model the anharmonic effect well. Furthermore the born-oppenheimer approximation would become less valid at larger temperatures as the motion of nuclei becomes more important. So as the temperature reaches melting point the phonon modes would not represent the motion of the ions well. &lt;br /&gt;
&lt;br /&gt;
Lastly in a diatomic molecule, with an exact harmonic potential, as the temperature increases there would be no change in equilibrium bond length as the parabolic function is symmetric. Instead the maximum and minimum bond lengths would increase or in other words a larger amplitude would be reached.&lt;br /&gt;
&lt;br /&gt;
== Molecular Dynamics ==&lt;br /&gt;
The crystal was then studied using Molecular Dynamics. In the previous investigations MgO has been described using a primitive cell containing a single MgO unit. Running an MD would not produce meaningful data as every cell would move perfectly in phase. By increasing the size of the cell the MD would become more accurate but become more computationally expensive so a compromise is reached for a cell containing 32 MgO units. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy temperature QHA MD.png|thumb|400px|Figure 15. Free Energy vs Temperature for MD compared to QHA]]&lt;br /&gt;
|[[File:JOHlatticeQHAMD2.png|thumb|400px|Figure 16. Lattice Constant vs Temperature for MD compared to QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics allows a system to evolve in time according to Newton&#039;s second law F=ma. As the system is treated classically energy can be modelled by the equipartition principle, &amp;lt;math&amp;gt;E = \frac{3}{2} k_B T&amp;lt;/math&amp;gt;, and as such the energy will increase linearly with temperature. In comparison QHA follows the relationship &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
This mean that the energy should decrease with temperature. Both the free energy modelled by MD and QHA can be seen in figure 15. &lt;br /&gt;
&lt;br /&gt;
Looking at figure 16 the MD and the QHA are similar between 400-1000 K, thus the volumetric expansion coefficients would be similar:&lt;br /&gt;
*MD - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; = 3.06 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
*QHA - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;  = 2.89 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
This similarity in data strengthens the reliability of the volumetric expansion coefficients between 400 - 1000 K. However, below 400 K the QHA begins to break from a linear trend and curve towards 18.84 Å&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt; whereas the MD follows the linear trend. At lower trends the anharmonic effect is not as prevalent so the QHA is a better model for the lattice volume at lower temperatures. The MD model does not accurately show how the lattice volume changes at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
===Limitation===&lt;br /&gt;
&lt;br /&gt;
Overall both QHA and MD models have their limitations. &lt;br /&gt;
&lt;br /&gt;
The atoms are modelled using a classical approach or in other words atoms are modelled as hard charged spheres. So the quantum mechanical contributions cannot be taken into account. This will reduced the accuracy of the models &lt;br /&gt;
&lt;br /&gt;
Furthermore, the models do not consider long-range interactions, only interactions of atoms relatively close. In a realistic crystal there will be interactions outside the nearest neighbours albeit small interactions. Thus slight inaccuracy in the models is seen. &lt;br /&gt;
&lt;br /&gt;
For both models it can be assumed that the trends can be extrapolated until the melting point of MgO is reached, as upon melting a change in volume occurs. Furthermore liquid MgO has no structured order so cannot be described by a repeated unit cell. &lt;br /&gt;
&lt;br /&gt;
In the QHA the interactions between atoms of different unit cells was not taken into consideration. There would be an energy increase if there was overlap between atoms in different cells.&lt;br /&gt;
&lt;br /&gt;
For these MD calculations, as only a small number of atoms were considered it was reasonable to use a time step of 1.0 femtoseconds. However, when considering a much larger system, say for example a protein, then this would become computationally expensive.&lt;br /&gt;
&lt;br /&gt;
==Conclusion== &lt;br /&gt;
The experiment showed the thermal expansion of MgO, the phonon dispersion and the DOS. Comparisons between the QHA and the MD were made, both approaches giving reasonable thermal expansion coefficients between 400-1000 K. At lower temperatures the QHA was a better model, due to the reduction in anharmonic effects.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 1&amp;quot; &amp;gt; O. Madelung, U. Rössler and M. Schulz, Eds., II-VI and I-VII compounds; Semimagnetic compounds, Springer-Verlag, 1999. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 2&amp;quot; &amp;gt; A. CIMINO, P. PORTA and M. VALIGI, Journal of the American Ceramic Society, 1966, 49, 152–156. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 3&amp;quot;&amp;gt; A. Baldereschi, Physical Review B, 1973, 7, 5212–5215. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 4&amp;quot; &amp;gt; E. J. Covington and D. J. Montgomery, J. Appl. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys, 2010, 27, 1030–53111. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 5&amp;quot; &amp;gt; J. A. Kaduk and J. Faber, The Rigaku journal 14 CRYSTAL STRUCTURE OF ZEOLITE Y AS A FUNCTION OF ION EXCHANGE, 1995. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 6&amp;quot; &amp;gt; J.R. Vinson, Plate and Panel structures of Isotropic, Composite and Piezoelectric Materials, including Sandwich Construction. Delaware; Springer; 2005. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Appendix==&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo phonon DOS 222 JOH.png|thumb|300px|Figure 1. Phonon DOS of MgO using 2x2x2 grid size]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Jo1213</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553527</id>
		<title>Rep:Mod:JOH95MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553527"/>
		<updated>2016-03-11T11:23:48Z</updated>

		<summary type="html">&lt;p&gt;Jo1213: /* Molecular Dynamics */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
The experiment will investigate the properties of an MgO crystal. Firstly the dimensions of the unit cells will be investigated along with the associated energy. Then the phonon dispersion and DOS will be investigated, evaluating the optimal grid size to use. The energies of the crystal will be investigates along with the thermal expansion coefficients. Lastly the quasi-harmonic approximation (QHA) and the molecular dynamics (MD) will be compared. &lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon-based model used to describe volume-dependent thermal effects. The harmonic phonon model assumes that all intermolecular forces are harmonic. This is not sufficient to describe thermal expansion as there is no change to the equilibrium bond length as temperature increases. The QHA takes into account that molecules do have an anharmonic effect at higher temperatures by treating frequencies as volume dependent. &lt;br /&gt;
&lt;br /&gt;
The MD approach allows a system to evolve in time according to Newton&#039;s second law &amp;lt;math&amp;gt;F=ma&amp;lt;/math&amp;gt;. The initial configurations and velocities are assigned to allow the program to iterate positions and velocities. The atoms follow trajectories and the properties, such as E and T, are computed as time averages of their behaviour.&lt;br /&gt;
&lt;br /&gt;
The programs used were RedHat Linux, DLVisulaize (DLV) and General Utility Lattice Program (GULP). DLV allows us to visualise the MgO crystals and GULP is used to perform simulations on materials using boundary conditions, in this case on a 3D lattice.&lt;br /&gt;
&lt;br /&gt;
== Internal Energy of MgO ==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:PC 1.png|left|thumb|300px|Figure 1. Primitive Cell of MgO]]&lt;br /&gt;
|[[File:CC .png|left|thumb|300px|Figure 2. Conventional Cell of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 1 shows the primitive unit cell of MgO. The primitive unit cell consists of 2 atoms Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; which are held together by a Buckingham repulsive potential. The unit cell has a rhombohedron shape with lattice constants of 2.9783 Å and an internal angle a = 60°. The primitive cell contains one lattice point and is the simplest cell to describe the crystal. A calculation was run on MgO. In the [https://wiki.ch.ic.ac.uk/wiki/images/e/e7/MgO_1_james.txt LogFile] GULF describes MgO using a primitive unit cell. The Cartesian lattice vectors of the cell are reported in table 1 and the total lattice energy was -41.07531759 eV which represents the energy to pull all the atom infinitely apart. The GULP calculation correlates with LCAO HF calculations found in literature (2.573 Å &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;). &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|-&lt;br /&gt;
|+ Table 1ː Cell Vector Dimensions/Å&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The conventional cell has four times the volume of the primitive cell as shown in figure 2. The structure of the cell is face centered cubic (FCC) which has an internal angel a = 90° and a lattice vector of 4.212 Å (which agrees with literature of 4.21 Å &amp;lt;ref name =&amp;quot;Ref 2&amp;quot; /&amp;gt;). The conventional cell is more representative of the crystal so is chosen in the calculations.&lt;br /&gt;
&lt;br /&gt;
==Computing the Phonon Dispersion Curves==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO Phonon Dispersion JOH.png|thumb|300px|Figure 3. Phonon Dispersion Graph of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The vibrational modes of the lattice were then computed. The phonon modes were displayed as a dispersion curve, as shown in figure 3. The phonon frequencies were calculated along a path in k-space. Special points along the path, &amp;lt;math&amp;gt;W, L, \Gamma, X, W, K&amp;lt;/math&amp;gt;, can be seen in figure 3. There are two phonos modes associated with each axis, acoustic (in-phase) and optical (out-of-phase) phonons. In the 3D model three axis (x,y,z) are taken into consideration meaning there are 6 phonon modes as shown by the six different curves in figure 3. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:K=0 JOH.png|thumb|300px|Figure 4. Acoustic and optical modes at k=0]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The relationship between the wavevector k to the wavelength &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) is &amp;lt;math&amp;gt;k= \frac{2\pi}{\lambda}&amp;lt;/math&amp;gt;. Furthermore the relationship between wavelength &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) and frequency is &amp;lt;math&amp;gt; v = \frac{c}{\lambda} &amp;lt;/math&amp;gt;. As shown in figure 4 when k=0, for the acoustic mode, the wavelength approaches infinity as all the atoms move in the same direction along the axis. As &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; approaches infinity, frequency will tend to 0. For the optical mode the frequency is non-zero. With this information it is clear that at k=0 the dispersion graph is at symmetry point &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; as this is the only point on the dispersion curve where phonon modes display a frequency of zero. &lt;br /&gt;
&lt;br /&gt;
Following the path from &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;, to &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and then to &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; the acoustic mode splits into 3 modes, two transverse modes (TA) and one longitude mode (LA). The two TA are degenerate between &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; until it splits between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Phonon Density of States (DOS)==&lt;br /&gt;
The next part involved calculating the phonon density of states. The DOS is defined as the number of states per energy at a given energy, in this case vibrational frequency. The larger the number of k values considered in reciprocal space the more accurate the DOS. This is achieved by increasing the grid size (nxnxn) to give a better representation of the crystal by sampling more k values in reciprocal space. However, at a certain point the difference between k values is negligible so does not further increase the accuracy of the DOS. Furthermore calculating an infinite number of k values would take an infinite amount of computing time.&lt;br /&gt;
&lt;br /&gt;
The DOS was calculated for a 1x1x1 grid by setting the shrinking value to 1 as shown in figure 5. The grid size was then increased to find the optimum shrinking value that gave a good representation of the DOS without taking too long to calculate as shown by figures 6 through 10. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo Phonon DOS JOH 111.png|thumb|300px|Figure 5. Phonon DOS of MgO using 1x1x1 grid size]]&lt;br /&gt;
|[[File:JOHphononDOS444.png|thumb|300px|Figure 6. Phonon DOS of MgO using 4x4x4 grid size]]&lt;br /&gt;
|[[File:JOHDOS888.png|thumb|300px|Figure 7. Phonon DOS of MgO using 8x8x8 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOHDOS161616.png|thumb|300px|Figure 8. Phonon DOS of MgO using 16x16x16 grid size]]&lt;br /&gt;
|[[File:JOHDOS323232.png|thumb|300px|Figure 9. Phonon DOS of MgO using 32x32x32 grid size]]&lt;br /&gt;
|[[File:JOHDOS50.png|thumb|300px|Figure 10. Phonon DOS of MgO using 50x50x50 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 5 shows the DOS for a 1x1x1 grid size. The four peaks 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 676 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 819 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; represent the four frequencies at point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. At symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;, by looking at figure 3, the two phonon modes at 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; are degenerate (as they go on to split in two curves between points &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;). This degeneracy is confirmed in the DOS graph in figure 5 as the intensity of the peaks around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; is around double that of the peaks around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is chosen as the k-value for a grid size of 1x1x1 as it is the most representative point in k-space for the DOS. This is shown visually from figures 5 to 10 as when the DOS becomes more accurate the main peak remains around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; with the smaller peak still remaining around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. There is a theorem about using the &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; point in reciprocal space for a 1x1x1 grid called Baldereschi theorem &amp;lt;ref name = &amp;quot;Ref 3&amp;quot;/&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The ideal grid size is one that represents the DOS without taking too long to calculate. From figure 8 onwards the shape of the curve does not change much, so it can be concluded that using a grid size of 16 is sufficient enough to gain a good understanding of the DOS without taking too long to calculate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:DOS dispersion JOH.png|thumb|400px|Figure 11. Comparing the dispersion curve with the DOS]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It is important to note the relationship between the dispersion curve and the DOS graph as shown in figure 11. The frequency in the phonon dispersion curve on the y axis is the same as the frequency on the DOS curve in the x-axis. It can be seen visually that the most popular states are around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The relationship between real space and reciprocal space is given by the formula &amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt; - a being the length in real space transformed to a* in reciprocal space. This shows that the larger the lattice constant a, the smaller the reciprocal cell. This is important to consider when assessing the DOS for other structures. Lithium has a lattice constant of 3.490 Å &amp;lt;ref name = &amp;quot;Ref 4&amp;quot;/&amp;gt; which is 0.721 Å lower that the conventional unit cell of MgO that is being modelled. Due to the inverse relationship of real to reciprocal space, lithium will have a larger cell in reciprocal space and therefore need a larger grid size in order to measure more k values to give an accurate DOS. Conversely Faujasite has a lattice constant of 24.7 Å &amp;lt;ref name = &amp;quot;Ref 5&amp;quot; /&amp;gt; which will give a much smaller cell in reciprocal space meaning that a smaller grid size would give an accurate measurement of the DOS as there are fewer k values needed to measure the cell. CaO has a very similar lattice constant to MgO meaning that a similar grid size would be needed to accurately measure the DOS - in this case a grid size of 16x16x16 would be sufficient.&lt;br /&gt;
&lt;br /&gt;
==Computing the Free Energy==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Table 2ː Energy vs Grid size&lt;br /&gt;
! Grid Size nxnxn/n&lt;br /&gt;
! Free Energy/eV&lt;br /&gt;
! Accuracy/ meV&lt;br /&gt;
! Log file&lt;br /&gt;
! rowspan=&amp;quot;9&amp;quot;|[[File:JOH Free energy vs grid size.png|thumb|400px|]]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| -40.930301&lt;br /&gt;
| 4&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/1/12/JOH_fe_MgO_111.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| -40.926609&lt;br /&gt;
| 0.2&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/aa/JOH_fe_MgO_222.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -40.926432&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4d/JOH_fe_MgO_333.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -40.926450&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/40/JOH_fe_MgO_444.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -40.926478&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/7/70/JOH_fe_MgO_888.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -40.926482&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4f/JOH_fe_MgO_16.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/ac/JOH_fe_MgO_32.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 50&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [[Media:JOH_fe_MgO_50.txt.zip|log file]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Table 2 displays the free energies of MgO as a function of grid size n. Similar to finding the ideal grid size to calculate the DOS, the optimal grid size to calculate the free energy can be found in table 2. As the grid size increases from 1 to 3 there is a sharp increase in the free energy from -40.930301 eV to -40.926432 eV, afterwards the free energy eventually converges at -40.926483 eV. From a grid size of 4 onwards the degree of accuracy is greater that 0.1 meV. There is no change in free energy from a grid size of 32 to 50 suggesting that a grid size of 32 is all that is needed to precisely determine the free energy of MgO. &lt;br /&gt;
&lt;br /&gt;
The graph in table 2 can be rationalised by the equation for the Helmholtz free energy - &amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A is the Helmholtz fee energy, U is the internal energy, T is temperature and S is entropy. As the grid size increases, the volume increases so the internal energy decreases (&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt;). This in turn means that the Helmholtz free energy would decrease.&lt;br /&gt;
&lt;br /&gt;
Furthermore as the number of microstates sampled increases the entropy term will increase according to the relationship &amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt;. This in turn means that the free energy will be lowered. By considering these two factors the decrease in free energy can be rationalised.&lt;br /&gt;
&lt;br /&gt;
==Thermal Expansion of MgO==&lt;br /&gt;
The structure of MgO will be optimised with respect to the free energy at different temperatures (0 - 1000 K in steps of 100 K). The free energy will be computed using the quasi-harmonic approximation (QHA) which uses the following expression: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
*&amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; = frequency of the vibration &lt;br /&gt;
*&amp;lt;math&amp;gt;E_{0}&amp;lt;/math&amp;gt; = zero point energy &lt;br /&gt;
*&amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; = Temperature&lt;br /&gt;
*&amp;lt;math&amp;gt;k_B&amp;lt;/math&amp;gt; = Boltzmann Constant &lt;br /&gt;
*&amp;lt;math&amp;gt;\hbar&amp;lt;/math&amp;gt; = reduced Planck&#039;s constant. &lt;br /&gt;
&lt;br /&gt;
The equations is split into three parts - the zero point energy and the harmonic and entropic contribution.&lt;br /&gt;
&lt;br /&gt;
In addition the coefficients of thermal expansion was calculated. Thermal expansion is the tendency for matter to change in response to temperature, due to heat transfer. The coefficient of thermal expansion describes how the size of an object changes with temperature. The larger the coefficient the greater the change in size as temperature increases. Several coefficients have been developed and the two that we will look at are the linear and volumetric thermal expansion. The generic equation is as follows:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\alpha_x = \frac{1}{x}\,\left(\frac{\partial x}{\partial T}\right)_p&lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* α&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt; = thermal expansion coefficient&lt;br /&gt;
* x = initial dimension &lt;br /&gt;
* ∂x = the partial derivative of the dimension under study &lt;br /&gt;
* ∂T = partial derivative of temperature &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy vs temp.png|thumb|400px|Figure 12. Free Energy dependence on Temperature for the QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH lattice constant vs temp.png|thumb|400px|Figure 13. Lattice Constant dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|[[File:JOH LV temp.png|thumb|400px|Figure 14. Lattice Volume dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 12 shows that as temperature increases the free energy becomes more negative. This can be rationalised with the derivation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; G = H - TS &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Plug in &amp;lt;math&amp;gt;H = U + PV&amp;lt;/math&amp;gt; to get  &amp;lt;math&amp;gt;G = U + PV - TS&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dG = dU + PdV + VdP - TdS - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = q + w &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dq = TdS &amp;lt;/math&amp;gt; &amp;lt;math&amp;gt; dw = -PdV &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \therefore dG = VdP - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This implies that both the volume and the entropic factor contribute to the free energy. As the temperature increases the volume will increase, however the entropic factor will overcome this due to large change in temperature. This explains the trend observed in figure 12. &lt;br /&gt;
&lt;br /&gt;
We would expect a linear negative decrease - &amp;lt;math&amp;gt; \left( \frac{\partial G}{\partial T} \right)_P = -S &amp;lt;/math&amp;gt;. However figure 12 shows that the trend is a curve, the free energy becomes more negative at an increasing rate, suggesting that the pressure may not be constant.&lt;br /&gt;
&lt;br /&gt;
The trend could also be explained using the Helmoholtz free energy equation used in the QHA. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The entropic contribution in the equation has a large dependence on temperature and therefore as temperature increases the entropic contribution becomes more negative. This is due to the exponential factor in the entropic contribution. This results in the Helmholtz becoming more negative.  &lt;br /&gt;
&lt;br /&gt;
===Calculating the Thermal expansion coefficients===&lt;br /&gt;
Figure 13 and 12 show how the lattice constant and volume change with temperature. Both graphs initially increase gradually and after 400 K show a near perfect linear trend. The trend in both graphs shows strong correlation with R&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; values close to one. By taking the gradient of these trend lines the thermal expansion coefficients can be calculated:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Linear Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{1}{L} \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{0.00002342}{2.986563} = 7.7815\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
L = the initial lattice constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 13&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Volumetric Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V} \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{0.00044612}{18.836496} = 2.3684\times 10^{-5}&amp;lt;/math&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
V = the initial volume constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 14&lt;br /&gt;
&lt;br /&gt;
For isotropic materials the volumetric coefficient is three times larger that then linear coefficient - &amp;lt;math&amp;gt;3&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;. For the coefficients calculated &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt; is almost three times larger than &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; (&amp;lt;math&amp;gt;3.04&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;) implying that MgO is an isotropic material &amp;lt;ref name=&amp;quot;Ref 6&amp;quot;/&amp;gt;, in other words lattice constants a, b and c expand at equal rates. At 200 K the L value increases to 2.987604 Å resulting in &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;7.839\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; which is close to the literature value of &amp;lt;math&amp;gt;7.39\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The main approximation with the QHA occurs at higher temperatures. This is because at higher temperatures the lattice experiences a larger anharmonic effect due to a larger deviation from bond equilibrium as more energy is put into the bond. Furthermore as anharmonicity comes from scattered phonons interacting due to lattice defects, this effect will be accentuated as lattice vibrations gain more energy. The QHA simplifies the anharmonic effect by letting the phonon frequencies become volume dependent so therefore is unable to model the anharmonic effect well. Furthermore the born-oppenheimer approximation would become less valid at larger temperatures as the motion of nuclei becomes more important. So as the temperature reaches melting point the phonon modes would not represent the motion of the ions well. &lt;br /&gt;
&lt;br /&gt;
Lastly in a diatomic molecule, with an exact harmonic potential, as the temperature increases there would be no change in equilibrium bond length as the parabolic function is symmetric. Instead the maximum and minimum bond lengths would increase or in other words a larger amplitude would be reached.&lt;br /&gt;
&lt;br /&gt;
== Molecular Dynamics ==&lt;br /&gt;
The crystal was then studied using Molecular Dynamics. In the previous investigations MgO has been described using a primitive cell containing a single MgO unit. Running an MD would not produce meaningful data as every cell would move perfectly in phase. By increasing the size of the cell the MD would become more accurate but become more computationally expensive so a compromise is reached for a cell containing 32 MgO units. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy temperature QHA MD.png|thumb|400px|Figure 15. Free Energy vs Temperature for MD compared to QHA]]&lt;br /&gt;
|[[File:JOHlatticeQHAMD2.png|thumb|400px|Figure 16. Lattice Constant vs Temperature for MD compared to QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics allows a system to evolve in time according to Newton&#039;s second law F=ma. As the system is treated classically energy can be modelled by the equipartition principle, &amp;lt;math&amp;gt;E = \frac{3}{2} k_B T&amp;lt;/math&amp;gt;, and as such the energy will increase linearly with temperature. In comparison QHA follows the relationship &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
This mean that the energy should decrease with temperature. Both the free energy modelled by MD and QHA can be seen in figure 15. &lt;br /&gt;
&lt;br /&gt;
Looking at figure 16 the MD and the QHA are similar between 400-1000 K, thus the volumetric expansion coefficients would be similar:&lt;br /&gt;
*MD - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; = 3.06 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
*QHA - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;  = 2.89 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
This similarity in data strengthens the reliability of the volumetric expansion coefficients between 400 - 1000 K. However, below 400 K the QHA begins to break from a linear trend and curve towards 18.84 Å&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt; whereas the MD follows the linear trend. At lower trends the anharmonic effect is not as prevalent so the QHA is a better model for the lattice volume at lower temperatures. The MD model does not accurately show how the free energy changes at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
===Limitation===&lt;br /&gt;
&lt;br /&gt;
Overall both QHA and MD models have their limitations. &lt;br /&gt;
&lt;br /&gt;
The atoms are modelled using a classical approach or in other words atoms are modelled as hard charged spheres. So the quantum mechanical contributions cannot be taken into account. This will reduced the accuracy of the models &lt;br /&gt;
&lt;br /&gt;
Furthermore, the models do not consider long-range interactions, only interactions of atoms relatively close. In a realistic crystal there will be interactions outside the nearest neighbours albeit small interactions. Thus slight inaccuracy in the models is seen. &lt;br /&gt;
&lt;br /&gt;
For both models it can be assumed that the trends can be extrapolated until the melting point of MgO is reached, as upon melting a change in volume occurs. Furthermore liquid MgO has no structured order so cannot be described by a repeated unit cell. &lt;br /&gt;
&lt;br /&gt;
In the QHA the interactions between atoms of different unit cells was not taken into consideration. There would be an energy increase if there was overlap between atoms in different cells.&lt;br /&gt;
&lt;br /&gt;
For these MD calculations, as only a small number of atoms were considered it was reasonable to use a time step of 1.0 femtoseconds. However, when considering a much larger system, say for example a protein, then this would become computationally expensive.&lt;br /&gt;
&lt;br /&gt;
==Conclusion== &lt;br /&gt;
The experiment showed the thermal expansion of MgO, the phonon dispersion and the DOS. Comparisons between the QHA and the MD were made, both approaches giving reasonable thermal expansion coefficients between 400-1000 K. At lower temperatures the QHA was a better model, due to the reduction in anharmonic effects.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 1&amp;quot; &amp;gt; O. Madelung, U. Rössler and M. Schulz, Eds., II-VI and I-VII compounds; Semimagnetic compounds, Springer-Verlag, 1999. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 2&amp;quot; &amp;gt; A. CIMINO, P. PORTA and M. VALIGI, Journal of the American Ceramic Society, 1966, 49, 152–156. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 3&amp;quot;&amp;gt; A. Baldereschi, Physical Review B, 1973, 7, 5212–5215. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 4&amp;quot; &amp;gt; E. J. Covington and D. J. Montgomery, J. Appl. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys, 2010, 27, 1030–53111. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 5&amp;quot; &amp;gt; J. A. Kaduk and J. Faber, The Rigaku journal 14 CRYSTAL STRUCTURE OF ZEOLITE Y AS A FUNCTION OF ION EXCHANGE, 1995. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 6&amp;quot; &amp;gt; J.R. Vinson, Plate and Panel structures of Isotropic, Composite and Piezoelectric Materials, including Sandwich Construction. Delaware; Springer; 2005. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Appendix==&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo phonon DOS 222 JOH.png|thumb|300px|Figure 1. Phonon DOS of MgO using 2x2x2 grid size]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Jo1213</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553523</id>
		<title>Rep:Mod:JOH95MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553523"/>
		<updated>2016-03-11T11:21:31Z</updated>

		<summary type="html">&lt;p&gt;Jo1213: /* Calculating the Thermal expansion coefficients */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
The experiment will investigate the properties of an MgO crystal. Firstly the dimensions of the unit cells will be investigated along with the associated energy. Then the phonon dispersion and DOS will be investigated, evaluating the optimal grid size to use. The energies of the crystal will be investigates along with the thermal expansion coefficients. Lastly the quasi-harmonic approximation (QHA) and the molecular dynamics (MD) will be compared. &lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon-based model used to describe volume-dependent thermal effects. The harmonic phonon model assumes that all intermolecular forces are harmonic. This is not sufficient to describe thermal expansion as there is no change to the equilibrium bond length as temperature increases. The QHA takes into account that molecules do have an anharmonic effect at higher temperatures by treating frequencies as volume dependent. &lt;br /&gt;
&lt;br /&gt;
The MD approach allows a system to evolve in time according to Newton&#039;s second law &amp;lt;math&amp;gt;F=ma&amp;lt;/math&amp;gt;. The initial configurations and velocities are assigned to allow the program to iterate positions and velocities. The atoms follow trajectories and the properties, such as E and T, are computed as time averages of their behaviour.&lt;br /&gt;
&lt;br /&gt;
The programs used were RedHat Linux, DLVisulaize (DLV) and General Utility Lattice Program (GULP). DLV allows us to visualise the MgO crystals and GULP is used to perform simulations on materials using boundary conditions, in this case on a 3D lattice.&lt;br /&gt;
&lt;br /&gt;
== Internal Energy of MgO ==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:PC 1.png|left|thumb|300px|Figure 1. Primitive Cell of MgO]]&lt;br /&gt;
|[[File:CC .png|left|thumb|300px|Figure 2. Conventional Cell of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 1 shows the primitive unit cell of MgO. The primitive unit cell consists of 2 atoms Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; which are held together by a Buckingham repulsive potential. The unit cell has a rhombohedron shape with lattice constants of 2.9783 Å and an internal angle a = 60°. The primitive cell contains one lattice point and is the simplest cell to describe the crystal. A calculation was run on MgO. In the [https://wiki.ch.ic.ac.uk/wiki/images/e/e7/MgO_1_james.txt LogFile] GULF describes MgO using a primitive unit cell. The Cartesian lattice vectors of the cell are reported in table 1 and the total lattice energy was -41.07531759 eV which represents the energy to pull all the atom infinitely apart. The GULP calculation correlates with LCAO HF calculations found in literature (2.573 Å &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;). &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|-&lt;br /&gt;
|+ Table 1ː Cell Vector Dimensions/Å&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The conventional cell has four times the volume of the primitive cell as shown in figure 2. The structure of the cell is face centered cubic (FCC) which has an internal angel a = 90° and a lattice vector of 4.212 Å (which agrees with literature of 4.21 Å &amp;lt;ref name =&amp;quot;Ref 2&amp;quot; /&amp;gt;). The conventional cell is more representative of the crystal so is chosen in the calculations.&lt;br /&gt;
&lt;br /&gt;
==Computing the Phonon Dispersion Curves==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO Phonon Dispersion JOH.png|thumb|300px|Figure 3. Phonon Dispersion Graph of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The vibrational modes of the lattice were then computed. The phonon modes were displayed as a dispersion curve, as shown in figure 3. The phonon frequencies were calculated along a path in k-space. Special points along the path, &amp;lt;math&amp;gt;W, L, \Gamma, X, W, K&amp;lt;/math&amp;gt;, can be seen in figure 3. There are two phonos modes associated with each axis, acoustic (in-phase) and optical (out-of-phase) phonons. In the 3D model three axis (x,y,z) are taken into consideration meaning there are 6 phonon modes as shown by the six different curves in figure 3. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:K=0 JOH.png|thumb|300px|Figure 4. Acoustic and optical modes at k=0]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The relationship between the wavevector k to the wavelength &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) is &amp;lt;math&amp;gt;k= \frac{2\pi}{\lambda}&amp;lt;/math&amp;gt;. Furthermore the relationship between wavelength &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) and frequency is &amp;lt;math&amp;gt; v = \frac{c}{\lambda} &amp;lt;/math&amp;gt;. As shown in figure 4 when k=0, for the acoustic mode, the wavelength approaches infinity as all the atoms move in the same direction along the axis. As &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; approaches infinity, frequency will tend to 0. For the optical mode the frequency is non-zero. With this information it is clear that at k=0 the dispersion graph is at symmetry point &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; as this is the only point on the dispersion curve where phonon modes display a frequency of zero. &lt;br /&gt;
&lt;br /&gt;
Following the path from &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;, to &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and then to &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; the acoustic mode splits into 3 modes, two transverse modes (TA) and one longitude mode (LA). The two TA are degenerate between &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; until it splits between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Phonon Density of States (DOS)==&lt;br /&gt;
The next part involved calculating the phonon density of states. The DOS is defined as the number of states per energy at a given energy, in this case vibrational frequency. The larger the number of k values considered in reciprocal space the more accurate the DOS. This is achieved by increasing the grid size (nxnxn) to give a better representation of the crystal by sampling more k values in reciprocal space. However, at a certain point the difference between k values is negligible so does not further increase the accuracy of the DOS. Furthermore calculating an infinite number of k values would take an infinite amount of computing time.&lt;br /&gt;
&lt;br /&gt;
The DOS was calculated for a 1x1x1 grid by setting the shrinking value to 1 as shown in figure 5. The grid size was then increased to find the optimum shrinking value that gave a good representation of the DOS without taking too long to calculate as shown by figures 6 through 10. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo Phonon DOS JOH 111.png|thumb|300px|Figure 5. Phonon DOS of MgO using 1x1x1 grid size]]&lt;br /&gt;
|[[File:JOHphononDOS444.png|thumb|300px|Figure 6. Phonon DOS of MgO using 4x4x4 grid size]]&lt;br /&gt;
|[[File:JOHDOS888.png|thumb|300px|Figure 7. Phonon DOS of MgO using 8x8x8 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOHDOS161616.png|thumb|300px|Figure 8. Phonon DOS of MgO using 16x16x16 grid size]]&lt;br /&gt;
|[[File:JOHDOS323232.png|thumb|300px|Figure 9. Phonon DOS of MgO using 32x32x32 grid size]]&lt;br /&gt;
|[[File:JOHDOS50.png|thumb|300px|Figure 10. Phonon DOS of MgO using 50x50x50 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 5 shows the DOS for a 1x1x1 grid size. The four peaks 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 676 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 819 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; represent the four frequencies at point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. At symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;, by looking at figure 3, the two phonon modes at 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; are degenerate (as they go on to split in two curves between points &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;). This degeneracy is confirmed in the DOS graph in figure 5 as the intensity of the peaks around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; is around double that of the peaks around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is chosen as the k-value for a grid size of 1x1x1 as it is the most representative point in k-space for the DOS. This is shown visually from figures 5 to 10 as when the DOS becomes more accurate the main peak remains around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; with the smaller peak still remaining around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. There is a theorem about using the &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; point in reciprocal space for a 1x1x1 grid called Baldereschi theorem &amp;lt;ref name = &amp;quot;Ref 3&amp;quot;/&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The ideal grid size is one that represents the DOS without taking too long to calculate. From figure 8 onwards the shape of the curve does not change much, so it can be concluded that using a grid size of 16 is sufficient enough to gain a good understanding of the DOS without taking too long to calculate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:DOS dispersion JOH.png|thumb|400px|Figure 11. Comparing the dispersion curve with the DOS]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It is important to note the relationship between the dispersion curve and the DOS graph as shown in figure 11. The frequency in the phonon dispersion curve on the y axis is the same as the frequency on the DOS curve in the x-axis. It can be seen visually that the most popular states are around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The relationship between real space and reciprocal space is given by the formula &amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt; - a being the length in real space transformed to a* in reciprocal space. This shows that the larger the lattice constant a, the smaller the reciprocal cell. This is important to consider when assessing the DOS for other structures. Lithium has a lattice constant of 3.490 Å &amp;lt;ref name = &amp;quot;Ref 4&amp;quot;/&amp;gt; which is 0.721 Å lower that the conventional unit cell of MgO that is being modelled. Due to the inverse relationship of real to reciprocal space, lithium will have a larger cell in reciprocal space and therefore need a larger grid size in order to measure more k values to give an accurate DOS. Conversely Faujasite has a lattice constant of 24.7 Å &amp;lt;ref name = &amp;quot;Ref 5&amp;quot; /&amp;gt; which will give a much smaller cell in reciprocal space meaning that a smaller grid size would give an accurate measurement of the DOS as there are fewer k values needed to measure the cell. CaO has a very similar lattice constant to MgO meaning that a similar grid size would be needed to accurately measure the DOS - in this case a grid size of 16x16x16 would be sufficient.&lt;br /&gt;
&lt;br /&gt;
==Computing the Free Energy==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Table 2ː Energy vs Grid size&lt;br /&gt;
! Grid Size nxnxn/n&lt;br /&gt;
! Free Energy/eV&lt;br /&gt;
! Accuracy/ meV&lt;br /&gt;
! Log file&lt;br /&gt;
! rowspan=&amp;quot;9&amp;quot;|[[File:JOH Free energy vs grid size.png|thumb|400px|]]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| -40.930301&lt;br /&gt;
| 4&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/1/12/JOH_fe_MgO_111.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| -40.926609&lt;br /&gt;
| 0.2&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/aa/JOH_fe_MgO_222.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -40.926432&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4d/JOH_fe_MgO_333.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -40.926450&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/40/JOH_fe_MgO_444.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -40.926478&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/7/70/JOH_fe_MgO_888.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -40.926482&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4f/JOH_fe_MgO_16.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/ac/JOH_fe_MgO_32.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 50&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [[Media:JOH_fe_MgO_50.txt.zip|log file]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Table 2 displays the free energies of MgO as a function of grid size n. Similar to finding the ideal grid size to calculate the DOS, the optimal grid size to calculate the free energy can be found in table 2. As the grid size increases from 1 to 3 there is a sharp increase in the free energy from -40.930301 eV to -40.926432 eV, afterwards the free energy eventually converges at -40.926483 eV. From a grid size of 4 onwards the degree of accuracy is greater that 0.1 meV. There is no change in free energy from a grid size of 32 to 50 suggesting that a grid size of 32 is all that is needed to precisely determine the free energy of MgO. &lt;br /&gt;
&lt;br /&gt;
The graph in table 2 can be rationalised by the equation for the Helmholtz free energy - &amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A is the Helmholtz fee energy, U is the internal energy, T is temperature and S is entropy. As the grid size increases, the volume increases so the internal energy decreases (&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt;). This in turn means that the Helmholtz free energy would decrease.&lt;br /&gt;
&lt;br /&gt;
Furthermore as the number of microstates sampled increases the entropy term will increase according to the relationship &amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt;. This in turn means that the free energy will be lowered. By considering these two factors the decrease in free energy can be rationalised.&lt;br /&gt;
&lt;br /&gt;
==Thermal Expansion of MgO==&lt;br /&gt;
The structure of MgO will be optimised with respect to the free energy at different temperatures (0 - 1000 K in steps of 100 K). The free energy will be computed using the quasi-harmonic approximation (QHA) which uses the following expression: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
*&amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; = frequency of the vibration &lt;br /&gt;
*&amp;lt;math&amp;gt;E_{0}&amp;lt;/math&amp;gt; = zero point energy &lt;br /&gt;
*&amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; = Temperature&lt;br /&gt;
*&amp;lt;math&amp;gt;k_B&amp;lt;/math&amp;gt; = Boltzmann Constant &lt;br /&gt;
*&amp;lt;math&amp;gt;\hbar&amp;lt;/math&amp;gt; = reduced Planck&#039;s constant. &lt;br /&gt;
&lt;br /&gt;
The equations is split into three parts - the zero point energy and the harmonic and entropic contribution.&lt;br /&gt;
&lt;br /&gt;
In addition the coefficients of thermal expansion was calculated. Thermal expansion is the tendency for matter to change in response to temperature, due to heat transfer. The coefficient of thermal expansion describes how the size of an object changes with temperature. The larger the coefficient the greater the change in size as temperature increases. Several coefficients have been developed and the two that we will look at are the linear and volumetric thermal expansion. The generic equation is as follows:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\alpha_x = \frac{1}{x}\,\left(\frac{\partial x}{\partial T}\right)_p&lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* α&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt; = thermal expansion coefficient&lt;br /&gt;
* x = initial dimension &lt;br /&gt;
* ∂x = the partial derivative of the dimension under study &lt;br /&gt;
* ∂T = partial derivative of temperature &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy vs temp.png|thumb|400px|Figure 12. Free Energy dependence on Temperature for the QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH lattice constant vs temp.png|thumb|400px|Figure 13. Lattice Constant dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|[[File:JOH LV temp.png|thumb|400px|Figure 14. Lattice Volume dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 12 shows that as temperature increases the free energy becomes more negative. This can be rationalised with the derivation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; G = H - TS &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Plug in &amp;lt;math&amp;gt;H = U + PV&amp;lt;/math&amp;gt; to get  &amp;lt;math&amp;gt;G = U + PV - TS&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dG = dU + PdV + VdP - TdS - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = q + w &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dq = TdS &amp;lt;/math&amp;gt; &amp;lt;math&amp;gt; dw = -PdV &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \therefore dG = VdP - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This implies that both the volume and the entropic factor contribute to the free energy. As the temperature increases the volume will increase, however the entropic factor will overcome this due to large change in temperature. This explains the trend observed in figure 12. &lt;br /&gt;
&lt;br /&gt;
We would expect a linear negative decrease - &amp;lt;math&amp;gt; \left( \frac{\partial G}{\partial T} \right)_P = -S &amp;lt;/math&amp;gt;. However figure 12 shows that the trend is a curve, the free energy becomes more negative at an increasing rate, suggesting that the pressure may not be constant.&lt;br /&gt;
&lt;br /&gt;
The trend could also be explained using the Helmoholtz free energy equation used in the QHA. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The entropic contribution in the equation has a large dependence on temperature and therefore as temperature increases the entropic contribution becomes more negative. This is due to the exponential factor in the entropic contribution. This results in the Helmholtz becoming more negative.  &lt;br /&gt;
&lt;br /&gt;
===Calculating the Thermal expansion coefficients===&lt;br /&gt;
Figure 13 and 12 show how the lattice constant and volume change with temperature. Both graphs initially increase gradually and after 400 K show a near perfect linear trend. The trend in both graphs shows strong correlation with R&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; values close to one. By taking the gradient of these trend lines the thermal expansion coefficients can be calculated:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Linear Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{1}{L} \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{0.00002342}{2.986563} = 7.7815\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
L = the initial lattice constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 13&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Volumetric Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V} \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{0.00044612}{18.836496} = 2.3684\times 10^{-5}&amp;lt;/math&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
V = the initial volume constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 14&lt;br /&gt;
&lt;br /&gt;
For isotropic materials the volumetric coefficient is three times larger that then linear coefficient - &amp;lt;math&amp;gt;3&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;. For the coefficients calculated &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt; is almost three times larger than &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; (&amp;lt;math&amp;gt;3.04&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;) implying that MgO is an isotropic material &amp;lt;ref name=&amp;quot;Ref 6&amp;quot;/&amp;gt;, in other words lattice constants a, b and c expand at equal rates. At 200 K the L value increases to 2.987604 Å resulting in &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;7.839\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; which is close to the literature value of &amp;lt;math&amp;gt;7.39\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The main approximation with the QHA occurs at higher temperatures. This is because at higher temperatures the lattice experiences a larger anharmonic effect due to a larger deviation from bond equilibrium as more energy is put into the bond. Furthermore as anharmonicity comes from scattered phonons interacting due to lattice defects, this effect will be accentuated as lattice vibrations gain more energy. The QHA simplifies the anharmonic effect by letting the phonon frequencies become volume dependent so therefore is unable to model the anharmonic effect well. Furthermore the born-oppenheimer approximation would become less valid at larger temperatures as the motion of nuclei becomes more important. So as the temperature reaches melting point the phonon modes would not represent the motion of the ions well. &lt;br /&gt;
&lt;br /&gt;
Lastly in a diatomic molecule, with an exact harmonic potential, as the temperature increases there would be no change in equilibrium bond length as the parabolic function is symmetric. Instead the maximum and minimum bond lengths would increase or in other words a larger amplitude would be reached.&lt;br /&gt;
&lt;br /&gt;
== Molecular Dynamics ==&lt;br /&gt;
The crystal was then studied using Molecular Dynamics. In the previous investigations MgO has been described using a primitive cell containing a single MgO unit. Running an MD would not produce meaningful data as every cell would move perfectly in phase. By increasing the size of the cell the MD would become more accurate but become more computationally expensive so a compromise is reached for a cell containing 32 MgO units. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy temperature QHA MD.png|thumb|400px|Figure 15. Free Energy vs Temperature for MD compared to QHA]]&lt;br /&gt;
|[[File:JOHlatticeQHAMD2.png|thumb|400px|Figure 16. Lattice Constant vs Temperature for MD compared to QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics allows a system to evolve in time according to Newton&#039;s second law F=ma. As the system is treated classically energy can be modelled by the equipartition principle, &amp;lt;math&amp;gt;E = \frac{3}{2} k_B T&amp;lt;/math&amp;gt;, and as such the energy will increase linearly with temperature. In comparison QHA follows the relationship &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
This mean that the energy should decrease with temperature. Both the free energy modelled by MD and QHA can be seen in figure 15. &lt;br /&gt;
&lt;br /&gt;
Looking at figure 16 the MD and the QHA are similar between 400-1000 K, thus the volumetric expansion coefficients would be similar:&lt;br /&gt;
*MD - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; = 3.06 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
*QHA - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;  = 2.89 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
This similarity in data strengthens the reliability of the volumetric expansion coefficients between 400 - 1000 K. However, below 400 K the QHA begins to break from a linear trend and curve towards 18.84 Å&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt; whereas the MD follows the linear trend. At lower trends the anharmonic effect is not as prevalent so the QHA is a better model for the lattice constant at lower temperatures. The MD model does not accurately show how the free energy changes at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
===Limitation===&lt;br /&gt;
&lt;br /&gt;
Overall both QHA and MD models have their limitations. &lt;br /&gt;
&lt;br /&gt;
The atoms are modelled using a classical approach or in other words atoms are modelled as hard charged spheres. So the quantum mechanical contributions cannot be taken into account. This will reduced the accuracy of the models &lt;br /&gt;
&lt;br /&gt;
Furthermore, the models do not consider long-range interactions, only interactions of atoms relatively close. In a realistic crystal there will be interactions outside the nearest neighbours albeit small interactions. Thus slight inaccuracy in the models is seen. &lt;br /&gt;
&lt;br /&gt;
For both models it can be assumed that the trends can be extrapolated until the melting point of MgO is reached, as upon melting a change in volume occurs. Furthermore liquid MgO has no structured order so cannot be described by a repeated unit cell. &lt;br /&gt;
&lt;br /&gt;
In the QHA the interactions between atoms of different unit cells was not taken into consideration. There would be an energy increase if there was overlap between atoms in different cells.&lt;br /&gt;
&lt;br /&gt;
For these MD calculations, as only a small number of atoms were considered it was reasonable to use a time step of 1.0 femtoseconds. However, when considering a much larger system, say for example a protein, then this would become computationally expensive.&lt;br /&gt;
&lt;br /&gt;
==Conclusion== &lt;br /&gt;
The experiment showed the thermal expansion of MgO, the phonon dispersion and the DOS. Comparisons between the QHA and the MD were made, both approaches giving reasonable thermal expansion coefficients between 400-1000 K. At lower temperatures the QHA was a better model, due to the reduction in anharmonic effects.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 1&amp;quot; &amp;gt; O. Madelung, U. Rössler and M. Schulz, Eds., II-VI and I-VII compounds; Semimagnetic compounds, Springer-Verlag, 1999. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 2&amp;quot; &amp;gt; A. CIMINO, P. PORTA and M. VALIGI, Journal of the American Ceramic Society, 1966, 49, 152–156. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 3&amp;quot;&amp;gt; A. Baldereschi, Physical Review B, 1973, 7, 5212–5215. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 4&amp;quot; &amp;gt; E. J. Covington and D. J. Montgomery, J. Appl. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys, 2010, 27, 1030–53111. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 5&amp;quot; &amp;gt; J. A. Kaduk and J. Faber, The Rigaku journal 14 CRYSTAL STRUCTURE OF ZEOLITE Y AS A FUNCTION OF ION EXCHANGE, 1995. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 6&amp;quot; &amp;gt; J.R. Vinson, Plate and Panel structures of Isotropic, Composite and Piezoelectric Materials, including Sandwich Construction. Delaware; Springer; 2005. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Appendix==&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo phonon DOS 222 JOH.png|thumb|300px|Figure 1. Phonon DOS of MgO using 2x2x2 grid size]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Jo1213</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553522</id>
		<title>Rep:Mod:JOH95MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553522"/>
		<updated>2016-03-11T11:20:48Z</updated>

		<summary type="html">&lt;p&gt;Jo1213: /* Calculating the Thermal expansion coefficients */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
The experiment will investigate the properties of an MgO crystal. Firstly the dimensions of the unit cells will be investigated along with the associated energy. Then the phonon dispersion and DOS will be investigated, evaluating the optimal grid size to use. The energies of the crystal will be investigates along with the thermal expansion coefficients. Lastly the quasi-harmonic approximation (QHA) and the molecular dynamics (MD) will be compared. &lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon-based model used to describe volume-dependent thermal effects. The harmonic phonon model assumes that all intermolecular forces are harmonic. This is not sufficient to describe thermal expansion as there is no change to the equilibrium bond length as temperature increases. The QHA takes into account that molecules do have an anharmonic effect at higher temperatures by treating frequencies as volume dependent. &lt;br /&gt;
&lt;br /&gt;
The MD approach allows a system to evolve in time according to Newton&#039;s second law &amp;lt;math&amp;gt;F=ma&amp;lt;/math&amp;gt;. The initial configurations and velocities are assigned to allow the program to iterate positions and velocities. The atoms follow trajectories and the properties, such as E and T, are computed as time averages of their behaviour.&lt;br /&gt;
&lt;br /&gt;
The programs used were RedHat Linux, DLVisulaize (DLV) and General Utility Lattice Program (GULP). DLV allows us to visualise the MgO crystals and GULP is used to perform simulations on materials using boundary conditions, in this case on a 3D lattice.&lt;br /&gt;
&lt;br /&gt;
== Internal Energy of MgO ==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:PC 1.png|left|thumb|300px|Figure 1. Primitive Cell of MgO]]&lt;br /&gt;
|[[File:CC .png|left|thumb|300px|Figure 2. Conventional Cell of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 1 shows the primitive unit cell of MgO. The primitive unit cell consists of 2 atoms Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; which are held together by a Buckingham repulsive potential. The unit cell has a rhombohedron shape with lattice constants of 2.9783 Å and an internal angle a = 60°. The primitive cell contains one lattice point and is the simplest cell to describe the crystal. A calculation was run on MgO. In the [https://wiki.ch.ic.ac.uk/wiki/images/e/e7/MgO_1_james.txt LogFile] GULF describes MgO using a primitive unit cell. The Cartesian lattice vectors of the cell are reported in table 1 and the total lattice energy was -41.07531759 eV which represents the energy to pull all the atom infinitely apart. The GULP calculation correlates with LCAO HF calculations found in literature (2.573 Å &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;). &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|-&lt;br /&gt;
|+ Table 1ː Cell Vector Dimensions/Å&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The conventional cell has four times the volume of the primitive cell as shown in figure 2. The structure of the cell is face centered cubic (FCC) which has an internal angel a = 90° and a lattice vector of 4.212 Å (which agrees with literature of 4.21 Å &amp;lt;ref name =&amp;quot;Ref 2&amp;quot; /&amp;gt;). The conventional cell is more representative of the crystal so is chosen in the calculations.&lt;br /&gt;
&lt;br /&gt;
==Computing the Phonon Dispersion Curves==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO Phonon Dispersion JOH.png|thumb|300px|Figure 3. Phonon Dispersion Graph of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The vibrational modes of the lattice were then computed. The phonon modes were displayed as a dispersion curve, as shown in figure 3. The phonon frequencies were calculated along a path in k-space. Special points along the path, &amp;lt;math&amp;gt;W, L, \Gamma, X, W, K&amp;lt;/math&amp;gt;, can be seen in figure 3. There are two phonos modes associated with each axis, acoustic (in-phase) and optical (out-of-phase) phonons. In the 3D model three axis (x,y,z) are taken into consideration meaning there are 6 phonon modes as shown by the six different curves in figure 3. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:K=0 JOH.png|thumb|300px|Figure 4. Acoustic and optical modes at k=0]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The relationship between the wavevector k to the wavelength &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) is &amp;lt;math&amp;gt;k= \frac{2\pi}{\lambda}&amp;lt;/math&amp;gt;. Furthermore the relationship between wavelength &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) and frequency is &amp;lt;math&amp;gt; v = \frac{c}{\lambda} &amp;lt;/math&amp;gt;. As shown in figure 4 when k=0, for the acoustic mode, the wavelength approaches infinity as all the atoms move in the same direction along the axis. As &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; approaches infinity, frequency will tend to 0. For the optical mode the frequency is non-zero. With this information it is clear that at k=0 the dispersion graph is at symmetry point &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; as this is the only point on the dispersion curve where phonon modes display a frequency of zero. &lt;br /&gt;
&lt;br /&gt;
Following the path from &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;, to &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and then to &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; the acoustic mode splits into 3 modes, two transverse modes (TA) and one longitude mode (LA). The two TA are degenerate between &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; until it splits between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Phonon Density of States (DOS)==&lt;br /&gt;
The next part involved calculating the phonon density of states. The DOS is defined as the number of states per energy at a given energy, in this case vibrational frequency. The larger the number of k values considered in reciprocal space the more accurate the DOS. This is achieved by increasing the grid size (nxnxn) to give a better representation of the crystal by sampling more k values in reciprocal space. However, at a certain point the difference between k values is negligible so does not further increase the accuracy of the DOS. Furthermore calculating an infinite number of k values would take an infinite amount of computing time.&lt;br /&gt;
&lt;br /&gt;
The DOS was calculated for a 1x1x1 grid by setting the shrinking value to 1 as shown in figure 5. The grid size was then increased to find the optimum shrinking value that gave a good representation of the DOS without taking too long to calculate as shown by figures 6 through 10. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo Phonon DOS JOH 111.png|thumb|300px|Figure 5. Phonon DOS of MgO using 1x1x1 grid size]]&lt;br /&gt;
|[[File:JOHphononDOS444.png|thumb|300px|Figure 6. Phonon DOS of MgO using 4x4x4 grid size]]&lt;br /&gt;
|[[File:JOHDOS888.png|thumb|300px|Figure 7. Phonon DOS of MgO using 8x8x8 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOHDOS161616.png|thumb|300px|Figure 8. Phonon DOS of MgO using 16x16x16 grid size]]&lt;br /&gt;
|[[File:JOHDOS323232.png|thumb|300px|Figure 9. Phonon DOS of MgO using 32x32x32 grid size]]&lt;br /&gt;
|[[File:JOHDOS50.png|thumb|300px|Figure 10. Phonon DOS of MgO using 50x50x50 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 5 shows the DOS for a 1x1x1 grid size. The four peaks 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 676 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 819 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; represent the four frequencies at point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. At symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;, by looking at figure 3, the two phonon modes at 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; are degenerate (as they go on to split in two curves between points &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;). This degeneracy is confirmed in the DOS graph in figure 5 as the intensity of the peaks around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; is around double that of the peaks around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is chosen as the k-value for a grid size of 1x1x1 as it is the most representative point in k-space for the DOS. This is shown visually from figures 5 to 10 as when the DOS becomes more accurate the main peak remains around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; with the smaller peak still remaining around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. There is a theorem about using the &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; point in reciprocal space for a 1x1x1 grid called Baldereschi theorem &amp;lt;ref name = &amp;quot;Ref 3&amp;quot;/&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The ideal grid size is one that represents the DOS without taking too long to calculate. From figure 8 onwards the shape of the curve does not change much, so it can be concluded that using a grid size of 16 is sufficient enough to gain a good understanding of the DOS without taking too long to calculate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:DOS dispersion JOH.png|thumb|400px|Figure 11. Comparing the dispersion curve with the DOS]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It is important to note the relationship between the dispersion curve and the DOS graph as shown in figure 11. The frequency in the phonon dispersion curve on the y axis is the same as the frequency on the DOS curve in the x-axis. It can be seen visually that the most popular states are around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The relationship between real space and reciprocal space is given by the formula &amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt; - a being the length in real space transformed to a* in reciprocal space. This shows that the larger the lattice constant a, the smaller the reciprocal cell. This is important to consider when assessing the DOS for other structures. Lithium has a lattice constant of 3.490 Å &amp;lt;ref name = &amp;quot;Ref 4&amp;quot;/&amp;gt; which is 0.721 Å lower that the conventional unit cell of MgO that is being modelled. Due to the inverse relationship of real to reciprocal space, lithium will have a larger cell in reciprocal space and therefore need a larger grid size in order to measure more k values to give an accurate DOS. Conversely Faujasite has a lattice constant of 24.7 Å &amp;lt;ref name = &amp;quot;Ref 5&amp;quot; /&amp;gt; which will give a much smaller cell in reciprocal space meaning that a smaller grid size would give an accurate measurement of the DOS as there are fewer k values needed to measure the cell. CaO has a very similar lattice constant to MgO meaning that a similar grid size would be needed to accurately measure the DOS - in this case a grid size of 16x16x16 would be sufficient.&lt;br /&gt;
&lt;br /&gt;
==Computing the Free Energy==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Table 2ː Energy vs Grid size&lt;br /&gt;
! Grid Size nxnxn/n&lt;br /&gt;
! Free Energy/eV&lt;br /&gt;
! Accuracy/ meV&lt;br /&gt;
! Log file&lt;br /&gt;
! rowspan=&amp;quot;9&amp;quot;|[[File:JOH Free energy vs grid size.png|thumb|400px|]]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| -40.930301&lt;br /&gt;
| 4&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/1/12/JOH_fe_MgO_111.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| -40.926609&lt;br /&gt;
| 0.2&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/aa/JOH_fe_MgO_222.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -40.926432&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4d/JOH_fe_MgO_333.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -40.926450&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/40/JOH_fe_MgO_444.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -40.926478&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/7/70/JOH_fe_MgO_888.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -40.926482&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4f/JOH_fe_MgO_16.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/ac/JOH_fe_MgO_32.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 50&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [[Media:JOH_fe_MgO_50.txt.zip|log file]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Table 2 displays the free energies of MgO as a function of grid size n. Similar to finding the ideal grid size to calculate the DOS, the optimal grid size to calculate the free energy can be found in table 2. As the grid size increases from 1 to 3 there is a sharp increase in the free energy from -40.930301 eV to -40.926432 eV, afterwards the free energy eventually converges at -40.926483 eV. From a grid size of 4 onwards the degree of accuracy is greater that 0.1 meV. There is no change in free energy from a grid size of 32 to 50 suggesting that a grid size of 32 is all that is needed to precisely determine the free energy of MgO. &lt;br /&gt;
&lt;br /&gt;
The graph in table 2 can be rationalised by the equation for the Helmholtz free energy - &amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A is the Helmholtz fee energy, U is the internal energy, T is temperature and S is entropy. As the grid size increases, the volume increases so the internal energy decreases (&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt;). This in turn means that the Helmholtz free energy would decrease.&lt;br /&gt;
&lt;br /&gt;
Furthermore as the number of microstates sampled increases the entropy term will increase according to the relationship &amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt;. This in turn means that the free energy will be lowered. By considering these two factors the decrease in free energy can be rationalised.&lt;br /&gt;
&lt;br /&gt;
==Thermal Expansion of MgO==&lt;br /&gt;
The structure of MgO will be optimised with respect to the free energy at different temperatures (0 - 1000 K in steps of 100 K). The free energy will be computed using the quasi-harmonic approximation (QHA) which uses the following expression: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
*&amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; = frequency of the vibration &lt;br /&gt;
*&amp;lt;math&amp;gt;E_{0}&amp;lt;/math&amp;gt; = zero point energy &lt;br /&gt;
*&amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; = Temperature&lt;br /&gt;
*&amp;lt;math&amp;gt;k_B&amp;lt;/math&amp;gt; = Boltzmann Constant &lt;br /&gt;
*&amp;lt;math&amp;gt;\hbar&amp;lt;/math&amp;gt; = reduced Planck&#039;s constant. &lt;br /&gt;
&lt;br /&gt;
The equations is split into three parts - the zero point energy and the harmonic and entropic contribution.&lt;br /&gt;
&lt;br /&gt;
In addition the coefficients of thermal expansion was calculated. Thermal expansion is the tendency for matter to change in response to temperature, due to heat transfer. The coefficient of thermal expansion describes how the size of an object changes with temperature. The larger the coefficient the greater the change in size as temperature increases. Several coefficients have been developed and the two that we will look at are the linear and volumetric thermal expansion. The generic equation is as follows:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\alpha_x = \frac{1}{x}\,\left(\frac{\partial x}{\partial T}\right)_p&lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* α&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt; = thermal expansion coefficient&lt;br /&gt;
* x = initial dimension &lt;br /&gt;
* ∂x = the partial derivative of the dimension under study &lt;br /&gt;
* ∂T = partial derivative of temperature &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy vs temp.png|thumb|400px|Figure 12. Free Energy dependence on Temperature for the QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH lattice constant vs temp.png|thumb|400px|Figure 13. Lattice Constant dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|[[File:JOH LV temp.png|thumb|400px|Figure 14. Lattice Volume dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 12 shows that as temperature increases the free energy becomes more negative. This can be rationalised with the derivation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; G = H - TS &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Plug in &amp;lt;math&amp;gt;H = U + PV&amp;lt;/math&amp;gt; to get  &amp;lt;math&amp;gt;G = U + PV - TS&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dG = dU + PdV + VdP - TdS - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = q + w &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dq = TdS &amp;lt;/math&amp;gt; &amp;lt;math&amp;gt; dw = -PdV &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \therefore dG = VdP - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This implies that both the volume and the entropic factor contribute to the free energy. As the temperature increases the volume will increase, however the entropic factor will overcome this due to large change in temperature. This explains the trend observed in figure 12. &lt;br /&gt;
&lt;br /&gt;
We would expect a linear negative decrease - &amp;lt;math&amp;gt; \left( \frac{\partial G}{\partial T} \right)_P = -S &amp;lt;/math&amp;gt;. However figure 12 shows that the trend is a curve, the free energy becomes more negative at an increasing rate, suggesting that the pressure may not be constant.&lt;br /&gt;
&lt;br /&gt;
The trend could also be explained using the Helmoholtz free energy equation used in the QHA. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The entropic contribution in the equation has a large dependence on temperature and therefore as temperature increases the entropic contribution becomes more negative. This is due to the exponential factor in the entropic contribution. This results in the Helmholtz becoming more negative.  &lt;br /&gt;
&lt;br /&gt;
===Calculating the Thermal expansion coefficients===&lt;br /&gt;
Figure 13 and 12 show how the lattice constant and volume change with temperature. Both graphs initially increase gradually and after 400 K show a near perfect linear trend. The trend in both graphs shows strong correlation with R&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; values close to one. By taking the gradient of these trend lines the thermal expansion coefficients can be calculated:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Linear Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{1}{L} \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{0.00002342}{2.986563} = 7.7815\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
L = the initial lattice constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 13&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Volumetric Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V} \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{0.00044612}{18.836496} = 2.3684\times 10^{-5}&amp;lt;/math&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
V = the initial volume constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 14&lt;br /&gt;
&lt;br /&gt;
For isotropic materials the volumetric coefficient is three times larger that then linear coefficient - &amp;lt;math&amp;gt;3&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;. For the coefficients calculated &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt; is almost three times larger than &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; (&amp;lt;math&amp;gt;3.04&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;) implying that MgO is an isotropic material &amp;lt;ref name=&amp;quot;Ref 6&amp;quot;/&amp;gt;, in other words lattice constants a, b and c expand at equal rates. At 200 K the L value increases to 2.987604 Å resulting in &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;7.839\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; which is close to the literature value of &amp;lt;math&amp;gt;7.39\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The main approximation with the QHA occurs at higher temperatures. This is because at higher temperatures the lattice experiences a larger anharmonic effect due to a larger deviation from bond equilibrium as more energy is put into the bond. Furthermore as anharmonicity comes from scattered phonons interacting due to lattice defects, this effect will be accentuated as lattice vibrations gain more energy. The QHA simplifies the anharmonic effect by letting the phonon frequencies become volume dependent so therefore is unable to model the anharmonic effect well. Furthermore the born-oppenheimer approximation would become less valid at larger temperatures as the motion of nuclei becomes more important. So as the temperature reaches melting point the phonon modes would not represent the motion of the ions well. &lt;br /&gt;
&lt;br /&gt;
Lastly in a diatomic molecule with an exact harmonic potential as the temperature increases there would be no change in equilibrium bond length as the parabolic function is symmetric. Instead the maximum and minimum bond lengths would increase or in other words a larger amplitude would be reached.&lt;br /&gt;
&lt;br /&gt;
== Molecular Dynamics ==&lt;br /&gt;
The crystal was then studied using Molecular Dynamics. In the previous investigations MgO has been described using a primitive cell containing a single MgO unit. Running an MD would not produce meaningful data as every cell would move perfectly in phase. By increasing the size of the cell the MD would become more accurate but become more computationally expensive so a compromise is reached for a cell containing 32 MgO units. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy temperature QHA MD.png|thumb|400px|Figure 15. Free Energy vs Temperature for MD compared to QHA]]&lt;br /&gt;
|[[File:JOHlatticeQHAMD2.png|thumb|400px|Figure 16. Lattice Constant vs Temperature for MD compared to QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics allows a system to evolve in time according to Newton&#039;s second law F=ma. As the system is treated classically energy can be modelled by the equipartition principle, &amp;lt;math&amp;gt;E = \frac{3}{2} k_B T&amp;lt;/math&amp;gt;, and as such the energy will increase linearly with temperature. In comparison QHA follows the relationship &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
This mean that the energy should decrease with temperature. Both the free energy modelled by MD and QHA can be seen in figure 15. &lt;br /&gt;
&lt;br /&gt;
Looking at figure 16 the MD and the QHA are similar between 400-1000 K, thus the volumetric expansion coefficients would be similar:&lt;br /&gt;
*MD - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; = 3.06 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
*QHA - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;  = 2.89 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
This similarity in data strengthens the reliability of the volumetric expansion coefficients between 400 - 1000 K. However, below 400 K the QHA begins to break from a linear trend and curve towards 18.84 Å&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt; whereas the MD follows the linear trend. At lower trends the anharmonic effect is not as prevalent so the QHA is a better model for the lattice constant at lower temperatures. The MD model does not accurately show how the free energy changes at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
===Limitation===&lt;br /&gt;
&lt;br /&gt;
Overall both QHA and MD models have their limitations. &lt;br /&gt;
&lt;br /&gt;
The atoms are modelled using a classical approach or in other words atoms are modelled as hard charged spheres. So the quantum mechanical contributions cannot be taken into account. This will reduced the accuracy of the models &lt;br /&gt;
&lt;br /&gt;
Furthermore, the models do not consider long-range interactions, only interactions of atoms relatively close. In a realistic crystal there will be interactions outside the nearest neighbours albeit small interactions. Thus slight inaccuracy in the models is seen. &lt;br /&gt;
&lt;br /&gt;
For both models it can be assumed that the trends can be extrapolated until the melting point of MgO is reached, as upon melting a change in volume occurs. Furthermore liquid MgO has no structured order so cannot be described by a repeated unit cell. &lt;br /&gt;
&lt;br /&gt;
In the QHA the interactions between atoms of different unit cells was not taken into consideration. There would be an energy increase if there was overlap between atoms in different cells.&lt;br /&gt;
&lt;br /&gt;
For these MD calculations, as only a small number of atoms were considered it was reasonable to use a time step of 1.0 femtoseconds. However, when considering a much larger system, say for example a protein, then this would become computationally expensive.&lt;br /&gt;
&lt;br /&gt;
==Conclusion== &lt;br /&gt;
The experiment showed the thermal expansion of MgO, the phonon dispersion and the DOS. Comparisons between the QHA and the MD were made, both approaches giving reasonable thermal expansion coefficients between 400-1000 K. At lower temperatures the QHA was a better model, due to the reduction in anharmonic effects.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 1&amp;quot; &amp;gt; O. Madelung, U. Rössler and M. Schulz, Eds., II-VI and I-VII compounds; Semimagnetic compounds, Springer-Verlag, 1999. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 2&amp;quot; &amp;gt; A. CIMINO, P. PORTA and M. VALIGI, Journal of the American Ceramic Society, 1966, 49, 152–156. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 3&amp;quot;&amp;gt; A. Baldereschi, Physical Review B, 1973, 7, 5212–5215. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 4&amp;quot; &amp;gt; E. J. Covington and D. J. Montgomery, J. Appl. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys, 2010, 27, 1030–53111. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 5&amp;quot; &amp;gt; J. A. Kaduk and J. Faber, The Rigaku journal 14 CRYSTAL STRUCTURE OF ZEOLITE Y AS A FUNCTION OF ION EXCHANGE, 1995. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 6&amp;quot; &amp;gt; J.R. Vinson, Plate and Panel structures of Isotropic, Composite and Piezoelectric Materials, including Sandwich Construction. Delaware; Springer; 2005. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Appendix==&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo phonon DOS 222 JOH.png|thumb|300px|Figure 1. Phonon DOS of MgO using 2x2x2 grid size]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Jo1213</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553520</id>
		<title>Rep:Mod:JOH95MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553520"/>
		<updated>2016-03-11T11:20:08Z</updated>

		<summary type="html">&lt;p&gt;Jo1213: /* Calculating the Thermal expansion coefficients */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
The experiment will investigate the properties of an MgO crystal. Firstly the dimensions of the unit cells will be investigated along with the associated energy. Then the phonon dispersion and DOS will be investigated, evaluating the optimal grid size to use. The energies of the crystal will be investigates along with the thermal expansion coefficients. Lastly the quasi-harmonic approximation (QHA) and the molecular dynamics (MD) will be compared. &lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon-based model used to describe volume-dependent thermal effects. The harmonic phonon model assumes that all intermolecular forces are harmonic. This is not sufficient to describe thermal expansion as there is no change to the equilibrium bond length as temperature increases. The QHA takes into account that molecules do have an anharmonic effect at higher temperatures by treating frequencies as volume dependent. &lt;br /&gt;
&lt;br /&gt;
The MD approach allows a system to evolve in time according to Newton&#039;s second law &amp;lt;math&amp;gt;F=ma&amp;lt;/math&amp;gt;. The initial configurations and velocities are assigned to allow the program to iterate positions and velocities. The atoms follow trajectories and the properties, such as E and T, are computed as time averages of their behaviour.&lt;br /&gt;
&lt;br /&gt;
The programs used were RedHat Linux, DLVisulaize (DLV) and General Utility Lattice Program (GULP). DLV allows us to visualise the MgO crystals and GULP is used to perform simulations on materials using boundary conditions, in this case on a 3D lattice.&lt;br /&gt;
&lt;br /&gt;
== Internal Energy of MgO ==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:PC 1.png|left|thumb|300px|Figure 1. Primitive Cell of MgO]]&lt;br /&gt;
|[[File:CC .png|left|thumb|300px|Figure 2. Conventional Cell of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 1 shows the primitive unit cell of MgO. The primitive unit cell consists of 2 atoms Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; which are held together by a Buckingham repulsive potential. The unit cell has a rhombohedron shape with lattice constants of 2.9783 Å and an internal angle a = 60°. The primitive cell contains one lattice point and is the simplest cell to describe the crystal. A calculation was run on MgO. In the [https://wiki.ch.ic.ac.uk/wiki/images/e/e7/MgO_1_james.txt LogFile] GULF describes MgO using a primitive unit cell. The Cartesian lattice vectors of the cell are reported in table 1 and the total lattice energy was -41.07531759 eV which represents the energy to pull all the atom infinitely apart. The GULP calculation correlates with LCAO HF calculations found in literature (2.573 Å &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;). &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|-&lt;br /&gt;
|+ Table 1ː Cell Vector Dimensions/Å&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The conventional cell has four times the volume of the primitive cell as shown in figure 2. The structure of the cell is face centered cubic (FCC) which has an internal angel a = 90° and a lattice vector of 4.212 Å (which agrees with literature of 4.21 Å &amp;lt;ref name =&amp;quot;Ref 2&amp;quot; /&amp;gt;). The conventional cell is more representative of the crystal so is chosen in the calculations.&lt;br /&gt;
&lt;br /&gt;
==Computing the Phonon Dispersion Curves==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO Phonon Dispersion JOH.png|thumb|300px|Figure 3. Phonon Dispersion Graph of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The vibrational modes of the lattice were then computed. The phonon modes were displayed as a dispersion curve, as shown in figure 3. The phonon frequencies were calculated along a path in k-space. Special points along the path, &amp;lt;math&amp;gt;W, L, \Gamma, X, W, K&amp;lt;/math&amp;gt;, can be seen in figure 3. There are two phonos modes associated with each axis, acoustic (in-phase) and optical (out-of-phase) phonons. In the 3D model three axis (x,y,z) are taken into consideration meaning there are 6 phonon modes as shown by the six different curves in figure 3. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:K=0 JOH.png|thumb|300px|Figure 4. Acoustic and optical modes at k=0]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The relationship between the wavevector k to the wavelength &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) is &amp;lt;math&amp;gt;k= \frac{2\pi}{\lambda}&amp;lt;/math&amp;gt;. Furthermore the relationship between wavelength &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) and frequency is &amp;lt;math&amp;gt; v = \frac{c}{\lambda} &amp;lt;/math&amp;gt;. As shown in figure 4 when k=0, for the acoustic mode, the wavelength approaches infinity as all the atoms move in the same direction along the axis. As &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; approaches infinity, frequency will tend to 0. For the optical mode the frequency is non-zero. With this information it is clear that at k=0 the dispersion graph is at symmetry point &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; as this is the only point on the dispersion curve where phonon modes display a frequency of zero. &lt;br /&gt;
&lt;br /&gt;
Following the path from &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;, to &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and then to &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; the acoustic mode splits into 3 modes, two transverse modes (TA) and one longitude mode (LA). The two TA are degenerate between &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; until it splits between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Phonon Density of States (DOS)==&lt;br /&gt;
The next part involved calculating the phonon density of states. The DOS is defined as the number of states per energy at a given energy, in this case vibrational frequency. The larger the number of k values considered in reciprocal space the more accurate the DOS. This is achieved by increasing the grid size (nxnxn) to give a better representation of the crystal by sampling more k values in reciprocal space. However, at a certain point the difference between k values is negligible so does not further increase the accuracy of the DOS. Furthermore calculating an infinite number of k values would take an infinite amount of computing time.&lt;br /&gt;
&lt;br /&gt;
The DOS was calculated for a 1x1x1 grid by setting the shrinking value to 1 as shown in figure 5. The grid size was then increased to find the optimum shrinking value that gave a good representation of the DOS without taking too long to calculate as shown by figures 6 through 10. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo Phonon DOS JOH 111.png|thumb|300px|Figure 5. Phonon DOS of MgO using 1x1x1 grid size]]&lt;br /&gt;
|[[File:JOHphononDOS444.png|thumb|300px|Figure 6. Phonon DOS of MgO using 4x4x4 grid size]]&lt;br /&gt;
|[[File:JOHDOS888.png|thumb|300px|Figure 7. Phonon DOS of MgO using 8x8x8 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOHDOS161616.png|thumb|300px|Figure 8. Phonon DOS of MgO using 16x16x16 grid size]]&lt;br /&gt;
|[[File:JOHDOS323232.png|thumb|300px|Figure 9. Phonon DOS of MgO using 32x32x32 grid size]]&lt;br /&gt;
|[[File:JOHDOS50.png|thumb|300px|Figure 10. Phonon DOS of MgO using 50x50x50 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 5 shows the DOS for a 1x1x1 grid size. The four peaks 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 676 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 819 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; represent the four frequencies at point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. At symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;, by looking at figure 3, the two phonon modes at 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; are degenerate (as they go on to split in two curves between points &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;). This degeneracy is confirmed in the DOS graph in figure 5 as the intensity of the peaks around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; is around double that of the peaks around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is chosen as the k-value for a grid size of 1x1x1 as it is the most representative point in k-space for the DOS. This is shown visually from figures 5 to 10 as when the DOS becomes more accurate the main peak remains around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; with the smaller peak still remaining around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. There is a theorem about using the &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; point in reciprocal space for a 1x1x1 grid called Baldereschi theorem &amp;lt;ref name = &amp;quot;Ref 3&amp;quot;/&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The ideal grid size is one that represents the DOS without taking too long to calculate. From figure 8 onwards the shape of the curve does not change much, so it can be concluded that using a grid size of 16 is sufficient enough to gain a good understanding of the DOS without taking too long to calculate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:DOS dispersion JOH.png|thumb|400px|Figure 11. Comparing the dispersion curve with the DOS]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It is important to note the relationship between the dispersion curve and the DOS graph as shown in figure 11. The frequency in the phonon dispersion curve on the y axis is the same as the frequency on the DOS curve in the x-axis. It can be seen visually that the most popular states are around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The relationship between real space and reciprocal space is given by the formula &amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt; - a being the length in real space transformed to a* in reciprocal space. This shows that the larger the lattice constant a, the smaller the reciprocal cell. This is important to consider when assessing the DOS for other structures. Lithium has a lattice constant of 3.490 Å &amp;lt;ref name = &amp;quot;Ref 4&amp;quot;/&amp;gt; which is 0.721 Å lower that the conventional unit cell of MgO that is being modelled. Due to the inverse relationship of real to reciprocal space, lithium will have a larger cell in reciprocal space and therefore need a larger grid size in order to measure more k values to give an accurate DOS. Conversely Faujasite has a lattice constant of 24.7 Å &amp;lt;ref name = &amp;quot;Ref 5&amp;quot; /&amp;gt; which will give a much smaller cell in reciprocal space meaning that a smaller grid size would give an accurate measurement of the DOS as there are fewer k values needed to measure the cell. CaO has a very similar lattice constant to MgO meaning that a similar grid size would be needed to accurately measure the DOS - in this case a grid size of 16x16x16 would be sufficient.&lt;br /&gt;
&lt;br /&gt;
==Computing the Free Energy==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Table 2ː Energy vs Grid size&lt;br /&gt;
! Grid Size nxnxn/n&lt;br /&gt;
! Free Energy/eV&lt;br /&gt;
! Accuracy/ meV&lt;br /&gt;
! Log file&lt;br /&gt;
! rowspan=&amp;quot;9&amp;quot;|[[File:JOH Free energy vs grid size.png|thumb|400px|]]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| -40.930301&lt;br /&gt;
| 4&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/1/12/JOH_fe_MgO_111.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| -40.926609&lt;br /&gt;
| 0.2&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/aa/JOH_fe_MgO_222.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -40.926432&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4d/JOH_fe_MgO_333.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -40.926450&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/40/JOH_fe_MgO_444.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -40.926478&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/7/70/JOH_fe_MgO_888.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -40.926482&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4f/JOH_fe_MgO_16.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/ac/JOH_fe_MgO_32.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 50&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [[Media:JOH_fe_MgO_50.txt.zip|log file]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Table 2 displays the free energies of MgO as a function of grid size n. Similar to finding the ideal grid size to calculate the DOS, the optimal grid size to calculate the free energy can be found in table 2. As the grid size increases from 1 to 3 there is a sharp increase in the free energy from -40.930301 eV to -40.926432 eV, afterwards the free energy eventually converges at -40.926483 eV. From a grid size of 4 onwards the degree of accuracy is greater that 0.1 meV. There is no change in free energy from a grid size of 32 to 50 suggesting that a grid size of 32 is all that is needed to precisely determine the free energy of MgO. &lt;br /&gt;
&lt;br /&gt;
The graph in table 2 can be rationalised by the equation for the Helmholtz free energy - &amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A is the Helmholtz fee energy, U is the internal energy, T is temperature and S is entropy. As the grid size increases, the volume increases so the internal energy decreases (&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt;). This in turn means that the Helmholtz free energy would decrease.&lt;br /&gt;
&lt;br /&gt;
Furthermore as the number of microstates sampled increases the entropy term will increase according to the relationship &amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt;. This in turn means that the free energy will be lowered. By considering these two factors the decrease in free energy can be rationalised.&lt;br /&gt;
&lt;br /&gt;
==Thermal Expansion of MgO==&lt;br /&gt;
The structure of MgO will be optimised with respect to the free energy at different temperatures (0 - 1000 K in steps of 100 K). The free energy will be computed using the quasi-harmonic approximation (QHA) which uses the following expression: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
*&amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; = frequency of the vibration &lt;br /&gt;
*&amp;lt;math&amp;gt;E_{0}&amp;lt;/math&amp;gt; = zero point energy &lt;br /&gt;
*&amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; = Temperature&lt;br /&gt;
*&amp;lt;math&amp;gt;k_B&amp;lt;/math&amp;gt; = Boltzmann Constant &lt;br /&gt;
*&amp;lt;math&amp;gt;\hbar&amp;lt;/math&amp;gt; = reduced Planck&#039;s constant. &lt;br /&gt;
&lt;br /&gt;
The equations is split into three parts - the zero point energy and the harmonic and entropic contribution.&lt;br /&gt;
&lt;br /&gt;
In addition the coefficients of thermal expansion was calculated. Thermal expansion is the tendency for matter to change in response to temperature, due to heat transfer. The coefficient of thermal expansion describes how the size of an object changes with temperature. The larger the coefficient the greater the change in size as temperature increases. Several coefficients have been developed and the two that we will look at are the linear and volumetric thermal expansion. The generic equation is as follows:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\alpha_x = \frac{1}{x}\,\left(\frac{\partial x}{\partial T}\right)_p&lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* α&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt; = thermal expansion coefficient&lt;br /&gt;
* x = initial dimension &lt;br /&gt;
* ∂x = the partial derivative of the dimension under study &lt;br /&gt;
* ∂T = partial derivative of temperature &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy vs temp.png|thumb|400px|Figure 12. Free Energy dependence on Temperature for the QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH lattice constant vs temp.png|thumb|400px|Figure 13. Lattice Constant dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|[[File:JOH LV temp.png|thumb|400px|Figure 14. Lattice Volume dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 12 shows that as temperature increases the free energy becomes more negative. This can be rationalised with the derivation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; G = H - TS &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Plug in &amp;lt;math&amp;gt;H = U + PV&amp;lt;/math&amp;gt; to get  &amp;lt;math&amp;gt;G = U + PV - TS&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dG = dU + PdV + VdP - TdS - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = q + w &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dq = TdS &amp;lt;/math&amp;gt; &amp;lt;math&amp;gt; dw = -PdV &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \therefore dG = VdP - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This implies that both the volume and the entropic factor contribute to the free energy. As the temperature increases the volume will increase, however the entropic factor will overcome this due to large change in temperature. This explains the trend observed in figure 12. &lt;br /&gt;
&lt;br /&gt;
We would expect a linear negative decrease - &amp;lt;math&amp;gt; \left( \frac{\partial G}{\partial T} \right)_P = -S &amp;lt;/math&amp;gt;. However figure 12 shows that the trend is a curve, the free energy becomes more negative at an increasing rate, suggesting that the pressure may not be constant.&lt;br /&gt;
&lt;br /&gt;
The trend could also be explained using the Helmoholtz free energy equation used in the QHA. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The entropic contribution in the equation has a large dependence on temperature and therefore as temperature increases the entropic contribution becomes more negative. This is due to the exponential factor in the entropic contribution. This results in the Helmholtz becoming more negative.  &lt;br /&gt;
&lt;br /&gt;
===Calculating the Thermal expansion coefficients===&lt;br /&gt;
Figure 13 and 12 show how the lattice constant and volume change with temperature. Both graphs initially increase gradually and after 400 K show a near perfect linear trend. The trend in both graphs shows strong correlation with R&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; values close to one. By taking the gradient of these trend lines the thermal expansion coefficients can be calculated:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Linear Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{1}{L} \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{0.00002342}{2.986563} = 7.7815\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
L = the initial lattice constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 13&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Volumetric Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V} \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{0.00044612}{18.836496} = 2.3684\times 10^{-5}&amp;lt;/math&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
V = the initial volume constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 14&lt;br /&gt;
&lt;br /&gt;
For isotropic materials the volumetric coefficient is three times larger that then linear coefficient - &amp;lt;math&amp;gt;3&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;. For the coefficients calculated &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt; is almost three times larger than &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; (&amp;lt;math&amp;gt;3.04&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;) implying that MgO is an isotropic material &amp;lt;ref name=&amp;quot;Ref 6&amp;quot;/&amp;gt;, in other words lattice constants a, b and c expand at equal rates. At 200 K the L value increases to 2.987604 Å resulting in &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;7.839\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; which is close to the literature value of &amp;lt;math&amp;gt;7.39\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The main approximation with the QHA occurs at higher temperatures. This is because at higher temperatures the lattice experiences a larger anharmonic effect due to a larger deviation from bond equilibrium as more energy is put into the bond. Furthermore as anharmonicity comes from scattered phonons interacting due to lattice defects, this effect will be accentuated as lattice vibrations gain more energy. The QHA simplifies the anharmonic effect by letting the phonon frequencies become volume dependent so therefore is unable to model the anharmonic effect well. The born-oppenheimer approximation would become less valid at larger temperatures as the motion of nuclei becomes more important. So as the temperature reaches melting point the phonon modes would not represent the motion of the ions well. &lt;br /&gt;
&lt;br /&gt;
Lastly in a diatomic molecule with an exact harmonic potential as the temperature increases there would be no change in equilibrium bond length as the parabolic function is symmetric. Instead the maximum and minimum bond lengths would increase or in other words a larger amplitude would be reached.&lt;br /&gt;
&lt;br /&gt;
== Molecular Dynamics ==&lt;br /&gt;
The crystal was then studied using Molecular Dynamics. In the previous investigations MgO has been described using a primitive cell containing a single MgO unit. Running an MD would not produce meaningful data as every cell would move perfectly in phase. By increasing the size of the cell the MD would become more accurate but become more computationally expensive so a compromise is reached for a cell containing 32 MgO units. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy temperature QHA MD.png|thumb|400px|Figure 15. Free Energy vs Temperature for MD compared to QHA]]&lt;br /&gt;
|[[File:JOHlatticeQHAMD2.png|thumb|400px|Figure 16. Lattice Constant vs Temperature for MD compared to QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics allows a system to evolve in time according to Newton&#039;s second law F=ma. As the system is treated classically energy can be modelled by the equipartition principle, &amp;lt;math&amp;gt;E = \frac{3}{2} k_B T&amp;lt;/math&amp;gt;, and as such the energy will increase linearly with temperature. In comparison QHA follows the relationship &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
This mean that the energy should decrease with temperature. Both the free energy modelled by MD and QHA can be seen in figure 15. &lt;br /&gt;
&lt;br /&gt;
Looking at figure 16 the MD and the QHA are similar between 400-1000 K, thus the volumetric expansion coefficients would be similar:&lt;br /&gt;
*MD - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; = 3.06 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
*QHA - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;  = 2.89 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
This similarity in data strengthens the reliability of the volumetric expansion coefficients between 400 - 1000 K. However, below 400 K the QHA begins to break from a linear trend and curve towards 18.84 Å&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt; whereas the MD follows the linear trend. At lower trends the anharmonic effect is not as prevalent so the QHA is a better model for the lattice constant at lower temperatures. The MD model does not accurately show how the free energy changes at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
===Limitation===&lt;br /&gt;
&lt;br /&gt;
Overall both QHA and MD models have their limitations. &lt;br /&gt;
&lt;br /&gt;
The atoms are modelled using a classical approach or in other words atoms are modelled as hard charged spheres. So the quantum mechanical contributions cannot be taken into account. This will reduced the accuracy of the models &lt;br /&gt;
&lt;br /&gt;
Furthermore, the models do not consider long-range interactions, only interactions of atoms relatively close. In a realistic crystal there will be interactions outside the nearest neighbours albeit small interactions. Thus slight inaccuracy in the models is seen. &lt;br /&gt;
&lt;br /&gt;
For both models it can be assumed that the trends can be extrapolated until the melting point of MgO is reached, as upon melting a change in volume occurs. Furthermore liquid MgO has no structured order so cannot be described by a repeated unit cell. &lt;br /&gt;
&lt;br /&gt;
In the QHA the interactions between atoms of different unit cells was not taken into consideration. There would be an energy increase if there was overlap between atoms in different cells.&lt;br /&gt;
&lt;br /&gt;
For these MD calculations, as only a small number of atoms were considered it was reasonable to use a time step of 1.0 femtoseconds. However, when considering a much larger system, say for example a protein, then this would become computationally expensive.&lt;br /&gt;
&lt;br /&gt;
==Conclusion== &lt;br /&gt;
The experiment showed the thermal expansion of MgO, the phonon dispersion and the DOS. Comparisons between the QHA and the MD were made, both approaches giving reasonable thermal expansion coefficients between 400-1000 K. At lower temperatures the QHA was a better model, due to the reduction in anharmonic effects.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 1&amp;quot; &amp;gt; O. Madelung, U. Rössler and M. Schulz, Eds., II-VI and I-VII compounds; Semimagnetic compounds, Springer-Verlag, 1999. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 2&amp;quot; &amp;gt; A. CIMINO, P. PORTA and M. VALIGI, Journal of the American Ceramic Society, 1966, 49, 152–156. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 3&amp;quot;&amp;gt; A. Baldereschi, Physical Review B, 1973, 7, 5212–5215. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 4&amp;quot; &amp;gt; E. J. Covington and D. J. Montgomery, J. Appl. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys, 2010, 27, 1030–53111. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 5&amp;quot; &amp;gt; J. A. Kaduk and J. Faber, The Rigaku journal 14 CRYSTAL STRUCTURE OF ZEOLITE Y AS A FUNCTION OF ION EXCHANGE, 1995. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 6&amp;quot; &amp;gt; J.R. Vinson, Plate and Panel structures of Isotropic, Composite and Piezoelectric Materials, including Sandwich Construction. Delaware; Springer; 2005. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Appendix==&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo phonon DOS 222 JOH.png|thumb|300px|Figure 1. Phonon DOS of MgO using 2x2x2 grid size]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Jo1213</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553519</id>
		<title>Rep:Mod:JOH95MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553519"/>
		<updated>2016-03-11T11:19:36Z</updated>

		<summary type="html">&lt;p&gt;Jo1213: /* Calculating the Thermal expansion coefficients */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
The experiment will investigate the properties of an MgO crystal. Firstly the dimensions of the unit cells will be investigated along with the associated energy. Then the phonon dispersion and DOS will be investigated, evaluating the optimal grid size to use. The energies of the crystal will be investigates along with the thermal expansion coefficients. Lastly the quasi-harmonic approximation (QHA) and the molecular dynamics (MD) will be compared. &lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon-based model used to describe volume-dependent thermal effects. The harmonic phonon model assumes that all intermolecular forces are harmonic. This is not sufficient to describe thermal expansion as there is no change to the equilibrium bond length as temperature increases. The QHA takes into account that molecules do have an anharmonic effect at higher temperatures by treating frequencies as volume dependent. &lt;br /&gt;
&lt;br /&gt;
The MD approach allows a system to evolve in time according to Newton&#039;s second law &amp;lt;math&amp;gt;F=ma&amp;lt;/math&amp;gt;. The initial configurations and velocities are assigned to allow the program to iterate positions and velocities. The atoms follow trajectories and the properties, such as E and T, are computed as time averages of their behaviour.&lt;br /&gt;
&lt;br /&gt;
The programs used were RedHat Linux, DLVisulaize (DLV) and General Utility Lattice Program (GULP). DLV allows us to visualise the MgO crystals and GULP is used to perform simulations on materials using boundary conditions, in this case on a 3D lattice.&lt;br /&gt;
&lt;br /&gt;
== Internal Energy of MgO ==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:PC 1.png|left|thumb|300px|Figure 1. Primitive Cell of MgO]]&lt;br /&gt;
|[[File:CC .png|left|thumb|300px|Figure 2. Conventional Cell of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 1 shows the primitive unit cell of MgO. The primitive unit cell consists of 2 atoms Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; which are held together by a Buckingham repulsive potential. The unit cell has a rhombohedron shape with lattice constants of 2.9783 Å and an internal angle a = 60°. The primitive cell contains one lattice point and is the simplest cell to describe the crystal. A calculation was run on MgO. In the [https://wiki.ch.ic.ac.uk/wiki/images/e/e7/MgO_1_james.txt LogFile] GULF describes MgO using a primitive unit cell. The Cartesian lattice vectors of the cell are reported in table 1 and the total lattice energy was -41.07531759 eV which represents the energy to pull all the atom infinitely apart. The GULP calculation correlates with LCAO HF calculations found in literature (2.573 Å &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;). &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|-&lt;br /&gt;
|+ Table 1ː Cell Vector Dimensions/Å&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The conventional cell has four times the volume of the primitive cell as shown in figure 2. The structure of the cell is face centered cubic (FCC) which has an internal angel a = 90° and a lattice vector of 4.212 Å (which agrees with literature of 4.21 Å &amp;lt;ref name =&amp;quot;Ref 2&amp;quot; /&amp;gt;). The conventional cell is more representative of the crystal so is chosen in the calculations.&lt;br /&gt;
&lt;br /&gt;
==Computing the Phonon Dispersion Curves==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO Phonon Dispersion JOH.png|thumb|300px|Figure 3. Phonon Dispersion Graph of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The vibrational modes of the lattice were then computed. The phonon modes were displayed as a dispersion curve, as shown in figure 3. The phonon frequencies were calculated along a path in k-space. Special points along the path, &amp;lt;math&amp;gt;W, L, \Gamma, X, W, K&amp;lt;/math&amp;gt;, can be seen in figure 3. There are two phonos modes associated with each axis, acoustic (in-phase) and optical (out-of-phase) phonons. In the 3D model three axis (x,y,z) are taken into consideration meaning there are 6 phonon modes as shown by the six different curves in figure 3. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:K=0 JOH.png|thumb|300px|Figure 4. Acoustic and optical modes at k=0]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The relationship between the wavevector k to the wavelength &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) is &amp;lt;math&amp;gt;k= \frac{2\pi}{\lambda}&amp;lt;/math&amp;gt;. Furthermore the relationship between wavelength &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) and frequency is &amp;lt;math&amp;gt; v = \frac{c}{\lambda} &amp;lt;/math&amp;gt;. As shown in figure 4 when k=0, for the acoustic mode, the wavelength approaches infinity as all the atoms move in the same direction along the axis. As &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; approaches infinity, frequency will tend to 0. For the optical mode the frequency is non-zero. With this information it is clear that at k=0 the dispersion graph is at symmetry point &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; as this is the only point on the dispersion curve where phonon modes display a frequency of zero. &lt;br /&gt;
&lt;br /&gt;
Following the path from &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;, to &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and then to &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; the acoustic mode splits into 3 modes, two transverse modes (TA) and one longitude mode (LA). The two TA are degenerate between &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; until it splits between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Phonon Density of States (DOS)==&lt;br /&gt;
The next part involved calculating the phonon density of states. The DOS is defined as the number of states per energy at a given energy, in this case vibrational frequency. The larger the number of k values considered in reciprocal space the more accurate the DOS. This is achieved by increasing the grid size (nxnxn) to give a better representation of the crystal by sampling more k values in reciprocal space. However, at a certain point the difference between k values is negligible so does not further increase the accuracy of the DOS. Furthermore calculating an infinite number of k values would take an infinite amount of computing time.&lt;br /&gt;
&lt;br /&gt;
The DOS was calculated for a 1x1x1 grid by setting the shrinking value to 1 as shown in figure 5. The grid size was then increased to find the optimum shrinking value that gave a good representation of the DOS without taking too long to calculate as shown by figures 6 through 10. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo Phonon DOS JOH 111.png|thumb|300px|Figure 5. Phonon DOS of MgO using 1x1x1 grid size]]&lt;br /&gt;
|[[File:JOHphononDOS444.png|thumb|300px|Figure 6. Phonon DOS of MgO using 4x4x4 grid size]]&lt;br /&gt;
|[[File:JOHDOS888.png|thumb|300px|Figure 7. Phonon DOS of MgO using 8x8x8 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOHDOS161616.png|thumb|300px|Figure 8. Phonon DOS of MgO using 16x16x16 grid size]]&lt;br /&gt;
|[[File:JOHDOS323232.png|thumb|300px|Figure 9. Phonon DOS of MgO using 32x32x32 grid size]]&lt;br /&gt;
|[[File:JOHDOS50.png|thumb|300px|Figure 10. Phonon DOS of MgO using 50x50x50 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 5 shows the DOS for a 1x1x1 grid size. The four peaks 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 676 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 819 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; represent the four frequencies at point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. At symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;, by looking at figure 3, the two phonon modes at 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; are degenerate (as they go on to split in two curves between points &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;). This degeneracy is confirmed in the DOS graph in figure 5 as the intensity of the peaks around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; is around double that of the peaks around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is chosen as the k-value for a grid size of 1x1x1 as it is the most representative point in k-space for the DOS. This is shown visually from figures 5 to 10 as when the DOS becomes more accurate the main peak remains around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; with the smaller peak still remaining around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. There is a theorem about using the &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; point in reciprocal space for a 1x1x1 grid called Baldereschi theorem &amp;lt;ref name = &amp;quot;Ref 3&amp;quot;/&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The ideal grid size is one that represents the DOS without taking too long to calculate. From figure 8 onwards the shape of the curve does not change much, so it can be concluded that using a grid size of 16 is sufficient enough to gain a good understanding of the DOS without taking too long to calculate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:DOS dispersion JOH.png|thumb|400px|Figure 11. Comparing the dispersion curve with the DOS]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It is important to note the relationship between the dispersion curve and the DOS graph as shown in figure 11. The frequency in the phonon dispersion curve on the y axis is the same as the frequency on the DOS curve in the x-axis. It can be seen visually that the most popular states are around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The relationship between real space and reciprocal space is given by the formula &amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt; - a being the length in real space transformed to a* in reciprocal space. This shows that the larger the lattice constant a, the smaller the reciprocal cell. This is important to consider when assessing the DOS for other structures. Lithium has a lattice constant of 3.490 Å &amp;lt;ref name = &amp;quot;Ref 4&amp;quot;/&amp;gt; which is 0.721 Å lower that the conventional unit cell of MgO that is being modelled. Due to the inverse relationship of real to reciprocal space, lithium will have a larger cell in reciprocal space and therefore need a larger grid size in order to measure more k values to give an accurate DOS. Conversely Faujasite has a lattice constant of 24.7 Å &amp;lt;ref name = &amp;quot;Ref 5&amp;quot; /&amp;gt; which will give a much smaller cell in reciprocal space meaning that a smaller grid size would give an accurate measurement of the DOS as there are fewer k values needed to measure the cell. CaO has a very similar lattice constant to MgO meaning that a similar grid size would be needed to accurately measure the DOS - in this case a grid size of 16x16x16 would be sufficient.&lt;br /&gt;
&lt;br /&gt;
==Computing the Free Energy==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Table 2ː Energy vs Grid size&lt;br /&gt;
! Grid Size nxnxn/n&lt;br /&gt;
! Free Energy/eV&lt;br /&gt;
! Accuracy/ meV&lt;br /&gt;
! Log file&lt;br /&gt;
! rowspan=&amp;quot;9&amp;quot;|[[File:JOH Free energy vs grid size.png|thumb|400px|]]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| -40.930301&lt;br /&gt;
| 4&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/1/12/JOH_fe_MgO_111.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| -40.926609&lt;br /&gt;
| 0.2&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/aa/JOH_fe_MgO_222.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -40.926432&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4d/JOH_fe_MgO_333.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -40.926450&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/40/JOH_fe_MgO_444.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -40.926478&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/7/70/JOH_fe_MgO_888.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -40.926482&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4f/JOH_fe_MgO_16.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/ac/JOH_fe_MgO_32.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 50&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [[Media:JOH_fe_MgO_50.txt.zip|log file]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Table 2 displays the free energies of MgO as a function of grid size n. Similar to finding the ideal grid size to calculate the DOS, the optimal grid size to calculate the free energy can be found in table 2. As the grid size increases from 1 to 3 there is a sharp increase in the free energy from -40.930301 eV to -40.926432 eV, afterwards the free energy eventually converges at -40.926483 eV. From a grid size of 4 onwards the degree of accuracy is greater that 0.1 meV. There is no change in free energy from a grid size of 32 to 50 suggesting that a grid size of 32 is all that is needed to precisely determine the free energy of MgO. &lt;br /&gt;
&lt;br /&gt;
The graph in table 2 can be rationalised by the equation for the Helmholtz free energy - &amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A is the Helmholtz fee energy, U is the internal energy, T is temperature and S is entropy. As the grid size increases, the volume increases so the internal energy decreases (&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt;). This in turn means that the Helmholtz free energy would decrease.&lt;br /&gt;
&lt;br /&gt;
Furthermore as the number of microstates sampled increases the entropy term will increase according to the relationship &amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt;. This in turn means that the free energy will be lowered. By considering these two factors the decrease in free energy can be rationalised.&lt;br /&gt;
&lt;br /&gt;
==Thermal Expansion of MgO==&lt;br /&gt;
The structure of MgO will be optimised with respect to the free energy at different temperatures (0 - 1000 K in steps of 100 K). The free energy will be computed using the quasi-harmonic approximation (QHA) which uses the following expression: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
*&amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; = frequency of the vibration &lt;br /&gt;
*&amp;lt;math&amp;gt;E_{0}&amp;lt;/math&amp;gt; = zero point energy &lt;br /&gt;
*&amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; = Temperature&lt;br /&gt;
*&amp;lt;math&amp;gt;k_B&amp;lt;/math&amp;gt; = Boltzmann Constant &lt;br /&gt;
*&amp;lt;math&amp;gt;\hbar&amp;lt;/math&amp;gt; = reduced Planck&#039;s constant. &lt;br /&gt;
&lt;br /&gt;
The equations is split into three parts - the zero point energy and the harmonic and entropic contribution.&lt;br /&gt;
&lt;br /&gt;
In addition the coefficients of thermal expansion was calculated. Thermal expansion is the tendency for matter to change in response to temperature, due to heat transfer. The coefficient of thermal expansion describes how the size of an object changes with temperature. The larger the coefficient the greater the change in size as temperature increases. Several coefficients have been developed and the two that we will look at are the linear and volumetric thermal expansion. The generic equation is as follows:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\alpha_x = \frac{1}{x}\,\left(\frac{\partial x}{\partial T}\right)_p&lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* α&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt; = thermal expansion coefficient&lt;br /&gt;
* x = initial dimension &lt;br /&gt;
* ∂x = the partial derivative of the dimension under study &lt;br /&gt;
* ∂T = partial derivative of temperature &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy vs temp.png|thumb|400px|Figure 12. Free Energy dependence on Temperature for the QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH lattice constant vs temp.png|thumb|400px|Figure 13. Lattice Constant dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|[[File:JOH LV temp.png|thumb|400px|Figure 14. Lattice Volume dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 12 shows that as temperature increases the free energy becomes more negative. This can be rationalised with the derivation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; G = H - TS &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Plug in &amp;lt;math&amp;gt;H = U + PV&amp;lt;/math&amp;gt; to get  &amp;lt;math&amp;gt;G = U + PV - TS&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dG = dU + PdV + VdP - TdS - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = q + w &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dq = TdS &amp;lt;/math&amp;gt; &amp;lt;math&amp;gt; dw = -PdV &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \therefore dG = VdP - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This implies that both the volume and the entropic factor contribute to the free energy. As the temperature increases the volume will increase, however the entropic factor will overcome this due to large change in temperature. This explains the trend observed in figure 12. &lt;br /&gt;
&lt;br /&gt;
We would expect a linear negative decrease - &amp;lt;math&amp;gt; \left( \frac{\partial G}{\partial T} \right)_P = -S &amp;lt;/math&amp;gt;. However figure 12 shows that the trend is a curve, the free energy becomes more negative at an increasing rate, suggesting that the pressure may not be constant.&lt;br /&gt;
&lt;br /&gt;
The trend could also be explained using the Helmoholtz free energy equation used in the QHA. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The entropic contribution in the equation has a large dependence on temperature and therefore as temperature increases the entropic contribution becomes more negative. This is due to the exponential factor in the entropic contribution. This results in the Helmholtz becoming more negative.  &lt;br /&gt;
&lt;br /&gt;
===Calculating the Thermal expansion coefficients===&lt;br /&gt;
Figure 13 and 12 show how the lattice constant and volume change with temperature. Both graphs initially increase gradually and after 400 K show a near perfect linear trend. The trend in both graphs shows strong correlation with R&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; values close to one. By taking the gradient of these trend lines the thermal expansion coefficients can be calculated:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Linear Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{1}{L} \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{0.00002342}{2.986563} = 7.7815\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
L = the initial lattice constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 13&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Volumetric Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V} \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{0.00044612}{18.836496} = 2.3684\times 10^{-5}&amp;lt;/math&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
V = the initial volume constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 14&lt;br /&gt;
&lt;br /&gt;
For isotropic materials the volumetric coefficient is three times larger that then linear coefficient - &amp;lt;math&amp;gt;3&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;. For the coefficients calculated &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt; is almost three times larger than &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; (&amp;lt;math&amp;gt;3.04&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;) implying that MgO is an isotropic material &amp;lt;ref name=&amp;quot;Ref 6&amp;quot;/&amp;gt;, in other words lattice constants a, b and c expand at equal rates. At 200 K the L value increases to 2.987604 Å resulting in &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;7.839\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; which is close to the literature value of &amp;lt;math&amp;gt;7.39\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The main approximation with the QHA occurs at higher temperatures. This is because at higher temperatures the lattice experiences a larger anharmonic effect due to a larger deviation from bond equilibrium as more energy is put into the bond. Furthermore as anharmonicity comes from scattered phonons interacting due to lattice defects, this effect will be accentuated as lattice vibration gain more energy. The QHA simplifies the anharmonic effect by letting the phonon frequencies become volume dependent so therefore is unable to model the anharmonic effect well. The born-oppenheimer approximation would become less valid at larger temperatures as the motion of nuclei becomes more important. So as the temperature reaches melting point the phonon modes would not represent the motion of the ions well. &lt;br /&gt;
&lt;br /&gt;
Lastly in a diatomic molecule with an exact harmonic potential as the temperature increases there would be no change in equilibrium bond length as the parabolic function is symmetric. Instead the maximum and minimum bond lengths would increase or in other words a larger amplitude would be reached.&lt;br /&gt;
&lt;br /&gt;
== Molecular Dynamics ==&lt;br /&gt;
The crystal was then studied using Molecular Dynamics. In the previous investigations MgO has been described using a primitive cell containing a single MgO unit. Running an MD would not produce meaningful data as every cell would move perfectly in phase. By increasing the size of the cell the MD would become more accurate but become more computationally expensive so a compromise is reached for a cell containing 32 MgO units. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy temperature QHA MD.png|thumb|400px|Figure 15. Free Energy vs Temperature for MD compared to QHA]]&lt;br /&gt;
|[[File:JOHlatticeQHAMD2.png|thumb|400px|Figure 16. Lattice Constant vs Temperature for MD compared to QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics allows a system to evolve in time according to Newton&#039;s second law F=ma. As the system is treated classically energy can be modelled by the equipartition principle, &amp;lt;math&amp;gt;E = \frac{3}{2} k_B T&amp;lt;/math&amp;gt;, and as such the energy will increase linearly with temperature. In comparison QHA follows the relationship &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
This mean that the energy should decrease with temperature. Both the free energy modelled by MD and QHA can be seen in figure 15. &lt;br /&gt;
&lt;br /&gt;
Looking at figure 16 the MD and the QHA are similar between 400-1000 K, thus the volumetric expansion coefficients would be similar:&lt;br /&gt;
*MD - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; = 3.06 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
*QHA - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;  = 2.89 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
This similarity in data strengthens the reliability of the volumetric expansion coefficients between 400 - 1000 K. However, below 400 K the QHA begins to break from a linear trend and curve towards 18.84 Å&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt; whereas the MD follows the linear trend. At lower trends the anharmonic effect is not as prevalent so the QHA is a better model for the lattice constant at lower temperatures. The MD model does not accurately show how the free energy changes at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
===Limitation===&lt;br /&gt;
&lt;br /&gt;
Overall both QHA and MD models have their limitations. &lt;br /&gt;
&lt;br /&gt;
The atoms are modelled using a classical approach or in other words atoms are modelled as hard charged spheres. So the quantum mechanical contributions cannot be taken into account. This will reduced the accuracy of the models &lt;br /&gt;
&lt;br /&gt;
Furthermore, the models do not consider long-range interactions, only interactions of atoms relatively close. In a realistic crystal there will be interactions outside the nearest neighbours albeit small interactions. Thus slight inaccuracy in the models is seen. &lt;br /&gt;
&lt;br /&gt;
For both models it can be assumed that the trends can be extrapolated until the melting point of MgO is reached, as upon melting a change in volume occurs. Furthermore liquid MgO has no structured order so cannot be described by a repeated unit cell. &lt;br /&gt;
&lt;br /&gt;
In the QHA the interactions between atoms of different unit cells was not taken into consideration. There would be an energy increase if there was overlap between atoms in different cells.&lt;br /&gt;
&lt;br /&gt;
For these MD calculations, as only a small number of atoms were considered it was reasonable to use a time step of 1.0 femtoseconds. However, when considering a much larger system, say for example a protein, then this would become computationally expensive.&lt;br /&gt;
&lt;br /&gt;
==Conclusion== &lt;br /&gt;
The experiment showed the thermal expansion of MgO, the phonon dispersion and the DOS. Comparisons between the QHA and the MD were made, both approaches giving reasonable thermal expansion coefficients between 400-1000 K. At lower temperatures the QHA was a better model, due to the reduction in anharmonic effects.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 1&amp;quot; &amp;gt; O. Madelung, U. Rössler and M. Schulz, Eds., II-VI and I-VII compounds; Semimagnetic compounds, Springer-Verlag, 1999. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 2&amp;quot; &amp;gt; A. CIMINO, P. PORTA and M. VALIGI, Journal of the American Ceramic Society, 1966, 49, 152–156. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 3&amp;quot;&amp;gt; A. Baldereschi, Physical Review B, 1973, 7, 5212–5215. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 4&amp;quot; &amp;gt; E. J. Covington and D. J. Montgomery, J. Appl. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys, 2010, 27, 1030–53111. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 5&amp;quot; &amp;gt; J. A. Kaduk and J. Faber, The Rigaku journal 14 CRYSTAL STRUCTURE OF ZEOLITE Y AS A FUNCTION OF ION EXCHANGE, 1995. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 6&amp;quot; &amp;gt; J.R. Vinson, Plate and Panel structures of Isotropic, Composite and Piezoelectric Materials, including Sandwich Construction. Delaware; Springer; 2005. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Appendix==&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo phonon DOS 222 JOH.png|thumb|300px|Figure 1. Phonon DOS of MgO using 2x2x2 grid size]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Jo1213</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553517</id>
		<title>Rep:Mod:JOH95MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553517"/>
		<updated>2016-03-11T11:18:26Z</updated>

		<summary type="html">&lt;p&gt;Jo1213: /* Calculating the Thermal expansion coefficients */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
The experiment will investigate the properties of an MgO crystal. Firstly the dimensions of the unit cells will be investigated along with the associated energy. Then the phonon dispersion and DOS will be investigated, evaluating the optimal grid size to use. The energies of the crystal will be investigates along with the thermal expansion coefficients. Lastly the quasi-harmonic approximation (QHA) and the molecular dynamics (MD) will be compared. &lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon-based model used to describe volume-dependent thermal effects. The harmonic phonon model assumes that all intermolecular forces are harmonic. This is not sufficient to describe thermal expansion as there is no change to the equilibrium bond length as temperature increases. The QHA takes into account that molecules do have an anharmonic effect at higher temperatures by treating frequencies as volume dependent. &lt;br /&gt;
&lt;br /&gt;
The MD approach allows a system to evolve in time according to Newton&#039;s second law &amp;lt;math&amp;gt;F=ma&amp;lt;/math&amp;gt;. The initial configurations and velocities are assigned to allow the program to iterate positions and velocities. The atoms follow trajectories and the properties, such as E and T, are computed as time averages of their behaviour.&lt;br /&gt;
&lt;br /&gt;
The programs used were RedHat Linux, DLVisulaize (DLV) and General Utility Lattice Program (GULP). DLV allows us to visualise the MgO crystals and GULP is used to perform simulations on materials using boundary conditions, in this case on a 3D lattice.&lt;br /&gt;
&lt;br /&gt;
== Internal Energy of MgO ==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:PC 1.png|left|thumb|300px|Figure 1. Primitive Cell of MgO]]&lt;br /&gt;
|[[File:CC .png|left|thumb|300px|Figure 2. Conventional Cell of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 1 shows the primitive unit cell of MgO. The primitive unit cell consists of 2 atoms Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; which are held together by a Buckingham repulsive potential. The unit cell has a rhombohedron shape with lattice constants of 2.9783 Å and an internal angle a = 60°. The primitive cell contains one lattice point and is the simplest cell to describe the crystal. A calculation was run on MgO. In the [https://wiki.ch.ic.ac.uk/wiki/images/e/e7/MgO_1_james.txt LogFile] GULF describes MgO using a primitive unit cell. The Cartesian lattice vectors of the cell are reported in table 1 and the total lattice energy was -41.07531759 eV which represents the energy to pull all the atom infinitely apart. The GULP calculation correlates with LCAO HF calculations found in literature (2.573 Å &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;). &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|-&lt;br /&gt;
|+ Table 1ː Cell Vector Dimensions/Å&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The conventional cell has four times the volume of the primitive cell as shown in figure 2. The structure of the cell is face centered cubic (FCC) which has an internal angel a = 90° and a lattice vector of 4.212 Å (which agrees with literature of 4.21 Å &amp;lt;ref name =&amp;quot;Ref 2&amp;quot; /&amp;gt;). The conventional cell is more representative of the crystal so is chosen in the calculations.&lt;br /&gt;
&lt;br /&gt;
==Computing the Phonon Dispersion Curves==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO Phonon Dispersion JOH.png|thumb|300px|Figure 3. Phonon Dispersion Graph of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The vibrational modes of the lattice were then computed. The phonon modes were displayed as a dispersion curve, as shown in figure 3. The phonon frequencies were calculated along a path in k-space. Special points along the path, &amp;lt;math&amp;gt;W, L, \Gamma, X, W, K&amp;lt;/math&amp;gt;, can be seen in figure 3. There are two phonos modes associated with each axis, acoustic (in-phase) and optical (out-of-phase) phonons. In the 3D model three axis (x,y,z) are taken into consideration meaning there are 6 phonon modes as shown by the six different curves in figure 3. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:K=0 JOH.png|thumb|300px|Figure 4. Acoustic and optical modes at k=0]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The relationship between the wavevector k to the wavelength &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) is &amp;lt;math&amp;gt;k= \frac{2\pi}{\lambda}&amp;lt;/math&amp;gt;. Furthermore the relationship between wavelength &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) and frequency is &amp;lt;math&amp;gt; v = \frac{c}{\lambda} &amp;lt;/math&amp;gt;. As shown in figure 4 when k=0, for the acoustic mode, the wavelength approaches infinity as all the atoms move in the same direction along the axis. As &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; approaches infinity, frequency will tend to 0. For the optical mode the frequency is non-zero. With this information it is clear that at k=0 the dispersion graph is at symmetry point &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; as this is the only point on the dispersion curve where phonon modes display a frequency of zero. &lt;br /&gt;
&lt;br /&gt;
Following the path from &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;, to &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and then to &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; the acoustic mode splits into 3 modes, two transverse modes (TA) and one longitude mode (LA). The two TA are degenerate between &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; until it splits between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Phonon Density of States (DOS)==&lt;br /&gt;
The next part involved calculating the phonon density of states. The DOS is defined as the number of states per energy at a given energy, in this case vibrational frequency. The larger the number of k values considered in reciprocal space the more accurate the DOS. This is achieved by increasing the grid size (nxnxn) to give a better representation of the crystal by sampling more k values in reciprocal space. However, at a certain point the difference between k values is negligible so does not further increase the accuracy of the DOS. Furthermore calculating an infinite number of k values would take an infinite amount of computing time.&lt;br /&gt;
&lt;br /&gt;
The DOS was calculated for a 1x1x1 grid by setting the shrinking value to 1 as shown in figure 5. The grid size was then increased to find the optimum shrinking value that gave a good representation of the DOS without taking too long to calculate as shown by figures 6 through 10. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo Phonon DOS JOH 111.png|thumb|300px|Figure 5. Phonon DOS of MgO using 1x1x1 grid size]]&lt;br /&gt;
|[[File:JOHphononDOS444.png|thumb|300px|Figure 6. Phonon DOS of MgO using 4x4x4 grid size]]&lt;br /&gt;
|[[File:JOHDOS888.png|thumb|300px|Figure 7. Phonon DOS of MgO using 8x8x8 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOHDOS161616.png|thumb|300px|Figure 8. Phonon DOS of MgO using 16x16x16 grid size]]&lt;br /&gt;
|[[File:JOHDOS323232.png|thumb|300px|Figure 9. Phonon DOS of MgO using 32x32x32 grid size]]&lt;br /&gt;
|[[File:JOHDOS50.png|thumb|300px|Figure 10. Phonon DOS of MgO using 50x50x50 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 5 shows the DOS for a 1x1x1 grid size. The four peaks 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 676 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 819 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; represent the four frequencies at point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. At symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;, by looking at figure 3, the two phonon modes at 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; are degenerate (as they go on to split in two curves between points &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;). This degeneracy is confirmed in the DOS graph in figure 5 as the intensity of the peaks around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; is around double that of the peaks around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is chosen as the k-value for a grid size of 1x1x1 as it is the most representative point in k-space for the DOS. This is shown visually from figures 5 to 10 as when the DOS becomes more accurate the main peak remains around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; with the smaller peak still remaining around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. There is a theorem about using the &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; point in reciprocal space for a 1x1x1 grid called Baldereschi theorem &amp;lt;ref name = &amp;quot;Ref 3&amp;quot;/&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The ideal grid size is one that represents the DOS without taking too long to calculate. From figure 8 onwards the shape of the curve does not change much, so it can be concluded that using a grid size of 16 is sufficient enough to gain a good understanding of the DOS without taking too long to calculate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:DOS dispersion JOH.png|thumb|400px|Figure 11. Comparing the dispersion curve with the DOS]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It is important to note the relationship between the dispersion curve and the DOS graph as shown in figure 11. The frequency in the phonon dispersion curve on the y axis is the same as the frequency on the DOS curve in the x-axis. It can be seen visually that the most popular states are around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The relationship between real space and reciprocal space is given by the formula &amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt; - a being the length in real space transformed to a* in reciprocal space. This shows that the larger the lattice constant a, the smaller the reciprocal cell. This is important to consider when assessing the DOS for other structures. Lithium has a lattice constant of 3.490 Å &amp;lt;ref name = &amp;quot;Ref 4&amp;quot;/&amp;gt; which is 0.721 Å lower that the conventional unit cell of MgO that is being modelled. Due to the inverse relationship of real to reciprocal space, lithium will have a larger cell in reciprocal space and therefore need a larger grid size in order to measure more k values to give an accurate DOS. Conversely Faujasite has a lattice constant of 24.7 Å &amp;lt;ref name = &amp;quot;Ref 5&amp;quot; /&amp;gt; which will give a much smaller cell in reciprocal space meaning that a smaller grid size would give an accurate measurement of the DOS as there are fewer k values needed to measure the cell. CaO has a very similar lattice constant to MgO meaning that a similar grid size would be needed to accurately measure the DOS - in this case a grid size of 16x16x16 would be sufficient.&lt;br /&gt;
&lt;br /&gt;
==Computing the Free Energy==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Table 2ː Energy vs Grid size&lt;br /&gt;
! Grid Size nxnxn/n&lt;br /&gt;
! Free Energy/eV&lt;br /&gt;
! Accuracy/ meV&lt;br /&gt;
! Log file&lt;br /&gt;
! rowspan=&amp;quot;9&amp;quot;|[[File:JOH Free energy vs grid size.png|thumb|400px|]]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| -40.930301&lt;br /&gt;
| 4&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/1/12/JOH_fe_MgO_111.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| -40.926609&lt;br /&gt;
| 0.2&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/aa/JOH_fe_MgO_222.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -40.926432&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4d/JOH_fe_MgO_333.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -40.926450&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/40/JOH_fe_MgO_444.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -40.926478&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/7/70/JOH_fe_MgO_888.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -40.926482&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4f/JOH_fe_MgO_16.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/ac/JOH_fe_MgO_32.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 50&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [[Media:JOH_fe_MgO_50.txt.zip|log file]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Table 2 displays the free energies of MgO as a function of grid size n. Similar to finding the ideal grid size to calculate the DOS, the optimal grid size to calculate the free energy can be found in table 2. As the grid size increases from 1 to 3 there is a sharp increase in the free energy from -40.930301 eV to -40.926432 eV, afterwards the free energy eventually converges at -40.926483 eV. From a grid size of 4 onwards the degree of accuracy is greater that 0.1 meV. There is no change in free energy from a grid size of 32 to 50 suggesting that a grid size of 32 is all that is needed to precisely determine the free energy of MgO. &lt;br /&gt;
&lt;br /&gt;
The graph in table 2 can be rationalised by the equation for the Helmholtz free energy - &amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A is the Helmholtz fee energy, U is the internal energy, T is temperature and S is entropy. As the grid size increases, the volume increases so the internal energy decreases (&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt;). This in turn means that the Helmholtz free energy would decrease.&lt;br /&gt;
&lt;br /&gt;
Furthermore as the number of microstates sampled increases the entropy term will increase according to the relationship &amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt;. This in turn means that the free energy will be lowered. By considering these two factors the decrease in free energy can be rationalised.&lt;br /&gt;
&lt;br /&gt;
==Thermal Expansion of MgO==&lt;br /&gt;
The structure of MgO will be optimised with respect to the free energy at different temperatures (0 - 1000 K in steps of 100 K). The free energy will be computed using the quasi-harmonic approximation (QHA) which uses the following expression: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
*&amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; = frequency of the vibration &lt;br /&gt;
*&amp;lt;math&amp;gt;E_{0}&amp;lt;/math&amp;gt; = zero point energy &lt;br /&gt;
*&amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; = Temperature&lt;br /&gt;
*&amp;lt;math&amp;gt;k_B&amp;lt;/math&amp;gt; = Boltzmann Constant &lt;br /&gt;
*&amp;lt;math&amp;gt;\hbar&amp;lt;/math&amp;gt; = reduced Planck&#039;s constant. &lt;br /&gt;
&lt;br /&gt;
The equations is split into three parts - the zero point energy and the harmonic and entropic contribution.&lt;br /&gt;
&lt;br /&gt;
In addition the coefficients of thermal expansion was calculated. Thermal expansion is the tendency for matter to change in response to temperature, due to heat transfer. The coefficient of thermal expansion describes how the size of an object changes with temperature. The larger the coefficient the greater the change in size as temperature increases. Several coefficients have been developed and the two that we will look at are the linear and volumetric thermal expansion. The generic equation is as follows:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\alpha_x = \frac{1}{x}\,\left(\frac{\partial x}{\partial T}\right)_p&lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* α&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt; = thermal expansion coefficient&lt;br /&gt;
* x = initial dimension &lt;br /&gt;
* ∂x = the partial derivative of the dimension under study &lt;br /&gt;
* ∂T = partial derivative of temperature &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy vs temp.png|thumb|400px|Figure 12. Free Energy dependence on Temperature for the QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH lattice constant vs temp.png|thumb|400px|Figure 13. Lattice Constant dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|[[File:JOH LV temp.png|thumb|400px|Figure 14. Lattice Volume dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 12 shows that as temperature increases the free energy becomes more negative. This can be rationalised with the derivation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; G = H - TS &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Plug in &amp;lt;math&amp;gt;H = U + PV&amp;lt;/math&amp;gt; to get  &amp;lt;math&amp;gt;G = U + PV - TS&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dG = dU + PdV + VdP - TdS - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = q + w &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dq = TdS &amp;lt;/math&amp;gt; &amp;lt;math&amp;gt; dw = -PdV &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \therefore dG = VdP - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This implies that both the volume and the entropic factor contribute to the free energy. As the temperature increases the volume will increase, however the entropic factor will overcome this due to large change in temperature. This explains the trend observed in figure 12. &lt;br /&gt;
&lt;br /&gt;
We would expect a linear negative decrease - &amp;lt;math&amp;gt; \left( \frac{\partial G}{\partial T} \right)_P = -S &amp;lt;/math&amp;gt;. However figure 12 shows that the trend is a curve, the free energy becomes more negative at an increasing rate, suggesting that the pressure may not be constant.&lt;br /&gt;
&lt;br /&gt;
The trend could also be explained using the Helmoholtz free energy equation used in the QHA. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The entropic contribution in the equation has a large dependence on temperature and therefore as temperature increases the entropic contribution becomes more negative. This is due to the exponential factor in the entropic contribution. This results in the Helmholtz becoming more negative.  &lt;br /&gt;
&lt;br /&gt;
===Calculating the Thermal expansion coefficients===&lt;br /&gt;
Figure 13 and 12 show how the lattice constant and volume change with temperature. Both graphs initially increase gradually and after 400 K show a near perfect linear trend. The trend in both graphs shows strong correlation with R&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; values close to one. By taking the gradient of these trend lines the thermal expansion coefficients can be calculated:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Linear Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{1}{L} \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{0.00002342}{2.986563} = 7.7815\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
L = the initial lattice constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 13&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Volumetric Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V} \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{0.00044612}{18.836496} = 2.3684\times 10^{-5}&amp;lt;/math&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
V = the initial volume constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 14&lt;br /&gt;
&lt;br /&gt;
For isotropic materials the volumetric coefficient is three times larger that then linear coefficient - &amp;lt;math&amp;gt;3&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;. For the coefficients calculated &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt; is almost three times larger than &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; (&amp;lt;math&amp;gt;3.04&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;) implying that MgO is an isotropic material &amp;lt;ref name=&amp;quot;Ref 6&amp;quot;/&amp;gt;, in other words lattice constants a, b and c expand at equal rates. At 200 K the L value increases to 2.987604 Å resulting in &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;7.839\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; which is close to the literature value of &amp;lt;math&amp;gt;7.39\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The main approximation with the QHA occurs at higher temperatures. This is because at higher temperatures the lattice experiences a larger anharmonic effect due to a larger deviation from bond equilibrium as more energy is put into the bond. Furthermore as anharmonicity comes from scattered phonons interacting due to lattice defect, this effect will be accentuated as lattice vibration gain more energy. The QHA simplifies the anharmonic effect by letting the phonon frequencies become volume dependent so therefore is unable to model the anharmonic effect well. The born-oppenheimer approximation would become less valid at larger temperatures as the motion of nuclei becomes more important. So as the temperature reaches melting point the phonon modes would not represent the motion of the ions well. &lt;br /&gt;
&lt;br /&gt;
Lastly in a diatomic molecule with an exact harmonic potential as the temperature increases there would be no change in equilibrium bond length as the parabolic function is symmetric. Instead the maximum and minimum bond lengths would increase or in other words a larger amplitude would be reached.&lt;br /&gt;
&lt;br /&gt;
== Molecular Dynamics ==&lt;br /&gt;
The crystal was then studied using Molecular Dynamics. In the previous investigations MgO has been described using a primitive cell containing a single MgO unit. Running an MD would not produce meaningful data as every cell would move perfectly in phase. By increasing the size of the cell the MD would become more accurate but become more computationally expensive so a compromise is reached for a cell containing 32 MgO units. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy temperature QHA MD.png|thumb|400px|Figure 15. Free Energy vs Temperature for MD compared to QHA]]&lt;br /&gt;
|[[File:JOHlatticeQHAMD2.png|thumb|400px|Figure 16. Lattice Constant vs Temperature for MD compared to QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics allows a system to evolve in time according to Newton&#039;s second law F=ma. As the system is treated classically energy can be modelled by the equipartition principle, &amp;lt;math&amp;gt;E = \frac{3}{2} k_B T&amp;lt;/math&amp;gt;, and as such the energy will increase linearly with temperature. In comparison QHA follows the relationship &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
This mean that the energy should decrease with temperature. Both the free energy modelled by MD and QHA can be seen in figure 15. &lt;br /&gt;
&lt;br /&gt;
Looking at figure 16 the MD and the QHA are similar between 400-1000 K, thus the volumetric expansion coefficients would be similar:&lt;br /&gt;
*MD - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; = 3.06 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
*QHA - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;  = 2.89 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
This similarity in data strengthens the reliability of the volumetric expansion coefficients between 400 - 1000 K. However, below 400 K the QHA begins to break from a linear trend and curve towards 18.84 Å&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt; whereas the MD follows the linear trend. At lower trends the anharmonic effect is not as prevalent so the QHA is a better model for the lattice constant at lower temperatures. The MD model does not accurately show how the free energy changes at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
===Limitation===&lt;br /&gt;
&lt;br /&gt;
Overall both QHA and MD models have their limitations. &lt;br /&gt;
&lt;br /&gt;
The atoms are modelled using a classical approach or in other words atoms are modelled as hard charged spheres. So the quantum mechanical contributions cannot be taken into account. This will reduced the accuracy of the models &lt;br /&gt;
&lt;br /&gt;
Furthermore, the models do not consider long-range interactions, only interactions of atoms relatively close. In a realistic crystal there will be interactions outside the nearest neighbours albeit small interactions. Thus slight inaccuracy in the models is seen. &lt;br /&gt;
&lt;br /&gt;
For both models it can be assumed that the trends can be extrapolated until the melting point of MgO is reached, as upon melting a change in volume occurs. Furthermore liquid MgO has no structured order so cannot be described by a repeated unit cell. &lt;br /&gt;
&lt;br /&gt;
In the QHA the interactions between atoms of different unit cells was not taken into consideration. There would be an energy increase if there was overlap between atoms in different cells.&lt;br /&gt;
&lt;br /&gt;
For these MD calculations, as only a small number of atoms were considered it was reasonable to use a time step of 1.0 femtoseconds. However, when considering a much larger system, say for example a protein, then this would become computationally expensive.&lt;br /&gt;
&lt;br /&gt;
==Conclusion== &lt;br /&gt;
The experiment showed the thermal expansion of MgO, the phonon dispersion and the DOS. Comparisons between the QHA and the MD were made, both approaches giving reasonable thermal expansion coefficients between 400-1000 K. At lower temperatures the QHA was a better model, due to the reduction in anharmonic effects.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 1&amp;quot; &amp;gt; O. Madelung, U. Rössler and M. Schulz, Eds., II-VI and I-VII compounds; Semimagnetic compounds, Springer-Verlag, 1999. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 2&amp;quot; &amp;gt; A. CIMINO, P. PORTA and M. VALIGI, Journal of the American Ceramic Society, 1966, 49, 152–156. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 3&amp;quot;&amp;gt; A. Baldereschi, Physical Review B, 1973, 7, 5212–5215. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 4&amp;quot; &amp;gt; E. J. Covington and D. J. Montgomery, J. Appl. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys, 2010, 27, 1030–53111. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 5&amp;quot; &amp;gt; J. A. Kaduk and J. Faber, The Rigaku journal 14 CRYSTAL STRUCTURE OF ZEOLITE Y AS A FUNCTION OF ION EXCHANGE, 1995. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 6&amp;quot; &amp;gt; J.R. Vinson, Plate and Panel structures of Isotropic, Composite and Piezoelectric Materials, including Sandwich Construction. Delaware; Springer; 2005. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Appendix==&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo phonon DOS 222 JOH.png|thumb|300px|Figure 1. Phonon DOS of MgO using 2x2x2 grid size]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Jo1213</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553514</id>
		<title>Rep:Mod:JOH95MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553514"/>
		<updated>2016-03-11T11:17:52Z</updated>

		<summary type="html">&lt;p&gt;Jo1213: /* Calculating the Thermal expansion coefficients */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
The experiment will investigate the properties of an MgO crystal. Firstly the dimensions of the unit cells will be investigated along with the associated energy. Then the phonon dispersion and DOS will be investigated, evaluating the optimal grid size to use. The energies of the crystal will be investigates along with the thermal expansion coefficients. Lastly the quasi-harmonic approximation (QHA) and the molecular dynamics (MD) will be compared. &lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon-based model used to describe volume-dependent thermal effects. The harmonic phonon model assumes that all intermolecular forces are harmonic. This is not sufficient to describe thermal expansion as there is no change to the equilibrium bond length as temperature increases. The QHA takes into account that molecules do have an anharmonic effect at higher temperatures by treating frequencies as volume dependent. &lt;br /&gt;
&lt;br /&gt;
The MD approach allows a system to evolve in time according to Newton&#039;s second law &amp;lt;math&amp;gt;F=ma&amp;lt;/math&amp;gt;. The initial configurations and velocities are assigned to allow the program to iterate positions and velocities. The atoms follow trajectories and the properties, such as E and T, are computed as time averages of their behaviour.&lt;br /&gt;
&lt;br /&gt;
The programs used were RedHat Linux, DLVisulaize (DLV) and General Utility Lattice Program (GULP). DLV allows us to visualise the MgO crystals and GULP is used to perform simulations on materials using boundary conditions, in this case on a 3D lattice.&lt;br /&gt;
&lt;br /&gt;
== Internal Energy of MgO ==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:PC 1.png|left|thumb|300px|Figure 1. Primitive Cell of MgO]]&lt;br /&gt;
|[[File:CC .png|left|thumb|300px|Figure 2. Conventional Cell of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 1 shows the primitive unit cell of MgO. The primitive unit cell consists of 2 atoms Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; which are held together by a Buckingham repulsive potential. The unit cell has a rhombohedron shape with lattice constants of 2.9783 Å and an internal angle a = 60°. The primitive cell contains one lattice point and is the simplest cell to describe the crystal. A calculation was run on MgO. In the [https://wiki.ch.ic.ac.uk/wiki/images/e/e7/MgO_1_james.txt LogFile] GULF describes MgO using a primitive unit cell. The Cartesian lattice vectors of the cell are reported in table 1 and the total lattice energy was -41.07531759 eV which represents the energy to pull all the atom infinitely apart. The GULP calculation correlates with LCAO HF calculations found in literature (2.573 Å &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;). &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|-&lt;br /&gt;
|+ Table 1ː Cell Vector Dimensions/Å&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The conventional cell has four times the volume of the primitive cell as shown in figure 2. The structure of the cell is face centered cubic (FCC) which has an internal angel a = 90° and a lattice vector of 4.212 Å (which agrees with literature of 4.21 Å &amp;lt;ref name =&amp;quot;Ref 2&amp;quot; /&amp;gt;). The conventional cell is more representative of the crystal so is chosen in the calculations.&lt;br /&gt;
&lt;br /&gt;
==Computing the Phonon Dispersion Curves==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO Phonon Dispersion JOH.png|thumb|300px|Figure 3. Phonon Dispersion Graph of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The vibrational modes of the lattice were then computed. The phonon modes were displayed as a dispersion curve, as shown in figure 3. The phonon frequencies were calculated along a path in k-space. Special points along the path, &amp;lt;math&amp;gt;W, L, \Gamma, X, W, K&amp;lt;/math&amp;gt;, can be seen in figure 3. There are two phonos modes associated with each axis, acoustic (in-phase) and optical (out-of-phase) phonons. In the 3D model three axis (x,y,z) are taken into consideration meaning there are 6 phonon modes as shown by the six different curves in figure 3. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:K=0 JOH.png|thumb|300px|Figure 4. Acoustic and optical modes at k=0]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The relationship between the wavevector k to the wavelength &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) is &amp;lt;math&amp;gt;k= \frac{2\pi}{\lambda}&amp;lt;/math&amp;gt;. Furthermore the relationship between wavelength &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) and frequency is &amp;lt;math&amp;gt; v = \frac{c}{\lambda} &amp;lt;/math&amp;gt;. As shown in figure 4 when k=0, for the acoustic mode, the wavelength approaches infinity as all the atoms move in the same direction along the axis. As &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; approaches infinity, frequency will tend to 0. For the optical mode the frequency is non-zero. With this information it is clear that at k=0 the dispersion graph is at symmetry point &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; as this is the only point on the dispersion curve where phonon modes display a frequency of zero. &lt;br /&gt;
&lt;br /&gt;
Following the path from &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;, to &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and then to &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; the acoustic mode splits into 3 modes, two transverse modes (TA) and one longitude mode (LA). The two TA are degenerate between &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; until it splits between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Phonon Density of States (DOS)==&lt;br /&gt;
The next part involved calculating the phonon density of states. The DOS is defined as the number of states per energy at a given energy, in this case vibrational frequency. The larger the number of k values considered in reciprocal space the more accurate the DOS. This is achieved by increasing the grid size (nxnxn) to give a better representation of the crystal by sampling more k values in reciprocal space. However, at a certain point the difference between k values is negligible so does not further increase the accuracy of the DOS. Furthermore calculating an infinite number of k values would take an infinite amount of computing time.&lt;br /&gt;
&lt;br /&gt;
The DOS was calculated for a 1x1x1 grid by setting the shrinking value to 1 as shown in figure 5. The grid size was then increased to find the optimum shrinking value that gave a good representation of the DOS without taking too long to calculate as shown by figures 6 through 10. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo Phonon DOS JOH 111.png|thumb|300px|Figure 5. Phonon DOS of MgO using 1x1x1 grid size]]&lt;br /&gt;
|[[File:JOHphononDOS444.png|thumb|300px|Figure 6. Phonon DOS of MgO using 4x4x4 grid size]]&lt;br /&gt;
|[[File:JOHDOS888.png|thumb|300px|Figure 7. Phonon DOS of MgO using 8x8x8 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOHDOS161616.png|thumb|300px|Figure 8. Phonon DOS of MgO using 16x16x16 grid size]]&lt;br /&gt;
|[[File:JOHDOS323232.png|thumb|300px|Figure 9. Phonon DOS of MgO using 32x32x32 grid size]]&lt;br /&gt;
|[[File:JOHDOS50.png|thumb|300px|Figure 10. Phonon DOS of MgO using 50x50x50 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 5 shows the DOS for a 1x1x1 grid size. The four peaks 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 676 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 819 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; represent the four frequencies at point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. At symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;, by looking at figure 3, the two phonon modes at 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; are degenerate (as they go on to split in two curves between points &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;). This degeneracy is confirmed in the DOS graph in figure 5 as the intensity of the peaks around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; is around double that of the peaks around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is chosen as the k-value for a grid size of 1x1x1 as it is the most representative point in k-space for the DOS. This is shown visually from figures 5 to 10 as when the DOS becomes more accurate the main peak remains around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; with the smaller peak still remaining around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. There is a theorem about using the &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; point in reciprocal space for a 1x1x1 grid called Baldereschi theorem &amp;lt;ref name = &amp;quot;Ref 3&amp;quot;/&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The ideal grid size is one that represents the DOS without taking too long to calculate. From figure 8 onwards the shape of the curve does not change much, so it can be concluded that using a grid size of 16 is sufficient enough to gain a good understanding of the DOS without taking too long to calculate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:DOS dispersion JOH.png|thumb|400px|Figure 11. Comparing the dispersion curve with the DOS]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It is important to note the relationship between the dispersion curve and the DOS graph as shown in figure 11. The frequency in the phonon dispersion curve on the y axis is the same as the frequency on the DOS curve in the x-axis. It can be seen visually that the most popular states are around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The relationship between real space and reciprocal space is given by the formula &amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt; - a being the length in real space transformed to a* in reciprocal space. This shows that the larger the lattice constant a, the smaller the reciprocal cell. This is important to consider when assessing the DOS for other structures. Lithium has a lattice constant of 3.490 Å &amp;lt;ref name = &amp;quot;Ref 4&amp;quot;/&amp;gt; which is 0.721 Å lower that the conventional unit cell of MgO that is being modelled. Due to the inverse relationship of real to reciprocal space, lithium will have a larger cell in reciprocal space and therefore need a larger grid size in order to measure more k values to give an accurate DOS. Conversely Faujasite has a lattice constant of 24.7 Å &amp;lt;ref name = &amp;quot;Ref 5&amp;quot; /&amp;gt; which will give a much smaller cell in reciprocal space meaning that a smaller grid size would give an accurate measurement of the DOS as there are fewer k values needed to measure the cell. CaO has a very similar lattice constant to MgO meaning that a similar grid size would be needed to accurately measure the DOS - in this case a grid size of 16x16x16 would be sufficient.&lt;br /&gt;
&lt;br /&gt;
==Computing the Free Energy==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Table 2ː Energy vs Grid size&lt;br /&gt;
! Grid Size nxnxn/n&lt;br /&gt;
! Free Energy/eV&lt;br /&gt;
! Accuracy/ meV&lt;br /&gt;
! Log file&lt;br /&gt;
! rowspan=&amp;quot;9&amp;quot;|[[File:JOH Free energy vs grid size.png|thumb|400px|]]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| -40.930301&lt;br /&gt;
| 4&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/1/12/JOH_fe_MgO_111.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| -40.926609&lt;br /&gt;
| 0.2&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/aa/JOH_fe_MgO_222.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -40.926432&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4d/JOH_fe_MgO_333.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -40.926450&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/40/JOH_fe_MgO_444.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -40.926478&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/7/70/JOH_fe_MgO_888.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -40.926482&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4f/JOH_fe_MgO_16.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/ac/JOH_fe_MgO_32.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 50&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [[Media:JOH_fe_MgO_50.txt.zip|log file]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Table 2 displays the free energies of MgO as a function of grid size n. Similar to finding the ideal grid size to calculate the DOS, the optimal grid size to calculate the free energy can be found in table 2. As the grid size increases from 1 to 3 there is a sharp increase in the free energy from -40.930301 eV to -40.926432 eV, afterwards the free energy eventually converges at -40.926483 eV. From a grid size of 4 onwards the degree of accuracy is greater that 0.1 meV. There is no change in free energy from a grid size of 32 to 50 suggesting that a grid size of 32 is all that is needed to precisely determine the free energy of MgO. &lt;br /&gt;
&lt;br /&gt;
The graph in table 2 can be rationalised by the equation for the Helmholtz free energy - &amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A is the Helmholtz fee energy, U is the internal energy, T is temperature and S is entropy. As the grid size increases, the volume increases so the internal energy decreases (&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt;). This in turn means that the Helmholtz free energy would decrease.&lt;br /&gt;
&lt;br /&gt;
Furthermore as the number of microstates sampled increases the entropy term will increase according to the relationship &amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt;. This in turn means that the free energy will be lowered. By considering these two factors the decrease in free energy can be rationalised.&lt;br /&gt;
&lt;br /&gt;
==Thermal Expansion of MgO==&lt;br /&gt;
The structure of MgO will be optimised with respect to the free energy at different temperatures (0 - 1000 K in steps of 100 K). The free energy will be computed using the quasi-harmonic approximation (QHA) which uses the following expression: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
*&amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; = frequency of the vibration &lt;br /&gt;
*&amp;lt;math&amp;gt;E_{0}&amp;lt;/math&amp;gt; = zero point energy &lt;br /&gt;
*&amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; = Temperature&lt;br /&gt;
*&amp;lt;math&amp;gt;k_B&amp;lt;/math&amp;gt; = Boltzmann Constant &lt;br /&gt;
*&amp;lt;math&amp;gt;\hbar&amp;lt;/math&amp;gt; = reduced Planck&#039;s constant. &lt;br /&gt;
&lt;br /&gt;
The equations is split into three parts - the zero point energy and the harmonic and entropic contribution.&lt;br /&gt;
&lt;br /&gt;
In addition the coefficients of thermal expansion was calculated. Thermal expansion is the tendency for matter to change in response to temperature, due to heat transfer. The coefficient of thermal expansion describes how the size of an object changes with temperature. The larger the coefficient the greater the change in size as temperature increases. Several coefficients have been developed and the two that we will look at are the linear and volumetric thermal expansion. The generic equation is as follows:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\alpha_x = \frac{1}{x}\,\left(\frac{\partial x}{\partial T}\right)_p&lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* α&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt; = thermal expansion coefficient&lt;br /&gt;
* x = initial dimension &lt;br /&gt;
* ∂x = the partial derivative of the dimension under study &lt;br /&gt;
* ∂T = partial derivative of temperature &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy vs temp.png|thumb|400px|Figure 12. Free Energy dependence on Temperature for the QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH lattice constant vs temp.png|thumb|400px|Figure 13. Lattice Constant dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|[[File:JOH LV temp.png|thumb|400px|Figure 14. Lattice Volume dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 12 shows that as temperature increases the free energy becomes more negative. This can be rationalised with the derivation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; G = H - TS &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Plug in &amp;lt;math&amp;gt;H = U + PV&amp;lt;/math&amp;gt; to get  &amp;lt;math&amp;gt;G = U + PV - TS&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dG = dU + PdV + VdP - TdS - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = q + w &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dq = TdS &amp;lt;/math&amp;gt; &amp;lt;math&amp;gt; dw = -PdV &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \therefore dG = VdP - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This implies that both the volume and the entropic factor contribute to the free energy. As the temperature increases the volume will increase, however the entropic factor will overcome this due to large change in temperature. This explains the trend observed in figure 12. &lt;br /&gt;
&lt;br /&gt;
We would expect a linear negative decrease - &amp;lt;math&amp;gt; \left( \frac{\partial G}{\partial T} \right)_P = -S &amp;lt;/math&amp;gt;. However figure 12 shows that the trend is a curve, the free energy becomes more negative at an increasing rate, suggesting that the pressure may not be constant.&lt;br /&gt;
&lt;br /&gt;
The trend could also be explained using the Helmoholtz free energy equation used in the QHA. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The entropic contribution in the equation has a large dependence on temperature and therefore as temperature increases the entropic contribution becomes more negative. This is due to the exponential factor in the entropic contribution. This results in the Helmholtz becoming more negative.  &lt;br /&gt;
&lt;br /&gt;
===Calculating the Thermal expansion coefficients===&lt;br /&gt;
Figure 13 and 12 show how the lattice constant and volume change with temperature. Both graphs initially increase gradually and after 400 K show a near perfect linear trend. The trend in both graphs shows strong correlation with R&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; values close to one. By taking the gradient of these trend lines the thermal expansion coefficients can be calculated:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Linear Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{1}{L} \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{0.00002342}{2.986563} = 7.7815\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
L = the initial lattice constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 13&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Volumetric Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V} \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{0.00044612}{18.836496} = 2.3684\times 10^{-5}&amp;lt;/math&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
V = the initial volume constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 14&lt;br /&gt;
&lt;br /&gt;
For isotropic materials the volumetric coefficient is three times larger that then linear coefficient - 3&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;. For the coefficients calculated &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt; is almost three times larger than &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; (&amp;lt;math&amp;gt;3.04&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;) implying that MgO is an isotropic material &amp;lt;ref name=&amp;quot;Ref 6&amp;quot;/&amp;gt;, in other words lattice constants a, b and c expand at equal rates. At 200 K the L value increases to 2.987604 Å resulting in &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;7.839\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; which is close to the literature value of &amp;lt;math&amp;gt;7.39\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The main approximation with the QHA occurs at higher temperatures. This is because at higher temperatures the lattice experiences a larger anharmonic effect due to a larger deviation from bond equilibrium as more energy is put into the bond. Furthermore as anharmonicity comes from scattered phonons interacting due to lattice defect, this effect will be accentuated as lattice vibration gain more energy. The QHA simplifies the anharmonic effect by letting the phonon frequencies become volume dependent so therefore is unable to model the anharmonic effect well. The born-oppenheimer approximation would become less valid at larger temperatures as the motion of nuclei becomes more important. So as the temperature reaches melting point the phonon modes would not represent the motion of the ions well. &lt;br /&gt;
&lt;br /&gt;
Lastly in a diatomic molecule with an exact harmonic potential as the temperature increases there would be no change in equilibrium bond length as the parabolic function is symmetric. Instead the maximum and minimum bond lengths would increase or in other words a larger amplitude would be reached.&lt;br /&gt;
&lt;br /&gt;
== Molecular Dynamics ==&lt;br /&gt;
The crystal was then studied using Molecular Dynamics. In the previous investigations MgO has been described using a primitive cell containing a single MgO unit. Running an MD would not produce meaningful data as every cell would move perfectly in phase. By increasing the size of the cell the MD would become more accurate but become more computationally expensive so a compromise is reached for a cell containing 32 MgO units. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy temperature QHA MD.png|thumb|400px|Figure 15. Free Energy vs Temperature for MD compared to QHA]]&lt;br /&gt;
|[[File:JOHlatticeQHAMD2.png|thumb|400px|Figure 16. Lattice Constant vs Temperature for MD compared to QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics allows a system to evolve in time according to Newton&#039;s second law F=ma. As the system is treated classically energy can be modelled by the equipartition principle, &amp;lt;math&amp;gt;E = \frac{3}{2} k_B T&amp;lt;/math&amp;gt;, and as such the energy will increase linearly with temperature. In comparison QHA follows the relationship &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
This mean that the energy should decrease with temperature. Both the free energy modelled by MD and QHA can be seen in figure 15. &lt;br /&gt;
&lt;br /&gt;
Looking at figure 16 the MD and the QHA are similar between 400-1000 K, thus the volumetric expansion coefficients would be similar:&lt;br /&gt;
*MD - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; = 3.06 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
*QHA - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;  = 2.89 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
This similarity in data strengthens the reliability of the volumetric expansion coefficients between 400 - 1000 K. However, below 400 K the QHA begins to break from a linear trend and curve towards 18.84 Å&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt; whereas the MD follows the linear trend. At lower trends the anharmonic effect is not as prevalent so the QHA is a better model for the lattice constant at lower temperatures. The MD model does not accurately show how the free energy changes at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
===Limitation===&lt;br /&gt;
&lt;br /&gt;
Overall both QHA and MD models have their limitations. &lt;br /&gt;
&lt;br /&gt;
The atoms are modelled using a classical approach or in other words atoms are modelled as hard charged spheres. So the quantum mechanical contributions cannot be taken into account. This will reduced the accuracy of the models &lt;br /&gt;
&lt;br /&gt;
Furthermore, the models do not consider long-range interactions, only interactions of atoms relatively close. In a realistic crystal there will be interactions outside the nearest neighbours albeit small interactions. Thus slight inaccuracy in the models is seen. &lt;br /&gt;
&lt;br /&gt;
For both models it can be assumed that the trends can be extrapolated until the melting point of MgO is reached, as upon melting a change in volume occurs. Furthermore liquid MgO has no structured order so cannot be described by a repeated unit cell. &lt;br /&gt;
&lt;br /&gt;
In the QHA the interactions between atoms of different unit cells was not taken into consideration. There would be an energy increase if there was overlap between atoms in different cells.&lt;br /&gt;
&lt;br /&gt;
For these MD calculations, as only a small number of atoms were considered it was reasonable to use a time step of 1.0 femtoseconds. However, when considering a much larger system, say for example a protein, then this would become computationally expensive.&lt;br /&gt;
&lt;br /&gt;
==Conclusion== &lt;br /&gt;
The experiment showed the thermal expansion of MgO, the phonon dispersion and the DOS. Comparisons between the QHA and the MD were made, both approaches giving reasonable thermal expansion coefficients between 400-1000 K. At lower temperatures the QHA was a better model, due to the reduction in anharmonic effects.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 1&amp;quot; &amp;gt; O. Madelung, U. Rössler and M. Schulz, Eds., II-VI and I-VII compounds; Semimagnetic compounds, Springer-Verlag, 1999. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 2&amp;quot; &amp;gt; A. CIMINO, P. PORTA and M. VALIGI, Journal of the American Ceramic Society, 1966, 49, 152–156. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 3&amp;quot;&amp;gt; A. Baldereschi, Physical Review B, 1973, 7, 5212–5215. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 4&amp;quot; &amp;gt; E. J. Covington and D. J. Montgomery, J. Appl. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys, 2010, 27, 1030–53111. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 5&amp;quot; &amp;gt; J. A. Kaduk and J. Faber, The Rigaku journal 14 CRYSTAL STRUCTURE OF ZEOLITE Y AS A FUNCTION OF ION EXCHANGE, 1995. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 6&amp;quot; &amp;gt; J.R. Vinson, Plate and Panel structures of Isotropic, Composite and Piezoelectric Materials, including Sandwich Construction. Delaware; Springer; 2005. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Appendix==&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo phonon DOS 222 JOH.png|thumb|300px|Figure 1. Phonon DOS of MgO using 2x2x2 grid size]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Jo1213</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553512</id>
		<title>Rep:Mod:JOH95MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553512"/>
		<updated>2016-03-11T11:17:14Z</updated>

		<summary type="html">&lt;p&gt;Jo1213: /* Calculating the Thermal expansion coefficients */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
The experiment will investigate the properties of an MgO crystal. Firstly the dimensions of the unit cells will be investigated along with the associated energy. Then the phonon dispersion and DOS will be investigated, evaluating the optimal grid size to use. The energies of the crystal will be investigates along with the thermal expansion coefficients. Lastly the quasi-harmonic approximation (QHA) and the molecular dynamics (MD) will be compared. &lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon-based model used to describe volume-dependent thermal effects. The harmonic phonon model assumes that all intermolecular forces are harmonic. This is not sufficient to describe thermal expansion as there is no change to the equilibrium bond length as temperature increases. The QHA takes into account that molecules do have an anharmonic effect at higher temperatures by treating frequencies as volume dependent. &lt;br /&gt;
&lt;br /&gt;
The MD approach allows a system to evolve in time according to Newton&#039;s second law &amp;lt;math&amp;gt;F=ma&amp;lt;/math&amp;gt;. The initial configurations and velocities are assigned to allow the program to iterate positions and velocities. The atoms follow trajectories and the properties, such as E and T, are computed as time averages of their behaviour.&lt;br /&gt;
&lt;br /&gt;
The programs used were RedHat Linux, DLVisulaize (DLV) and General Utility Lattice Program (GULP). DLV allows us to visualise the MgO crystals and GULP is used to perform simulations on materials using boundary conditions, in this case on a 3D lattice.&lt;br /&gt;
&lt;br /&gt;
== Internal Energy of MgO ==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:PC 1.png|left|thumb|300px|Figure 1. Primitive Cell of MgO]]&lt;br /&gt;
|[[File:CC .png|left|thumb|300px|Figure 2. Conventional Cell of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 1 shows the primitive unit cell of MgO. The primitive unit cell consists of 2 atoms Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; which are held together by a Buckingham repulsive potential. The unit cell has a rhombohedron shape with lattice constants of 2.9783 Å and an internal angle a = 60°. The primitive cell contains one lattice point and is the simplest cell to describe the crystal. A calculation was run on MgO. In the [https://wiki.ch.ic.ac.uk/wiki/images/e/e7/MgO_1_james.txt LogFile] GULF describes MgO using a primitive unit cell. The Cartesian lattice vectors of the cell are reported in table 1 and the total lattice energy was -41.07531759 eV which represents the energy to pull all the atom infinitely apart. The GULP calculation correlates with LCAO HF calculations found in literature (2.573 Å &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;). &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|-&lt;br /&gt;
|+ Table 1ː Cell Vector Dimensions/Å&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The conventional cell has four times the volume of the primitive cell as shown in figure 2. The structure of the cell is face centered cubic (FCC) which has an internal angel a = 90° and a lattice vector of 4.212 Å (which agrees with literature of 4.21 Å &amp;lt;ref name =&amp;quot;Ref 2&amp;quot; /&amp;gt;). The conventional cell is more representative of the crystal so is chosen in the calculations.&lt;br /&gt;
&lt;br /&gt;
==Computing the Phonon Dispersion Curves==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO Phonon Dispersion JOH.png|thumb|300px|Figure 3. Phonon Dispersion Graph of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The vibrational modes of the lattice were then computed. The phonon modes were displayed as a dispersion curve, as shown in figure 3. The phonon frequencies were calculated along a path in k-space. Special points along the path, &amp;lt;math&amp;gt;W, L, \Gamma, X, W, K&amp;lt;/math&amp;gt;, can be seen in figure 3. There are two phonos modes associated with each axis, acoustic (in-phase) and optical (out-of-phase) phonons. In the 3D model three axis (x,y,z) are taken into consideration meaning there are 6 phonon modes as shown by the six different curves in figure 3. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:K=0 JOH.png|thumb|300px|Figure 4. Acoustic and optical modes at k=0]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The relationship between the wavevector k to the wavelength &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) is &amp;lt;math&amp;gt;k= \frac{2\pi}{\lambda}&amp;lt;/math&amp;gt;. Furthermore the relationship between wavelength &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) and frequency is &amp;lt;math&amp;gt; v = \frac{c}{\lambda} &amp;lt;/math&amp;gt;. As shown in figure 4 when k=0, for the acoustic mode, the wavelength approaches infinity as all the atoms move in the same direction along the axis. As &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; approaches infinity, frequency will tend to 0. For the optical mode the frequency is non-zero. With this information it is clear that at k=0 the dispersion graph is at symmetry point &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; as this is the only point on the dispersion curve where phonon modes display a frequency of zero. &lt;br /&gt;
&lt;br /&gt;
Following the path from &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;, to &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and then to &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; the acoustic mode splits into 3 modes, two transverse modes (TA) and one longitude mode (LA). The two TA are degenerate between &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; until it splits between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Phonon Density of States (DOS)==&lt;br /&gt;
The next part involved calculating the phonon density of states. The DOS is defined as the number of states per energy at a given energy, in this case vibrational frequency. The larger the number of k values considered in reciprocal space the more accurate the DOS. This is achieved by increasing the grid size (nxnxn) to give a better representation of the crystal by sampling more k values in reciprocal space. However, at a certain point the difference between k values is negligible so does not further increase the accuracy of the DOS. Furthermore calculating an infinite number of k values would take an infinite amount of computing time.&lt;br /&gt;
&lt;br /&gt;
The DOS was calculated for a 1x1x1 grid by setting the shrinking value to 1 as shown in figure 5. The grid size was then increased to find the optimum shrinking value that gave a good representation of the DOS without taking too long to calculate as shown by figures 6 through 10. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo Phonon DOS JOH 111.png|thumb|300px|Figure 5. Phonon DOS of MgO using 1x1x1 grid size]]&lt;br /&gt;
|[[File:JOHphononDOS444.png|thumb|300px|Figure 6. Phonon DOS of MgO using 4x4x4 grid size]]&lt;br /&gt;
|[[File:JOHDOS888.png|thumb|300px|Figure 7. Phonon DOS of MgO using 8x8x8 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOHDOS161616.png|thumb|300px|Figure 8. Phonon DOS of MgO using 16x16x16 grid size]]&lt;br /&gt;
|[[File:JOHDOS323232.png|thumb|300px|Figure 9. Phonon DOS of MgO using 32x32x32 grid size]]&lt;br /&gt;
|[[File:JOHDOS50.png|thumb|300px|Figure 10. Phonon DOS of MgO using 50x50x50 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 5 shows the DOS for a 1x1x1 grid size. The four peaks 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 676 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 819 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; represent the four frequencies at point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. At symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;, by looking at figure 3, the two phonon modes at 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; are degenerate (as they go on to split in two curves between points &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;). This degeneracy is confirmed in the DOS graph in figure 5 as the intensity of the peaks around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; is around double that of the peaks around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is chosen as the k-value for a grid size of 1x1x1 as it is the most representative point in k-space for the DOS. This is shown visually from figures 5 to 10 as when the DOS becomes more accurate the main peak remains around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; with the smaller peak still remaining around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. There is a theorem about using the &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; point in reciprocal space for a 1x1x1 grid called Baldereschi theorem &amp;lt;ref name = &amp;quot;Ref 3&amp;quot;/&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The ideal grid size is one that represents the DOS without taking too long to calculate. From figure 8 onwards the shape of the curve does not change much, so it can be concluded that using a grid size of 16 is sufficient enough to gain a good understanding of the DOS without taking too long to calculate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:DOS dispersion JOH.png|thumb|400px|Figure 11. Comparing the dispersion curve with the DOS]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It is important to note the relationship between the dispersion curve and the DOS graph as shown in figure 11. The frequency in the phonon dispersion curve on the y axis is the same as the frequency on the DOS curve in the x-axis. It can be seen visually that the most popular states are around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The relationship between real space and reciprocal space is given by the formula &amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt; - a being the length in real space transformed to a* in reciprocal space. This shows that the larger the lattice constant a, the smaller the reciprocal cell. This is important to consider when assessing the DOS for other structures. Lithium has a lattice constant of 3.490 Å &amp;lt;ref name = &amp;quot;Ref 4&amp;quot;/&amp;gt; which is 0.721 Å lower that the conventional unit cell of MgO that is being modelled. Due to the inverse relationship of real to reciprocal space, lithium will have a larger cell in reciprocal space and therefore need a larger grid size in order to measure more k values to give an accurate DOS. Conversely Faujasite has a lattice constant of 24.7 Å &amp;lt;ref name = &amp;quot;Ref 5&amp;quot; /&amp;gt; which will give a much smaller cell in reciprocal space meaning that a smaller grid size would give an accurate measurement of the DOS as there are fewer k values needed to measure the cell. CaO has a very similar lattice constant to MgO meaning that a similar grid size would be needed to accurately measure the DOS - in this case a grid size of 16x16x16 would be sufficient.&lt;br /&gt;
&lt;br /&gt;
==Computing the Free Energy==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Table 2ː Energy vs Grid size&lt;br /&gt;
! Grid Size nxnxn/n&lt;br /&gt;
! Free Energy/eV&lt;br /&gt;
! Accuracy/ meV&lt;br /&gt;
! Log file&lt;br /&gt;
! rowspan=&amp;quot;9&amp;quot;|[[File:JOH Free energy vs grid size.png|thumb|400px|]]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| -40.930301&lt;br /&gt;
| 4&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/1/12/JOH_fe_MgO_111.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| -40.926609&lt;br /&gt;
| 0.2&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/aa/JOH_fe_MgO_222.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -40.926432&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4d/JOH_fe_MgO_333.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -40.926450&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/40/JOH_fe_MgO_444.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -40.926478&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/7/70/JOH_fe_MgO_888.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -40.926482&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4f/JOH_fe_MgO_16.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/ac/JOH_fe_MgO_32.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 50&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [[Media:JOH_fe_MgO_50.txt.zip|log file]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Table 2 displays the free energies of MgO as a function of grid size n. Similar to finding the ideal grid size to calculate the DOS, the optimal grid size to calculate the free energy can be found in table 2. As the grid size increases from 1 to 3 there is a sharp increase in the free energy from -40.930301 eV to -40.926432 eV, afterwards the free energy eventually converges at -40.926483 eV. From a grid size of 4 onwards the degree of accuracy is greater that 0.1 meV. There is no change in free energy from a grid size of 32 to 50 suggesting that a grid size of 32 is all that is needed to precisely determine the free energy of MgO. &lt;br /&gt;
&lt;br /&gt;
The graph in table 2 can be rationalised by the equation for the Helmholtz free energy - &amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A is the Helmholtz fee energy, U is the internal energy, T is temperature and S is entropy. As the grid size increases, the volume increases so the internal energy decreases (&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt;). This in turn means that the Helmholtz free energy would decrease.&lt;br /&gt;
&lt;br /&gt;
Furthermore as the number of microstates sampled increases the entropy term will increase according to the relationship &amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt;. This in turn means that the free energy will be lowered. By considering these two factors the decrease in free energy can be rationalised.&lt;br /&gt;
&lt;br /&gt;
==Thermal Expansion of MgO==&lt;br /&gt;
The structure of MgO will be optimised with respect to the free energy at different temperatures (0 - 1000 K in steps of 100 K). The free energy will be computed using the quasi-harmonic approximation (QHA) which uses the following expression: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
*&amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; = frequency of the vibration &lt;br /&gt;
*&amp;lt;math&amp;gt;E_{0}&amp;lt;/math&amp;gt; = zero point energy &lt;br /&gt;
*&amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; = Temperature&lt;br /&gt;
*&amp;lt;math&amp;gt;k_B&amp;lt;/math&amp;gt; = Boltzmann Constant &lt;br /&gt;
*&amp;lt;math&amp;gt;\hbar&amp;lt;/math&amp;gt; = reduced Planck&#039;s constant. &lt;br /&gt;
&lt;br /&gt;
The equations is split into three parts - the zero point energy and the harmonic and entropic contribution.&lt;br /&gt;
&lt;br /&gt;
In addition the coefficients of thermal expansion was calculated. Thermal expansion is the tendency for matter to change in response to temperature, due to heat transfer. The coefficient of thermal expansion describes how the size of an object changes with temperature. The larger the coefficient the greater the change in size as temperature increases. Several coefficients have been developed and the two that we will look at are the linear and volumetric thermal expansion. The generic equation is as follows:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\alpha_x = \frac{1}{x}\,\left(\frac{\partial x}{\partial T}\right)_p&lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* α&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt; = thermal expansion coefficient&lt;br /&gt;
* x = initial dimension &lt;br /&gt;
* ∂x = the partial derivative of the dimension under study &lt;br /&gt;
* ∂T = partial derivative of temperature &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy vs temp.png|thumb|400px|Figure 12. Free Energy dependence on Temperature for the QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH lattice constant vs temp.png|thumb|400px|Figure 13. Lattice Constant dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|[[File:JOH LV temp.png|thumb|400px|Figure 14. Lattice Volume dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 12 shows that as temperature increases the free energy becomes more negative. This can be rationalised with the derivation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; G = H - TS &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Plug in &amp;lt;math&amp;gt;H = U + PV&amp;lt;/math&amp;gt; to get  &amp;lt;math&amp;gt;G = U + PV - TS&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dG = dU + PdV + VdP - TdS - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = q + w &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dq = TdS &amp;lt;/math&amp;gt; &amp;lt;math&amp;gt; dw = -PdV &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \therefore dG = VdP - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This implies that both the volume and the entropic factor contribute to the free energy. As the temperature increases the volume will increase, however the entropic factor will overcome this due to large change in temperature. This explains the trend observed in figure 12. &lt;br /&gt;
&lt;br /&gt;
We would expect a linear negative decrease - &amp;lt;math&amp;gt; \left( \frac{\partial G}{\partial T} \right)_P = -S &amp;lt;/math&amp;gt;. However figure 12 shows that the trend is a curve, the free energy becomes more negative at an increasing rate, suggesting that the pressure may not be constant.&lt;br /&gt;
&lt;br /&gt;
The trend could also be explained using the Helmoholtz free energy equation used in the QHA. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The entropic contribution in the equation has a large dependence on temperature and therefore as temperature increases the entropic contribution becomes more negative. This is due to the exponential factor in the entropic contribution. This results in the Helmholtz becoming more negative.  &lt;br /&gt;
&lt;br /&gt;
===Calculating the Thermal expansion coefficients===&lt;br /&gt;
Figure 13 and 12 show how the lattice constant and volume change with temperature. Both graphs initially increase gradually and after 400 K show a near perfect linear trend. The trend in both graphs shows strong correlation with R&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; values close to one. By taking the gradient of these trend lines the thermal expansion coefficients can be calculated:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Linear Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{1}{L} \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{0.00002342}{2.986563} = 7.7815\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
L = the initial lattice constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 13&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Volumetric Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V} \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{0.00044612}{18.836496} = 2.3684\times 10^{-5}&amp;lt;/math&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
V = the initial volume constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 14&lt;br /&gt;
&lt;br /&gt;
For isotropic materials the volumetric coefficient is three times larger that then linear coefficient - 3&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;. For MgO &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt; is practically three times larger than &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; (&amp;lt;math&amp;gt;3.04&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;) implying that MgO is an isotropic material &amp;lt;ref name=&amp;quot;Ref 6&amp;quot;/&amp;gt;, in other words lattice constants a, b and c expand at equal rates. At 200 K the L value increases to 2.987604 Å resulting in &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;7.839\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; which is close to the literature value of &amp;lt;math&amp;gt;7.39\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The main approximation with the QHA occurs at higher temperatures. This is because at higher temperatures the lattice experiences a larger anharmonic effect due to a larger deviation from bond equilibrium as more energy is put into the bond. Furthermore as anharmonicity comes from scattered phonons interacting due to lattice defect, this effect will be accentuated as lattice vibration gain more energy. The QHA simplifies the anharmonic effect by letting the phonon frequencies become volume dependent so therefore is unable to model the anharmonic effect well. The born-oppenheimer approximation would become less valid at larger temperatures as the motion of nuclei becomes more important. So as the temperature reaches melting point the phonon modes would not represent the motion of the ions well. &lt;br /&gt;
&lt;br /&gt;
Lastly in a diatomic molecule with an exact harmonic potential as the temperature increases there would be no change in equilibrium bond length as the parabolic function is symmetric. Instead the maximum and minimum bond lengths would increase or in other words a larger amplitude would be reached.&lt;br /&gt;
&lt;br /&gt;
== Molecular Dynamics ==&lt;br /&gt;
The crystal was then studied using Molecular Dynamics. In the previous investigations MgO has been described using a primitive cell containing a single MgO unit. Running an MD would not produce meaningful data as every cell would move perfectly in phase. By increasing the size of the cell the MD would become more accurate but become more computationally expensive so a compromise is reached for a cell containing 32 MgO units. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy temperature QHA MD.png|thumb|400px|Figure 15. Free Energy vs Temperature for MD compared to QHA]]&lt;br /&gt;
|[[File:JOHlatticeQHAMD2.png|thumb|400px|Figure 16. Lattice Constant vs Temperature for MD compared to QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics allows a system to evolve in time according to Newton&#039;s second law F=ma. As the system is treated classically energy can be modelled by the equipartition principle, &amp;lt;math&amp;gt;E = \frac{3}{2} k_B T&amp;lt;/math&amp;gt;, and as such the energy will increase linearly with temperature. In comparison QHA follows the relationship &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
This mean that the energy should decrease with temperature. Both the free energy modelled by MD and QHA can be seen in figure 15. &lt;br /&gt;
&lt;br /&gt;
Looking at figure 16 the MD and the QHA are similar between 400-1000 K, thus the volumetric expansion coefficients would be similar:&lt;br /&gt;
*MD - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; = 3.06 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
*QHA - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;  = 2.89 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
This similarity in data strengthens the reliability of the volumetric expansion coefficients between 400 - 1000 K. However, below 400 K the QHA begins to break from a linear trend and curve towards 18.84 Å&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt; whereas the MD follows the linear trend. At lower trends the anharmonic effect is not as prevalent so the QHA is a better model for the lattice constant at lower temperatures. The MD model does not accurately show how the free energy changes at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
===Limitation===&lt;br /&gt;
&lt;br /&gt;
Overall both QHA and MD models have their limitations. &lt;br /&gt;
&lt;br /&gt;
The atoms are modelled using a classical approach or in other words atoms are modelled as hard charged spheres. So the quantum mechanical contributions cannot be taken into account. This will reduced the accuracy of the models &lt;br /&gt;
&lt;br /&gt;
Furthermore, the models do not consider long-range interactions, only interactions of atoms relatively close. In a realistic crystal there will be interactions outside the nearest neighbours albeit small interactions. Thus slight inaccuracy in the models is seen. &lt;br /&gt;
&lt;br /&gt;
For both models it can be assumed that the trends can be extrapolated until the melting point of MgO is reached, as upon melting a change in volume occurs. Furthermore liquid MgO has no structured order so cannot be described by a repeated unit cell. &lt;br /&gt;
&lt;br /&gt;
In the QHA the interactions between atoms of different unit cells was not taken into consideration. There would be an energy increase if there was overlap between atoms in different cells.&lt;br /&gt;
&lt;br /&gt;
For these MD calculations, as only a small number of atoms were considered it was reasonable to use a time step of 1.0 femtoseconds. However, when considering a much larger system, say for example a protein, then this would become computationally expensive.&lt;br /&gt;
&lt;br /&gt;
==Conclusion== &lt;br /&gt;
The experiment showed the thermal expansion of MgO, the phonon dispersion and the DOS. Comparisons between the QHA and the MD were made, both approaches giving reasonable thermal expansion coefficients between 400-1000 K. At lower temperatures the QHA was a better model, due to the reduction in anharmonic effects.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 1&amp;quot; &amp;gt; O. Madelung, U. Rössler and M. Schulz, Eds., II-VI and I-VII compounds; Semimagnetic compounds, Springer-Verlag, 1999. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 2&amp;quot; &amp;gt; A. CIMINO, P. PORTA and M. VALIGI, Journal of the American Ceramic Society, 1966, 49, 152–156. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 3&amp;quot;&amp;gt; A. Baldereschi, Physical Review B, 1973, 7, 5212–5215. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 4&amp;quot; &amp;gt; E. J. Covington and D. J. Montgomery, J. Appl. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys, 2010, 27, 1030–53111. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 5&amp;quot; &amp;gt; J. A. Kaduk and J. Faber, The Rigaku journal 14 CRYSTAL STRUCTURE OF ZEOLITE Y AS A FUNCTION OF ION EXCHANGE, 1995. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 6&amp;quot; &amp;gt; J.R. Vinson, Plate and Panel structures of Isotropic, Composite and Piezoelectric Materials, including Sandwich Construction. Delaware; Springer; 2005. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Appendix==&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo phonon DOS 222 JOH.png|thumb|300px|Figure 1. Phonon DOS of MgO using 2x2x2 grid size]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Jo1213</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553511</id>
		<title>Rep:Mod:JOH95MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553511"/>
		<updated>2016-03-11T11:15:55Z</updated>

		<summary type="html">&lt;p&gt;Jo1213: /* Calculating the Thermal expansion coefficients */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
The experiment will investigate the properties of an MgO crystal. Firstly the dimensions of the unit cells will be investigated along with the associated energy. Then the phonon dispersion and DOS will be investigated, evaluating the optimal grid size to use. The energies of the crystal will be investigates along with the thermal expansion coefficients. Lastly the quasi-harmonic approximation (QHA) and the molecular dynamics (MD) will be compared. &lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon-based model used to describe volume-dependent thermal effects. The harmonic phonon model assumes that all intermolecular forces are harmonic. This is not sufficient to describe thermal expansion as there is no change to the equilibrium bond length as temperature increases. The QHA takes into account that molecules do have an anharmonic effect at higher temperatures by treating frequencies as volume dependent. &lt;br /&gt;
&lt;br /&gt;
The MD approach allows a system to evolve in time according to Newton&#039;s second law &amp;lt;math&amp;gt;F=ma&amp;lt;/math&amp;gt;. The initial configurations and velocities are assigned to allow the program to iterate positions and velocities. The atoms follow trajectories and the properties, such as E and T, are computed as time averages of their behaviour.&lt;br /&gt;
&lt;br /&gt;
The programs used were RedHat Linux, DLVisulaize (DLV) and General Utility Lattice Program (GULP). DLV allows us to visualise the MgO crystals and GULP is used to perform simulations on materials using boundary conditions, in this case on a 3D lattice.&lt;br /&gt;
&lt;br /&gt;
== Internal Energy of MgO ==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:PC 1.png|left|thumb|300px|Figure 1. Primitive Cell of MgO]]&lt;br /&gt;
|[[File:CC .png|left|thumb|300px|Figure 2. Conventional Cell of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 1 shows the primitive unit cell of MgO. The primitive unit cell consists of 2 atoms Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; which are held together by a Buckingham repulsive potential. The unit cell has a rhombohedron shape with lattice constants of 2.9783 Å and an internal angle a = 60°. The primitive cell contains one lattice point and is the simplest cell to describe the crystal. A calculation was run on MgO. In the [https://wiki.ch.ic.ac.uk/wiki/images/e/e7/MgO_1_james.txt LogFile] GULF describes MgO using a primitive unit cell. The Cartesian lattice vectors of the cell are reported in table 1 and the total lattice energy was -41.07531759 eV which represents the energy to pull all the atom infinitely apart. The GULP calculation correlates with LCAO HF calculations found in literature (2.573 Å &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;). &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|-&lt;br /&gt;
|+ Table 1ː Cell Vector Dimensions/Å&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The conventional cell has four times the volume of the primitive cell as shown in figure 2. The structure of the cell is face centered cubic (FCC) which has an internal angel a = 90° and a lattice vector of 4.212 Å (which agrees with literature of 4.21 Å &amp;lt;ref name =&amp;quot;Ref 2&amp;quot; /&amp;gt;). The conventional cell is more representative of the crystal so is chosen in the calculations.&lt;br /&gt;
&lt;br /&gt;
==Computing the Phonon Dispersion Curves==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO Phonon Dispersion JOH.png|thumb|300px|Figure 3. Phonon Dispersion Graph of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The vibrational modes of the lattice were then computed. The phonon modes were displayed as a dispersion curve, as shown in figure 3. The phonon frequencies were calculated along a path in k-space. Special points along the path, &amp;lt;math&amp;gt;W, L, \Gamma, X, W, K&amp;lt;/math&amp;gt;, can be seen in figure 3. There are two phonos modes associated with each axis, acoustic (in-phase) and optical (out-of-phase) phonons. In the 3D model three axis (x,y,z) are taken into consideration meaning there are 6 phonon modes as shown by the six different curves in figure 3. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:K=0 JOH.png|thumb|300px|Figure 4. Acoustic and optical modes at k=0]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The relationship between the wavevector k to the wavelength &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) is &amp;lt;math&amp;gt;k= \frac{2\pi}{\lambda}&amp;lt;/math&amp;gt;. Furthermore the relationship between wavelength &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) and frequency is &amp;lt;math&amp;gt; v = \frac{c}{\lambda} &amp;lt;/math&amp;gt;. As shown in figure 4 when k=0, for the acoustic mode, the wavelength approaches infinity as all the atoms move in the same direction along the axis. As &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; approaches infinity, frequency will tend to 0. For the optical mode the frequency is non-zero. With this information it is clear that at k=0 the dispersion graph is at symmetry point &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; as this is the only point on the dispersion curve where phonon modes display a frequency of zero. &lt;br /&gt;
&lt;br /&gt;
Following the path from &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;, to &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and then to &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; the acoustic mode splits into 3 modes, two transverse modes (TA) and one longitude mode (LA). The two TA are degenerate between &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; until it splits between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Phonon Density of States (DOS)==&lt;br /&gt;
The next part involved calculating the phonon density of states. The DOS is defined as the number of states per energy at a given energy, in this case vibrational frequency. The larger the number of k values considered in reciprocal space the more accurate the DOS. This is achieved by increasing the grid size (nxnxn) to give a better representation of the crystal by sampling more k values in reciprocal space. However, at a certain point the difference between k values is negligible so does not further increase the accuracy of the DOS. Furthermore calculating an infinite number of k values would take an infinite amount of computing time.&lt;br /&gt;
&lt;br /&gt;
The DOS was calculated for a 1x1x1 grid by setting the shrinking value to 1 as shown in figure 5. The grid size was then increased to find the optimum shrinking value that gave a good representation of the DOS without taking too long to calculate as shown by figures 6 through 10. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo Phonon DOS JOH 111.png|thumb|300px|Figure 5. Phonon DOS of MgO using 1x1x1 grid size]]&lt;br /&gt;
|[[File:JOHphononDOS444.png|thumb|300px|Figure 6. Phonon DOS of MgO using 4x4x4 grid size]]&lt;br /&gt;
|[[File:JOHDOS888.png|thumb|300px|Figure 7. Phonon DOS of MgO using 8x8x8 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOHDOS161616.png|thumb|300px|Figure 8. Phonon DOS of MgO using 16x16x16 grid size]]&lt;br /&gt;
|[[File:JOHDOS323232.png|thumb|300px|Figure 9. Phonon DOS of MgO using 32x32x32 grid size]]&lt;br /&gt;
|[[File:JOHDOS50.png|thumb|300px|Figure 10. Phonon DOS of MgO using 50x50x50 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 5 shows the DOS for a 1x1x1 grid size. The four peaks 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 676 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 819 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; represent the four frequencies at point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. At symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;, by looking at figure 3, the two phonon modes at 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; are degenerate (as they go on to split in two curves between points &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;). This degeneracy is confirmed in the DOS graph in figure 5 as the intensity of the peaks around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; is around double that of the peaks around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is chosen as the k-value for a grid size of 1x1x1 as it is the most representative point in k-space for the DOS. This is shown visually from figures 5 to 10 as when the DOS becomes more accurate the main peak remains around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; with the smaller peak still remaining around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. There is a theorem about using the &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; point in reciprocal space for a 1x1x1 grid called Baldereschi theorem &amp;lt;ref name = &amp;quot;Ref 3&amp;quot;/&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The ideal grid size is one that represents the DOS without taking too long to calculate. From figure 8 onwards the shape of the curve does not change much, so it can be concluded that using a grid size of 16 is sufficient enough to gain a good understanding of the DOS without taking too long to calculate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:DOS dispersion JOH.png|thumb|400px|Figure 11. Comparing the dispersion curve with the DOS]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It is important to note the relationship between the dispersion curve and the DOS graph as shown in figure 11. The frequency in the phonon dispersion curve on the y axis is the same as the frequency on the DOS curve in the x-axis. It can be seen visually that the most popular states are around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The relationship between real space and reciprocal space is given by the formula &amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt; - a being the length in real space transformed to a* in reciprocal space. This shows that the larger the lattice constant a, the smaller the reciprocal cell. This is important to consider when assessing the DOS for other structures. Lithium has a lattice constant of 3.490 Å &amp;lt;ref name = &amp;quot;Ref 4&amp;quot;/&amp;gt; which is 0.721 Å lower that the conventional unit cell of MgO that is being modelled. Due to the inverse relationship of real to reciprocal space, lithium will have a larger cell in reciprocal space and therefore need a larger grid size in order to measure more k values to give an accurate DOS. Conversely Faujasite has a lattice constant of 24.7 Å &amp;lt;ref name = &amp;quot;Ref 5&amp;quot; /&amp;gt; which will give a much smaller cell in reciprocal space meaning that a smaller grid size would give an accurate measurement of the DOS as there are fewer k values needed to measure the cell. CaO has a very similar lattice constant to MgO meaning that a similar grid size would be needed to accurately measure the DOS - in this case a grid size of 16x16x16 would be sufficient.&lt;br /&gt;
&lt;br /&gt;
==Computing the Free Energy==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Table 2ː Energy vs Grid size&lt;br /&gt;
! Grid Size nxnxn/n&lt;br /&gt;
! Free Energy/eV&lt;br /&gt;
! Accuracy/ meV&lt;br /&gt;
! Log file&lt;br /&gt;
! rowspan=&amp;quot;9&amp;quot;|[[File:JOH Free energy vs grid size.png|thumb|400px|]]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| -40.930301&lt;br /&gt;
| 4&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/1/12/JOH_fe_MgO_111.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| -40.926609&lt;br /&gt;
| 0.2&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/aa/JOH_fe_MgO_222.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -40.926432&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4d/JOH_fe_MgO_333.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -40.926450&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/40/JOH_fe_MgO_444.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -40.926478&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/7/70/JOH_fe_MgO_888.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -40.926482&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4f/JOH_fe_MgO_16.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/ac/JOH_fe_MgO_32.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 50&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [[Media:JOH_fe_MgO_50.txt.zip|log file]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Table 2 displays the free energies of MgO as a function of grid size n. Similar to finding the ideal grid size to calculate the DOS, the optimal grid size to calculate the free energy can be found in table 2. As the grid size increases from 1 to 3 there is a sharp increase in the free energy from -40.930301 eV to -40.926432 eV, afterwards the free energy eventually converges at -40.926483 eV. From a grid size of 4 onwards the degree of accuracy is greater that 0.1 meV. There is no change in free energy from a grid size of 32 to 50 suggesting that a grid size of 32 is all that is needed to precisely determine the free energy of MgO. &lt;br /&gt;
&lt;br /&gt;
The graph in table 2 can be rationalised by the equation for the Helmholtz free energy - &amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A is the Helmholtz fee energy, U is the internal energy, T is temperature and S is entropy. As the grid size increases, the volume increases so the internal energy decreases (&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt;). This in turn means that the Helmholtz free energy would decrease.&lt;br /&gt;
&lt;br /&gt;
Furthermore as the number of microstates sampled increases the entropy term will increase according to the relationship &amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt;. This in turn means that the free energy will be lowered. By considering these two factors the decrease in free energy can be rationalised.&lt;br /&gt;
&lt;br /&gt;
==Thermal Expansion of MgO==&lt;br /&gt;
The structure of MgO will be optimised with respect to the free energy at different temperatures (0 - 1000 K in steps of 100 K). The free energy will be computed using the quasi-harmonic approximation (QHA) which uses the following expression: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
*&amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; = frequency of the vibration &lt;br /&gt;
*&amp;lt;math&amp;gt;E_{0}&amp;lt;/math&amp;gt; = zero point energy &lt;br /&gt;
*&amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; = Temperature&lt;br /&gt;
*&amp;lt;math&amp;gt;k_B&amp;lt;/math&amp;gt; = Boltzmann Constant &lt;br /&gt;
*&amp;lt;math&amp;gt;\hbar&amp;lt;/math&amp;gt; = reduced Planck&#039;s constant. &lt;br /&gt;
&lt;br /&gt;
The equations is split into three parts - the zero point energy and the harmonic and entropic contribution.&lt;br /&gt;
&lt;br /&gt;
In addition the coefficients of thermal expansion was calculated. Thermal expansion is the tendency for matter to change in response to temperature, due to heat transfer. The coefficient of thermal expansion describes how the size of an object changes with temperature. The larger the coefficient the greater the change in size as temperature increases. Several coefficients have been developed and the two that we will look at are the linear and volumetric thermal expansion. The generic equation is as follows:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\alpha_x = \frac{1}{x}\,\left(\frac{\partial x}{\partial T}\right)_p&lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* α&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt; = thermal expansion coefficient&lt;br /&gt;
* x = initial dimension &lt;br /&gt;
* ∂x = the partial derivative of the dimension under study &lt;br /&gt;
* ∂T = partial derivative of temperature &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy vs temp.png|thumb|400px|Figure 12. Free Energy dependence on Temperature for the QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH lattice constant vs temp.png|thumb|400px|Figure 13. Lattice Constant dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|[[File:JOH LV temp.png|thumb|400px|Figure 14. Lattice Volume dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 12 shows that as temperature increases the free energy becomes more negative. This can be rationalised with the derivation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; G = H - TS &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Plug in &amp;lt;math&amp;gt;H = U + PV&amp;lt;/math&amp;gt; to get  &amp;lt;math&amp;gt;G = U + PV - TS&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dG = dU + PdV + VdP - TdS - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = q + w &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dq = TdS &amp;lt;/math&amp;gt; &amp;lt;math&amp;gt; dw = -PdV &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \therefore dG = VdP - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This implies that both the volume and the entropic factor contribute to the free energy. As the temperature increases the volume will increase, however the entropic factor will overcome this due to large change in temperature. This explains the trend observed in figure 12. &lt;br /&gt;
&lt;br /&gt;
We would expect a linear negative decrease - &amp;lt;math&amp;gt; \left( \frac{\partial G}{\partial T} \right)_P = -S &amp;lt;/math&amp;gt;. However figure 12 shows that the trend is a curve, the free energy becomes more negative at an increasing rate, suggesting that the pressure may not be constant.&lt;br /&gt;
&lt;br /&gt;
The trend could also be explained using the Helmoholtz free energy equation used in the QHA. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The entropic contribution in the equation has a large dependence on temperature and therefore as temperature increases the entropic contribution becomes more negative. This is due to the exponential factor in the entropic contribution. This results in the Helmholtz becoming more negative.  &lt;br /&gt;
&lt;br /&gt;
===Calculating the Thermal expansion coefficients===&lt;br /&gt;
Figure 13 and 12 show how the lattice constant and volume change with temperature. Both graphs initially increase gradually and after 400 K show a near perfect linear trend. The trend in both graphs shows strong correlation with R&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; values close to one. By taking the gradient of these trend lines the thermal expansion coefficients can be calculated:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Linear Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{1}{L} \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{0.00002342}{2.986563} = 7.7815\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
L = the initial lattice constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 13&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Volumetric Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V} \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{0.00044612}{18.836496} = 2.3684\times 10^{-5}&amp;lt;/math&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
V = the initial volume constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 14&lt;br /&gt;
&lt;br /&gt;
For isotropic materials the volumetric coefficient is three times larger that then linear coefficient - 3&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;. For MgO &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt; is practically three times larger than &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; (3.04&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;) implying that MgO is an isotropic material &amp;lt;ref name=&amp;quot;Ref 6&amp;quot;/&amp;gt;, in other words lattice constants a, b and c expand at equal rates. At 200 K the L value increases to 2.987604 Å resulting in &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;7.839\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; which is close to the literature value of &amp;lt;math&amp;gt;7.39\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The main approximation with the QHA occurs at higher temperatures. This is because at higher temperatures the lattice experiences a larger anharmonic effect due to a larger deviation from bond equilibrium as more energy is put into the bond. Furthermore as anharmonicity comes from scattered phonons interacting due to lattice defect, this effect will be accentuated as lattice vibration gain more energy. The QHA simplifies the anharmonic effect by letting the phonon frequencies become volume dependent so therefore is unable to model the anharmonic effect well. The born-oppenheimer approximation would become less valid at larger temperatures as the motion of nuclei becomes more important. So as the temperature reaches melting point the phonon modes would not represent the motion of the ions well. &lt;br /&gt;
&lt;br /&gt;
Lastly in a diatomic molecule with an exact harmonic potential as the temperature increases there would be no change in equilibrium bond length as the parabolic function is symmetric. Instead the maximum and minimum bond lengths would increase or in other words a larger amplitude would be reached.&lt;br /&gt;
&lt;br /&gt;
== Molecular Dynamics ==&lt;br /&gt;
The crystal was then studied using Molecular Dynamics. In the previous investigations MgO has been described using a primitive cell containing a single MgO unit. Running an MD would not produce meaningful data as every cell would move perfectly in phase. By increasing the size of the cell the MD would become more accurate but become more computationally expensive so a compromise is reached for a cell containing 32 MgO units. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy temperature QHA MD.png|thumb|400px|Figure 15. Free Energy vs Temperature for MD compared to QHA]]&lt;br /&gt;
|[[File:JOHlatticeQHAMD2.png|thumb|400px|Figure 16. Lattice Constant vs Temperature for MD compared to QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics allows a system to evolve in time according to Newton&#039;s second law F=ma. As the system is treated classically energy can be modelled by the equipartition principle, &amp;lt;math&amp;gt;E = \frac{3}{2} k_B T&amp;lt;/math&amp;gt;, and as such the energy will increase linearly with temperature. In comparison QHA follows the relationship &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
This mean that the energy should decrease with temperature. Both the free energy modelled by MD and QHA can be seen in figure 15. &lt;br /&gt;
&lt;br /&gt;
Looking at figure 16 the MD and the QHA are similar between 400-1000 K, thus the volumetric expansion coefficients would be similar:&lt;br /&gt;
*MD - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; = 3.06 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
*QHA - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;  = 2.89 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
This similarity in data strengthens the reliability of the volumetric expansion coefficients between 400 - 1000 K. However, below 400 K the QHA begins to break from a linear trend and curve towards 18.84 Å&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt; whereas the MD follows the linear trend. At lower trends the anharmonic effect is not as prevalent so the QHA is a better model for the lattice constant at lower temperatures. The MD model does not accurately show how the free energy changes at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
===Limitation===&lt;br /&gt;
&lt;br /&gt;
Overall both QHA and MD models have their limitations. &lt;br /&gt;
&lt;br /&gt;
The atoms are modelled using a classical approach or in other words atoms are modelled as hard charged spheres. So the quantum mechanical contributions cannot be taken into account. This will reduced the accuracy of the models &lt;br /&gt;
&lt;br /&gt;
Furthermore, the models do not consider long-range interactions, only interactions of atoms relatively close. In a realistic crystal there will be interactions outside the nearest neighbours albeit small interactions. Thus slight inaccuracy in the models is seen. &lt;br /&gt;
&lt;br /&gt;
For both models it can be assumed that the trends can be extrapolated until the melting point of MgO is reached, as upon melting a change in volume occurs. Furthermore liquid MgO has no structured order so cannot be described by a repeated unit cell. &lt;br /&gt;
&lt;br /&gt;
In the QHA the interactions between atoms of different unit cells was not taken into consideration. There would be an energy increase if there was overlap between atoms in different cells.&lt;br /&gt;
&lt;br /&gt;
For these MD calculations, as only a small number of atoms were considered it was reasonable to use a time step of 1.0 femtoseconds. However, when considering a much larger system, say for example a protein, then this would become computationally expensive.&lt;br /&gt;
&lt;br /&gt;
==Conclusion== &lt;br /&gt;
The experiment showed the thermal expansion of MgO, the phonon dispersion and the DOS. Comparisons between the QHA and the MD were made, both approaches giving reasonable thermal expansion coefficients between 400-1000 K. At lower temperatures the QHA was a better model, due to the reduction in anharmonic effects.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 1&amp;quot; &amp;gt; O. Madelung, U. Rössler and M. Schulz, Eds., II-VI and I-VII compounds; Semimagnetic compounds, Springer-Verlag, 1999. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 2&amp;quot; &amp;gt; A. CIMINO, P. PORTA and M. VALIGI, Journal of the American Ceramic Society, 1966, 49, 152–156. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 3&amp;quot;&amp;gt; A. Baldereschi, Physical Review B, 1973, 7, 5212–5215. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 4&amp;quot; &amp;gt; E. J. Covington and D. J. Montgomery, J. Appl. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys, 2010, 27, 1030–53111. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 5&amp;quot; &amp;gt; J. A. Kaduk and J. Faber, The Rigaku journal 14 CRYSTAL STRUCTURE OF ZEOLITE Y AS A FUNCTION OF ION EXCHANGE, 1995. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 6&amp;quot; &amp;gt; J.R. Vinson, Plate and Panel structures of Isotropic, Composite and Piezoelectric Materials, including Sandwich Construction. Delaware; Springer; 2005. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Appendix==&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo phonon DOS 222 JOH.png|thumb|300px|Figure 1. Phonon DOS of MgO using 2x2x2 grid size]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Jo1213</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553509</id>
		<title>Rep:Mod:JOH95MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553509"/>
		<updated>2016-03-11T11:14:35Z</updated>

		<summary type="html">&lt;p&gt;Jo1213: /* Thermal Expansion of MgO */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
The experiment will investigate the properties of an MgO crystal. Firstly the dimensions of the unit cells will be investigated along with the associated energy. Then the phonon dispersion and DOS will be investigated, evaluating the optimal grid size to use. The energies of the crystal will be investigates along with the thermal expansion coefficients. Lastly the quasi-harmonic approximation (QHA) and the molecular dynamics (MD) will be compared. &lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon-based model used to describe volume-dependent thermal effects. The harmonic phonon model assumes that all intermolecular forces are harmonic. This is not sufficient to describe thermal expansion as there is no change to the equilibrium bond length as temperature increases. The QHA takes into account that molecules do have an anharmonic effect at higher temperatures by treating frequencies as volume dependent. &lt;br /&gt;
&lt;br /&gt;
The MD approach allows a system to evolve in time according to Newton&#039;s second law &amp;lt;math&amp;gt;F=ma&amp;lt;/math&amp;gt;. The initial configurations and velocities are assigned to allow the program to iterate positions and velocities. The atoms follow trajectories and the properties, such as E and T, are computed as time averages of their behaviour.&lt;br /&gt;
&lt;br /&gt;
The programs used were RedHat Linux, DLVisulaize (DLV) and General Utility Lattice Program (GULP). DLV allows us to visualise the MgO crystals and GULP is used to perform simulations on materials using boundary conditions, in this case on a 3D lattice.&lt;br /&gt;
&lt;br /&gt;
== Internal Energy of MgO ==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:PC 1.png|left|thumb|300px|Figure 1. Primitive Cell of MgO]]&lt;br /&gt;
|[[File:CC .png|left|thumb|300px|Figure 2. Conventional Cell of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 1 shows the primitive unit cell of MgO. The primitive unit cell consists of 2 atoms Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; which are held together by a Buckingham repulsive potential. The unit cell has a rhombohedron shape with lattice constants of 2.9783 Å and an internal angle a = 60°. The primitive cell contains one lattice point and is the simplest cell to describe the crystal. A calculation was run on MgO. In the [https://wiki.ch.ic.ac.uk/wiki/images/e/e7/MgO_1_james.txt LogFile] GULF describes MgO using a primitive unit cell. The Cartesian lattice vectors of the cell are reported in table 1 and the total lattice energy was -41.07531759 eV which represents the energy to pull all the atom infinitely apart. The GULP calculation correlates with LCAO HF calculations found in literature (2.573 Å &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;). &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|-&lt;br /&gt;
|+ Table 1ː Cell Vector Dimensions/Å&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The conventional cell has four times the volume of the primitive cell as shown in figure 2. The structure of the cell is face centered cubic (FCC) which has an internal angel a = 90° and a lattice vector of 4.212 Å (which agrees with literature of 4.21 Å &amp;lt;ref name =&amp;quot;Ref 2&amp;quot; /&amp;gt;). The conventional cell is more representative of the crystal so is chosen in the calculations.&lt;br /&gt;
&lt;br /&gt;
==Computing the Phonon Dispersion Curves==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO Phonon Dispersion JOH.png|thumb|300px|Figure 3. Phonon Dispersion Graph of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The vibrational modes of the lattice were then computed. The phonon modes were displayed as a dispersion curve, as shown in figure 3. The phonon frequencies were calculated along a path in k-space. Special points along the path, &amp;lt;math&amp;gt;W, L, \Gamma, X, W, K&amp;lt;/math&amp;gt;, can be seen in figure 3. There are two phonos modes associated with each axis, acoustic (in-phase) and optical (out-of-phase) phonons. In the 3D model three axis (x,y,z) are taken into consideration meaning there are 6 phonon modes as shown by the six different curves in figure 3. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:K=0 JOH.png|thumb|300px|Figure 4. Acoustic and optical modes at k=0]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The relationship between the wavevector k to the wavelength &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) is &amp;lt;math&amp;gt;k= \frac{2\pi}{\lambda}&amp;lt;/math&amp;gt;. Furthermore the relationship between wavelength &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) and frequency is &amp;lt;math&amp;gt; v = \frac{c}{\lambda} &amp;lt;/math&amp;gt;. As shown in figure 4 when k=0, for the acoustic mode, the wavelength approaches infinity as all the atoms move in the same direction along the axis. As &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; approaches infinity, frequency will tend to 0. For the optical mode the frequency is non-zero. With this information it is clear that at k=0 the dispersion graph is at symmetry point &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; as this is the only point on the dispersion curve where phonon modes display a frequency of zero. &lt;br /&gt;
&lt;br /&gt;
Following the path from &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;, to &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and then to &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; the acoustic mode splits into 3 modes, two transverse modes (TA) and one longitude mode (LA). The two TA are degenerate between &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; until it splits between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Phonon Density of States (DOS)==&lt;br /&gt;
The next part involved calculating the phonon density of states. The DOS is defined as the number of states per energy at a given energy, in this case vibrational frequency. The larger the number of k values considered in reciprocal space the more accurate the DOS. This is achieved by increasing the grid size (nxnxn) to give a better representation of the crystal by sampling more k values in reciprocal space. However, at a certain point the difference between k values is negligible so does not further increase the accuracy of the DOS. Furthermore calculating an infinite number of k values would take an infinite amount of computing time.&lt;br /&gt;
&lt;br /&gt;
The DOS was calculated for a 1x1x1 grid by setting the shrinking value to 1 as shown in figure 5. The grid size was then increased to find the optimum shrinking value that gave a good representation of the DOS without taking too long to calculate as shown by figures 6 through 10. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo Phonon DOS JOH 111.png|thumb|300px|Figure 5. Phonon DOS of MgO using 1x1x1 grid size]]&lt;br /&gt;
|[[File:JOHphononDOS444.png|thumb|300px|Figure 6. Phonon DOS of MgO using 4x4x4 grid size]]&lt;br /&gt;
|[[File:JOHDOS888.png|thumb|300px|Figure 7. Phonon DOS of MgO using 8x8x8 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOHDOS161616.png|thumb|300px|Figure 8. Phonon DOS of MgO using 16x16x16 grid size]]&lt;br /&gt;
|[[File:JOHDOS323232.png|thumb|300px|Figure 9. Phonon DOS of MgO using 32x32x32 grid size]]&lt;br /&gt;
|[[File:JOHDOS50.png|thumb|300px|Figure 10. Phonon DOS of MgO using 50x50x50 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 5 shows the DOS for a 1x1x1 grid size. The four peaks 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 676 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 819 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; represent the four frequencies at point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. At symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;, by looking at figure 3, the two phonon modes at 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; are degenerate (as they go on to split in two curves between points &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;). This degeneracy is confirmed in the DOS graph in figure 5 as the intensity of the peaks around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; is around double that of the peaks around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is chosen as the k-value for a grid size of 1x1x1 as it is the most representative point in k-space for the DOS. This is shown visually from figures 5 to 10 as when the DOS becomes more accurate the main peak remains around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; with the smaller peak still remaining around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. There is a theorem about using the &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; point in reciprocal space for a 1x1x1 grid called Baldereschi theorem &amp;lt;ref name = &amp;quot;Ref 3&amp;quot;/&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The ideal grid size is one that represents the DOS without taking too long to calculate. From figure 8 onwards the shape of the curve does not change much, so it can be concluded that using a grid size of 16 is sufficient enough to gain a good understanding of the DOS without taking too long to calculate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:DOS dispersion JOH.png|thumb|400px|Figure 11. Comparing the dispersion curve with the DOS]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It is important to note the relationship between the dispersion curve and the DOS graph as shown in figure 11. The frequency in the phonon dispersion curve on the y axis is the same as the frequency on the DOS curve in the x-axis. It can be seen visually that the most popular states are around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The relationship between real space and reciprocal space is given by the formula &amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt; - a being the length in real space transformed to a* in reciprocal space. This shows that the larger the lattice constant a, the smaller the reciprocal cell. This is important to consider when assessing the DOS for other structures. Lithium has a lattice constant of 3.490 Å &amp;lt;ref name = &amp;quot;Ref 4&amp;quot;/&amp;gt; which is 0.721 Å lower that the conventional unit cell of MgO that is being modelled. Due to the inverse relationship of real to reciprocal space, lithium will have a larger cell in reciprocal space and therefore need a larger grid size in order to measure more k values to give an accurate DOS. Conversely Faujasite has a lattice constant of 24.7 Å &amp;lt;ref name = &amp;quot;Ref 5&amp;quot; /&amp;gt; which will give a much smaller cell in reciprocal space meaning that a smaller grid size would give an accurate measurement of the DOS as there are fewer k values needed to measure the cell. CaO has a very similar lattice constant to MgO meaning that a similar grid size would be needed to accurately measure the DOS - in this case a grid size of 16x16x16 would be sufficient.&lt;br /&gt;
&lt;br /&gt;
==Computing the Free Energy==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Table 2ː Energy vs Grid size&lt;br /&gt;
! Grid Size nxnxn/n&lt;br /&gt;
! Free Energy/eV&lt;br /&gt;
! Accuracy/ meV&lt;br /&gt;
! Log file&lt;br /&gt;
! rowspan=&amp;quot;9&amp;quot;|[[File:JOH Free energy vs grid size.png|thumb|400px|]]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| -40.930301&lt;br /&gt;
| 4&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/1/12/JOH_fe_MgO_111.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| -40.926609&lt;br /&gt;
| 0.2&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/aa/JOH_fe_MgO_222.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -40.926432&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4d/JOH_fe_MgO_333.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -40.926450&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/40/JOH_fe_MgO_444.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -40.926478&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/7/70/JOH_fe_MgO_888.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -40.926482&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4f/JOH_fe_MgO_16.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/ac/JOH_fe_MgO_32.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 50&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [[Media:JOH_fe_MgO_50.txt.zip|log file]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Table 2 displays the free energies of MgO as a function of grid size n. Similar to finding the ideal grid size to calculate the DOS, the optimal grid size to calculate the free energy can be found in table 2. As the grid size increases from 1 to 3 there is a sharp increase in the free energy from -40.930301 eV to -40.926432 eV, afterwards the free energy eventually converges at -40.926483 eV. From a grid size of 4 onwards the degree of accuracy is greater that 0.1 meV. There is no change in free energy from a grid size of 32 to 50 suggesting that a grid size of 32 is all that is needed to precisely determine the free energy of MgO. &lt;br /&gt;
&lt;br /&gt;
The graph in table 2 can be rationalised by the equation for the Helmholtz free energy - &amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A is the Helmholtz fee energy, U is the internal energy, T is temperature and S is entropy. As the grid size increases, the volume increases so the internal energy decreases (&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt;). This in turn means that the Helmholtz free energy would decrease.&lt;br /&gt;
&lt;br /&gt;
Furthermore as the number of microstates sampled increases the entropy term will increase according to the relationship &amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt;. This in turn means that the free energy will be lowered. By considering these two factors the decrease in free energy can be rationalised.&lt;br /&gt;
&lt;br /&gt;
==Thermal Expansion of MgO==&lt;br /&gt;
The structure of MgO will be optimised with respect to the free energy at different temperatures (0 - 1000 K in steps of 100 K). The free energy will be computed using the quasi-harmonic approximation (QHA) which uses the following expression: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
*&amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; = frequency of the vibration &lt;br /&gt;
*&amp;lt;math&amp;gt;E_{0}&amp;lt;/math&amp;gt; = zero point energy &lt;br /&gt;
*&amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; = Temperature&lt;br /&gt;
*&amp;lt;math&amp;gt;k_B&amp;lt;/math&amp;gt; = Boltzmann Constant &lt;br /&gt;
*&amp;lt;math&amp;gt;\hbar&amp;lt;/math&amp;gt; = reduced Planck&#039;s constant. &lt;br /&gt;
&lt;br /&gt;
The equations is split into three parts - the zero point energy and the harmonic and entropic contribution.&lt;br /&gt;
&lt;br /&gt;
In addition the coefficients of thermal expansion was calculated. Thermal expansion is the tendency for matter to change in response to temperature, due to heat transfer. The coefficient of thermal expansion describes how the size of an object changes with temperature. The larger the coefficient the greater the change in size as temperature increases. Several coefficients have been developed and the two that we will look at are the linear and volumetric thermal expansion. The generic equation is as follows:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\alpha_x = \frac{1}{x}\,\left(\frac{\partial x}{\partial T}\right)_p&lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* α&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt; = thermal expansion coefficient&lt;br /&gt;
* x = initial dimension &lt;br /&gt;
* ∂x = the partial derivative of the dimension under study &lt;br /&gt;
* ∂T = partial derivative of temperature &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy vs temp.png|thumb|400px|Figure 12. Free Energy dependence on Temperature for the QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH lattice constant vs temp.png|thumb|400px|Figure 13. Lattice Constant dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|[[File:JOH LV temp.png|thumb|400px|Figure 14. Lattice Volume dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 12 shows that as temperature increases the free energy becomes more negative. This can be rationalised with the derivation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; G = H - TS &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Plug in &amp;lt;math&amp;gt;H = U + PV&amp;lt;/math&amp;gt; to get  &amp;lt;math&amp;gt;G = U + PV - TS&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dG = dU + PdV + VdP - TdS - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = q + w &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dq = TdS &amp;lt;/math&amp;gt; &amp;lt;math&amp;gt; dw = -PdV &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \therefore dG = VdP - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This implies that both the volume and the entropic factor contribute to the free energy. As the temperature increases the volume will increase, however the entropic factor will overcome this due to large change in temperature. This explains the trend observed in figure 12. &lt;br /&gt;
&lt;br /&gt;
We would expect a linear negative decrease - &amp;lt;math&amp;gt; \left( \frac{\partial G}{\partial T} \right)_P = -S &amp;lt;/math&amp;gt;. However figure 12 shows that the trend is a curve, the free energy becomes more negative at an increasing rate, suggesting that the pressure may not be constant.&lt;br /&gt;
&lt;br /&gt;
The trend could also be explained using the Helmoholtz free energy equation used in the QHA. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The entropic contribution in the equation has a large dependence on temperature and therefore as temperature increases the entropic contribution becomes more negative. This is due to the exponential factor in the entropic contribution. This results in the Helmholtz becoming more negative.  &lt;br /&gt;
&lt;br /&gt;
===Calculating the Thermal expansion coefficients===&lt;br /&gt;
Figure 13 and 12 show how the lattice constant and volume change with temperature. Both graphs initially increase gradually and after 400 K show a nearly perfect linear trend. The trend in both graphs shows strong correlation with R&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; values close to one. By taking the gradient of these trend lines the thermal expansion coefficients can be calculated:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Linear Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{1}{L} \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{0.00002342}{2.986563} = 7.7815\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
L = the initial lattice constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 13&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Volumetric Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V} \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{0.00044612}{18.836496} = 2.3684\times 10^{-5}&amp;lt;/math&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
V = the initial volume constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 14&lt;br /&gt;
&lt;br /&gt;
For isotropic materials the volumetric coefficient is three times larger that then linear coefficient - 3&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;. For MgO &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt; is practically three times larger than &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; (3.04&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;) implying that MgO is an isotropic material &amp;lt;ref name=&amp;quot;Ref 6&amp;quot;/&amp;gt;, in other words lattice constants a, b and c expand at equal rates. At 200 K the L value increases to 2.987604 Å resulting in &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;7.839\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; which is close to the literature value of &amp;lt;math&amp;gt;7.39\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The main approximation with the QHA occurs at higher temperatures. This is because at higher temperatures the lattice experiences a larger anharmonic effect due to a larger deviation from bond equilibrium as more energy is put into the bond. Furthermore as anharmonicity comes from scattered phonons interacting due to lattice defect, this effect will be accentuated as lattice vibration gain more energy. The QHA simplifies the anharmonic effect by letting the phonon frequencies become volume dependent so therefore is unable to model the anharmonic effect well. The born-oppenheimer approximation would become less valid at larger temperatures as the motion of nuclei becomes more important. So as the temperature reaches melting point the phonon modes would not represent the motion of the ions well. &lt;br /&gt;
&lt;br /&gt;
Lastly in a diatomic molecule with an exact harmonic potential as the temperature increases there would be no change in equilibrium bond length as the parabolic function is symmetric. Instead the maximum and minimum bond lengths would increase or in other words a larger amplitude would be reached.&lt;br /&gt;
&lt;br /&gt;
== Molecular Dynamics ==&lt;br /&gt;
The crystal was then studied using Molecular Dynamics. In the previous investigations MgO has been described using a primitive cell containing a single MgO unit. Running an MD would not produce meaningful data as every cell would move perfectly in phase. By increasing the size of the cell the MD would become more accurate but become more computationally expensive so a compromise is reached for a cell containing 32 MgO units. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy temperature QHA MD.png|thumb|400px|Figure 15. Free Energy vs Temperature for MD compared to QHA]]&lt;br /&gt;
|[[File:JOHlatticeQHAMD2.png|thumb|400px|Figure 16. Lattice Constant vs Temperature for MD compared to QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics allows a system to evolve in time according to Newton&#039;s second law F=ma. As the system is treated classically energy can be modelled by the equipartition principle, &amp;lt;math&amp;gt;E = \frac{3}{2} k_B T&amp;lt;/math&amp;gt;, and as such the energy will increase linearly with temperature. In comparison QHA follows the relationship &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
This mean that the energy should decrease with temperature. Both the free energy modelled by MD and QHA can be seen in figure 15. &lt;br /&gt;
&lt;br /&gt;
Looking at figure 16 the MD and the QHA are similar between 400-1000 K, thus the volumetric expansion coefficients would be similar:&lt;br /&gt;
*MD - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; = 3.06 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
*QHA - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;  = 2.89 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
This similarity in data strengthens the reliability of the volumetric expansion coefficients between 400 - 1000 K. However, below 400 K the QHA begins to break from a linear trend and curve towards 18.84 Å&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt; whereas the MD follows the linear trend. At lower trends the anharmonic effect is not as prevalent so the QHA is a better model for the lattice constant at lower temperatures. The MD model does not accurately show how the free energy changes at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
===Limitation===&lt;br /&gt;
&lt;br /&gt;
Overall both QHA and MD models have their limitations. &lt;br /&gt;
&lt;br /&gt;
The atoms are modelled using a classical approach or in other words atoms are modelled as hard charged spheres. So the quantum mechanical contributions cannot be taken into account. This will reduced the accuracy of the models &lt;br /&gt;
&lt;br /&gt;
Furthermore, the models do not consider long-range interactions, only interactions of atoms relatively close. In a realistic crystal there will be interactions outside the nearest neighbours albeit small interactions. Thus slight inaccuracy in the models is seen. &lt;br /&gt;
&lt;br /&gt;
For both models it can be assumed that the trends can be extrapolated until the melting point of MgO is reached, as upon melting a change in volume occurs. Furthermore liquid MgO has no structured order so cannot be described by a repeated unit cell. &lt;br /&gt;
&lt;br /&gt;
In the QHA the interactions between atoms of different unit cells was not taken into consideration. There would be an energy increase if there was overlap between atoms in different cells.&lt;br /&gt;
&lt;br /&gt;
For these MD calculations, as only a small number of atoms were considered it was reasonable to use a time step of 1.0 femtoseconds. However, when considering a much larger system, say for example a protein, then this would become computationally expensive.&lt;br /&gt;
&lt;br /&gt;
==Conclusion== &lt;br /&gt;
The experiment showed the thermal expansion of MgO, the phonon dispersion and the DOS. Comparisons between the QHA and the MD were made, both approaches giving reasonable thermal expansion coefficients between 400-1000 K. At lower temperatures the QHA was a better model, due to the reduction in anharmonic effects.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 1&amp;quot; &amp;gt; O. Madelung, U. Rössler and M. Schulz, Eds., II-VI and I-VII compounds; Semimagnetic compounds, Springer-Verlag, 1999. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 2&amp;quot; &amp;gt; A. CIMINO, P. PORTA and M. VALIGI, Journal of the American Ceramic Society, 1966, 49, 152–156. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 3&amp;quot;&amp;gt; A. Baldereschi, Physical Review B, 1973, 7, 5212–5215. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 4&amp;quot; &amp;gt; E. J. Covington and D. J. Montgomery, J. Appl. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys, 2010, 27, 1030–53111. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 5&amp;quot; &amp;gt; J. A. Kaduk and J. Faber, The Rigaku journal 14 CRYSTAL STRUCTURE OF ZEOLITE Y AS A FUNCTION OF ION EXCHANGE, 1995. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 6&amp;quot; &amp;gt; J.R. Vinson, Plate and Panel structures of Isotropic, Composite and Piezoelectric Materials, including Sandwich Construction. Delaware; Springer; 2005. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Appendix==&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo phonon DOS 222 JOH.png|thumb|300px|Figure 1. Phonon DOS of MgO using 2x2x2 grid size]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Jo1213</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553506</id>
		<title>Rep:Mod:JOH95MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553506"/>
		<updated>2016-03-11T11:12:35Z</updated>

		<summary type="html">&lt;p&gt;Jo1213: /* Computing the Free Energy */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
The experiment will investigate the properties of an MgO crystal. Firstly the dimensions of the unit cells will be investigated along with the associated energy. Then the phonon dispersion and DOS will be investigated, evaluating the optimal grid size to use. The energies of the crystal will be investigates along with the thermal expansion coefficients. Lastly the quasi-harmonic approximation (QHA) and the molecular dynamics (MD) will be compared. &lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon-based model used to describe volume-dependent thermal effects. The harmonic phonon model assumes that all intermolecular forces are harmonic. This is not sufficient to describe thermal expansion as there is no change to the equilibrium bond length as temperature increases. The QHA takes into account that molecules do have an anharmonic effect at higher temperatures by treating frequencies as volume dependent. &lt;br /&gt;
&lt;br /&gt;
The MD approach allows a system to evolve in time according to Newton&#039;s second law &amp;lt;math&amp;gt;F=ma&amp;lt;/math&amp;gt;. The initial configurations and velocities are assigned to allow the program to iterate positions and velocities. The atoms follow trajectories and the properties, such as E and T, are computed as time averages of their behaviour.&lt;br /&gt;
&lt;br /&gt;
The programs used were RedHat Linux, DLVisulaize (DLV) and General Utility Lattice Program (GULP). DLV allows us to visualise the MgO crystals and GULP is used to perform simulations on materials using boundary conditions, in this case on a 3D lattice.&lt;br /&gt;
&lt;br /&gt;
== Internal Energy of MgO ==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:PC 1.png|left|thumb|300px|Figure 1. Primitive Cell of MgO]]&lt;br /&gt;
|[[File:CC .png|left|thumb|300px|Figure 2. Conventional Cell of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 1 shows the primitive unit cell of MgO. The primitive unit cell consists of 2 atoms Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; which are held together by a Buckingham repulsive potential. The unit cell has a rhombohedron shape with lattice constants of 2.9783 Å and an internal angle a = 60°. The primitive cell contains one lattice point and is the simplest cell to describe the crystal. A calculation was run on MgO. In the [https://wiki.ch.ic.ac.uk/wiki/images/e/e7/MgO_1_james.txt LogFile] GULF describes MgO using a primitive unit cell. The Cartesian lattice vectors of the cell are reported in table 1 and the total lattice energy was -41.07531759 eV which represents the energy to pull all the atom infinitely apart. The GULP calculation correlates with LCAO HF calculations found in literature (2.573 Å &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;). &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|-&lt;br /&gt;
|+ Table 1ː Cell Vector Dimensions/Å&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The conventional cell has four times the volume of the primitive cell as shown in figure 2. The structure of the cell is face centered cubic (FCC) which has an internal angel a = 90° and a lattice vector of 4.212 Å (which agrees with literature of 4.21 Å &amp;lt;ref name =&amp;quot;Ref 2&amp;quot; /&amp;gt;). The conventional cell is more representative of the crystal so is chosen in the calculations.&lt;br /&gt;
&lt;br /&gt;
==Computing the Phonon Dispersion Curves==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO Phonon Dispersion JOH.png|thumb|300px|Figure 3. Phonon Dispersion Graph of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The vibrational modes of the lattice were then computed. The phonon modes were displayed as a dispersion curve, as shown in figure 3. The phonon frequencies were calculated along a path in k-space. Special points along the path, &amp;lt;math&amp;gt;W, L, \Gamma, X, W, K&amp;lt;/math&amp;gt;, can be seen in figure 3. There are two phonos modes associated with each axis, acoustic (in-phase) and optical (out-of-phase) phonons. In the 3D model three axis (x,y,z) are taken into consideration meaning there are 6 phonon modes as shown by the six different curves in figure 3. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:K=0 JOH.png|thumb|300px|Figure 4. Acoustic and optical modes at k=0]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The relationship between the wavevector k to the wavelength &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) is &amp;lt;math&amp;gt;k= \frac{2\pi}{\lambda}&amp;lt;/math&amp;gt;. Furthermore the relationship between wavelength &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) and frequency is &amp;lt;math&amp;gt; v = \frac{c}{\lambda} &amp;lt;/math&amp;gt;. As shown in figure 4 when k=0, for the acoustic mode, the wavelength approaches infinity as all the atoms move in the same direction along the axis. As &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; approaches infinity, frequency will tend to 0. For the optical mode the frequency is non-zero. With this information it is clear that at k=0 the dispersion graph is at symmetry point &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; as this is the only point on the dispersion curve where phonon modes display a frequency of zero. &lt;br /&gt;
&lt;br /&gt;
Following the path from &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;, to &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and then to &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; the acoustic mode splits into 3 modes, two transverse modes (TA) and one longitude mode (LA). The two TA are degenerate between &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; until it splits between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Phonon Density of States (DOS)==&lt;br /&gt;
The next part involved calculating the phonon density of states. The DOS is defined as the number of states per energy at a given energy, in this case vibrational frequency. The larger the number of k values considered in reciprocal space the more accurate the DOS. This is achieved by increasing the grid size (nxnxn) to give a better representation of the crystal by sampling more k values in reciprocal space. However, at a certain point the difference between k values is negligible so does not further increase the accuracy of the DOS. Furthermore calculating an infinite number of k values would take an infinite amount of computing time.&lt;br /&gt;
&lt;br /&gt;
The DOS was calculated for a 1x1x1 grid by setting the shrinking value to 1 as shown in figure 5. The grid size was then increased to find the optimum shrinking value that gave a good representation of the DOS without taking too long to calculate as shown by figures 6 through 10. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo Phonon DOS JOH 111.png|thumb|300px|Figure 5. Phonon DOS of MgO using 1x1x1 grid size]]&lt;br /&gt;
|[[File:JOHphononDOS444.png|thumb|300px|Figure 6. Phonon DOS of MgO using 4x4x4 grid size]]&lt;br /&gt;
|[[File:JOHDOS888.png|thumb|300px|Figure 7. Phonon DOS of MgO using 8x8x8 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOHDOS161616.png|thumb|300px|Figure 8. Phonon DOS of MgO using 16x16x16 grid size]]&lt;br /&gt;
|[[File:JOHDOS323232.png|thumb|300px|Figure 9. Phonon DOS of MgO using 32x32x32 grid size]]&lt;br /&gt;
|[[File:JOHDOS50.png|thumb|300px|Figure 10. Phonon DOS of MgO using 50x50x50 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 5 shows the DOS for a 1x1x1 grid size. The four peaks 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 676 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 819 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; represent the four frequencies at point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. At symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;, by looking at figure 3, the two phonon modes at 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; are degenerate (as they go on to split in two curves between points &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;). This degeneracy is confirmed in the DOS graph in figure 5 as the intensity of the peaks around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; is around double that of the peaks around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is chosen as the k-value for a grid size of 1x1x1 as it is the most representative point in k-space for the DOS. This is shown visually from figures 5 to 10 as when the DOS becomes more accurate the main peak remains around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; with the smaller peak still remaining around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. There is a theorem about using the &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; point in reciprocal space for a 1x1x1 grid called Baldereschi theorem &amp;lt;ref name = &amp;quot;Ref 3&amp;quot;/&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The ideal grid size is one that represents the DOS without taking too long to calculate. From figure 8 onwards the shape of the curve does not change much, so it can be concluded that using a grid size of 16 is sufficient enough to gain a good understanding of the DOS without taking too long to calculate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:DOS dispersion JOH.png|thumb|400px|Figure 11. Comparing the dispersion curve with the DOS]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It is important to note the relationship between the dispersion curve and the DOS graph as shown in figure 11. The frequency in the phonon dispersion curve on the y axis is the same as the frequency on the DOS curve in the x-axis. It can be seen visually that the most popular states are around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The relationship between real space and reciprocal space is given by the formula &amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt; - a being the length in real space transformed to a* in reciprocal space. This shows that the larger the lattice constant a, the smaller the reciprocal cell. This is important to consider when assessing the DOS for other structures. Lithium has a lattice constant of 3.490 Å &amp;lt;ref name = &amp;quot;Ref 4&amp;quot;/&amp;gt; which is 0.721 Å lower that the conventional unit cell of MgO that is being modelled. Due to the inverse relationship of real to reciprocal space, lithium will have a larger cell in reciprocal space and therefore need a larger grid size in order to measure more k values to give an accurate DOS. Conversely Faujasite has a lattice constant of 24.7 Å &amp;lt;ref name = &amp;quot;Ref 5&amp;quot; /&amp;gt; which will give a much smaller cell in reciprocal space meaning that a smaller grid size would give an accurate measurement of the DOS as there are fewer k values needed to measure the cell. CaO has a very similar lattice constant to MgO meaning that a similar grid size would be needed to accurately measure the DOS - in this case a grid size of 16x16x16 would be sufficient.&lt;br /&gt;
&lt;br /&gt;
==Computing the Free Energy==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Table 2ː Energy vs Grid size&lt;br /&gt;
! Grid Size nxnxn/n&lt;br /&gt;
! Free Energy/eV&lt;br /&gt;
! Accuracy/ meV&lt;br /&gt;
! Log file&lt;br /&gt;
! rowspan=&amp;quot;9&amp;quot;|[[File:JOH Free energy vs grid size.png|thumb|400px|]]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| -40.930301&lt;br /&gt;
| 4&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/1/12/JOH_fe_MgO_111.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| -40.926609&lt;br /&gt;
| 0.2&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/aa/JOH_fe_MgO_222.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -40.926432&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4d/JOH_fe_MgO_333.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -40.926450&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/40/JOH_fe_MgO_444.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -40.926478&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/7/70/JOH_fe_MgO_888.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -40.926482&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4f/JOH_fe_MgO_16.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/ac/JOH_fe_MgO_32.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 50&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [[Media:JOH_fe_MgO_50.txt.zip|log file]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Table 2 displays the free energies of MgO as a function of grid size n. Similar to finding the ideal grid size to calculate the DOS, the optimal grid size to calculate the free energy can be found in table 2. As the grid size increases from 1 to 3 there is a sharp increase in the free energy from -40.930301 eV to -40.926432 eV, afterwards the free energy eventually converges at -40.926483 eV. From a grid size of 4 onwards the degree of accuracy is greater that 0.1 meV. There is no change in free energy from a grid size of 32 to 50 suggesting that a grid size of 32 is all that is needed to precisely determine the free energy of MgO. &lt;br /&gt;
&lt;br /&gt;
The graph in table 2 can be rationalised by the equation for the Helmholtz free energy - &amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A is the Helmholtz fee energy, U is the internal energy, T is temperature and S is entropy. As the grid size increases, the volume increases so the internal energy decreases (&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt;). This in turn means that the Helmholtz free energy would decrease.&lt;br /&gt;
&lt;br /&gt;
Furthermore as the number of microstates sampled increases the entropy term will increase according to the relationship &amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt;. This in turn means that the free energy will be lowered. By considering these two factors the decrease in free energy can be rationalised.&lt;br /&gt;
&lt;br /&gt;
==Thermal Expansion of MgO==&lt;br /&gt;
The structure of MgO will be optimised with respect to the free energy at different temperatures (0 - 1000 K in steps of 100 K). The free energy will be computed using the quasi-harmonic approximation (QHA) which uses the following expression: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
*&amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; = frequency of the vibration &lt;br /&gt;
*&amp;lt;math&amp;gt;E_{0}&amp;lt;/math&amp;gt; = zero point energy &lt;br /&gt;
*&amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; = Temperature&lt;br /&gt;
*&amp;lt;math&amp;gt;k_B&amp;lt;/math&amp;gt; = Boltzmann Constant &lt;br /&gt;
*&amp;lt;math&amp;gt;\hbar&amp;lt;/math&amp;gt; = reduced Planck&#039;s constant. &lt;br /&gt;
&lt;br /&gt;
The equations is split into three parts - the zero point energy and the harmonic and entropic contribution.&lt;br /&gt;
&lt;br /&gt;
In addition the coefficients of thermal expansion was calculated. Thermal expansion is the tendency for matter to change in response to temperature, due to heat transfer. The coefficient of thermal expansion describes how the size of an object changes with temperature. The larger the coefficient the greater the change in size as temperature increases. Several coefficients have been developed and the two that we will look at are the linear and volumetric thermal expansion. The generic equation is as follows:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\alpha_x = \frac{1}{x}\,\left(\frac{\partial x}{\partial T}\right)_p&lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* α&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt; = thermal expansion coefficient&lt;br /&gt;
* x = initial dimension &lt;br /&gt;
* ∂x = the partial derivative of the dimension under study &lt;br /&gt;
* ∂T = partial derivative of temperature (at constant pressure)&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy vs temp.png|thumb|400px|Figure 12. Free Energy dependence on Temperature for the QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH lattice constant vs temp.png|thumb|400px|Figure 13. Lattice Constant dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|[[File:JOH LV temp.png|thumb|400px|Figure 14. Lattice Volume dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 12 shows that as temperature increases the free energy becomes more negative. This can be rationalised with the derivation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; G = H - TS &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Plug in &amp;lt;math&amp;gt;H = U + PV&amp;lt;/math&amp;gt; to get  &amp;lt;math&amp;gt;G = U + PV - TS&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dG = dU + PdV + VdP - TdS - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = q + w &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dq = TdS &amp;lt;/math&amp;gt; &amp;lt;math&amp;gt; dw = -PdV &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \therefore dG = VdP - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This implies that both the volume and the entropic factor contribute to the free energy. As the temperature increases the volume will increase, however the entropic factor will overcome this due to large change in temperature. This explains the trend observed in figure 12. &lt;br /&gt;
&lt;br /&gt;
We would expect a linear negative decrease - &amp;lt;math&amp;gt; \left( \frac{\partial G}{\partial T} \right)_P = -S &amp;lt;/math&amp;gt;. However figure 12 shows that the trend is a curve, the free energy becomes more negative at an increasing rate, suggesting that the pressure may not be constant.&lt;br /&gt;
&lt;br /&gt;
The trend could also be explained using the Helmoholtz free energy equation used in the QHA. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The entropic contribution in the equation has a large dependence on temperature and therefore as temperature increases the entropic contribution becomes more negative. This is due to the exponential factor in the entropic contribution. This results in the Helmholtz becoming more negative.  &lt;br /&gt;
&lt;br /&gt;
===Calculating the Thermal expansion coefficients===&lt;br /&gt;
Figure 13 and 12 show how the lattice constant and volume change with temperature. Both graphs initially increase gradually and after 400 K show a nearly perfect linear trend. The trend in both graphs shows strong correlation with R&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; values close to one. By taking the gradient of these trend lines the thermal expansion coefficients can be calculated:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Linear Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{1}{L} \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{0.00002342}{2.986563} = 7.7815\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
L = the initial lattice constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 13&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Volumetric Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V} \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{0.00044612}{18.836496} = 2.3684\times 10^{-5}&amp;lt;/math&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
V = the initial volume constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 14&lt;br /&gt;
&lt;br /&gt;
For isotropic materials the volumetric coefficient is three times larger that then linear coefficient - 3&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;. For MgO &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt; is practically three times larger than &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; (3.04&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;) implying that MgO is an isotropic material &amp;lt;ref name=&amp;quot;Ref 6&amp;quot;/&amp;gt;, in other words lattice constants a, b and c expand at equal rates. At 200 K the L value increases to 2.987604 Å resulting in &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;7.839\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; which is close to the literature value of &amp;lt;math&amp;gt;7.39\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The main approximation with the QHA occurs at higher temperatures. This is because at higher temperatures the lattice experiences a larger anharmonic effect due to a larger deviation from bond equilibrium as more energy is put into the bond. Furthermore as anharmonicity comes from scattered phonons interacting due to lattice defect, this effect will be accentuated as lattice vibration gain more energy. The QHA simplifies the anharmonic effect by letting the phonon frequencies become volume dependent so therefore is unable to model the anharmonic effect well. The born-oppenheimer approximation would become less valid at larger temperatures as the motion of nuclei becomes more important. So as the temperature reaches melting point the phonon modes would not represent the motion of the ions well. &lt;br /&gt;
&lt;br /&gt;
Lastly in a diatomic molecule with an exact harmonic potential as the temperature increases there would be no change in equilibrium bond length as the parabolic function is symmetric. Instead the maximum and minimum bond lengths would increase or in other words a larger amplitude would be reached.&lt;br /&gt;
&lt;br /&gt;
== Molecular Dynamics ==&lt;br /&gt;
The crystal was then studied using Molecular Dynamics. In the previous investigations MgO has been described using a primitive cell containing a single MgO unit. Running an MD would not produce meaningful data as every cell would move perfectly in phase. By increasing the size of the cell the MD would become more accurate but become more computationally expensive so a compromise is reached for a cell containing 32 MgO units. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy temperature QHA MD.png|thumb|400px|Figure 15. Free Energy vs Temperature for MD compared to QHA]]&lt;br /&gt;
|[[File:JOHlatticeQHAMD2.png|thumb|400px|Figure 16. Lattice Constant vs Temperature for MD compared to QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics allows a system to evolve in time according to Newton&#039;s second law F=ma. As the system is treated classically energy can be modelled by the equipartition principle, &amp;lt;math&amp;gt;E = \frac{3}{2} k_B T&amp;lt;/math&amp;gt;, and as such the energy will increase linearly with temperature. In comparison QHA follows the relationship &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
This mean that the energy should decrease with temperature. Both the free energy modelled by MD and QHA can be seen in figure 15. &lt;br /&gt;
&lt;br /&gt;
Looking at figure 16 the MD and the QHA are similar between 400-1000 K, thus the volumetric expansion coefficients would be similar:&lt;br /&gt;
*MD - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; = 3.06 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
*QHA - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;  = 2.89 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
This similarity in data strengthens the reliability of the volumetric expansion coefficients between 400 - 1000 K. However, below 400 K the QHA begins to break from a linear trend and curve towards 18.84 Å&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt; whereas the MD follows the linear trend. At lower trends the anharmonic effect is not as prevalent so the QHA is a better model for the lattice constant at lower temperatures. The MD model does not accurately show how the free energy changes at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
===Limitation===&lt;br /&gt;
&lt;br /&gt;
Overall both QHA and MD models have their limitations. &lt;br /&gt;
&lt;br /&gt;
The atoms are modelled using a classical approach or in other words atoms are modelled as hard charged spheres. So the quantum mechanical contributions cannot be taken into account. This will reduced the accuracy of the models &lt;br /&gt;
&lt;br /&gt;
Furthermore, the models do not consider long-range interactions, only interactions of atoms relatively close. In a realistic crystal there will be interactions outside the nearest neighbours albeit small interactions. Thus slight inaccuracy in the models is seen. &lt;br /&gt;
&lt;br /&gt;
For both models it can be assumed that the trends can be extrapolated until the melting point of MgO is reached, as upon melting a change in volume occurs. Furthermore liquid MgO has no structured order so cannot be described by a repeated unit cell. &lt;br /&gt;
&lt;br /&gt;
In the QHA the interactions between atoms of different unit cells was not taken into consideration. There would be an energy increase if there was overlap between atoms in different cells.&lt;br /&gt;
&lt;br /&gt;
For these MD calculations, as only a small number of atoms were considered it was reasonable to use a time step of 1.0 femtoseconds. However, when considering a much larger system, say for example a protein, then this would become computationally expensive.&lt;br /&gt;
&lt;br /&gt;
==Conclusion== &lt;br /&gt;
The experiment showed the thermal expansion of MgO, the phonon dispersion and the DOS. Comparisons between the QHA and the MD were made, both approaches giving reasonable thermal expansion coefficients between 400-1000 K. At lower temperatures the QHA was a better model, due to the reduction in anharmonic effects.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 1&amp;quot; &amp;gt; O. Madelung, U. Rössler and M. Schulz, Eds., II-VI and I-VII compounds; Semimagnetic compounds, Springer-Verlag, 1999. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 2&amp;quot; &amp;gt; A. CIMINO, P. PORTA and M. VALIGI, Journal of the American Ceramic Society, 1966, 49, 152–156. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 3&amp;quot;&amp;gt; A. Baldereschi, Physical Review B, 1973, 7, 5212–5215. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 4&amp;quot; &amp;gt; E. J. Covington and D. J. Montgomery, J. Appl. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys, 2010, 27, 1030–53111. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 5&amp;quot; &amp;gt; J. A. Kaduk and J. Faber, The Rigaku journal 14 CRYSTAL STRUCTURE OF ZEOLITE Y AS A FUNCTION OF ION EXCHANGE, 1995. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 6&amp;quot; &amp;gt; J.R. Vinson, Plate and Panel structures of Isotropic, Composite and Piezoelectric Materials, including Sandwich Construction. Delaware; Springer; 2005. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Appendix==&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo phonon DOS 222 JOH.png|thumb|300px|Figure 1. Phonon DOS of MgO using 2x2x2 grid size]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Jo1213</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553504</id>
		<title>Rep:Mod:JOH95MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553504"/>
		<updated>2016-03-11T11:10:15Z</updated>

		<summary type="html">&lt;p&gt;Jo1213: /* Phonon Density of States (DOS) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
The experiment will investigate the properties of an MgO crystal. Firstly the dimensions of the unit cells will be investigated along with the associated energy. Then the phonon dispersion and DOS will be investigated, evaluating the optimal grid size to use. The energies of the crystal will be investigates along with the thermal expansion coefficients. Lastly the quasi-harmonic approximation (QHA) and the molecular dynamics (MD) will be compared. &lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon-based model used to describe volume-dependent thermal effects. The harmonic phonon model assumes that all intermolecular forces are harmonic. This is not sufficient to describe thermal expansion as there is no change to the equilibrium bond length as temperature increases. The QHA takes into account that molecules do have an anharmonic effect at higher temperatures by treating frequencies as volume dependent. &lt;br /&gt;
&lt;br /&gt;
The MD approach allows a system to evolve in time according to Newton&#039;s second law &amp;lt;math&amp;gt;F=ma&amp;lt;/math&amp;gt;. The initial configurations and velocities are assigned to allow the program to iterate positions and velocities. The atoms follow trajectories and the properties, such as E and T, are computed as time averages of their behaviour.&lt;br /&gt;
&lt;br /&gt;
The programs used were RedHat Linux, DLVisulaize (DLV) and General Utility Lattice Program (GULP). DLV allows us to visualise the MgO crystals and GULP is used to perform simulations on materials using boundary conditions, in this case on a 3D lattice.&lt;br /&gt;
&lt;br /&gt;
== Internal Energy of MgO ==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:PC 1.png|left|thumb|300px|Figure 1. Primitive Cell of MgO]]&lt;br /&gt;
|[[File:CC .png|left|thumb|300px|Figure 2. Conventional Cell of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 1 shows the primitive unit cell of MgO. The primitive unit cell consists of 2 atoms Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; which are held together by a Buckingham repulsive potential. The unit cell has a rhombohedron shape with lattice constants of 2.9783 Å and an internal angle a = 60°. The primitive cell contains one lattice point and is the simplest cell to describe the crystal. A calculation was run on MgO. In the [https://wiki.ch.ic.ac.uk/wiki/images/e/e7/MgO_1_james.txt LogFile] GULF describes MgO using a primitive unit cell. The Cartesian lattice vectors of the cell are reported in table 1 and the total lattice energy was -41.07531759 eV which represents the energy to pull all the atom infinitely apart. The GULP calculation correlates with LCAO HF calculations found in literature (2.573 Å &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;). &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|-&lt;br /&gt;
|+ Table 1ː Cell Vector Dimensions/Å&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The conventional cell has four times the volume of the primitive cell as shown in figure 2. The structure of the cell is face centered cubic (FCC) which has an internal angel a = 90° and a lattice vector of 4.212 Å (which agrees with literature of 4.21 Å &amp;lt;ref name =&amp;quot;Ref 2&amp;quot; /&amp;gt;). The conventional cell is more representative of the crystal so is chosen in the calculations.&lt;br /&gt;
&lt;br /&gt;
==Computing the Phonon Dispersion Curves==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO Phonon Dispersion JOH.png|thumb|300px|Figure 3. Phonon Dispersion Graph of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The vibrational modes of the lattice were then computed. The phonon modes were displayed as a dispersion curve, as shown in figure 3. The phonon frequencies were calculated along a path in k-space. Special points along the path, &amp;lt;math&amp;gt;W, L, \Gamma, X, W, K&amp;lt;/math&amp;gt;, can be seen in figure 3. There are two phonos modes associated with each axis, acoustic (in-phase) and optical (out-of-phase) phonons. In the 3D model three axis (x,y,z) are taken into consideration meaning there are 6 phonon modes as shown by the six different curves in figure 3. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:K=0 JOH.png|thumb|300px|Figure 4. Acoustic and optical modes at k=0]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The relationship between the wavevector k to the wavelength &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) is &amp;lt;math&amp;gt;k= \frac{2\pi}{\lambda}&amp;lt;/math&amp;gt;. Furthermore the relationship between wavelength &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) and frequency is &amp;lt;math&amp;gt; v = \frac{c}{\lambda} &amp;lt;/math&amp;gt;. As shown in figure 4 when k=0, for the acoustic mode, the wavelength approaches infinity as all the atoms move in the same direction along the axis. As &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; approaches infinity, frequency will tend to 0. For the optical mode the frequency is non-zero. With this information it is clear that at k=0 the dispersion graph is at symmetry point &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; as this is the only point on the dispersion curve where phonon modes display a frequency of zero. &lt;br /&gt;
&lt;br /&gt;
Following the path from &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;, to &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and then to &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; the acoustic mode splits into 3 modes, two transverse modes (TA) and one longitude mode (LA). The two TA are degenerate between &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; until it splits between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Phonon Density of States (DOS)==&lt;br /&gt;
The next part involved calculating the phonon density of states. The DOS is defined as the number of states per energy at a given energy, in this case vibrational frequency. The larger the number of k values considered in reciprocal space the more accurate the DOS. This is achieved by increasing the grid size (nxnxn) to give a better representation of the crystal by sampling more k values in reciprocal space. However, at a certain point the difference between k values is negligible so does not further increase the accuracy of the DOS. Furthermore calculating an infinite number of k values would take an infinite amount of computing time.&lt;br /&gt;
&lt;br /&gt;
The DOS was calculated for a 1x1x1 grid by setting the shrinking value to 1 as shown in figure 5. The grid size was then increased to find the optimum shrinking value that gave a good representation of the DOS without taking too long to calculate as shown by figures 6 through 10. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo Phonon DOS JOH 111.png|thumb|300px|Figure 5. Phonon DOS of MgO using 1x1x1 grid size]]&lt;br /&gt;
|[[File:JOHphononDOS444.png|thumb|300px|Figure 6. Phonon DOS of MgO using 4x4x4 grid size]]&lt;br /&gt;
|[[File:JOHDOS888.png|thumb|300px|Figure 7. Phonon DOS of MgO using 8x8x8 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOHDOS161616.png|thumb|300px|Figure 8. Phonon DOS of MgO using 16x16x16 grid size]]&lt;br /&gt;
|[[File:JOHDOS323232.png|thumb|300px|Figure 9. Phonon DOS of MgO using 32x32x32 grid size]]&lt;br /&gt;
|[[File:JOHDOS50.png|thumb|300px|Figure 10. Phonon DOS of MgO using 50x50x50 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 5 shows the DOS for a 1x1x1 grid size. The four peaks 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 676 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 819 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; represent the four frequencies at point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. At symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;, by looking at figure 3, the two phonon modes at 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; are degenerate (as they go on to split in two curves between points &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;). This degeneracy is confirmed in the DOS graph in figure 5 as the intensity of the peaks around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; is around double that of the peaks around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is chosen as the k-value for a grid size of 1x1x1 as it is the most representative point in k-space for the DOS. This is shown visually from figures 5 to 10 as when the DOS becomes more accurate the main peak remains around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; with the smaller peak still remaining around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. There is a theorem about using the &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; point in reciprocal space for a 1x1x1 grid called Baldereschi theorem &amp;lt;ref name = &amp;quot;Ref 3&amp;quot;/&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The ideal grid size is one that represents the DOS without taking too long to calculate. From figure 8 onwards the shape of the curve does not change much, so it can be concluded that using a grid size of 16 is sufficient enough to gain a good understanding of the DOS without taking too long to calculate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:DOS dispersion JOH.png|thumb|400px|Figure 11. Comparing the dispersion curve with the DOS]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It is important to note the relationship between the dispersion curve and the DOS graph as shown in figure 11. The frequency in the phonon dispersion curve on the y axis is the same as the frequency on the DOS curve in the x-axis. It can be seen visually that the most popular states are around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The relationship between real space and reciprocal space is given by the formula &amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt; - a being the length in real space transformed to a* in reciprocal space. This shows that the larger the lattice constant a, the smaller the reciprocal cell. This is important to consider when assessing the DOS for other structures. Lithium has a lattice constant of 3.490 Å &amp;lt;ref name = &amp;quot;Ref 4&amp;quot;/&amp;gt; which is 0.721 Å lower that the conventional unit cell of MgO that is being modelled. Due to the inverse relationship of real to reciprocal space, lithium will have a larger cell in reciprocal space and therefore need a larger grid size in order to measure more k values to give an accurate DOS. Conversely Faujasite has a lattice constant of 24.7 Å &amp;lt;ref name = &amp;quot;Ref 5&amp;quot; /&amp;gt; which will give a much smaller cell in reciprocal space meaning that a smaller grid size would give an accurate measurement of the DOS as there are fewer k values needed to measure the cell. CaO has a very similar lattice constant to MgO meaning that a similar grid size would be needed to accurately measure the DOS - in this case a grid size of 16x16x16 would be sufficient.&lt;br /&gt;
&lt;br /&gt;
==Computing the Free Energy==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Table 2ː Energy vs Grid size&lt;br /&gt;
! Grid Size nxnxn/n&lt;br /&gt;
! Free Energy/eV&lt;br /&gt;
! Accuracy/ meV&lt;br /&gt;
! Log file&lt;br /&gt;
! rowspan=&amp;quot;9&amp;quot;|[[File:JOH Free energy vs grid size.png|thumb|400px|]]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| -40.930301&lt;br /&gt;
| 4&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/1/12/JOH_fe_MgO_111.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| -40.926609&lt;br /&gt;
| 0.2&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/aa/JOH_fe_MgO_222.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -40.926432&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4d/JOH_fe_MgO_333.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -40.926450&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/40/JOH_fe_MgO_444.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -40.926478&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/7/70/JOH_fe_MgO_888.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -40.926482&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4f/JOH_fe_MgO_16.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/ac/JOH_fe_MgO_32.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 50&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [[Media:JOH_fe_MgO_50.txt.zip|log file]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Table 2 displays the free energies of MgO as a function of grid size n. Similar to finding the ideal grid size to calculate the DOS, the optimal grid size to calculate the free energy can be found in table 2. As the grid size increases from 1 to 3 there is a sharp increase in the free energy from -40.930301 eV to -40.926432 eV, afterwards the free energy eventually converges at -40.926483 eV. The degree of accuracy follows this trend, from a grid size of 4 onwards the degree of accuracy is greater that 0.1 meV. There is no change in free energy from a grid size of 32 to 50 suggesting that a grid size of 32 is all that is needed to accurately determine the free energy of MgO. &lt;br /&gt;
&lt;br /&gt;
The graph in table 2 can be rationalised by the equation for the Helmholtz free energy - &amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A is the Helmholtz fee energy, U is the internal energy, T is temperature and S is entropy. As the grid size increases, the volume increases so the internal energy decreases (&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt;). This in turn means that the Helmholtz free energy would decrease.&lt;br /&gt;
&lt;br /&gt;
Furthermore as the number of microstates sampled increases the entropy term will increase according to the relationship &amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt;. This in turn means that the free energy will be lowered. By considering these two factors the decrease in free energy can be rationalised.&lt;br /&gt;
&lt;br /&gt;
==Thermal Expansion of MgO==&lt;br /&gt;
The structure of MgO will be optimised with respect to the free energy at different temperatures (0 - 1000 K in steps of 100 K). The free energy will be computed using the quasi-harmonic approximation (QHA) which uses the following expression: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
*&amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; = frequency of the vibration &lt;br /&gt;
*&amp;lt;math&amp;gt;E_{0}&amp;lt;/math&amp;gt; = zero point energy &lt;br /&gt;
*&amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; = Temperature&lt;br /&gt;
*&amp;lt;math&amp;gt;k_B&amp;lt;/math&amp;gt; = Boltzmann Constant &lt;br /&gt;
*&amp;lt;math&amp;gt;\hbar&amp;lt;/math&amp;gt; = reduced Planck&#039;s constant. &lt;br /&gt;
&lt;br /&gt;
The equations is split into three parts - the zero point energy and the harmonic and entropic contribution.&lt;br /&gt;
&lt;br /&gt;
In addition the coefficients of thermal expansion was calculated. Thermal expansion is the tendency for matter to change in response to temperature, due to heat transfer. The coefficient of thermal expansion describes how the size of an object changes with temperature. The larger the coefficient the greater the change in size as temperature increases. Several coefficients have been developed and the two that we will look at are the linear and volumetric thermal expansion. The generic equation is as follows:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\alpha_x = \frac{1}{x}\,\left(\frac{\partial x}{\partial T}\right)_p&lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* α&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt; = thermal expansion coefficient&lt;br /&gt;
* x = initial dimension &lt;br /&gt;
* ∂x = the partial derivative of the dimension under study &lt;br /&gt;
* ∂T = partial derivative of temperature (at constant pressure)&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy vs temp.png|thumb|400px|Figure 12. Free Energy dependence on Temperature for the QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH lattice constant vs temp.png|thumb|400px|Figure 13. Lattice Constant dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|[[File:JOH LV temp.png|thumb|400px|Figure 14. Lattice Volume dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 12 shows that as temperature increases the free energy becomes more negative. This can be rationalised with the derivation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; G = H - TS &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Plug in &amp;lt;math&amp;gt;H = U + PV&amp;lt;/math&amp;gt; to get  &amp;lt;math&amp;gt;G = U + PV - TS&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dG = dU + PdV + VdP - TdS - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = q + w &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dq = TdS &amp;lt;/math&amp;gt; &amp;lt;math&amp;gt; dw = -PdV &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \therefore dG = VdP - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This implies that both the volume and the entropic factor contribute to the free energy. As the temperature increases the volume will increase, however the entropic factor will overcome this due to large change in temperature. This explains the trend observed in figure 12. &lt;br /&gt;
&lt;br /&gt;
We would expect a linear negative decrease - &amp;lt;math&amp;gt; \left( \frac{\partial G}{\partial T} \right)_P = -S &amp;lt;/math&amp;gt;. However figure 12 shows that the trend is a curve, the free energy becomes more negative at an increasing rate, suggesting that the pressure may not be constant.&lt;br /&gt;
&lt;br /&gt;
The trend could also be explained using the Helmoholtz free energy equation used in the QHA. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The entropic contribution in the equation has a large dependence on temperature and therefore as temperature increases the entropic contribution becomes more negative. This is due to the exponential factor in the entropic contribution. This results in the Helmholtz becoming more negative.  &lt;br /&gt;
&lt;br /&gt;
===Calculating the Thermal expansion coefficients===&lt;br /&gt;
Figure 13 and 12 show how the lattice constant and volume change with temperature. Both graphs initially increase gradually and after 400 K show a nearly perfect linear trend. The trend in both graphs shows strong correlation with R&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; values close to one. By taking the gradient of these trend lines the thermal expansion coefficients can be calculated:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Linear Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{1}{L} \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{0.00002342}{2.986563} = 7.7815\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
L = the initial lattice constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 13&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Volumetric Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V} \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{0.00044612}{18.836496} = 2.3684\times 10^{-5}&amp;lt;/math&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
V = the initial volume constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 14&lt;br /&gt;
&lt;br /&gt;
For isotropic materials the volumetric coefficient is three times larger that then linear coefficient - 3&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;. For MgO &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt; is practically three times larger than &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; (3.04&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;) implying that MgO is an isotropic material &amp;lt;ref name=&amp;quot;Ref 6&amp;quot;/&amp;gt;, in other words lattice constants a, b and c expand at equal rates. At 200 K the L value increases to 2.987604 Å resulting in &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;7.839\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; which is close to the literature value of &amp;lt;math&amp;gt;7.39\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The main approximation with the QHA occurs at higher temperatures. This is because at higher temperatures the lattice experiences a larger anharmonic effect due to a larger deviation from bond equilibrium as more energy is put into the bond. Furthermore as anharmonicity comes from scattered phonons interacting due to lattice defect, this effect will be accentuated as lattice vibration gain more energy. The QHA simplifies the anharmonic effect by letting the phonon frequencies become volume dependent so therefore is unable to model the anharmonic effect well. The born-oppenheimer approximation would become less valid at larger temperatures as the motion of nuclei becomes more important. So as the temperature reaches melting point the phonon modes would not represent the motion of the ions well. &lt;br /&gt;
&lt;br /&gt;
Lastly in a diatomic molecule with an exact harmonic potential as the temperature increases there would be no change in equilibrium bond length as the parabolic function is symmetric. Instead the maximum and minimum bond lengths would increase or in other words a larger amplitude would be reached.&lt;br /&gt;
&lt;br /&gt;
== Molecular Dynamics ==&lt;br /&gt;
The crystal was then studied using Molecular Dynamics. In the previous investigations MgO has been described using a primitive cell containing a single MgO unit. Running an MD would not produce meaningful data as every cell would move perfectly in phase. By increasing the size of the cell the MD would become more accurate but become more computationally expensive so a compromise is reached for a cell containing 32 MgO units. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy temperature QHA MD.png|thumb|400px|Figure 15. Free Energy vs Temperature for MD compared to QHA]]&lt;br /&gt;
|[[File:JOHlatticeQHAMD2.png|thumb|400px|Figure 16. Lattice Constant vs Temperature for MD compared to QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics allows a system to evolve in time according to Newton&#039;s second law F=ma. As the system is treated classically energy can be modelled by the equipartition principle, &amp;lt;math&amp;gt;E = \frac{3}{2} k_B T&amp;lt;/math&amp;gt;, and as such the energy will increase linearly with temperature. In comparison QHA follows the relationship &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
This mean that the energy should decrease with temperature. Both the free energy modelled by MD and QHA can be seen in figure 15. &lt;br /&gt;
&lt;br /&gt;
Looking at figure 16 the MD and the QHA are similar between 400-1000 K, thus the volumetric expansion coefficients would be similar:&lt;br /&gt;
*MD - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; = 3.06 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
*QHA - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;  = 2.89 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
This similarity in data strengthens the reliability of the volumetric expansion coefficients between 400 - 1000 K. However, below 400 K the QHA begins to break from a linear trend and curve towards 18.84 Å&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt; whereas the MD follows the linear trend. At lower trends the anharmonic effect is not as prevalent so the QHA is a better model for the lattice constant at lower temperatures. The MD model does not accurately show how the free energy changes at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
===Limitation===&lt;br /&gt;
&lt;br /&gt;
Overall both QHA and MD models have their limitations. &lt;br /&gt;
&lt;br /&gt;
The atoms are modelled using a classical approach or in other words atoms are modelled as hard charged spheres. So the quantum mechanical contributions cannot be taken into account. This will reduced the accuracy of the models &lt;br /&gt;
&lt;br /&gt;
Furthermore, the models do not consider long-range interactions, only interactions of atoms relatively close. In a realistic crystal there will be interactions outside the nearest neighbours albeit small interactions. Thus slight inaccuracy in the models is seen. &lt;br /&gt;
&lt;br /&gt;
For both models it can be assumed that the trends can be extrapolated until the melting point of MgO is reached, as upon melting a change in volume occurs. Furthermore liquid MgO has no structured order so cannot be described by a repeated unit cell. &lt;br /&gt;
&lt;br /&gt;
In the QHA the interactions between atoms of different unit cells was not taken into consideration. There would be an energy increase if there was overlap between atoms in different cells.&lt;br /&gt;
&lt;br /&gt;
For these MD calculations, as only a small number of atoms were considered it was reasonable to use a time step of 1.0 femtoseconds. However, when considering a much larger system, say for example a protein, then this would become computationally expensive.&lt;br /&gt;
&lt;br /&gt;
==Conclusion== &lt;br /&gt;
The experiment showed the thermal expansion of MgO, the phonon dispersion and the DOS. Comparisons between the QHA and the MD were made, both approaches giving reasonable thermal expansion coefficients between 400-1000 K. At lower temperatures the QHA was a better model, due to the reduction in anharmonic effects.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 1&amp;quot; &amp;gt; O. Madelung, U. Rössler and M. Schulz, Eds., II-VI and I-VII compounds; Semimagnetic compounds, Springer-Verlag, 1999. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 2&amp;quot; &amp;gt; A. CIMINO, P. PORTA and M. VALIGI, Journal of the American Ceramic Society, 1966, 49, 152–156. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 3&amp;quot;&amp;gt; A. Baldereschi, Physical Review B, 1973, 7, 5212–5215. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 4&amp;quot; &amp;gt; E. J. Covington and D. J. Montgomery, J. Appl. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys, 2010, 27, 1030–53111. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 5&amp;quot; &amp;gt; J. A. Kaduk and J. Faber, The Rigaku journal 14 CRYSTAL STRUCTURE OF ZEOLITE Y AS A FUNCTION OF ION EXCHANGE, 1995. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 6&amp;quot; &amp;gt; J.R. Vinson, Plate and Panel structures of Isotropic, Composite and Piezoelectric Materials, including Sandwich Construction. Delaware; Springer; 2005. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Appendix==&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo phonon DOS 222 JOH.png|thumb|300px|Figure 1. Phonon DOS of MgO using 2x2x2 grid size]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Jo1213</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553500</id>
		<title>Rep:Mod:JOH95MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553500"/>
		<updated>2016-03-11T11:06:52Z</updated>

		<summary type="html">&lt;p&gt;Jo1213: /* Phonon Density of States (DOS) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
The experiment will investigate the properties of an MgO crystal. Firstly the dimensions of the unit cells will be investigated along with the associated energy. Then the phonon dispersion and DOS will be investigated, evaluating the optimal grid size to use. The energies of the crystal will be investigates along with the thermal expansion coefficients. Lastly the quasi-harmonic approximation (QHA) and the molecular dynamics (MD) will be compared. &lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon-based model used to describe volume-dependent thermal effects. The harmonic phonon model assumes that all intermolecular forces are harmonic. This is not sufficient to describe thermal expansion as there is no change to the equilibrium bond length as temperature increases. The QHA takes into account that molecules do have an anharmonic effect at higher temperatures by treating frequencies as volume dependent. &lt;br /&gt;
&lt;br /&gt;
The MD approach allows a system to evolve in time according to Newton&#039;s second law &amp;lt;math&amp;gt;F=ma&amp;lt;/math&amp;gt;. The initial configurations and velocities are assigned to allow the program to iterate positions and velocities. The atoms follow trajectories and the properties, such as E and T, are computed as time averages of their behaviour.&lt;br /&gt;
&lt;br /&gt;
The programs used were RedHat Linux, DLVisulaize (DLV) and General Utility Lattice Program (GULP). DLV allows us to visualise the MgO crystals and GULP is used to perform simulations on materials using boundary conditions, in this case on a 3D lattice.&lt;br /&gt;
&lt;br /&gt;
== Internal Energy of MgO ==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:PC 1.png|left|thumb|300px|Figure 1. Primitive Cell of MgO]]&lt;br /&gt;
|[[File:CC .png|left|thumb|300px|Figure 2. Conventional Cell of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 1 shows the primitive unit cell of MgO. The primitive unit cell consists of 2 atoms Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; which are held together by a Buckingham repulsive potential. The unit cell has a rhombohedron shape with lattice constants of 2.9783 Å and an internal angle a = 60°. The primitive cell contains one lattice point and is the simplest cell to describe the crystal. A calculation was run on MgO. In the [https://wiki.ch.ic.ac.uk/wiki/images/e/e7/MgO_1_james.txt LogFile] GULF describes MgO using a primitive unit cell. The Cartesian lattice vectors of the cell are reported in table 1 and the total lattice energy was -41.07531759 eV which represents the energy to pull all the atom infinitely apart. The GULP calculation correlates with LCAO HF calculations found in literature (2.573 Å &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;). &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|-&lt;br /&gt;
|+ Table 1ː Cell Vector Dimensions/Å&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The conventional cell has four times the volume of the primitive cell as shown in figure 2. The structure of the cell is face centered cubic (FCC) which has an internal angel a = 90° and a lattice vector of 4.212 Å (which agrees with literature of 4.21 Å &amp;lt;ref name =&amp;quot;Ref 2&amp;quot; /&amp;gt;). The conventional cell is more representative of the crystal so is chosen in the calculations.&lt;br /&gt;
&lt;br /&gt;
==Computing the Phonon Dispersion Curves==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO Phonon Dispersion JOH.png|thumb|300px|Figure 3. Phonon Dispersion Graph of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The vibrational modes of the lattice were then computed. The phonon modes were displayed as a dispersion curve, as shown in figure 3. The phonon frequencies were calculated along a path in k-space. Special points along the path, &amp;lt;math&amp;gt;W, L, \Gamma, X, W, K&amp;lt;/math&amp;gt;, can be seen in figure 3. There are two phonos modes associated with each axis, acoustic (in-phase) and optical (out-of-phase) phonons. In the 3D model three axis (x,y,z) are taken into consideration meaning there are 6 phonon modes as shown by the six different curves in figure 3. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:K=0 JOH.png|thumb|300px|Figure 4. Acoustic and optical modes at k=0]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The relationship between the wavevector k to the wavelength &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) is &amp;lt;math&amp;gt;k= \frac{2\pi}{\lambda}&amp;lt;/math&amp;gt;. Furthermore the relationship between wavelength &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) and frequency is &amp;lt;math&amp;gt; v = \frac{c}{\lambda} &amp;lt;/math&amp;gt;. As shown in figure 4 when k=0, for the acoustic mode, the wavelength approaches infinity as all the atoms move in the same direction along the axis. As &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; approaches infinity, frequency will tend to 0. For the optical mode the frequency is non-zero. With this information it is clear that at k=0 the dispersion graph is at symmetry point &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; as this is the only point on the dispersion curve where phonon modes display a frequency of zero. &lt;br /&gt;
&lt;br /&gt;
Following the path from &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;, to &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and then to &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; the acoustic mode splits into 3 modes, two transverse modes (TA) and one longitude mode (LA). The two TA are degenerate between &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; until it splits between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Phonon Density of States (DOS)==&lt;br /&gt;
The next part involved calculating the phonon density of states. The DOS is defined as the number of states per energy at a given energy, in this case vibrational frequency. The larger the number of k values considered in reciprocal space the more accurate the DOS. This is achieved by increasing the grid size (nxnxn) to give a better representation of the crystal by sampling more k values in reciprocal space. However, at a certain point the difference between k values is negligible so does not further increase the accuracy of the DOS. Furthermore calculating an infinite number of k values would take an infinite amount of computing time.&lt;br /&gt;
&lt;br /&gt;
The DOS was calculated for a 1x1x1 grid by setting the shrinking value to 1 as shown in figure 5. The grid size was then increased to find the optimum shrinking value that gave a good representation of the DOS without taking too long to calculate as shown by figures 6 through 10. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo Phonon DOS JOH 111.png|thumb|300px|Figure 5. Phonon DOS of MgO using 1x1x1 grid size]]&lt;br /&gt;
|[[File:JOHphononDOS444.png|thumb|300px|Figure 6. Phonon DOS of MgO using 4x4x4 grid size]]&lt;br /&gt;
|[[File:JOHDOS888.png|thumb|300px|Figure 7. Phonon DOS of MgO using 8x8x8 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOHDOS161616.png|thumb|300px|Figure 8. Phonon DOS of MgO using 16x16x16 grid size]]&lt;br /&gt;
|[[File:JOHDOS323232.png|thumb|300px|Figure 9. Phonon DOS of MgO using 32x32x32 grid size]]&lt;br /&gt;
|[[File:JOHDOS50.png|thumb|300px|Figure 10. Phonon DOS of MgO using 50x50x50 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 5 shows the DOS for a 1x1x1 grid size. The four peaks 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 676 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 819 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; represent the four frequencies at point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. At symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;, by looking at figure 3, the two phonon modes at 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; are degenerate (as they go on to split in two curves between points &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;). This degeneracy is confirmed in the DOS graph in figure 5 as the intensity of the peaks around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; is around double that of the peaks around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is chosen as the k-value for a grid size of 1x1x1 as it is the most representative point in k-space for the DOS. This is shown visually from figures 5 to 10 as when the DOS becomes more accurate the main peak remains around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; with the smaller peak still remaining around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. There is a theorem about using the &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; point in reciprocal space for a 1x1x1 grid called Baldereschi theorem &amp;lt;ref name = &amp;quot;Ref 3&amp;quot;/&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The ideal grid size is one that represents the DOS without taking too long to calculate. From figure 8 onwards the shape of the curve does not change much, so it can be concluded that using a grid size of 16 is sufficient enough to gain a good understanding of the DOS without taking too long to calculate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:DOS dispersion JOH.png|thumb|400px|Figure 11. Comparing the dispersion curve with the DOS]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It is important to note the relationship between the dispersion curve and the DOS graph as shown in figure 11. The frequency in the phonon dispersion curve on the y axis is the same as the frequency on the DOS curve in the x-axis. It can be seen visually that the most popular states are around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The relationship between real space and reciprocal space is given by the formula &amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt; - a being the length in real space transformed to a* in reciprocal space. This shows that the larger the lattice constant a, the smaller the reciprocal cell. This is important to consider when assessing the DOS for other structures. Lithium has a lattice constant of 3.490 Å &amp;lt;ref name = &amp;quot;Ref 4&amp;quot;/&amp;gt; which is 0.721 Å lower that the conventional unit cell of MgO that is being modelled. Due to the inverse relationship of real to reciprocal space, lithium will have a larger cell in reciprocal space and therefore need a larger grid size to measure the DOS accurately. Conversely Faujasite has a lattice constant of 24.7 Å &amp;lt;ref name = &amp;quot;Ref 5&amp;quot; /&amp;gt; which will give a much smaller cell in reciprocal space meaning that a smaller grid size would give an accurate measurement of the DOS as there are fewer k values needed to measure the cell. CaO has a very similar lattice constant meaning that a similar grid size would be needed to accurately measure the DOS - in this case a grid size of 16x16x16 would be sufficient.&lt;br /&gt;
&lt;br /&gt;
==Computing the Free Energy==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Table 2ː Energy vs Grid size&lt;br /&gt;
! Grid Size nxnxn/n&lt;br /&gt;
! Free Energy/eV&lt;br /&gt;
! Accuracy/ meV&lt;br /&gt;
! Log file&lt;br /&gt;
! rowspan=&amp;quot;9&amp;quot;|[[File:JOH Free energy vs grid size.png|thumb|400px|]]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| -40.930301&lt;br /&gt;
| 4&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/1/12/JOH_fe_MgO_111.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| -40.926609&lt;br /&gt;
| 0.2&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/aa/JOH_fe_MgO_222.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -40.926432&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4d/JOH_fe_MgO_333.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -40.926450&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/40/JOH_fe_MgO_444.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -40.926478&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/7/70/JOH_fe_MgO_888.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -40.926482&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4f/JOH_fe_MgO_16.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/ac/JOH_fe_MgO_32.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 50&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [[Media:JOH_fe_MgO_50.txt.zip|log file]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Table 2 displays the free energies of MgO as a function of grid size n. Similar to finding the ideal grid size to calculate the DOS, the optimal grid size to calculate the free energy can be found in table 2. As the grid size increases from 1 to 3 there is a sharp increase in the free energy from -40.930301 eV to -40.926432 eV, afterwards the free energy eventually converges at -40.926483 eV. The degree of accuracy follows this trend, from a grid size of 4 onwards the degree of accuracy is greater that 0.1 meV. There is no change in free energy from a grid size of 32 to 50 suggesting that a grid size of 32 is all that is needed to accurately determine the free energy of MgO. &lt;br /&gt;
&lt;br /&gt;
The graph in table 2 can be rationalised by the equation for the Helmholtz free energy - &amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A is the Helmholtz fee energy, U is the internal energy, T is temperature and S is entropy. As the grid size increases, the volume increases so the internal energy decreases (&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt;). This in turn means that the Helmholtz free energy would decrease.&lt;br /&gt;
&lt;br /&gt;
Furthermore as the number of microstates sampled increases the entropy term will increase according to the relationship &amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt;. This in turn means that the free energy will be lowered. By considering these two factors the decrease in free energy can be rationalised.&lt;br /&gt;
&lt;br /&gt;
==Thermal Expansion of MgO==&lt;br /&gt;
The structure of MgO will be optimised with respect to the free energy at different temperatures (0 - 1000 K in steps of 100 K). The free energy will be computed using the quasi-harmonic approximation (QHA) which uses the following expression: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
*&amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; = frequency of the vibration &lt;br /&gt;
*&amp;lt;math&amp;gt;E_{0}&amp;lt;/math&amp;gt; = zero point energy &lt;br /&gt;
*&amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; = Temperature&lt;br /&gt;
*&amp;lt;math&amp;gt;k_B&amp;lt;/math&amp;gt; = Boltzmann Constant &lt;br /&gt;
*&amp;lt;math&amp;gt;\hbar&amp;lt;/math&amp;gt; = reduced Planck&#039;s constant. &lt;br /&gt;
&lt;br /&gt;
The equations is split into three parts - the zero point energy and the harmonic and entropic contribution.&lt;br /&gt;
&lt;br /&gt;
In addition the coefficients of thermal expansion was calculated. Thermal expansion is the tendency for matter to change in response to temperature, due to heat transfer. The coefficient of thermal expansion describes how the size of an object changes with temperature. The larger the coefficient the greater the change in size as temperature increases. Several coefficients have been developed and the two that we will look at are the linear and volumetric thermal expansion. The generic equation is as follows:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\alpha_x = \frac{1}{x}\,\left(\frac{\partial x}{\partial T}\right)_p&lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* α&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt; = thermal expansion coefficient&lt;br /&gt;
* x = initial dimension &lt;br /&gt;
* ∂x = the partial derivative of the dimension under study &lt;br /&gt;
* ∂T = partial derivative of temperature (at constant pressure)&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy vs temp.png|thumb|400px|Figure 12. Free Energy dependence on Temperature for the QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH lattice constant vs temp.png|thumb|400px|Figure 13. Lattice Constant dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|[[File:JOH LV temp.png|thumb|400px|Figure 14. Lattice Volume dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 12 shows that as temperature increases the free energy becomes more negative. This can be rationalised with the derivation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; G = H - TS &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Plug in &amp;lt;math&amp;gt;H = U + PV&amp;lt;/math&amp;gt; to get  &amp;lt;math&amp;gt;G = U + PV - TS&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dG = dU + PdV + VdP - TdS - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = q + w &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dq = TdS &amp;lt;/math&amp;gt; &amp;lt;math&amp;gt; dw = -PdV &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \therefore dG = VdP - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This implies that both the volume and the entropic factor contribute to the free energy. As the temperature increases the volume will increase, however the entropic factor will overcome this due to large change in temperature. This explains the trend observed in figure 12. &lt;br /&gt;
&lt;br /&gt;
We would expect a linear negative decrease - &amp;lt;math&amp;gt; \left( \frac{\partial G}{\partial T} \right)_P = -S &amp;lt;/math&amp;gt;. However figure 12 shows that the trend is a curve, the free energy becomes more negative at an increasing rate, suggesting that the pressure may not be constant.&lt;br /&gt;
&lt;br /&gt;
The trend could also be explained using the Helmoholtz free energy equation used in the QHA. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The entropic contribution in the equation has a large dependence on temperature and therefore as temperature increases the entropic contribution becomes more negative. This is due to the exponential factor in the entropic contribution. This results in the Helmholtz becoming more negative.  &lt;br /&gt;
&lt;br /&gt;
===Calculating the Thermal expansion coefficients===&lt;br /&gt;
Figure 13 and 12 show how the lattice constant and volume change with temperature. Both graphs initially increase gradually and after 400 K show a nearly perfect linear trend. The trend in both graphs shows strong correlation with R&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; values close to one. By taking the gradient of these trend lines the thermal expansion coefficients can be calculated:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Linear Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{1}{L} \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{0.00002342}{2.986563} = 7.7815\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
L = the initial lattice constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 13&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Volumetric Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V} \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{0.00044612}{18.836496} = 2.3684\times 10^{-5}&amp;lt;/math&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
V = the initial volume constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 14&lt;br /&gt;
&lt;br /&gt;
For isotropic materials the volumetric coefficient is three times larger that then linear coefficient - 3&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;. For MgO &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt; is practically three times larger than &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; (3.04&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;) implying that MgO is an isotropic material &amp;lt;ref name=&amp;quot;Ref 6&amp;quot;/&amp;gt;, in other words lattice constants a, b and c expand at equal rates. At 200 K the L value increases to 2.987604 Å resulting in &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;7.839\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; which is close to the literature value of &amp;lt;math&amp;gt;7.39\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The main approximation with the QHA occurs at higher temperatures. This is because at higher temperatures the lattice experiences a larger anharmonic effect due to a larger deviation from bond equilibrium as more energy is put into the bond. Furthermore as anharmonicity comes from scattered phonons interacting due to lattice defect, this effect will be accentuated as lattice vibration gain more energy. The QHA simplifies the anharmonic effect by letting the phonon frequencies become volume dependent so therefore is unable to model the anharmonic effect well. The born-oppenheimer approximation would become less valid at larger temperatures as the motion of nuclei becomes more important. So as the temperature reaches melting point the phonon modes would not represent the motion of the ions well. &lt;br /&gt;
&lt;br /&gt;
Lastly in a diatomic molecule with an exact harmonic potential as the temperature increases there would be no change in equilibrium bond length as the parabolic function is symmetric. Instead the maximum and minimum bond lengths would increase or in other words a larger amplitude would be reached.&lt;br /&gt;
&lt;br /&gt;
== Molecular Dynamics ==&lt;br /&gt;
The crystal was then studied using Molecular Dynamics. In the previous investigations MgO has been described using a primitive cell containing a single MgO unit. Running an MD would not produce meaningful data as every cell would move perfectly in phase. By increasing the size of the cell the MD would become more accurate but become more computationally expensive so a compromise is reached for a cell containing 32 MgO units. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy temperature QHA MD.png|thumb|400px|Figure 15. Free Energy vs Temperature for MD compared to QHA]]&lt;br /&gt;
|[[File:JOHlatticeQHAMD2.png|thumb|400px|Figure 16. Lattice Constant vs Temperature for MD compared to QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics allows a system to evolve in time according to Newton&#039;s second law F=ma. As the system is treated classically energy can be modelled by the equipartition principle, &amp;lt;math&amp;gt;E = \frac{3}{2} k_B T&amp;lt;/math&amp;gt;, and as such the energy will increase linearly with temperature. In comparison QHA follows the relationship &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
This mean that the energy should decrease with temperature. Both the free energy modelled by MD and QHA can be seen in figure 15. &lt;br /&gt;
&lt;br /&gt;
Looking at figure 16 the MD and the QHA are similar between 400-1000 K, thus the volumetric expansion coefficients would be similar:&lt;br /&gt;
*MD - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; = 3.06 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
*QHA - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;  = 2.89 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
This similarity in data strengthens the reliability of the volumetric expansion coefficients between 400 - 1000 K. However, below 400 K the QHA begins to break from a linear trend and curve towards 18.84 Å&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt; whereas the MD follows the linear trend. At lower trends the anharmonic effect is not as prevalent so the QHA is a better model for the lattice constant at lower temperatures. The MD model does not accurately show how the free energy changes at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
===Limitation===&lt;br /&gt;
&lt;br /&gt;
Overall both QHA and MD models have their limitations. &lt;br /&gt;
&lt;br /&gt;
The atoms are modelled using a classical approach or in other words atoms are modelled as hard charged spheres. So the quantum mechanical contributions cannot be taken into account. This will reduced the accuracy of the models &lt;br /&gt;
&lt;br /&gt;
Furthermore, the models do not consider long-range interactions, only interactions of atoms relatively close. In a realistic crystal there will be interactions outside the nearest neighbours albeit small interactions. Thus slight inaccuracy in the models is seen. &lt;br /&gt;
&lt;br /&gt;
For both models it can be assumed that the trends can be extrapolated until the melting point of MgO is reached, as upon melting a change in volume occurs. Furthermore liquid MgO has no structured order so cannot be described by a repeated unit cell. &lt;br /&gt;
&lt;br /&gt;
In the QHA the interactions between atoms of different unit cells was not taken into consideration. There would be an energy increase if there was overlap between atoms in different cells.&lt;br /&gt;
&lt;br /&gt;
For these MD calculations, as only a small number of atoms were considered it was reasonable to use a time step of 1.0 femtoseconds. However, when considering a much larger system, say for example a protein, then this would become computationally expensive.&lt;br /&gt;
&lt;br /&gt;
==Conclusion== &lt;br /&gt;
The experiment showed the thermal expansion of MgO, the phonon dispersion and the DOS. Comparisons between the QHA and the MD were made, both approaches giving reasonable thermal expansion coefficients between 400-1000 K. At lower temperatures the QHA was a better model, due to the reduction in anharmonic effects.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 1&amp;quot; &amp;gt; O. Madelung, U. Rössler and M. Schulz, Eds., II-VI and I-VII compounds; Semimagnetic compounds, Springer-Verlag, 1999. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 2&amp;quot; &amp;gt; A. CIMINO, P. PORTA and M. VALIGI, Journal of the American Ceramic Society, 1966, 49, 152–156. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 3&amp;quot;&amp;gt; A. Baldereschi, Physical Review B, 1973, 7, 5212–5215. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 4&amp;quot; &amp;gt; E. J. Covington and D. J. Montgomery, J. Appl. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys, 2010, 27, 1030–53111. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 5&amp;quot; &amp;gt; J. A. Kaduk and J. Faber, The Rigaku journal 14 CRYSTAL STRUCTURE OF ZEOLITE Y AS A FUNCTION OF ION EXCHANGE, 1995. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 6&amp;quot; &amp;gt; J.R. Vinson, Plate and Panel structures of Isotropic, Composite and Piezoelectric Materials, including Sandwich Construction. Delaware; Springer; 2005. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Appendix==&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo phonon DOS 222 JOH.png|thumb|300px|Figure 1. Phonon DOS of MgO using 2x2x2 grid size]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Jo1213</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553498</id>
		<title>Rep:Mod:JOH95MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553498"/>
		<updated>2016-03-11T11:05:40Z</updated>

		<summary type="html">&lt;p&gt;Jo1213: /* Phonon Density of States (DOS) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
The experiment will investigate the properties of an MgO crystal. Firstly the dimensions of the unit cells will be investigated along with the associated energy. Then the phonon dispersion and DOS will be investigated, evaluating the optimal grid size to use. The energies of the crystal will be investigates along with the thermal expansion coefficients. Lastly the quasi-harmonic approximation (QHA) and the molecular dynamics (MD) will be compared. &lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon-based model used to describe volume-dependent thermal effects. The harmonic phonon model assumes that all intermolecular forces are harmonic. This is not sufficient to describe thermal expansion as there is no change to the equilibrium bond length as temperature increases. The QHA takes into account that molecules do have an anharmonic effect at higher temperatures by treating frequencies as volume dependent. &lt;br /&gt;
&lt;br /&gt;
The MD approach allows a system to evolve in time according to Newton&#039;s second law &amp;lt;math&amp;gt;F=ma&amp;lt;/math&amp;gt;. The initial configurations and velocities are assigned to allow the program to iterate positions and velocities. The atoms follow trajectories and the properties, such as E and T, are computed as time averages of their behaviour.&lt;br /&gt;
&lt;br /&gt;
The programs used were RedHat Linux, DLVisulaize (DLV) and General Utility Lattice Program (GULP). DLV allows us to visualise the MgO crystals and GULP is used to perform simulations on materials using boundary conditions, in this case on a 3D lattice.&lt;br /&gt;
&lt;br /&gt;
== Internal Energy of MgO ==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:PC 1.png|left|thumb|300px|Figure 1. Primitive Cell of MgO]]&lt;br /&gt;
|[[File:CC .png|left|thumb|300px|Figure 2. Conventional Cell of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 1 shows the primitive unit cell of MgO. The primitive unit cell consists of 2 atoms Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; which are held together by a Buckingham repulsive potential. The unit cell has a rhombohedron shape with lattice constants of 2.9783 Å and an internal angle a = 60°. The primitive cell contains one lattice point and is the simplest cell to describe the crystal. A calculation was run on MgO. In the [https://wiki.ch.ic.ac.uk/wiki/images/e/e7/MgO_1_james.txt LogFile] GULF describes MgO using a primitive unit cell. The Cartesian lattice vectors of the cell are reported in table 1 and the total lattice energy was -41.07531759 eV which represents the energy to pull all the atom infinitely apart. The GULP calculation correlates with LCAO HF calculations found in literature (2.573 Å &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;). &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|-&lt;br /&gt;
|+ Table 1ː Cell Vector Dimensions/Å&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The conventional cell has four times the volume of the primitive cell as shown in figure 2. The structure of the cell is face centered cubic (FCC) which has an internal angel a = 90° and a lattice vector of 4.212 Å (which agrees with literature of 4.21 Å &amp;lt;ref name =&amp;quot;Ref 2&amp;quot; /&amp;gt;). The conventional cell is more representative of the crystal so is chosen in the calculations.&lt;br /&gt;
&lt;br /&gt;
==Computing the Phonon Dispersion Curves==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO Phonon Dispersion JOH.png|thumb|300px|Figure 3. Phonon Dispersion Graph of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The vibrational modes of the lattice were then computed. The phonon modes were displayed as a dispersion curve, as shown in figure 3. The phonon frequencies were calculated along a path in k-space. Special points along the path, &amp;lt;math&amp;gt;W, L, \Gamma, X, W, K&amp;lt;/math&amp;gt;, can be seen in figure 3. There are two phonos modes associated with each axis, acoustic (in-phase) and optical (out-of-phase) phonons. In the 3D model three axis (x,y,z) are taken into consideration meaning there are 6 phonon modes as shown by the six different curves in figure 3. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:K=0 JOH.png|thumb|300px|Figure 4. Acoustic and optical modes at k=0]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The relationship between the wavevector k to the wavelength &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) is &amp;lt;math&amp;gt;k= \frac{2\pi}{\lambda}&amp;lt;/math&amp;gt;. Furthermore the relationship between wavelength &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) and frequency is &amp;lt;math&amp;gt; v = \frac{c}{\lambda} &amp;lt;/math&amp;gt;. As shown in figure 4 when k=0, for the acoustic mode, the wavelength approaches infinity as all the atoms move in the same direction along the axis. As &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; approaches infinity, frequency will tend to 0. For the optical mode the frequency is non-zero. With this information it is clear that at k=0 the dispersion graph is at symmetry point &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; as this is the only point on the dispersion curve where phonon modes display a frequency of zero. &lt;br /&gt;
&lt;br /&gt;
Following the path from &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;, to &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and then to &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; the acoustic mode splits into 3 modes, two transverse modes (TA) and one longitude mode (LA). The two TA are degenerate between &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; until it splits between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Phonon Density of States (DOS)==&lt;br /&gt;
The next part involved calculating the phonon density of states. The DOS is defined as the number of states per energy at a given energy, in this case vibrational frequency. The larger the number of k values considered in reciprocal space the more accurate the DOS. This is achieved by increasing the grid size (nxnxn) to give a better representation of the crystal by sampling more k values in reciprocal space. However, at a certain point the difference between k values is negligible so does not further increase the accuracy of the DOS. Furthermore calculating an infinite number of k values would take an infinite amount of computing time.&lt;br /&gt;
&lt;br /&gt;
The DOS was calculated for a 1x1x1 grid by setting the shrinking value to 1 as shown in figure 5. The grid size was then increased to find the optimum shrinking value that gave a good representation of the DOS without taking too long to calculate as shown by figures 6 through 10. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo Phonon DOS JOH 111.png|thumb|300px|Figure 5. Phonon DOS of MgO using 1x1x1 grid size]]&lt;br /&gt;
|[[File:JOHphononDOS444.png|thumb|300px|Figure 6. Phonon DOS of MgO using 4x4x4 grid size]]&lt;br /&gt;
|[[File:JOHDOS888.png|thumb|300px|Figure 7. Phonon DOS of MgO using 8x8x8 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOHDOS161616.png|thumb|300px|Figure 8. Phonon DOS of MgO using 16x16x16 grid size]]&lt;br /&gt;
|[[File:JOHDOS323232.png|thumb|300px|Figure 9. Phonon DOS of MgO using 32x32x32 grid size]]&lt;br /&gt;
|[[File:JOHDOS50.png|thumb|300px|Figure 10. Phonon DOS of MgO using 50x50x50 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 5 shows the DOS for a 1x1x1 grid size. The four peaks 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 676 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 819 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; represent the four frequencies at point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. At symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;, by looking at figure 3, the two phonon modes at 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; are degenerate (as they go on to split in two curves between points &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;. This degeneracy is confirmed in the DOS graph in figure 5 as the intensity of the peaks around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; is around double that of the peaks around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is chosen as the k-value for a grid size of 1x1x1 as it is the most representative point in k-space for the DOS. This is shown visually from figures 5 to 10 as when the DOS becomes more accurate the main peak remains around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; with the smaller peak still remaining around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. There is a theorem about using the &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; point in reciprocal space for a 1x1x1 grid called Baldereschi theorem &amp;lt;ref name = &amp;quot;Ref 3&amp;quot;/&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The ideal grid size is one that represents the DOS without taking too long to calculate. From figure 8 onwards the shape of the curve does not change much, so it can be concluded that using a grid size of 16 is sufficient enough to gain a good understanding of the DOS without taking too long to calculate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:DOS dispersion JOH.png|thumb|400px|Figure 11. Comparing the dispersion curve with the DOS]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It is important to note the relationship between the dispersion curve and the DOS graph as shown in figure 11. The frequency in the phonon dispersion curve on the y axis is the same as the frequency on the DOS curve in the x-axis. It can be seen visually that the most popular states are around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The relationship between real space and reciprocal space is given by the formula &amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt; - a being the length in real space transformed to a* in reciprocal space. This shows that the larger the lattice constant a, the smaller the reciprocal cell. This is important to consider when assessing the DOS for other structures. Lithium has a lattice constant of 3.490 Å &amp;lt;ref name = &amp;quot;Ref 4&amp;quot;/&amp;gt; which is 0.721 Å lower that the conventional unit cell of MgO that is being modelled. Due to the inverse relationship of real to reciprocal space, lithium will have a larger cell in reciprocal space and therefore need a larger grid size to measure the DOS accurately. Conversely Faujasite has a lattice constant of 24.7 Å &amp;lt;ref name = &amp;quot;Ref 5&amp;quot; /&amp;gt; which will give a much smaller cell in reciprocal space meaning that a smaller grid size would give an accurate measurement of the DOS as there are fewer k values needed to measure the cell. CaO has a very similar lattice constant meaning that a similar grid size would be needed to accurately measure the DOS - in this case a grid size of 16x16x16 would be sufficient.&lt;br /&gt;
&lt;br /&gt;
==Computing the Free Energy==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Table 2ː Energy vs Grid size&lt;br /&gt;
! Grid Size nxnxn/n&lt;br /&gt;
! Free Energy/eV&lt;br /&gt;
! Accuracy/ meV&lt;br /&gt;
! Log file&lt;br /&gt;
! rowspan=&amp;quot;9&amp;quot;|[[File:JOH Free energy vs grid size.png|thumb|400px|]]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| -40.930301&lt;br /&gt;
| 4&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/1/12/JOH_fe_MgO_111.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| -40.926609&lt;br /&gt;
| 0.2&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/aa/JOH_fe_MgO_222.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -40.926432&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4d/JOH_fe_MgO_333.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -40.926450&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/40/JOH_fe_MgO_444.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -40.926478&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/7/70/JOH_fe_MgO_888.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -40.926482&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4f/JOH_fe_MgO_16.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/ac/JOH_fe_MgO_32.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 50&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [[Media:JOH_fe_MgO_50.txt.zip|log file]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Table 2 displays the free energies of MgO as a function of grid size n. Similar to finding the ideal grid size to calculate the DOS, the optimal grid size to calculate the free energy can be found in table 2. As the grid size increases from 1 to 3 there is a sharp increase in the free energy from -40.930301 eV to -40.926432 eV, afterwards the free energy eventually converges at -40.926483 eV. The degree of accuracy follows this trend, from a grid size of 4 onwards the degree of accuracy is greater that 0.1 meV. There is no change in free energy from a grid size of 32 to 50 suggesting that a grid size of 32 is all that is needed to accurately determine the free energy of MgO. &lt;br /&gt;
&lt;br /&gt;
The graph in table 2 can be rationalised by the equation for the Helmholtz free energy - &amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A is the Helmholtz fee energy, U is the internal energy, T is temperature and S is entropy. As the grid size increases, the volume increases so the internal energy decreases (&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt;). This in turn means that the Helmholtz free energy would decrease.&lt;br /&gt;
&lt;br /&gt;
Furthermore as the number of microstates sampled increases the entropy term will increase according to the relationship &amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt;. This in turn means that the free energy will be lowered. By considering these two factors the decrease in free energy can be rationalised.&lt;br /&gt;
&lt;br /&gt;
==Thermal Expansion of MgO==&lt;br /&gt;
The structure of MgO will be optimised with respect to the free energy at different temperatures (0 - 1000 K in steps of 100 K). The free energy will be computed using the quasi-harmonic approximation (QHA) which uses the following expression: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
*&amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; = frequency of the vibration &lt;br /&gt;
*&amp;lt;math&amp;gt;E_{0}&amp;lt;/math&amp;gt; = zero point energy &lt;br /&gt;
*&amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; = Temperature&lt;br /&gt;
*&amp;lt;math&amp;gt;k_B&amp;lt;/math&amp;gt; = Boltzmann Constant &lt;br /&gt;
*&amp;lt;math&amp;gt;\hbar&amp;lt;/math&amp;gt; = reduced Planck&#039;s constant. &lt;br /&gt;
&lt;br /&gt;
The equations is split into three parts - the zero point energy and the harmonic and entropic contribution.&lt;br /&gt;
&lt;br /&gt;
In addition the coefficients of thermal expansion was calculated. Thermal expansion is the tendency for matter to change in response to temperature, due to heat transfer. The coefficient of thermal expansion describes how the size of an object changes with temperature. The larger the coefficient the greater the change in size as temperature increases. Several coefficients have been developed and the two that we will look at are the linear and volumetric thermal expansion. The generic equation is as follows:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\alpha_x = \frac{1}{x}\,\left(\frac{\partial x}{\partial T}\right)_p&lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* α&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt; = thermal expansion coefficient&lt;br /&gt;
* x = initial dimension &lt;br /&gt;
* ∂x = the partial derivative of the dimension under study &lt;br /&gt;
* ∂T = partial derivative of temperature (at constant pressure)&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy vs temp.png|thumb|400px|Figure 12. Free Energy dependence on Temperature for the QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH lattice constant vs temp.png|thumb|400px|Figure 13. Lattice Constant dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|[[File:JOH LV temp.png|thumb|400px|Figure 14. Lattice Volume dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 12 shows that as temperature increases the free energy becomes more negative. This can be rationalised with the derivation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; G = H - TS &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Plug in &amp;lt;math&amp;gt;H = U + PV&amp;lt;/math&amp;gt; to get  &amp;lt;math&amp;gt;G = U + PV - TS&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dG = dU + PdV + VdP - TdS - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = q + w &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dq = TdS &amp;lt;/math&amp;gt; &amp;lt;math&amp;gt; dw = -PdV &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \therefore dG = VdP - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This implies that both the volume and the entropic factor contribute to the free energy. As the temperature increases the volume will increase, however the entropic factor will overcome this due to large change in temperature. This explains the trend observed in figure 12. &lt;br /&gt;
&lt;br /&gt;
We would expect a linear negative decrease - &amp;lt;math&amp;gt; \left( \frac{\partial G}{\partial T} \right)_P = -S &amp;lt;/math&amp;gt;. However figure 12 shows that the trend is a curve, the free energy becomes more negative at an increasing rate, suggesting that the pressure may not be constant.&lt;br /&gt;
&lt;br /&gt;
The trend could also be explained using the Helmoholtz free energy equation used in the QHA. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The entropic contribution in the equation has a large dependence on temperature and therefore as temperature increases the entropic contribution becomes more negative. This is due to the exponential factor in the entropic contribution. This results in the Helmholtz becoming more negative.  &lt;br /&gt;
&lt;br /&gt;
===Calculating the Thermal expansion coefficients===&lt;br /&gt;
Figure 13 and 12 show how the lattice constant and volume change with temperature. Both graphs initially increase gradually and after 400 K show a nearly perfect linear trend. The trend in both graphs shows strong correlation with R&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; values close to one. By taking the gradient of these trend lines the thermal expansion coefficients can be calculated:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Linear Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{1}{L} \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{0.00002342}{2.986563} = 7.7815\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
L = the initial lattice constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 13&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Volumetric Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V} \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{0.00044612}{18.836496} = 2.3684\times 10^{-5}&amp;lt;/math&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
V = the initial volume constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 14&lt;br /&gt;
&lt;br /&gt;
For isotropic materials the volumetric coefficient is three times larger that then linear coefficient - 3&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;. For MgO &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt; is practically three times larger than &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; (3.04&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;) implying that MgO is an isotropic material &amp;lt;ref name=&amp;quot;Ref 6&amp;quot;/&amp;gt;, in other words lattice constants a, b and c expand at equal rates. At 200 K the L value increases to 2.987604 Å resulting in &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;7.839\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; which is close to the literature value of &amp;lt;math&amp;gt;7.39\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The main approximation with the QHA occurs at higher temperatures. This is because at higher temperatures the lattice experiences a larger anharmonic effect due to a larger deviation from bond equilibrium as more energy is put into the bond. Furthermore as anharmonicity comes from scattered phonons interacting due to lattice defect, this effect will be accentuated as lattice vibration gain more energy. The QHA simplifies the anharmonic effect by letting the phonon frequencies become volume dependent so therefore is unable to model the anharmonic effect well. The born-oppenheimer approximation would become less valid at larger temperatures as the motion of nuclei becomes more important. So as the temperature reaches melting point the phonon modes would not represent the motion of the ions well. &lt;br /&gt;
&lt;br /&gt;
Lastly in a diatomic molecule with an exact harmonic potential as the temperature increases there would be no change in equilibrium bond length as the parabolic function is symmetric. Instead the maximum and minimum bond lengths would increase or in other words a larger amplitude would be reached.&lt;br /&gt;
&lt;br /&gt;
== Molecular Dynamics ==&lt;br /&gt;
The crystal was then studied using Molecular Dynamics. In the previous investigations MgO has been described using a primitive cell containing a single MgO unit. Running an MD would not produce meaningful data as every cell would move perfectly in phase. By increasing the size of the cell the MD would become more accurate but become more computationally expensive so a compromise is reached for a cell containing 32 MgO units. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy temperature QHA MD.png|thumb|400px|Figure 15. Free Energy vs Temperature for MD compared to QHA]]&lt;br /&gt;
|[[File:JOHlatticeQHAMD2.png|thumb|400px|Figure 16. Lattice Constant vs Temperature for MD compared to QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics allows a system to evolve in time according to Newton&#039;s second law F=ma. As the system is treated classically energy can be modelled by the equipartition principle, &amp;lt;math&amp;gt;E = \frac{3}{2} k_B T&amp;lt;/math&amp;gt;, and as such the energy will increase linearly with temperature. In comparison QHA follows the relationship &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
This mean that the energy should decrease with temperature. Both the free energy modelled by MD and QHA can be seen in figure 15. &lt;br /&gt;
&lt;br /&gt;
Looking at figure 16 the MD and the QHA are similar between 400-1000 K, thus the volumetric expansion coefficients would be similar:&lt;br /&gt;
*MD - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; = 3.06 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
*QHA - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;  = 2.89 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
This similarity in data strengthens the reliability of the volumetric expansion coefficients between 400 - 1000 K. However, below 400 K the QHA begins to break from a linear trend and curve towards 18.84 Å&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt; whereas the MD follows the linear trend. At lower trends the anharmonic effect is not as prevalent so the QHA is a better model for the lattice constant at lower temperatures. The MD model does not accurately show how the free energy changes at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
===Limitation===&lt;br /&gt;
&lt;br /&gt;
Overall both QHA and MD models have their limitations. &lt;br /&gt;
&lt;br /&gt;
The atoms are modelled using a classical approach or in other words atoms are modelled as hard charged spheres. So the quantum mechanical contributions cannot be taken into account. This will reduced the accuracy of the models &lt;br /&gt;
&lt;br /&gt;
Furthermore, the models do not consider long-range interactions, only interactions of atoms relatively close. In a realistic crystal there will be interactions outside the nearest neighbours albeit small interactions. Thus slight inaccuracy in the models is seen. &lt;br /&gt;
&lt;br /&gt;
For both models it can be assumed that the trends can be extrapolated until the melting point of MgO is reached, as upon melting a change in volume occurs. Furthermore liquid MgO has no structured order so cannot be described by a repeated unit cell. &lt;br /&gt;
&lt;br /&gt;
In the QHA the interactions between atoms of different unit cells was not taken into consideration. There would be an energy increase if there was overlap between atoms in different cells.&lt;br /&gt;
&lt;br /&gt;
For these MD calculations, as only a small number of atoms were considered it was reasonable to use a time step of 1.0 femtoseconds. However, when considering a much larger system, say for example a protein, then this would become computationally expensive.&lt;br /&gt;
&lt;br /&gt;
==Conclusion== &lt;br /&gt;
The experiment showed the thermal expansion of MgO, the phonon dispersion and the DOS. Comparisons between the QHA and the MD were made, both approaches giving reasonable thermal expansion coefficients between 400-1000 K. At lower temperatures the QHA was a better model, due to the reduction in anharmonic effects.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 1&amp;quot; &amp;gt; O. Madelung, U. Rössler and M. Schulz, Eds., II-VI and I-VII compounds; Semimagnetic compounds, Springer-Verlag, 1999. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 2&amp;quot; &amp;gt; A. CIMINO, P. PORTA and M. VALIGI, Journal of the American Ceramic Society, 1966, 49, 152–156. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 3&amp;quot;&amp;gt; A. Baldereschi, Physical Review B, 1973, 7, 5212–5215. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 4&amp;quot; &amp;gt; E. J. Covington and D. J. Montgomery, J. Appl. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys, 2010, 27, 1030–53111. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 5&amp;quot; &amp;gt; J. A. Kaduk and J. Faber, The Rigaku journal 14 CRYSTAL STRUCTURE OF ZEOLITE Y AS A FUNCTION OF ION EXCHANGE, 1995. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 6&amp;quot; &amp;gt; J.R. Vinson, Plate and Panel structures of Isotropic, Composite and Piezoelectric Materials, including Sandwich Construction. Delaware; Springer; 2005. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Appendix==&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo phonon DOS 222 JOH.png|thumb|300px|Figure 1. Phonon DOS of MgO using 2x2x2 grid size]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Jo1213</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553494</id>
		<title>Rep:Mod:JOH95MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553494"/>
		<updated>2016-03-11T11:05:08Z</updated>

		<summary type="html">&lt;p&gt;Jo1213: /* Phonon Density of States (DOS) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
The experiment will investigate the properties of an MgO crystal. Firstly the dimensions of the unit cells will be investigated along with the associated energy. Then the phonon dispersion and DOS will be investigated, evaluating the optimal grid size to use. The energies of the crystal will be investigates along with the thermal expansion coefficients. Lastly the quasi-harmonic approximation (QHA) and the molecular dynamics (MD) will be compared. &lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon-based model used to describe volume-dependent thermal effects. The harmonic phonon model assumes that all intermolecular forces are harmonic. This is not sufficient to describe thermal expansion as there is no change to the equilibrium bond length as temperature increases. The QHA takes into account that molecules do have an anharmonic effect at higher temperatures by treating frequencies as volume dependent. &lt;br /&gt;
&lt;br /&gt;
The MD approach allows a system to evolve in time according to Newton&#039;s second law &amp;lt;math&amp;gt;F=ma&amp;lt;/math&amp;gt;. The initial configurations and velocities are assigned to allow the program to iterate positions and velocities. The atoms follow trajectories and the properties, such as E and T, are computed as time averages of their behaviour.&lt;br /&gt;
&lt;br /&gt;
The programs used were RedHat Linux, DLVisulaize (DLV) and General Utility Lattice Program (GULP). DLV allows us to visualise the MgO crystals and GULP is used to perform simulations on materials using boundary conditions, in this case on a 3D lattice.&lt;br /&gt;
&lt;br /&gt;
== Internal Energy of MgO ==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:PC 1.png|left|thumb|300px|Figure 1. Primitive Cell of MgO]]&lt;br /&gt;
|[[File:CC .png|left|thumb|300px|Figure 2. Conventional Cell of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 1 shows the primitive unit cell of MgO. The primitive unit cell consists of 2 atoms Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; which are held together by a Buckingham repulsive potential. The unit cell has a rhombohedron shape with lattice constants of 2.9783 Å and an internal angle a = 60°. The primitive cell contains one lattice point and is the simplest cell to describe the crystal. A calculation was run on MgO. In the [https://wiki.ch.ic.ac.uk/wiki/images/e/e7/MgO_1_james.txt LogFile] GULF describes MgO using a primitive unit cell. The Cartesian lattice vectors of the cell are reported in table 1 and the total lattice energy was -41.07531759 eV which represents the energy to pull all the atom infinitely apart. The GULP calculation correlates with LCAO HF calculations found in literature (2.573 Å &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;). &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|-&lt;br /&gt;
|+ Table 1ː Cell Vector Dimensions/Å&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The conventional cell has four times the volume of the primitive cell as shown in figure 2. The structure of the cell is face centered cubic (FCC) which has an internal angel a = 90° and a lattice vector of 4.212 Å (which agrees with literature of 4.21 Å &amp;lt;ref name =&amp;quot;Ref 2&amp;quot; /&amp;gt;). The conventional cell is more representative of the crystal so is chosen in the calculations.&lt;br /&gt;
&lt;br /&gt;
==Computing the Phonon Dispersion Curves==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO Phonon Dispersion JOH.png|thumb|300px|Figure 3. Phonon Dispersion Graph of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The vibrational modes of the lattice were then computed. The phonon modes were displayed as a dispersion curve, as shown in figure 3. The phonon frequencies were calculated along a path in k-space. Special points along the path, &amp;lt;math&amp;gt;W, L, \Gamma, X, W, K&amp;lt;/math&amp;gt;, can be seen in figure 3. There are two phonos modes associated with each axis, acoustic (in-phase) and optical (out-of-phase) phonons. In the 3D model three axis (x,y,z) are taken into consideration meaning there are 6 phonon modes as shown by the six different curves in figure 3. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:K=0 JOH.png|thumb|300px|Figure 4. Acoustic and optical modes at k=0]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The relationship between the wavevector k to the wavelength &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) is &amp;lt;math&amp;gt;k= \frac{2\pi}{\lambda}&amp;lt;/math&amp;gt;. Furthermore the relationship between wavelength &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) and frequency is &amp;lt;math&amp;gt; v = \frac{c}{\lambda} &amp;lt;/math&amp;gt;. As shown in figure 4 when k=0, for the acoustic mode, the wavelength approaches infinity as all the atoms move in the same direction along the axis. As &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; approaches infinity, frequency will tend to 0. For the optical mode the frequency is non-zero. With this information it is clear that at k=0 the dispersion graph is at symmetry point &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; as this is the only point on the dispersion curve where phonon modes display a frequency of zero. &lt;br /&gt;
&lt;br /&gt;
Following the path from &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;, to &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and then to &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; the acoustic mode splits into 3 modes, two transverse modes (TA) and one longitude mode (LA). The two TA are degenerate between &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; until it splits between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Phonon Density of States (DOS)==&lt;br /&gt;
The next part involved calculating the phonon density of states. The DOS is defined as the number of states per energy at a given energy, in this case vibrational frequency. The larger the number of k values considered in reciprocal space the more accurate the DOS. This is achieved by increasing the grid size (nxnxn) to give a better representation of the crystal by sampling more k values in reciprocal space. However, at a certain point the difference between k values is negligible so does not further increase the accuracy of the DOS. Furthermore calculating an infinite number of k values would take an infinite amount of computing time.&lt;br /&gt;
&lt;br /&gt;
The DOS was calculated for a 1x1x1 grid by setting the shrinking value to 1 as shown in figure 5. The grid size was then increased to find the optimum shrinking value that gave a good representation of the DOS without taking too long to calculate as shown by figures 6 through 10. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo Phonon DOS JOH 111.png|thumb|300px|Figure 5. Phonon DOS of MgO using 1x1x1 grid size]]&lt;br /&gt;
|[[File:JOHphononDOS444.png|thumb|300px|Figure 6. Phonon DOS of MgO using 4x4x4 grid size]]&lt;br /&gt;
|[[File:JOHDOS888.png|thumb|300px|Figure 7. Phonon DOS of MgO using 8x8x8 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOHDOS161616.png|thumb|300px|Figure 8. Phonon DOS of MgO using 16x16x16 grid size]]&lt;br /&gt;
|[[File:JOHDOS323232.png|thumb|300px|Figure 9. Phonon DOS of MgO using 32x32x32 grid size]]&lt;br /&gt;
|[[File:JOHDOS50.png|thumb|300px|Figure 10. Phonon DOS of MgO using 50x50x50 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 5 shows the DOS for a 1x1x1 grid size. The four peaks 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 676 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 819 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; represent the four frequencies at point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. At symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;, by looking at figure 3, the two phonon modes at 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; are degenerate (as they go on to split in two between points &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;. This degeneracy is confirmed in the DOS graph in figure 5 as the intensity of the peaks around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; is around double that of the peaks around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is chosen as the k-value for a grid size of 1x1x1 as it is the most representative point in k-space for the DOS. This is shown visually from figures 5 to 10 as when the DOS becomes more accurate the main peak remains around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; with the smaller peak still remaining around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. There is a theorem about using the &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; point in reciprocal space for a 1x1x1 grid called Baldereschi theorem &amp;lt;ref name = &amp;quot;Ref 3&amp;quot;/&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The ideal grid size is one that represents the DOS without taking too long to calculate. From figure 8 onwards the shape of the curve does not change much, so it can be concluded that using a grid size of 16 is sufficient enough to gain a good understanding of the DOS without taking too long to calculate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:DOS dispersion JOH.png|thumb|400px|Figure 11. Comparing the dispersion curve with the DOS]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It is important to note the relationship between the dispersion curve and the DOS graph as shown in figure 11. The frequency in the phonon dispersion curve on the y axis is the same as the frequency on the DOS curve in the x-axis. It can be seen visually that the most popular states are around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The relationship between real space and reciprocal space is given by the formula &amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt; - a being the length in real space transformed to a* in reciprocal space. This shows that the larger the lattice constant a, the smaller the reciprocal cell. This is important to consider when assessing the DOS for other structures. Lithium has a lattice constant of 3.490 Å &amp;lt;ref name = &amp;quot;Ref 4&amp;quot;/&amp;gt; which is 0.721 Å lower that the conventional unit cell of MgO that is being modelled. Due to the inverse relationship of real to reciprocal space, lithium will have a larger cell in reciprocal space and therefore need a larger grid size to measure the DOS accurately. Conversely Faujasite has a lattice constant of 24.7 Å &amp;lt;ref name = &amp;quot;Ref 5&amp;quot; /&amp;gt; which will give a much smaller cell in reciprocal space meaning that a smaller grid size would give an accurate measurement of the DOS as there are fewer k values needed to measure the cell. CaO has a very similar lattice constant meaning that a similar grid size would be needed to accurately measure the DOS - in this case a grid size of 16x16x16 would be sufficient.&lt;br /&gt;
&lt;br /&gt;
==Computing the Free Energy==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Table 2ː Energy vs Grid size&lt;br /&gt;
! Grid Size nxnxn/n&lt;br /&gt;
! Free Energy/eV&lt;br /&gt;
! Accuracy/ meV&lt;br /&gt;
! Log file&lt;br /&gt;
! rowspan=&amp;quot;9&amp;quot;|[[File:JOH Free energy vs grid size.png|thumb|400px|]]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| -40.930301&lt;br /&gt;
| 4&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/1/12/JOH_fe_MgO_111.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| -40.926609&lt;br /&gt;
| 0.2&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/aa/JOH_fe_MgO_222.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -40.926432&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4d/JOH_fe_MgO_333.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -40.926450&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/40/JOH_fe_MgO_444.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -40.926478&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/7/70/JOH_fe_MgO_888.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -40.926482&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4f/JOH_fe_MgO_16.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/ac/JOH_fe_MgO_32.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 50&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [[Media:JOH_fe_MgO_50.txt.zip|log file]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Table 2 displays the free energies of MgO as a function of grid size n. Similar to finding the ideal grid size to calculate the DOS, the optimal grid size to calculate the free energy can be found in table 2. As the grid size increases from 1 to 3 there is a sharp increase in the free energy from -40.930301 eV to -40.926432 eV, afterwards the free energy eventually converges at -40.926483 eV. The degree of accuracy follows this trend, from a grid size of 4 onwards the degree of accuracy is greater that 0.1 meV. There is no change in free energy from a grid size of 32 to 50 suggesting that a grid size of 32 is all that is needed to accurately determine the free energy of MgO. &lt;br /&gt;
&lt;br /&gt;
The graph in table 2 can be rationalised by the equation for the Helmholtz free energy - &amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A is the Helmholtz fee energy, U is the internal energy, T is temperature and S is entropy. As the grid size increases, the volume increases so the internal energy decreases (&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt;). This in turn means that the Helmholtz free energy would decrease.&lt;br /&gt;
&lt;br /&gt;
Furthermore as the number of microstates sampled increases the entropy term will increase according to the relationship &amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt;. This in turn means that the free energy will be lowered. By considering these two factors the decrease in free energy can be rationalised.&lt;br /&gt;
&lt;br /&gt;
==Thermal Expansion of MgO==&lt;br /&gt;
The structure of MgO will be optimised with respect to the free energy at different temperatures (0 - 1000 K in steps of 100 K). The free energy will be computed using the quasi-harmonic approximation (QHA) which uses the following expression: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
*&amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; = frequency of the vibration &lt;br /&gt;
*&amp;lt;math&amp;gt;E_{0}&amp;lt;/math&amp;gt; = zero point energy &lt;br /&gt;
*&amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; = Temperature&lt;br /&gt;
*&amp;lt;math&amp;gt;k_B&amp;lt;/math&amp;gt; = Boltzmann Constant &lt;br /&gt;
*&amp;lt;math&amp;gt;\hbar&amp;lt;/math&amp;gt; = reduced Planck&#039;s constant. &lt;br /&gt;
&lt;br /&gt;
The equations is split into three parts - the zero point energy and the harmonic and entropic contribution.&lt;br /&gt;
&lt;br /&gt;
In addition the coefficients of thermal expansion was calculated. Thermal expansion is the tendency for matter to change in response to temperature, due to heat transfer. The coefficient of thermal expansion describes how the size of an object changes with temperature. The larger the coefficient the greater the change in size as temperature increases. Several coefficients have been developed and the two that we will look at are the linear and volumetric thermal expansion. The generic equation is as follows:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\alpha_x = \frac{1}{x}\,\left(\frac{\partial x}{\partial T}\right)_p&lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* α&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt; = thermal expansion coefficient&lt;br /&gt;
* x = initial dimension &lt;br /&gt;
* ∂x = the partial derivative of the dimension under study &lt;br /&gt;
* ∂T = partial derivative of temperature (at constant pressure)&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy vs temp.png|thumb|400px|Figure 12. Free Energy dependence on Temperature for the QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH lattice constant vs temp.png|thumb|400px|Figure 13. Lattice Constant dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|[[File:JOH LV temp.png|thumb|400px|Figure 14. Lattice Volume dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 12 shows that as temperature increases the free energy becomes more negative. This can be rationalised with the derivation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; G = H - TS &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Plug in &amp;lt;math&amp;gt;H = U + PV&amp;lt;/math&amp;gt; to get  &amp;lt;math&amp;gt;G = U + PV - TS&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dG = dU + PdV + VdP - TdS - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = q + w &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dq = TdS &amp;lt;/math&amp;gt; &amp;lt;math&amp;gt; dw = -PdV &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \therefore dG = VdP - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This implies that both the volume and the entropic factor contribute to the free energy. As the temperature increases the volume will increase, however the entropic factor will overcome this due to large change in temperature. This explains the trend observed in figure 12. &lt;br /&gt;
&lt;br /&gt;
We would expect a linear negative decrease - &amp;lt;math&amp;gt; \left( \frac{\partial G}{\partial T} \right)_P = -S &amp;lt;/math&amp;gt;. However figure 12 shows that the trend is a curve, the free energy becomes more negative at an increasing rate, suggesting that the pressure may not be constant.&lt;br /&gt;
&lt;br /&gt;
The trend could also be explained using the Helmoholtz free energy equation used in the QHA. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The entropic contribution in the equation has a large dependence on temperature and therefore as temperature increases the entropic contribution becomes more negative. This is due to the exponential factor in the entropic contribution. This results in the Helmholtz becoming more negative.  &lt;br /&gt;
&lt;br /&gt;
===Calculating the Thermal expansion coefficients===&lt;br /&gt;
Figure 13 and 12 show how the lattice constant and volume change with temperature. Both graphs initially increase gradually and after 400 K show a nearly perfect linear trend. The trend in both graphs shows strong correlation with R&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; values close to one. By taking the gradient of these trend lines the thermal expansion coefficients can be calculated:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Linear Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{1}{L} \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{0.00002342}{2.986563} = 7.7815\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
L = the initial lattice constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 13&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Volumetric Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V} \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{0.00044612}{18.836496} = 2.3684\times 10^{-5}&amp;lt;/math&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
V = the initial volume constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 14&lt;br /&gt;
&lt;br /&gt;
For isotropic materials the volumetric coefficient is three times larger that then linear coefficient - 3&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;. For MgO &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt; is practically three times larger than &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; (3.04&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;) implying that MgO is an isotropic material &amp;lt;ref name=&amp;quot;Ref 6&amp;quot;/&amp;gt;, in other words lattice constants a, b and c expand at equal rates. At 200 K the L value increases to 2.987604 Å resulting in &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;7.839\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; which is close to the literature value of &amp;lt;math&amp;gt;7.39\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The main approximation with the QHA occurs at higher temperatures. This is because at higher temperatures the lattice experiences a larger anharmonic effect due to a larger deviation from bond equilibrium as more energy is put into the bond. Furthermore as anharmonicity comes from scattered phonons interacting due to lattice defect, this effect will be accentuated as lattice vibration gain more energy. The QHA simplifies the anharmonic effect by letting the phonon frequencies become volume dependent so therefore is unable to model the anharmonic effect well. The born-oppenheimer approximation would become less valid at larger temperatures as the motion of nuclei becomes more important. So as the temperature reaches melting point the phonon modes would not represent the motion of the ions well. &lt;br /&gt;
&lt;br /&gt;
Lastly in a diatomic molecule with an exact harmonic potential as the temperature increases there would be no change in equilibrium bond length as the parabolic function is symmetric. Instead the maximum and minimum bond lengths would increase or in other words a larger amplitude would be reached.&lt;br /&gt;
&lt;br /&gt;
== Molecular Dynamics ==&lt;br /&gt;
The crystal was then studied using Molecular Dynamics. In the previous investigations MgO has been described using a primitive cell containing a single MgO unit. Running an MD would not produce meaningful data as every cell would move perfectly in phase. By increasing the size of the cell the MD would become more accurate but become more computationally expensive so a compromise is reached for a cell containing 32 MgO units. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy temperature QHA MD.png|thumb|400px|Figure 15. Free Energy vs Temperature for MD compared to QHA]]&lt;br /&gt;
|[[File:JOHlatticeQHAMD2.png|thumb|400px|Figure 16. Lattice Constant vs Temperature for MD compared to QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics allows a system to evolve in time according to Newton&#039;s second law F=ma. As the system is treated classically energy can be modelled by the equipartition principle, &amp;lt;math&amp;gt;E = \frac{3}{2} k_B T&amp;lt;/math&amp;gt;, and as such the energy will increase linearly with temperature. In comparison QHA follows the relationship &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
This mean that the energy should decrease with temperature. Both the free energy modelled by MD and QHA can be seen in figure 15. &lt;br /&gt;
&lt;br /&gt;
Looking at figure 16 the MD and the QHA are similar between 400-1000 K, thus the volumetric expansion coefficients would be similar:&lt;br /&gt;
*MD - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; = 3.06 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
*QHA - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;  = 2.89 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
This similarity in data strengthens the reliability of the volumetric expansion coefficients between 400 - 1000 K. However, below 400 K the QHA begins to break from a linear trend and curve towards 18.84 Å&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt; whereas the MD follows the linear trend. At lower trends the anharmonic effect is not as prevalent so the QHA is a better model for the lattice constant at lower temperatures. The MD model does not accurately show how the free energy changes at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
===Limitation===&lt;br /&gt;
&lt;br /&gt;
Overall both QHA and MD models have their limitations. &lt;br /&gt;
&lt;br /&gt;
The atoms are modelled using a classical approach or in other words atoms are modelled as hard charged spheres. So the quantum mechanical contributions cannot be taken into account. This will reduced the accuracy of the models &lt;br /&gt;
&lt;br /&gt;
Furthermore, the models do not consider long-range interactions, only interactions of atoms relatively close. In a realistic crystal there will be interactions outside the nearest neighbours albeit small interactions. Thus slight inaccuracy in the models is seen. &lt;br /&gt;
&lt;br /&gt;
For both models it can be assumed that the trends can be extrapolated until the melting point of MgO is reached, as upon melting a change in volume occurs. Furthermore liquid MgO has no structured order so cannot be described by a repeated unit cell. &lt;br /&gt;
&lt;br /&gt;
In the QHA the interactions between atoms of different unit cells was not taken into consideration. There would be an energy increase if there was overlap between atoms in different cells.&lt;br /&gt;
&lt;br /&gt;
For these MD calculations, as only a small number of atoms were considered it was reasonable to use a time step of 1.0 femtoseconds. However, when considering a much larger system, say for example a protein, then this would become computationally expensive.&lt;br /&gt;
&lt;br /&gt;
==Conclusion== &lt;br /&gt;
The experiment showed the thermal expansion of MgO, the phonon dispersion and the DOS. Comparisons between the QHA and the MD were made, both approaches giving reasonable thermal expansion coefficients between 400-1000 K. At lower temperatures the QHA was a better model, due to the reduction in anharmonic effects.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 1&amp;quot; &amp;gt; O. Madelung, U. Rössler and M. Schulz, Eds., II-VI and I-VII compounds; Semimagnetic compounds, Springer-Verlag, 1999. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 2&amp;quot; &amp;gt; A. CIMINO, P. PORTA and M. VALIGI, Journal of the American Ceramic Society, 1966, 49, 152–156. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 3&amp;quot;&amp;gt; A. Baldereschi, Physical Review B, 1973, 7, 5212–5215. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 4&amp;quot; &amp;gt; E. J. Covington and D. J. Montgomery, J. Appl. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys, 2010, 27, 1030–53111. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 5&amp;quot; &amp;gt; J. A. Kaduk and J. Faber, The Rigaku journal 14 CRYSTAL STRUCTURE OF ZEOLITE Y AS A FUNCTION OF ION EXCHANGE, 1995. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 6&amp;quot; &amp;gt; J.R. Vinson, Plate and Panel structures of Isotropic, Composite and Piezoelectric Materials, including Sandwich Construction. Delaware; Springer; 2005. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Appendix==&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo phonon DOS 222 JOH.png|thumb|300px|Figure 1. Phonon DOS of MgO using 2x2x2 grid size]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Jo1213</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553485</id>
		<title>Rep:Mod:JOH95MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553485"/>
		<updated>2016-03-11T11:02:34Z</updated>

		<summary type="html">&lt;p&gt;Jo1213: /* Computing the Phonon Dispersion Curves */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
The experiment will investigate the properties of an MgO crystal. Firstly the dimensions of the unit cells will be investigated along with the associated energy. Then the phonon dispersion and DOS will be investigated, evaluating the optimal grid size to use. The energies of the crystal will be investigates along with the thermal expansion coefficients. Lastly the quasi-harmonic approximation (QHA) and the molecular dynamics (MD) will be compared. &lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon-based model used to describe volume-dependent thermal effects. The harmonic phonon model assumes that all intermolecular forces are harmonic. This is not sufficient to describe thermal expansion as there is no change to the equilibrium bond length as temperature increases. The QHA takes into account that molecules do have an anharmonic effect at higher temperatures by treating frequencies as volume dependent. &lt;br /&gt;
&lt;br /&gt;
The MD approach allows a system to evolve in time according to Newton&#039;s second law &amp;lt;math&amp;gt;F=ma&amp;lt;/math&amp;gt;. The initial configurations and velocities are assigned to allow the program to iterate positions and velocities. The atoms follow trajectories and the properties, such as E and T, are computed as time averages of their behaviour.&lt;br /&gt;
&lt;br /&gt;
The programs used were RedHat Linux, DLVisulaize (DLV) and General Utility Lattice Program (GULP). DLV allows us to visualise the MgO crystals and GULP is used to perform simulations on materials using boundary conditions, in this case on a 3D lattice.&lt;br /&gt;
&lt;br /&gt;
== Internal Energy of MgO ==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:PC 1.png|left|thumb|300px|Figure 1. Primitive Cell of MgO]]&lt;br /&gt;
|[[File:CC .png|left|thumb|300px|Figure 2. Conventional Cell of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 1 shows the primitive unit cell of MgO. The primitive unit cell consists of 2 atoms Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; which are held together by a Buckingham repulsive potential. The unit cell has a rhombohedron shape with lattice constants of 2.9783 Å and an internal angle a = 60°. The primitive cell contains one lattice point and is the simplest cell to describe the crystal. A calculation was run on MgO. In the [https://wiki.ch.ic.ac.uk/wiki/images/e/e7/MgO_1_james.txt LogFile] GULF describes MgO using a primitive unit cell. The Cartesian lattice vectors of the cell are reported in table 1 and the total lattice energy was -41.07531759 eV which represents the energy to pull all the atom infinitely apart. The GULP calculation correlates with LCAO HF calculations found in literature (2.573 Å &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;). &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|-&lt;br /&gt;
|+ Table 1ː Cell Vector Dimensions/Å&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The conventional cell has four times the volume of the primitive cell as shown in figure 2. The structure of the cell is face centered cubic (FCC) which has an internal angel a = 90° and a lattice vector of 4.212 Å (which agrees with literature of 4.21 Å &amp;lt;ref name =&amp;quot;Ref 2&amp;quot; /&amp;gt;). The conventional cell is more representative of the crystal so is chosen in the calculations.&lt;br /&gt;
&lt;br /&gt;
==Computing the Phonon Dispersion Curves==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO Phonon Dispersion JOH.png|thumb|300px|Figure 3. Phonon Dispersion Graph of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The vibrational modes of the lattice were then computed. The phonon modes were displayed as a dispersion curve, as shown in figure 3. The phonon frequencies were calculated along a path in k-space. Special points along the path, &amp;lt;math&amp;gt;W, L, \Gamma, X, W, K&amp;lt;/math&amp;gt;, can be seen in figure 3. There are two phonos modes associated with each axis, acoustic (in-phase) and optical (out-of-phase) phonons. In the 3D model three axis (x,y,z) are taken into consideration meaning there are 6 phonon modes as shown by the six different curves in figure 3. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:K=0 JOH.png|thumb|300px|Figure 4. Acoustic and optical modes at k=0]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The relationship between the wavevector k to the wavelength &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) is &amp;lt;math&amp;gt;k= \frac{2\pi}{\lambda}&amp;lt;/math&amp;gt;. Furthermore the relationship between wavelength &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) and frequency is &amp;lt;math&amp;gt; v = \frac{c}{\lambda} &amp;lt;/math&amp;gt;. As shown in figure 4 when k=0, for the acoustic mode, the wavelength approaches infinity as all the atoms move in the same direction along the axis. As &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; approaches infinity, frequency will tend to 0. For the optical mode the frequency is non-zero. With this information it is clear that at k=0 the dispersion graph is at symmetry point &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; as this is the only point on the dispersion curve where phonon modes display a frequency of zero. &lt;br /&gt;
&lt;br /&gt;
Following the path from &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;, to &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and then to &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; the acoustic mode splits into 3 modes, two transverse modes (TA) and one longitude mode (LA). The two TA are degenerate between &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; until it splits between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Phonon Density of States (DOS)==&lt;br /&gt;
The next part involved calculating the phonon density of states. The DOS is defined as the number of states per energy at a given energy, in this case vibrational frequency. The larger the number of k values considered in reciprocal space the more accurate the DOS. This is achieved by increasing the grid size (nxnxn) to give a better representation of the crystal by sampling more k values in reciprocal space. However, at a certain point the difference between k values is negligible so does not further increase the accuracy of the DOS. Furthermore calculating an infinite number of k values would take an infinite amount of computing time.&lt;br /&gt;
&lt;br /&gt;
The DOS was calculated for a 1x1x1 grid by setting the shrinking value to 1 as shown in figure 5. The grid size was then increased to find the optimum shrinking value that gave a good representation of the DOS without taking too long to calculate as shown by figures 6 through 10. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo Phonon DOS JOH 111.png|thumb|300px|Figure 5. Phonon DOS of MgO using 1x1x1 grid size]]&lt;br /&gt;
|[[File:JOHphononDOS444.png|thumb|300px|Figure 6. Phonon DOS of MgO using 4x4x4 grid size]]&lt;br /&gt;
|[[File:JOHDOS888.png|thumb|300px|Figure 7. Phonon DOS of MgO using 8x8x8 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOHDOS161616.png|thumb|300px|Figure 8. Phonon DOS of MgO using 16x16x16 grid size]]&lt;br /&gt;
|[[File:JOHDOS323232.png|thumb|300px|Figure 9. Phonon DOS of MgO using 32x32x32 grid size]]&lt;br /&gt;
|[[File:JOHDOS50.png|thumb|300px|Figure 10. Phonon DOS of MgO using 50x50x50 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 5 shows the DOS for a 1x1x1 grid size. The four peaks 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 676 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 819 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; represent the four frequencies at point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. At symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;, by looking at figure 3 the two phonon modes at 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; are degenerate (as they go on to split in two between points &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;. This degeneracy is confirmed in the DOS graph in figure 5 as the intensity of the peaks around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; is around double that of the peaks around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is chosen as the k-value for a grid size of 1x1x1 as it is the most representative point in k-space for the DOS. This is shown visually from figures 5 to 10 as when the DOS becomes more accurate the main peak remains around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; with the smaller peak still remaining around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. There is a theorem about using the &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; point in reciprocal space for a 1x1x1 grid called Baldereschi theorem &amp;lt;ref name = &amp;quot;Ref 3&amp;quot;/&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The ideal grid size is one that represents the DOS without taking too long to calculate. From figure 8 onwards the shape of the curve does not change much, so it can be concluded that using a grid size of 16 is sufficient enough to gain a good understanding of the DOS without taking too long to calculate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:DOS dispersion JOH.png|thumb|400px|Figure 11. Comparing the dispersion curve with the DOS]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It is important to note the relationship between the dispersion curve and the DOS graph as shown in figure 11. The frequency in the phonon dispersion curve on the y axis is the same as the frequency on the DOS curve in the x-axis. It can be seen visually that the most popular states are around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The relationship between real space and reciprocal space is given by the formula &amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt; - a being the length in real space transformed to a* in reciprocal space. This shows that the larger the lattice constant a, the smaller the reciprocal cell. This is important to consider when assessing the DOS for other structures. Lithium has a lattice constant of 3.490 Å &amp;lt;ref name = &amp;quot;Ref 4&amp;quot;/&amp;gt; which is 0.721 Å lower that the conventional unit cell of MgO that is being modelled. Due to the inverse relationship of real to reciprocal space, lithium will have a larger cell in reciprocal space and therefore need a larger grid size to measure the DOS accurately. Conversely Faujasite has a lattice constant of 24.7 Å &amp;lt;ref name = &amp;quot;Ref 5&amp;quot; /&amp;gt; which will give a much smaller cell in reciprocal space meaning that a smaller grid size would give an accurate measurement of the DOS as there are fewer k values needed to measure the cell. CaO has a very similar lattice constant meaning that a similar grid size would be needed to accurately measure the DOS - in this case a grid size of 16x16x16 would be sufficient.&lt;br /&gt;
&lt;br /&gt;
==Computing the Free Energy==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Table 2ː Energy vs Grid size&lt;br /&gt;
! Grid Size nxnxn/n&lt;br /&gt;
! Free Energy/eV&lt;br /&gt;
! Accuracy/ meV&lt;br /&gt;
! Log file&lt;br /&gt;
! rowspan=&amp;quot;9&amp;quot;|[[File:JOH Free energy vs grid size.png|thumb|400px|]]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| -40.930301&lt;br /&gt;
| 4&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/1/12/JOH_fe_MgO_111.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| -40.926609&lt;br /&gt;
| 0.2&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/aa/JOH_fe_MgO_222.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -40.926432&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4d/JOH_fe_MgO_333.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -40.926450&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/40/JOH_fe_MgO_444.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -40.926478&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/7/70/JOH_fe_MgO_888.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -40.926482&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4f/JOH_fe_MgO_16.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/ac/JOH_fe_MgO_32.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 50&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [[Media:JOH_fe_MgO_50.txt.zip|log file]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Table 2 displays the free energies of MgO as a function of grid size n. Similar to finding the ideal grid size to calculate the DOS, the optimal grid size to calculate the free energy can be found in table 2. As the grid size increases from 1 to 3 there is a sharp increase in the free energy from -40.930301 eV to -40.926432 eV, afterwards the free energy eventually converges at -40.926483 eV. The degree of accuracy follows this trend, from a grid size of 4 onwards the degree of accuracy is greater that 0.1 meV. There is no change in free energy from a grid size of 32 to 50 suggesting that a grid size of 32 is all that is needed to accurately determine the free energy of MgO. &lt;br /&gt;
&lt;br /&gt;
The graph in table 2 can be rationalised by the equation for the Helmholtz free energy - &amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A is the Helmholtz fee energy, U is the internal energy, T is temperature and S is entropy. As the grid size increases, the volume increases so the internal energy decreases (&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt;). This in turn means that the Helmholtz free energy would decrease.&lt;br /&gt;
&lt;br /&gt;
Furthermore as the number of microstates sampled increases the entropy term will increase according to the relationship &amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt;. This in turn means that the free energy will be lowered. By considering these two factors the decrease in free energy can be rationalised.&lt;br /&gt;
&lt;br /&gt;
==Thermal Expansion of MgO==&lt;br /&gt;
The structure of MgO will be optimised with respect to the free energy at different temperatures (0 - 1000 K in steps of 100 K). The free energy will be computed using the quasi-harmonic approximation (QHA) which uses the following expression: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
*&amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; = frequency of the vibration &lt;br /&gt;
*&amp;lt;math&amp;gt;E_{0}&amp;lt;/math&amp;gt; = zero point energy &lt;br /&gt;
*&amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; = Temperature&lt;br /&gt;
*&amp;lt;math&amp;gt;k_B&amp;lt;/math&amp;gt; = Boltzmann Constant &lt;br /&gt;
*&amp;lt;math&amp;gt;\hbar&amp;lt;/math&amp;gt; = reduced Planck&#039;s constant. &lt;br /&gt;
&lt;br /&gt;
The equations is split into three parts - the zero point energy and the harmonic and entropic contribution.&lt;br /&gt;
&lt;br /&gt;
In addition the coefficients of thermal expansion was calculated. Thermal expansion is the tendency for matter to change in response to temperature, due to heat transfer. The coefficient of thermal expansion describes how the size of an object changes with temperature. The larger the coefficient the greater the change in size as temperature increases. Several coefficients have been developed and the two that we will look at are the linear and volumetric thermal expansion. The generic equation is as follows:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\alpha_x = \frac{1}{x}\,\left(\frac{\partial x}{\partial T}\right)_p&lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* α&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt; = thermal expansion coefficient&lt;br /&gt;
* x = initial dimension &lt;br /&gt;
* ∂x = the partial derivative of the dimension under study &lt;br /&gt;
* ∂T = partial derivative of temperature (at constant pressure)&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy vs temp.png|thumb|400px|Figure 12. Free Energy dependence on Temperature for the QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH lattice constant vs temp.png|thumb|400px|Figure 13. Lattice Constant dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|[[File:JOH LV temp.png|thumb|400px|Figure 14. Lattice Volume dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 12 shows that as temperature increases the free energy becomes more negative. This can be rationalised with the derivation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; G = H - TS &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Plug in &amp;lt;math&amp;gt;H = U + PV&amp;lt;/math&amp;gt; to get  &amp;lt;math&amp;gt;G = U + PV - TS&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dG = dU + PdV + VdP - TdS - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = q + w &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dq = TdS &amp;lt;/math&amp;gt; &amp;lt;math&amp;gt; dw = -PdV &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \therefore dG = VdP - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This implies that both the volume and the entropic factor contribute to the free energy. As the temperature increases the volume will increase, however the entropic factor will overcome this due to large change in temperature. This explains the trend observed in figure 12. &lt;br /&gt;
&lt;br /&gt;
We would expect a linear negative decrease - &amp;lt;math&amp;gt; \left( \frac{\partial G}{\partial T} \right)_P = -S &amp;lt;/math&amp;gt;. However figure 12 shows that the trend is a curve, the free energy becomes more negative at an increasing rate, suggesting that the pressure may not be constant.&lt;br /&gt;
&lt;br /&gt;
The trend could also be explained using the Helmoholtz free energy equation used in the QHA. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The entropic contribution in the equation has a large dependence on temperature and therefore as temperature increases the entropic contribution becomes more negative. This is due to the exponential factor in the entropic contribution. This results in the Helmholtz becoming more negative.  &lt;br /&gt;
&lt;br /&gt;
===Calculating the Thermal expansion coefficients===&lt;br /&gt;
Figure 13 and 12 show how the lattice constant and volume change with temperature. Both graphs initially increase gradually and after 400 K show a nearly perfect linear trend. The trend in both graphs shows strong correlation with R&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; values close to one. By taking the gradient of these trend lines the thermal expansion coefficients can be calculated:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Linear Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{1}{L} \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{0.00002342}{2.986563} = 7.7815\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
L = the initial lattice constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 13&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Volumetric Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V} \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{0.00044612}{18.836496} = 2.3684\times 10^{-5}&amp;lt;/math&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
V = the initial volume constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 14&lt;br /&gt;
&lt;br /&gt;
For isotropic materials the volumetric coefficient is three times larger that then linear coefficient - 3&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;. For MgO &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt; is practically three times larger than &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; (3.04&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;) implying that MgO is an isotropic material &amp;lt;ref name=&amp;quot;Ref 6&amp;quot;/&amp;gt;, in other words lattice constants a, b and c expand at equal rates. At 200 K the L value increases to 2.987604 Å resulting in &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;7.839\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; which is close to the literature value of &amp;lt;math&amp;gt;7.39\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The main approximation with the QHA occurs at higher temperatures. This is because at higher temperatures the lattice experiences a larger anharmonic effect due to a larger deviation from bond equilibrium as more energy is put into the bond. Furthermore as anharmonicity comes from scattered phonons interacting due to lattice defect, this effect will be accentuated as lattice vibration gain more energy. The QHA simplifies the anharmonic effect by letting the phonon frequencies become volume dependent so therefore is unable to model the anharmonic effect well. The born-oppenheimer approximation would become less valid at larger temperatures as the motion of nuclei becomes more important. So as the temperature reaches melting point the phonon modes would not represent the motion of the ions well. &lt;br /&gt;
&lt;br /&gt;
Lastly in a diatomic molecule with an exact harmonic potential as the temperature increases there would be no change in equilibrium bond length as the parabolic function is symmetric. Instead the maximum and minimum bond lengths would increase or in other words a larger amplitude would be reached.&lt;br /&gt;
&lt;br /&gt;
== Molecular Dynamics ==&lt;br /&gt;
The crystal was then studied using Molecular Dynamics. In the previous investigations MgO has been described using a primitive cell containing a single MgO unit. Running an MD would not produce meaningful data as every cell would move perfectly in phase. By increasing the size of the cell the MD would become more accurate but become more computationally expensive so a compromise is reached for a cell containing 32 MgO units. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy temperature QHA MD.png|thumb|400px|Figure 15. Free Energy vs Temperature for MD compared to QHA]]&lt;br /&gt;
|[[File:JOHlatticeQHAMD2.png|thumb|400px|Figure 16. Lattice Constant vs Temperature for MD compared to QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics allows a system to evolve in time according to Newton&#039;s second law F=ma. As the system is treated classically energy can be modelled by the equipartition principle, &amp;lt;math&amp;gt;E = \frac{3}{2} k_B T&amp;lt;/math&amp;gt;, and as such the energy will increase linearly with temperature. In comparison QHA follows the relationship &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
This mean that the energy should decrease with temperature. Both the free energy modelled by MD and QHA can be seen in figure 15. &lt;br /&gt;
&lt;br /&gt;
Looking at figure 16 the MD and the QHA are similar between 400-1000 K, thus the volumetric expansion coefficients would be similar:&lt;br /&gt;
*MD - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; = 3.06 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
*QHA - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;  = 2.89 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
This similarity in data strengthens the reliability of the volumetric expansion coefficients between 400 - 1000 K. However, below 400 K the QHA begins to break from a linear trend and curve towards 18.84 Å&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt; whereas the MD follows the linear trend. At lower trends the anharmonic effect is not as prevalent so the QHA is a better model for the lattice constant at lower temperatures. The MD model does not accurately show how the free energy changes at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
===Limitation===&lt;br /&gt;
&lt;br /&gt;
Overall both QHA and MD models have their limitations. &lt;br /&gt;
&lt;br /&gt;
The atoms are modelled using a classical approach or in other words atoms are modelled as hard charged spheres. So the quantum mechanical contributions cannot be taken into account. This will reduced the accuracy of the models &lt;br /&gt;
&lt;br /&gt;
Furthermore, the models do not consider long-range interactions, only interactions of atoms relatively close. In a realistic crystal there will be interactions outside the nearest neighbours albeit small interactions. Thus slight inaccuracy in the models is seen. &lt;br /&gt;
&lt;br /&gt;
For both models it can be assumed that the trends can be extrapolated until the melting point of MgO is reached, as upon melting a change in volume occurs. Furthermore liquid MgO has no structured order so cannot be described by a repeated unit cell. &lt;br /&gt;
&lt;br /&gt;
In the QHA the interactions between atoms of different unit cells was not taken into consideration. There would be an energy increase if there was overlap between atoms in different cells.&lt;br /&gt;
&lt;br /&gt;
For these MD calculations, as only a small number of atoms were considered it was reasonable to use a time step of 1.0 femtoseconds. However, when considering a much larger system, say for example a protein, then this would become computationally expensive.&lt;br /&gt;
&lt;br /&gt;
==Conclusion== &lt;br /&gt;
The experiment showed the thermal expansion of MgO, the phonon dispersion and the DOS. Comparisons between the QHA and the MD were made, both approaches giving reasonable thermal expansion coefficients between 400-1000 K. At lower temperatures the QHA was a better model, due to the reduction in anharmonic effects.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 1&amp;quot; &amp;gt; O. Madelung, U. Rössler and M. Schulz, Eds., II-VI and I-VII compounds; Semimagnetic compounds, Springer-Verlag, 1999. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 2&amp;quot; &amp;gt; A. CIMINO, P. PORTA and M. VALIGI, Journal of the American Ceramic Society, 1966, 49, 152–156. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 3&amp;quot;&amp;gt; A. Baldereschi, Physical Review B, 1973, 7, 5212–5215. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 4&amp;quot; &amp;gt; E. J. Covington and D. J. Montgomery, J. Appl. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys, 2010, 27, 1030–53111. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 5&amp;quot; &amp;gt; J. A. Kaduk and J. Faber, The Rigaku journal 14 CRYSTAL STRUCTURE OF ZEOLITE Y AS A FUNCTION OF ION EXCHANGE, 1995. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 6&amp;quot; &amp;gt; J.R. Vinson, Plate and Panel structures of Isotropic, Composite and Piezoelectric Materials, including Sandwich Construction. Delaware; Springer; 2005. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Appendix==&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo phonon DOS 222 JOH.png|thumb|300px|Figure 1. Phonon DOS of MgO using 2x2x2 grid size]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Jo1213</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553479</id>
		<title>Rep:Mod:JOH95MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553479"/>
		<updated>2016-03-11T10:58:06Z</updated>

		<summary type="html">&lt;p&gt;Jo1213: /* Introduction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
The experiment will investigate the properties of an MgO crystal. Firstly the dimensions of the unit cells will be investigated along with the associated energy. Then the phonon dispersion and DOS will be investigated, evaluating the optimal grid size to use. The energies of the crystal will be investigates along with the thermal expansion coefficients. Lastly the quasi-harmonic approximation (QHA) and the molecular dynamics (MD) will be compared. &lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon-based model used to describe volume-dependent thermal effects. The harmonic phonon model assumes that all intermolecular forces are harmonic. This is not sufficient to describe thermal expansion as there is no change to the equilibrium bond length as temperature increases. The QHA takes into account that molecules do have an anharmonic effect at higher temperatures by treating frequencies as volume dependent. &lt;br /&gt;
&lt;br /&gt;
The MD approach allows a system to evolve in time according to Newton&#039;s second law &amp;lt;math&amp;gt;F=ma&amp;lt;/math&amp;gt;. The initial configurations and velocities are assigned to allow the program to iterate positions and velocities. The atoms follow trajectories and the properties, such as E and T, are computed as time averages of their behaviour.&lt;br /&gt;
&lt;br /&gt;
The programs used were RedHat Linux, DLVisulaize (DLV) and General Utility Lattice Program (GULP). DLV allows us to visualise the MgO crystals and GULP is used to perform simulations on materials using boundary conditions, in this case on a 3D lattice.&lt;br /&gt;
&lt;br /&gt;
== Internal Energy of MgO ==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:PC 1.png|left|thumb|300px|Figure 1. Primitive Cell of MgO]]&lt;br /&gt;
|[[File:CC .png|left|thumb|300px|Figure 2. Conventional Cell of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 1 shows the primitive unit cell of MgO. The primitive unit cell consists of 2 atoms Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; which are held together by a Buckingham repulsive potential. The unit cell has a rhombohedron shape with lattice constants of 2.9783 Å and an internal angle a = 60°. The primitive cell contains one lattice point and is the simplest cell to describe the crystal. A calculation was run on MgO. In the [https://wiki.ch.ic.ac.uk/wiki/images/e/e7/MgO_1_james.txt LogFile] GULF describes MgO using a primitive unit cell. The Cartesian lattice vectors of the cell are reported in table 1 and the total lattice energy was -41.07531759 eV which represents the energy to pull all the atom infinitely apart. The GULP calculation correlates with LCAO HF calculations found in literature (2.573 Å &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;). &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|-&lt;br /&gt;
|+ Table 1ː Cell Vector Dimensions/Å&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The conventional cell has four times the volume of the primitive cell as shown in figure 2. The structure of the cell is face centered cubic (FCC) which has an internal angel a = 90° and a lattice vector of 4.212 Å (which agrees with literature of 4.21 Å &amp;lt;ref name =&amp;quot;Ref 2&amp;quot; /&amp;gt;). The conventional cell is more representative of the crystal so is chosen in the calculations.&lt;br /&gt;
&lt;br /&gt;
==Computing the Phonon Dispersion Curves==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO Phonon Dispersion JOH.png|thumb|300px|Figure 3. Phonon Dispersion Graph of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The vibrational modes of the lattice were then computed. The phonon modes were displayed as a dispersion curve, as shown in figure 3. The phonon frequencies were calculated along a path in k-space. Special points along the path, &amp;lt;math&amp;gt;W, L, \Gamma, X, W, K&amp;lt;/math&amp;gt;, can be seen in figure 3. There are two phonos modes associated with each axis, acoustic (in-phase) and optical (out-of-phase) phonons. In the 3D model three axis (x,y,z) are taken into consideration meaning there are 6 phonon modes as shown by the six different curves in figure 3. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:K=0 JOH.png|thumb|300px|Figure 4. Acoustic and optical modes at k=0]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The relationship between the wavevector k to the wavelength &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) is &amp;lt;math&amp;gt;k= \frac{2\pi}{\lambda}&amp;lt;/math&amp;gt;. Furthermore the relationship between wavelength &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) and frequency is &amp;lt;math&amp;gt; v = \frac{c}{\lambda} &amp;lt;/math&amp;gt;. As shown in figure 4 when k=0, for the acoustic mode, the wavelength approaches infinity as all the atoms move in the same direction along the axis. As &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; approaches infinity, frequency will tend to 0. For the optical mode the frequency is non-zero. With this information it is clear that at k=0 the dispersion graph is at symmetry point &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; as this is the only point on the dispersion curve where phonon modes display a frequency of zero. &lt;br /&gt;
&lt;br /&gt;
Following the path from &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;, to &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and then to &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; the acoustic modes splits into 3 modes, two transverse modes (TA) and one longitude mode (LA). The two TA are degenerate between &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; until it splits between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Phonon Density of States (DOS)==&lt;br /&gt;
The next part involved calculating the phonon density of states. The DOS is defined as the number of states per energy at a given energy, in this case vibrational frequency. The larger the number of k values considered in reciprocal space the more accurate the DOS. This is achieved by increasing the grid size (nxnxn) to give a better representation of the crystal by sampling more k values in reciprocal space. However, at a certain point the difference between k values is negligible so does not further increase the accuracy of the DOS. Furthermore calculating an infinite number of k values would take an infinite amount of computing time.&lt;br /&gt;
&lt;br /&gt;
The DOS was calculated for a 1x1x1 grid by setting the shrinking value to 1 as shown in figure 5. The grid size was then increased to find the optimum shrinking value that gave a good representation of the DOS without taking too long to calculate as shown by figures 6 through 10. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo Phonon DOS JOH 111.png|thumb|300px|Figure 5. Phonon DOS of MgO using 1x1x1 grid size]]&lt;br /&gt;
|[[File:JOHphononDOS444.png|thumb|300px|Figure 6. Phonon DOS of MgO using 4x4x4 grid size]]&lt;br /&gt;
|[[File:JOHDOS888.png|thumb|300px|Figure 7. Phonon DOS of MgO using 8x8x8 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOHDOS161616.png|thumb|300px|Figure 8. Phonon DOS of MgO using 16x16x16 grid size]]&lt;br /&gt;
|[[File:JOHDOS323232.png|thumb|300px|Figure 9. Phonon DOS of MgO using 32x32x32 grid size]]&lt;br /&gt;
|[[File:JOHDOS50.png|thumb|300px|Figure 10. Phonon DOS of MgO using 50x50x50 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 5 shows the DOS for a 1x1x1 grid size. The four peaks 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 676 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 819 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; represent the four frequencies at point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. At symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;, by looking at figure 3 the two phonon modes at 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; are degenerate (as they go on to split in two between points &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;. This degeneracy is confirmed in the DOS graph in figure 5 as the intensity of the peaks around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; is around double that of the peaks around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is chosen as the k-value for a grid size of 1x1x1 as it is the most representative point in k-space for the DOS. This is shown visually from figures 5 to 10 as when the DOS becomes more accurate the main peak remains around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; with the smaller peak still remaining around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. There is a theorem about using the &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; point in reciprocal space for a 1x1x1 grid called Baldereschi theorem &amp;lt;ref name = &amp;quot;Ref 3&amp;quot;/&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The ideal grid size is one that represents the DOS without taking too long to calculate. From figure 8 onwards the shape of the curve does not change much, so it can be concluded that using a grid size of 16 is sufficient enough to gain a good understanding of the DOS without taking too long to calculate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:DOS dispersion JOH.png|thumb|400px|Figure 11. Comparing the dispersion curve with the DOS]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It is important to note the relationship between the dispersion curve and the DOS graph as shown in figure 11. The frequency in the phonon dispersion curve on the y axis is the same as the frequency on the DOS curve in the x-axis. It can be seen visually that the most popular states are around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The relationship between real space and reciprocal space is given by the formula &amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt; - a being the length in real space transformed to a* in reciprocal space. This shows that the larger the lattice constant a, the smaller the reciprocal cell. This is important to consider when assessing the DOS for other structures. Lithium has a lattice constant of 3.490 Å &amp;lt;ref name = &amp;quot;Ref 4&amp;quot;/&amp;gt; which is 0.721 Å lower that the conventional unit cell of MgO that is being modelled. Due to the inverse relationship of real to reciprocal space, lithium will have a larger cell in reciprocal space and therefore need a larger grid size to measure the DOS accurately. Conversely Faujasite has a lattice constant of 24.7 Å &amp;lt;ref name = &amp;quot;Ref 5&amp;quot; /&amp;gt; which will give a much smaller cell in reciprocal space meaning that a smaller grid size would give an accurate measurement of the DOS as there are fewer k values needed to measure the cell. CaO has a very similar lattice constant meaning that a similar grid size would be needed to accurately measure the DOS - in this case a grid size of 16x16x16 would be sufficient.&lt;br /&gt;
&lt;br /&gt;
==Computing the Free Energy==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Table 2ː Energy vs Grid size&lt;br /&gt;
! Grid Size nxnxn/n&lt;br /&gt;
! Free Energy/eV&lt;br /&gt;
! Accuracy/ meV&lt;br /&gt;
! Log file&lt;br /&gt;
! rowspan=&amp;quot;9&amp;quot;|[[File:JOH Free energy vs grid size.png|thumb|400px|]]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| -40.930301&lt;br /&gt;
| 4&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/1/12/JOH_fe_MgO_111.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| -40.926609&lt;br /&gt;
| 0.2&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/aa/JOH_fe_MgO_222.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -40.926432&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4d/JOH_fe_MgO_333.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -40.926450&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/40/JOH_fe_MgO_444.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -40.926478&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/7/70/JOH_fe_MgO_888.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -40.926482&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4f/JOH_fe_MgO_16.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/ac/JOH_fe_MgO_32.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 50&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [[Media:JOH_fe_MgO_50.txt.zip|log file]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Table 2 displays the free energies of MgO as a function of grid size n. Similar to finding the ideal grid size to calculate the DOS, the optimal grid size to calculate the free energy can be found in table 2. As the grid size increases from 1 to 3 there is a sharp increase in the free energy from -40.930301 eV to -40.926432 eV, afterwards the free energy eventually converges at -40.926483 eV. The degree of accuracy follows this trend, from a grid size of 4 onwards the degree of accuracy is greater that 0.1 meV. There is no change in free energy from a grid size of 32 to 50 suggesting that a grid size of 32 is all that is needed to accurately determine the free energy of MgO. &lt;br /&gt;
&lt;br /&gt;
The graph in table 2 can be rationalised by the equation for the Helmholtz free energy - &amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A is the Helmholtz fee energy, U is the internal energy, T is temperature and S is entropy. As the grid size increases, the volume increases so the internal energy decreases (&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt;). This in turn means that the Helmholtz free energy would decrease.&lt;br /&gt;
&lt;br /&gt;
Furthermore as the number of microstates sampled increases the entropy term will increase according to the relationship &amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt;. This in turn means that the free energy will be lowered. By considering these two factors the decrease in free energy can be rationalised.&lt;br /&gt;
&lt;br /&gt;
==Thermal Expansion of MgO==&lt;br /&gt;
The structure of MgO will be optimised with respect to the free energy at different temperatures (0 - 1000 K in steps of 100 K). The free energy will be computed using the quasi-harmonic approximation (QHA) which uses the following expression: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
*&amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; = frequency of the vibration &lt;br /&gt;
*&amp;lt;math&amp;gt;E_{0}&amp;lt;/math&amp;gt; = zero point energy &lt;br /&gt;
*&amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; = Temperature&lt;br /&gt;
*&amp;lt;math&amp;gt;k_B&amp;lt;/math&amp;gt; = Boltzmann Constant &lt;br /&gt;
*&amp;lt;math&amp;gt;\hbar&amp;lt;/math&amp;gt; = reduced Planck&#039;s constant. &lt;br /&gt;
&lt;br /&gt;
The equations is split into three parts - the zero point energy and the harmonic and entropic contribution.&lt;br /&gt;
&lt;br /&gt;
In addition the coefficients of thermal expansion was calculated. Thermal expansion is the tendency for matter to change in response to temperature, due to heat transfer. The coefficient of thermal expansion describes how the size of an object changes with temperature. The larger the coefficient the greater the change in size as temperature increases. Several coefficients have been developed and the two that we will look at are the linear and volumetric thermal expansion. The generic equation is as follows:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\alpha_x = \frac{1}{x}\,\left(\frac{\partial x}{\partial T}\right)_p&lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* α&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt; = thermal expansion coefficient&lt;br /&gt;
* x = initial dimension &lt;br /&gt;
* ∂x = the partial derivative of the dimension under study &lt;br /&gt;
* ∂T = partial derivative of temperature (at constant pressure)&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy vs temp.png|thumb|400px|Figure 12. Free Energy dependence on Temperature for the QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH lattice constant vs temp.png|thumb|400px|Figure 13. Lattice Constant dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|[[File:JOH LV temp.png|thumb|400px|Figure 14. Lattice Volume dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 12 shows that as temperature increases the free energy becomes more negative. This can be rationalised with the derivation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; G = H - TS &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Plug in &amp;lt;math&amp;gt;H = U + PV&amp;lt;/math&amp;gt; to get  &amp;lt;math&amp;gt;G = U + PV - TS&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dG = dU + PdV + VdP - TdS - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = q + w &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dq = TdS &amp;lt;/math&amp;gt; &amp;lt;math&amp;gt; dw = -PdV &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \therefore dG = VdP - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This implies that both the volume and the entropic factor contribute to the free energy. As the temperature increases the volume will increase, however the entropic factor will overcome this due to large change in temperature. This explains the trend observed in figure 12. &lt;br /&gt;
&lt;br /&gt;
We would expect a linear negative decrease - &amp;lt;math&amp;gt; \left( \frac{\partial G}{\partial T} \right)_P = -S &amp;lt;/math&amp;gt;. However figure 12 shows that the trend is a curve, the free energy becomes more negative at an increasing rate, suggesting that the pressure may not be constant.&lt;br /&gt;
&lt;br /&gt;
The trend could also be explained using the Helmoholtz free energy equation used in the QHA. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The entropic contribution in the equation has a large dependence on temperature and therefore as temperature increases the entropic contribution becomes more negative. This is due to the exponential factor in the entropic contribution. This results in the Helmholtz becoming more negative.  &lt;br /&gt;
&lt;br /&gt;
===Calculating the Thermal expansion coefficients===&lt;br /&gt;
Figure 13 and 12 show how the lattice constant and volume change with temperature. Both graphs initially increase gradually and after 400 K show a nearly perfect linear trend. The trend in both graphs shows strong correlation with R&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; values close to one. By taking the gradient of these trend lines the thermal expansion coefficients can be calculated:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Linear Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{1}{L} \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{0.00002342}{2.986563} = 7.7815\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
L = the initial lattice constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 13&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Volumetric Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V} \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{0.00044612}{18.836496} = 2.3684\times 10^{-5}&amp;lt;/math&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
V = the initial volume constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 14&lt;br /&gt;
&lt;br /&gt;
For isotropic materials the volumetric coefficient is three times larger that then linear coefficient - 3&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;. For MgO &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt; is practically three times larger than &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; (3.04&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;) implying that MgO is an isotropic material &amp;lt;ref name=&amp;quot;Ref 6&amp;quot;/&amp;gt;, in other words lattice constants a, b and c expand at equal rates. At 200 K the L value increases to 2.987604 Å resulting in &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;7.839\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; which is close to the literature value of &amp;lt;math&amp;gt;7.39\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The main approximation with the QHA occurs at higher temperatures. This is because at higher temperatures the lattice experiences a larger anharmonic effect due to a larger deviation from bond equilibrium as more energy is put into the bond. Furthermore as anharmonicity comes from scattered phonons interacting due to lattice defect, this effect will be accentuated as lattice vibration gain more energy. The QHA simplifies the anharmonic effect by letting the phonon frequencies become volume dependent so therefore is unable to model the anharmonic effect well. The born-oppenheimer approximation would become less valid at larger temperatures as the motion of nuclei becomes more important. So as the temperature reaches melting point the phonon modes would not represent the motion of the ions well. &lt;br /&gt;
&lt;br /&gt;
Lastly in a diatomic molecule with an exact harmonic potential as the temperature increases there would be no change in equilibrium bond length as the parabolic function is symmetric. Instead the maximum and minimum bond lengths would increase or in other words a larger amplitude would be reached.&lt;br /&gt;
&lt;br /&gt;
== Molecular Dynamics ==&lt;br /&gt;
The crystal was then studied using Molecular Dynamics. In the previous investigations MgO has been described using a primitive cell containing a single MgO unit. Running an MD would not produce meaningful data as every cell would move perfectly in phase. By increasing the size of the cell the MD would become more accurate but become more computationally expensive so a compromise is reached for a cell containing 32 MgO units. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy temperature QHA MD.png|thumb|400px|Figure 15. Free Energy vs Temperature for MD compared to QHA]]&lt;br /&gt;
|[[File:JOHlatticeQHAMD2.png|thumb|400px|Figure 16. Lattice Constant vs Temperature for MD compared to QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics allows a system to evolve in time according to Newton&#039;s second law F=ma. As the system is treated classically energy can be modelled by the equipartition principle, &amp;lt;math&amp;gt;E = \frac{3}{2} k_B T&amp;lt;/math&amp;gt;, and as such the energy will increase linearly with temperature. In comparison QHA follows the relationship &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
This mean that the energy should decrease with temperature. Both the free energy modelled by MD and QHA can be seen in figure 15. &lt;br /&gt;
&lt;br /&gt;
Looking at figure 16 the MD and the QHA are similar between 400-1000 K, thus the volumetric expansion coefficients would be similar:&lt;br /&gt;
*MD - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; = 3.06 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
*QHA - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;  = 2.89 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
This similarity in data strengthens the reliability of the volumetric expansion coefficients between 400 - 1000 K. However, below 400 K the QHA begins to break from a linear trend and curve towards 18.84 Å&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt; whereas the MD follows the linear trend. At lower trends the anharmonic effect is not as prevalent so the QHA is a better model for the lattice constant at lower temperatures. The MD model does not accurately show how the free energy changes at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
===Limitation===&lt;br /&gt;
&lt;br /&gt;
Overall both QHA and MD models have their limitations. &lt;br /&gt;
&lt;br /&gt;
The atoms are modelled using a classical approach or in other words atoms are modelled as hard charged spheres. So the quantum mechanical contributions cannot be taken into account. This will reduced the accuracy of the models &lt;br /&gt;
&lt;br /&gt;
Furthermore, the models do not consider long-range interactions, only interactions of atoms relatively close. In a realistic crystal there will be interactions outside the nearest neighbours albeit small interactions. Thus slight inaccuracy in the models is seen. &lt;br /&gt;
&lt;br /&gt;
For both models it can be assumed that the trends can be extrapolated until the melting point of MgO is reached, as upon melting a change in volume occurs. Furthermore liquid MgO has no structured order so cannot be described by a repeated unit cell. &lt;br /&gt;
&lt;br /&gt;
In the QHA the interactions between atoms of different unit cells was not taken into consideration. There would be an energy increase if there was overlap between atoms in different cells.&lt;br /&gt;
&lt;br /&gt;
For these MD calculations, as only a small number of atoms were considered it was reasonable to use a time step of 1.0 femtoseconds. However, when considering a much larger system, say for example a protein, then this would become computationally expensive.&lt;br /&gt;
&lt;br /&gt;
==Conclusion== &lt;br /&gt;
The experiment showed the thermal expansion of MgO, the phonon dispersion and the DOS. Comparisons between the QHA and the MD were made, both approaches giving reasonable thermal expansion coefficients between 400-1000 K. At lower temperatures the QHA was a better model, due to the reduction in anharmonic effects.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 1&amp;quot; &amp;gt; O. Madelung, U. Rössler and M. Schulz, Eds., II-VI and I-VII compounds; Semimagnetic compounds, Springer-Verlag, 1999. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 2&amp;quot; &amp;gt; A. CIMINO, P. PORTA and M. VALIGI, Journal of the American Ceramic Society, 1966, 49, 152–156. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 3&amp;quot;&amp;gt; A. Baldereschi, Physical Review B, 1973, 7, 5212–5215. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 4&amp;quot; &amp;gt; E. J. Covington and D. J. Montgomery, J. Appl. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys, 2010, 27, 1030–53111. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 5&amp;quot; &amp;gt; J. A. Kaduk and J. Faber, The Rigaku journal 14 CRYSTAL STRUCTURE OF ZEOLITE Y AS A FUNCTION OF ION EXCHANGE, 1995. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 6&amp;quot; &amp;gt; J.R. Vinson, Plate and Panel structures of Isotropic, Composite and Piezoelectric Materials, including Sandwich Construction. Delaware; Springer; 2005. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Appendix==&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo phonon DOS 222 JOH.png|thumb|300px|Figure 1. Phonon DOS of MgO using 2x2x2 grid size]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Jo1213</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553473</id>
		<title>Rep:Mod:JOH95MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553473"/>
		<updated>2016-03-11T10:50:34Z</updated>

		<summary type="html">&lt;p&gt;Jo1213: /* Introduction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
The experiment will investigate the properties of an MgO crystal. Firstly the dimensions of the unit cells will be investigates along with the associated energy. Then the phonon dispersion and DOS will be investigated, evaluating the optimal grid size to use. The energies of the crystal will be investigates along with the thermal expansion coefficients. Lastly the quasi-harmonic approximation (QHA) and the molecular dynamics (MD) will be compared. &lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon-based model used to describe volume-dependent thermal effects. The harmonic phonon model assumes that all intermolecular forces are harmonic. This is not sufficient to describe thermal expansion as there is no change to the equilibrium bond length as temperature increases. The QHA takes into account that molecules do have an anharmonic effect at higher temperatures by treating frequencies as volume dependent. &lt;br /&gt;
&lt;br /&gt;
The MD approach allows a system to evolve in time according to Newton&#039;s second law &amp;lt;math&amp;gt;F=ma&amp;lt;/math&amp;gt;. The initial configurations and velocities are assigned to allow the program to iterate positions and velocities. The atoms follow trajectories and the properties, such as E and T, are computed as time averages of their behaviour.&lt;br /&gt;
&lt;br /&gt;
The programs used were RedHat Linux, DLVisulaize (DLV) and General Utility Lattice Program (GULP). DLV allows us to visualise the MgO crystals and GULP is used to perform simulations on materials using boundary conditions, in this case on a 3D lattice.&lt;br /&gt;
&lt;br /&gt;
== Internal Energy of MgO ==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:PC 1.png|left|thumb|300px|Figure 1. Primitive Cell of MgO]]&lt;br /&gt;
|[[File:CC .png|left|thumb|300px|Figure 2. Conventional Cell of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 1 shows the primitive unit cell of MgO. The primitive unit cell consists of 2 atoms Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; which are held together by a Buckingham repulsive potential. The unit cell has a rhombohedron shape with lattice constants of 2.9783 Å and an internal angle a = 60°. The primitive cell contains one lattice point and is the simplest cell to describe the crystal. A calculation was run on MgO. In the [https://wiki.ch.ic.ac.uk/wiki/images/e/e7/MgO_1_james.txt LogFile] GULF describes MgO using a primitive unit cell. The Cartesian lattice vectors of the cell are reported in table 1 and the total lattice energy was -41.07531759 eV which represents the energy to pull all the atom infinitely apart. The GULP calculation correlates with LCAO HF calculations found in literature (2.573 Å &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;). &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|-&lt;br /&gt;
|+ Table 1ː Cell Vector Dimensions/Å&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The conventional cell has four times the volume of the primitive cell as shown in figure 2. The structure of the cell is face centered cubic (FCC) which has an internal angel a = 90° and a lattice vector of 4.212 Å (which agrees with literature of 4.21 Å &amp;lt;ref name =&amp;quot;Ref 2&amp;quot; /&amp;gt;). The conventional cell is more representative of the crystal so is chosen in the calculations.&lt;br /&gt;
&lt;br /&gt;
==Computing the Phonon Dispersion Curves==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO Phonon Dispersion JOH.png|thumb|300px|Figure 3. Phonon Dispersion Graph of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The vibrational modes of the lattice were then computed. The phonon modes were displayed as a dispersion curve, as shown in figure 3. The phonon frequencies were calculated along a path in k-space. Special points along the path, &amp;lt;math&amp;gt;W, L, \Gamma, X, W, K&amp;lt;/math&amp;gt;, can be seen in figure 3. There are two phonos modes associated with each axis, acoustic (in-phase) and optical (out-of-phase) phonons. In the 3D model three axis (x,y,z) are taken into consideration meaning there are 6 phonon modes as shown by the six different curves in figure 3. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:K=0 JOH.png|thumb|300px|Figure 4. Acoustic and optical modes at k=0]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The relationship between the wavevector k to the wavelength &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) is &amp;lt;math&amp;gt;k= \frac{2\pi}{\lambda}&amp;lt;/math&amp;gt;. Furthermore the relationship between wavelength &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) and frequency is &amp;lt;math&amp;gt; v = \frac{c}{\lambda} &amp;lt;/math&amp;gt;. As shown in figure 4 when k=0, for the acoustic mode, the wavelength approaches infinity as all the atoms move in the same direction along the axis. As &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; approaches infinity, frequency will tend to 0. For the optical mode the frequency is non-zero. With this information it is clear that at k=0 the dispersion graph is at symmetry point &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; as this is the only point on the dispersion curve where phonon modes display a frequency of zero. &lt;br /&gt;
&lt;br /&gt;
Following the path from &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;, to &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and then to &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; the acoustic modes splits into 3 modes, two transverse modes (TA) and one longitude mode (LA). The two TA are degenerate between &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; until it splits between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Phonon Density of States (DOS)==&lt;br /&gt;
The next part involved calculating the phonon density of states. The DOS is defined as the number of states per energy at a given energy, in this case vibrational frequency. The larger the number of k values considered in reciprocal space the more accurate the DOS. This is achieved by increasing the grid size (nxnxn) to give a better representation of the crystal by sampling more k values in reciprocal space. However, at a certain point the difference between k values is negligible so does not further increase the accuracy of the DOS. Furthermore calculating an infinite number of k values would take an infinite amount of computing time.&lt;br /&gt;
&lt;br /&gt;
The DOS was calculated for a 1x1x1 grid by setting the shrinking value to 1 as shown in figure 5. The grid size was then increased to find the optimum shrinking value that gave a good representation of the DOS without taking too long to calculate as shown by figures 6 through 10. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo Phonon DOS JOH 111.png|thumb|300px|Figure 5. Phonon DOS of MgO using 1x1x1 grid size]]&lt;br /&gt;
|[[File:JOHphononDOS444.png|thumb|300px|Figure 6. Phonon DOS of MgO using 4x4x4 grid size]]&lt;br /&gt;
|[[File:JOHDOS888.png|thumb|300px|Figure 7. Phonon DOS of MgO using 8x8x8 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOHDOS161616.png|thumb|300px|Figure 8. Phonon DOS of MgO using 16x16x16 grid size]]&lt;br /&gt;
|[[File:JOHDOS323232.png|thumb|300px|Figure 9. Phonon DOS of MgO using 32x32x32 grid size]]&lt;br /&gt;
|[[File:JOHDOS50.png|thumb|300px|Figure 10. Phonon DOS of MgO using 50x50x50 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 5 shows the DOS for a 1x1x1 grid size. The four peaks 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 676 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 819 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; represent the four frequencies at point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. At symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;, by looking at figure 3 the two phonon modes at 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; are degenerate (as they go on to split in two between points &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;. This degeneracy is confirmed in the DOS graph in figure 5 as the intensity of the peaks around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; is around double that of the peaks around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is chosen as the k-value for a grid size of 1x1x1 as it is the most representative point in k-space for the DOS. This is shown visually from figures 5 to 10 as when the DOS becomes more accurate the main peak remains around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; with the smaller peak still remaining around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. There is a theorem about using the &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; point in reciprocal space for a 1x1x1 grid called Baldereschi theorem &amp;lt;ref name = &amp;quot;Ref 3&amp;quot;/&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The ideal grid size is one that represents the DOS without taking too long to calculate. From figure 8 onwards the shape of the curve does not change much, so it can be concluded that using a grid size of 16 is sufficient enough to gain a good understanding of the DOS without taking too long to calculate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:DOS dispersion JOH.png|thumb|400px|Figure 11. Comparing the dispersion curve with the DOS]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It is important to note the relationship between the dispersion curve and the DOS graph as shown in figure 11. The frequency in the phonon dispersion curve on the y axis is the same as the frequency on the DOS curve in the x-axis. It can be seen visually that the most popular states are around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The relationship between real space and reciprocal space is given by the formula &amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt; - a being the length in real space transformed to a* in reciprocal space. This shows that the larger the lattice constant a, the smaller the reciprocal cell. This is important to consider when assessing the DOS for other structures. Lithium has a lattice constant of 3.490 Å &amp;lt;ref name = &amp;quot;Ref 4&amp;quot;/&amp;gt; which is 0.721 Å lower that the conventional unit cell of MgO that is being modelled. Due to the inverse relationship of real to reciprocal space, lithium will have a larger cell in reciprocal space and therefore need a larger grid size to measure the DOS accurately. Conversely Faujasite has a lattice constant of 24.7 Å &amp;lt;ref name = &amp;quot;Ref 5&amp;quot; /&amp;gt; which will give a much smaller cell in reciprocal space meaning that a smaller grid size would give an accurate measurement of the DOS as there are fewer k values needed to measure the cell. CaO has a very similar lattice constant meaning that a similar grid size would be needed to accurately measure the DOS - in this case a grid size of 16x16x16 would be sufficient.&lt;br /&gt;
&lt;br /&gt;
==Computing the Free Energy==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Table 2ː Energy vs Grid size&lt;br /&gt;
! Grid Size nxnxn/n&lt;br /&gt;
! Free Energy/eV&lt;br /&gt;
! Accuracy/ meV&lt;br /&gt;
! Log file&lt;br /&gt;
! rowspan=&amp;quot;9&amp;quot;|[[File:JOH Free energy vs grid size.png|thumb|400px|]]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| -40.930301&lt;br /&gt;
| 4&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/1/12/JOH_fe_MgO_111.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| -40.926609&lt;br /&gt;
| 0.2&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/aa/JOH_fe_MgO_222.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -40.926432&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4d/JOH_fe_MgO_333.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -40.926450&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/40/JOH_fe_MgO_444.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -40.926478&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/7/70/JOH_fe_MgO_888.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -40.926482&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4f/JOH_fe_MgO_16.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/ac/JOH_fe_MgO_32.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 50&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [[Media:JOH_fe_MgO_50.txt.zip|log file]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Table 2 displays the free energies of MgO as a function of grid size n. Similar to finding the ideal grid size to calculate the DOS, the optimal grid size to calculate the free energy can be found in table 2. As the grid size increases from 1 to 3 there is a sharp increase in the free energy from -40.930301 eV to -40.926432 eV, afterwards the free energy eventually converges at -40.926483 eV. The degree of accuracy follows this trend, from a grid size of 4 onwards the degree of accuracy is greater that 0.1 meV. There is no change in free energy from a grid size of 32 to 50 suggesting that a grid size of 32 is all that is needed to accurately determine the free energy of MgO. &lt;br /&gt;
&lt;br /&gt;
The graph in table 2 can be rationalised by the equation for the Helmholtz free energy - &amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A is the Helmholtz fee energy, U is the internal energy, T is temperature and S is entropy. As the grid size increases, the volume increases so the internal energy decreases (&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt;). This in turn means that the Helmholtz free energy would decrease.&lt;br /&gt;
&lt;br /&gt;
Furthermore as the number of microstates sampled increases the entropy term will increase according to the relationship &amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt;. This in turn means that the free energy will be lowered. By considering these two factors the decrease in free energy can be rationalised.&lt;br /&gt;
&lt;br /&gt;
==Thermal Expansion of MgO==&lt;br /&gt;
The structure of MgO will be optimised with respect to the free energy at different temperatures (0 - 1000 K in steps of 100 K). The free energy will be computed using the quasi-harmonic approximation (QHA) which uses the following expression: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
*&amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; = frequency of the vibration &lt;br /&gt;
*&amp;lt;math&amp;gt;E_{0}&amp;lt;/math&amp;gt; = zero point energy &lt;br /&gt;
*&amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; = Temperature&lt;br /&gt;
*&amp;lt;math&amp;gt;k_B&amp;lt;/math&amp;gt; = Boltzmann Constant &lt;br /&gt;
*&amp;lt;math&amp;gt;\hbar&amp;lt;/math&amp;gt; = reduced Planck&#039;s constant. &lt;br /&gt;
&lt;br /&gt;
The equations is split into three parts - the zero point energy and the harmonic and entropic contribution.&lt;br /&gt;
&lt;br /&gt;
In addition the coefficients of thermal expansion was calculated. Thermal expansion is the tendency for matter to change in response to temperature, due to heat transfer. The coefficient of thermal expansion describes how the size of an object changes with temperature. The larger the coefficient the greater the change in size as temperature increases. Several coefficients have been developed and the two that we will look at are the linear and volumetric thermal expansion. The generic equation is as follows:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\alpha_x = \frac{1}{x}\,\left(\frac{\partial x}{\partial T}\right)_p&lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* α&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt; = thermal expansion coefficient&lt;br /&gt;
* x = initial dimension &lt;br /&gt;
* ∂x = the partial derivative of the dimension under study &lt;br /&gt;
* ∂T = partial derivative of temperature (at constant pressure)&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy vs temp.png|thumb|400px|Figure 12. Free Energy dependence on Temperature for the QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH lattice constant vs temp.png|thumb|400px|Figure 13. Lattice Constant dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|[[File:JOH LV temp.png|thumb|400px|Figure 14. Lattice Volume dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 12 shows that as temperature increases the free energy becomes more negative. This can be rationalised with the derivation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; G = H - TS &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Plug in &amp;lt;math&amp;gt;H = U + PV&amp;lt;/math&amp;gt; to get  &amp;lt;math&amp;gt;G = U + PV - TS&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dG = dU + PdV + VdP - TdS - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = q + w &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dq = TdS &amp;lt;/math&amp;gt; &amp;lt;math&amp;gt; dw = -PdV &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \therefore dG = VdP - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This implies that both the volume and the entropic factor contribute to the free energy. As the temperature increases the volume will increase, however the entropic factor will overcome this due to large change in temperature. This explains the trend observed in figure 12. &lt;br /&gt;
&lt;br /&gt;
We would expect a linear negative decrease - &amp;lt;math&amp;gt; \left( \frac{\partial G}{\partial T} \right)_P = -S &amp;lt;/math&amp;gt;. However figure 12 shows that the trend is a curve, the free energy becomes more negative at an increasing rate, suggesting that the pressure may not be constant.&lt;br /&gt;
&lt;br /&gt;
The trend could also be explained using the Helmoholtz free energy equation used in the QHA. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The entropic contribution in the equation has a large dependence on temperature and therefore as temperature increases the entropic contribution becomes more negative. This is due to the exponential factor in the entropic contribution. This results in the Helmholtz becoming more negative.  &lt;br /&gt;
&lt;br /&gt;
===Calculating the Thermal expansion coefficients===&lt;br /&gt;
Figure 13 and 12 show how the lattice constant and volume change with temperature. Both graphs initially increase gradually and after 400 K show a nearly perfect linear trend. The trend in both graphs shows strong correlation with R&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; values close to one. By taking the gradient of these trend lines the thermal expansion coefficients can be calculated:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Linear Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{1}{L} \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{0.00002342}{2.986563} = 7.7815\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
L = the initial lattice constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 13&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Volumetric Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V} \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{0.00044612}{18.836496} = 2.3684\times 10^{-5}&amp;lt;/math&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
V = the initial volume constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 14&lt;br /&gt;
&lt;br /&gt;
For isotropic materials the volumetric coefficient is three times larger that then linear coefficient - 3&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;. For MgO &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt; is practically three times larger than &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; (3.04&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;) implying that MgO is an isotropic material &amp;lt;ref name=&amp;quot;Ref 6&amp;quot;/&amp;gt;, in other words lattice constants a, b and c expand at equal rates. At 200 K the L value increases to 2.987604 Å resulting in &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;7.839\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; which is close to the literature value of &amp;lt;math&amp;gt;7.39\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The main approximation with the QHA occurs at higher temperatures. This is because at higher temperatures the lattice experiences a larger anharmonic effect due to a larger deviation from bond equilibrium as more energy is put into the bond. Furthermore as anharmonicity comes from scattered phonons interacting due to lattice defect, this effect will be accentuated as lattice vibration gain more energy. The QHA simplifies the anharmonic effect by letting the phonon frequencies become volume dependent so therefore is unable to model the anharmonic effect well. The born-oppenheimer approximation would become less valid at larger temperatures as the motion of nuclei becomes more important. So as the temperature reaches melting point the phonon modes would not represent the motion of the ions well. &lt;br /&gt;
&lt;br /&gt;
Lastly in a diatomic molecule with an exact harmonic potential as the temperature increases there would be no change in equilibrium bond length as the parabolic function is symmetric. Instead the maximum and minimum bond lengths would increase or in other words a larger amplitude would be reached.&lt;br /&gt;
&lt;br /&gt;
== Molecular Dynamics ==&lt;br /&gt;
The crystal was then studied using Molecular Dynamics. In the previous investigations MgO has been described using a primitive cell containing a single MgO unit. Running an MD would not produce meaningful data as every cell would move perfectly in phase. By increasing the size of the cell the MD would become more accurate but become more computationally expensive so a compromise is reached for a cell containing 32 MgO units. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy temperature QHA MD.png|thumb|400px|Figure 15. Free Energy vs Temperature for MD compared to QHA]]&lt;br /&gt;
|[[File:JOHlatticeQHAMD2.png|thumb|400px|Figure 16. Lattice Constant vs Temperature for MD compared to QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics allows a system to evolve in time according to Newton&#039;s second law F=ma. As the system is treated classically energy can be modelled by the equipartition principle, &amp;lt;math&amp;gt;E = \frac{3}{2} k_B T&amp;lt;/math&amp;gt;, and as such the energy will increase linearly with temperature. In comparison QHA follows the relationship &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
This mean that the energy should decrease with temperature. Both the free energy modelled by MD and QHA can be seen in figure 15. &lt;br /&gt;
&lt;br /&gt;
Looking at figure 16 the MD and the QHA are similar between 400-1000 K, thus the volumetric expansion coefficients would be similar:&lt;br /&gt;
*MD - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; = 3.06 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
*QHA - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;  = 2.89 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
This similarity in data strengthens the reliability of the volumetric expansion coefficients between 400 - 1000 K. However, below 400 K the QHA begins to break from a linear trend and curve towards 18.84 Å&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt; whereas the MD follows the linear trend. At lower trends the anharmonic effect is not as prevalent so the QHA is a better model for the lattice constant at lower temperatures. The MD model does not accurately show how the free energy changes at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
===Limitation===&lt;br /&gt;
&lt;br /&gt;
Overall both QHA and MD models have their limitations. &lt;br /&gt;
&lt;br /&gt;
The atoms are modelled using a classical approach or in other words atoms are modelled as hard charged spheres. So the quantum mechanical contributions cannot be taken into account. This will reduced the accuracy of the models &lt;br /&gt;
&lt;br /&gt;
Furthermore, the models do not consider long-range interactions, only interactions of atoms relatively close. In a realistic crystal there will be interactions outside the nearest neighbours albeit small interactions. Thus slight inaccuracy in the models is seen. &lt;br /&gt;
&lt;br /&gt;
For both models it can be assumed that the trends can be extrapolated until the melting point of MgO is reached, as upon melting a change in volume occurs. Furthermore liquid MgO has no structured order so cannot be described by a repeated unit cell. &lt;br /&gt;
&lt;br /&gt;
In the QHA the interactions between atoms of different unit cells was not taken into consideration. There would be an energy increase if there was overlap between atoms in different cells.&lt;br /&gt;
&lt;br /&gt;
For these MD calculations, as only a small number of atoms were considered it was reasonable to use a time step of 1.0 femtoseconds. However, when considering a much larger system, say for example a protein, then this would become computationally expensive.&lt;br /&gt;
&lt;br /&gt;
==Conclusion== &lt;br /&gt;
The experiment showed the thermal expansion of MgO, the phonon dispersion and the DOS. Comparisons between the QHA and the MD were made, both approaches giving reasonable thermal expansion coefficients between 400-1000 K. At lower temperatures the QHA was a better model, due to the reduction in anharmonic effects.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 1&amp;quot; &amp;gt; O. Madelung, U. Rössler and M. Schulz, Eds., II-VI and I-VII compounds; Semimagnetic compounds, Springer-Verlag, 1999. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 2&amp;quot; &amp;gt; A. CIMINO, P. PORTA and M. VALIGI, Journal of the American Ceramic Society, 1966, 49, 152–156. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 3&amp;quot;&amp;gt; A. Baldereschi, Physical Review B, 1973, 7, 5212–5215. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 4&amp;quot; &amp;gt; E. J. Covington and D. J. Montgomery, J. Appl. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys, 2010, 27, 1030–53111. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 5&amp;quot; &amp;gt; J. A. Kaduk and J. Faber, The Rigaku journal 14 CRYSTAL STRUCTURE OF ZEOLITE Y AS A FUNCTION OF ION EXCHANGE, 1995. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 6&amp;quot; &amp;gt; J.R. Vinson, Plate and Panel structures of Isotropic, Composite and Piezoelectric Materials, including Sandwich Construction. Delaware; Springer; 2005. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Appendix==&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo phonon DOS 222 JOH.png|thumb|300px|Figure 1. Phonon DOS of MgO using 2x2x2 grid size]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Jo1213</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553465</id>
		<title>Rep:Mod:JOH95MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553465"/>
		<updated>2016-03-11T10:39:41Z</updated>

		<summary type="html">&lt;p&gt;Jo1213: /* Calculating the Thermal expansion coefficients */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
The experiment will investigate the properties of an MgO crystal. Firstly the dimensions of the unit cells will be investigates along with the associated energy. Then the phonon dispersion and DOS will be investigated, evaluating the optimal grid size to use. The energies of the crystal will be investigates along with the thermal expansion coefficients. Lastly the quasi-harmonic approximation (QHA) and the molecular dynamics (MD) will be compared. &lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon-based model used to describe volume-dependent thermal effects. The harmonic phonon model assumes that all intermolecular forces are harmonic. This is not sufficient to describe thermal expansion as there is no change to the equilibrium bond length as temperature increases. The QHA takes into account that molecules do have an anharmonic effect at higher temperatures by treating frequencies as volume dependent. &lt;br /&gt;
&lt;br /&gt;
The Molecular Dynamics approach allows a system to evolve in time according to Newton&#039;s second law &amp;lt;math&amp;gt;F=ma&amp;lt;/math&amp;gt;. The initial configurations and velocities are assigned to allow the program to iterate positions and velocities. The atoms follow trajectories and the properties, such as E and T, are computed as time averages of their behaviour.&lt;br /&gt;
&lt;br /&gt;
The programs used were RedHat Linux, DLVisulaize (DLV) and General Utility Lattice Program (GULP). DLV allows us to visualise the MgO crystals and GULP is used to perform simulations on materials using boundary conditions, in this case on a 3D lattice.&lt;br /&gt;
&lt;br /&gt;
== Internal Energy of MgO ==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:PC 1.png|left|thumb|300px|Figure 1. Primitive Cell of MgO]]&lt;br /&gt;
|[[File:CC .png|left|thumb|300px|Figure 2. Conventional Cell of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 1 shows the primitive unit cell of MgO. The primitive unit cell consists of 2 atoms Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; which are held together by a Buckingham repulsive potential. The unit cell has a rhombohedron shape with lattice constants of 2.9783 Å and an internal angle a = 60°. The primitive cell contains one lattice point and is the simplest cell to describe the crystal. A calculation was run on MgO. In the [https://wiki.ch.ic.ac.uk/wiki/images/e/e7/MgO_1_james.txt LogFile] GULF describes MgO using a primitive unit cell. The Cartesian lattice vectors of the cell are reported in table 1 and the total lattice energy was -41.07531759 eV which represents the energy to pull all the atom infinitely apart. The GULP calculation correlates with LCAO HF calculations found in literature (2.573 Å &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;). &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|-&lt;br /&gt;
|+ Table 1ː Cell Vector Dimensions/Å&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The conventional cell has four times the volume of the primitive cell as shown in figure 2. The structure of the cell is face centered cubic (FCC) which has an internal angel a = 90° and a lattice vector of 4.212 Å (which agrees with literature of 4.21 Å &amp;lt;ref name =&amp;quot;Ref 2&amp;quot; /&amp;gt;). The conventional cell is more representative of the crystal so is chosen in the calculations.&lt;br /&gt;
&lt;br /&gt;
==Computing the Phonon Dispersion Curves==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO Phonon Dispersion JOH.png|thumb|300px|Figure 3. Phonon Dispersion Graph of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The vibrational modes of the lattice were then computed. The phonon modes were displayed as a dispersion curve, as shown in figure 3. The phonon frequencies were calculated along a path in k-space. Special points along the path, &amp;lt;math&amp;gt;W, L, \Gamma, X, W, K&amp;lt;/math&amp;gt;, can be seen in figure 3. There are two phonos modes associated with each axis, acoustic (in-phase) and optical (out-of-phase) phonons. In the 3D model three axis (x,y,z) are taken into consideration meaning there are 6 phonon modes as shown by the six different curves in figure 3. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:K=0 JOH.png|thumb|300px|Figure 4. Acoustic and optical modes at k=0]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The relationship between the wavevector k to the wavelength &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) is &amp;lt;math&amp;gt;k= \frac{2\pi}{\lambda}&amp;lt;/math&amp;gt;. Furthermore the relationship between wavelength &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) and frequency is &amp;lt;math&amp;gt; v = \frac{c}{\lambda} &amp;lt;/math&amp;gt;. As shown in figure 4 when k=0, for the acoustic mode, the wavelength approaches infinity as all the atoms move in the same direction along the axis. As &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; approaches infinity, frequency will tend to 0. For the optical mode the frequency is non-zero. With this information it is clear that at k=0 the dispersion graph is at symmetry point &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; as this is the only point on the dispersion curve where phonon modes display a frequency of zero. &lt;br /&gt;
&lt;br /&gt;
Following the path from &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;, to &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and then to &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; the acoustic modes splits into 3 modes, two transverse modes (TA) and one longitude mode (LA). The two TA are degenerate between &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; until it splits between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Phonon Density of States (DOS)==&lt;br /&gt;
The next part involved calculating the phonon density of states. The DOS is defined as the number of states per energy at a given energy, in this case vibrational frequency. The larger the number of k values considered in reciprocal space the more accurate the DOS. This is achieved by increasing the grid size (nxnxn) to give a better representation of the crystal by sampling more k values in reciprocal space. However, at a certain point the difference between k values is negligible so does not further increase the accuracy of the DOS. Furthermore calculating an infinite number of k values would take an infinite amount of computing time.&lt;br /&gt;
&lt;br /&gt;
The DOS was calculated for a 1x1x1 grid by setting the shrinking value to 1 as shown in figure 5. The grid size was then increased to find the optimum shrinking value that gave a good representation of the DOS without taking too long to calculate as shown by figures 6 through 10. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo Phonon DOS JOH 111.png|thumb|300px|Figure 5. Phonon DOS of MgO using 1x1x1 grid size]]&lt;br /&gt;
|[[File:JOHphononDOS444.png|thumb|300px|Figure 6. Phonon DOS of MgO using 4x4x4 grid size]]&lt;br /&gt;
|[[File:JOHDOS888.png|thumb|300px|Figure 7. Phonon DOS of MgO using 8x8x8 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOHDOS161616.png|thumb|300px|Figure 8. Phonon DOS of MgO using 16x16x16 grid size]]&lt;br /&gt;
|[[File:JOHDOS323232.png|thumb|300px|Figure 9. Phonon DOS of MgO using 32x32x32 grid size]]&lt;br /&gt;
|[[File:JOHDOS50.png|thumb|300px|Figure 10. Phonon DOS of MgO using 50x50x50 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 5 shows the DOS for a 1x1x1 grid size. The four peaks 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 676 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 819 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; represent the four frequencies at point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. At symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;, by looking at figure 3 the two phonon modes at 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; are degenerate (as they go on to split in two between points &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;. This degeneracy is confirmed in the DOS graph in figure 5 as the intensity of the peaks around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; is around double that of the peaks around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is chosen as the k-value for a grid size of 1x1x1 as it is the most representative point in k-space for the DOS. This is shown visually from figures 5 to 10 as when the DOS becomes more accurate the main peak remains around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; with the smaller peak still remaining around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. There is a theorem about using the &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; point in reciprocal space for a 1x1x1 grid called Baldereschi theorem &amp;lt;ref name = &amp;quot;Ref 3&amp;quot;/&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The ideal grid size is one that represents the DOS without taking too long to calculate. From figure 8 onwards the shape of the curve does not change much, so it can be concluded that using a grid size of 16 is sufficient enough to gain a good understanding of the DOS without taking too long to calculate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:DOS dispersion JOH.png|thumb|400px|Figure 11. Comparing the dispersion curve with the DOS]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It is important to note the relationship between the dispersion curve and the DOS graph as shown in figure 11. The frequency in the phonon dispersion curve on the y axis is the same as the frequency on the DOS curve in the x-axis. It can be seen visually that the most popular states are around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The relationship between real space and reciprocal space is given by the formula &amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt; - a being the length in real space transformed to a* in reciprocal space. This shows that the larger the lattice constant a, the smaller the reciprocal cell. This is important to consider when assessing the DOS for other structures. Lithium has a lattice constant of 3.490 Å &amp;lt;ref name = &amp;quot;Ref 4&amp;quot;/&amp;gt; which is 0.721 Å lower that the conventional unit cell of MgO that is being modelled. Due to the inverse relationship of real to reciprocal space, lithium will have a larger cell in reciprocal space and therefore need a larger grid size to measure the DOS accurately. Conversely Faujasite has a lattice constant of 24.7 Å &amp;lt;ref name = &amp;quot;Ref 5&amp;quot; /&amp;gt; which will give a much smaller cell in reciprocal space meaning that a smaller grid size would give an accurate measurement of the DOS as there are fewer k values needed to measure the cell. CaO has a very similar lattice constant meaning that a similar grid size would be needed to accurately measure the DOS - in this case a grid size of 16x16x16 would be sufficient.&lt;br /&gt;
&lt;br /&gt;
==Computing the Free Energy==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Table 2ː Energy vs Grid size&lt;br /&gt;
! Grid Size nxnxn/n&lt;br /&gt;
! Free Energy/eV&lt;br /&gt;
! Accuracy/ meV&lt;br /&gt;
! Log file&lt;br /&gt;
! rowspan=&amp;quot;9&amp;quot;|[[File:JOH Free energy vs grid size.png|thumb|400px|]]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| -40.930301&lt;br /&gt;
| 4&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/1/12/JOH_fe_MgO_111.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| -40.926609&lt;br /&gt;
| 0.2&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/aa/JOH_fe_MgO_222.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -40.926432&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4d/JOH_fe_MgO_333.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -40.926450&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/40/JOH_fe_MgO_444.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -40.926478&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/7/70/JOH_fe_MgO_888.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -40.926482&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4f/JOH_fe_MgO_16.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/ac/JOH_fe_MgO_32.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 50&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [[Media:JOH_fe_MgO_50.txt.zip|log file]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Table 2 displays the free energies of MgO as a function of grid size n. Similar to finding the ideal grid size to calculate the DOS, the optimal grid size to calculate the free energy can be found in table 2. As the grid size increases from 1 to 3 there is a sharp increase in the free energy from -40.930301 eV to -40.926432 eV, afterwards the free energy eventually converges at -40.926483 eV. The degree of accuracy follows this trend, from a grid size of 4 onwards the degree of accuracy is greater that 0.1 meV. There is no change in free energy from a grid size of 32 to 50 suggesting that a grid size of 32 is all that is needed to accurately determine the free energy of MgO. &lt;br /&gt;
&lt;br /&gt;
The graph in table 2 can be rationalised by the equation for the Helmholtz free energy - &amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A is the Helmholtz fee energy, U is the internal energy, T is temperature and S is entropy. As the grid size increases, the volume increases so the internal energy decreases (&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt;). This in turn means that the Helmholtz free energy would decrease.&lt;br /&gt;
&lt;br /&gt;
Furthermore as the number of microstates sampled increases the entropy term will increase according to the relationship &amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt;. This in turn means that the free energy will be lowered. By considering these two factors the decrease in free energy can be rationalised.&lt;br /&gt;
&lt;br /&gt;
==Thermal Expansion of MgO==&lt;br /&gt;
The structure of MgO will be optimised with respect to the free energy at different temperatures (0 - 1000 K in steps of 100 K). The free energy will be computed using the quasi-harmonic approximation (QHA) which uses the following expression: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
*&amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; = frequency of the vibration &lt;br /&gt;
*&amp;lt;math&amp;gt;E_{0}&amp;lt;/math&amp;gt; = zero point energy &lt;br /&gt;
*&amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; = Temperature&lt;br /&gt;
*&amp;lt;math&amp;gt;k_B&amp;lt;/math&amp;gt; = Boltzmann Constant &lt;br /&gt;
*&amp;lt;math&amp;gt;\hbar&amp;lt;/math&amp;gt; = reduced Planck&#039;s constant. &lt;br /&gt;
&lt;br /&gt;
The equations is split into three parts - the zero point energy and the harmonic and entropic contribution.&lt;br /&gt;
&lt;br /&gt;
In addition the coefficients of thermal expansion was calculated. Thermal expansion is the tendency for matter to change in response to temperature, due to heat transfer. The coefficient of thermal expansion describes how the size of an object changes with temperature. The larger the coefficient the greater the change in size as temperature increases. Several coefficients have been developed and the two that we will look at are the linear and volumetric thermal expansion. The generic equation is as follows:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\alpha_x = \frac{1}{x}\,\left(\frac{\partial x}{\partial T}\right)_p&lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* α&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt; = thermal expansion coefficient&lt;br /&gt;
* x = initial dimension &lt;br /&gt;
* ∂x = the partial derivative of the dimension under study &lt;br /&gt;
* ∂T = partial derivative of temperature (at constant pressure)&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy vs temp.png|thumb|400px|Figure 12. Free Energy dependence on Temperature for the QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH lattice constant vs temp.png|thumb|400px|Figure 13. Lattice Constant dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|[[File:JOH LV temp.png|thumb|400px|Figure 14. Lattice Volume dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 12 shows that as temperature increases the free energy becomes more negative. This can be rationalised with the derivation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; G = H - TS &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Plug in &amp;lt;math&amp;gt;H = U + PV&amp;lt;/math&amp;gt; to get  &amp;lt;math&amp;gt;G = U + PV - TS&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dG = dU + PdV + VdP - TdS - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = q + w &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dq = TdS &amp;lt;/math&amp;gt; &amp;lt;math&amp;gt; dw = -PdV &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \therefore dG = VdP - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This implies that both the volume and the entropic factor contribute to the free energy. As the temperature increases the volume will increase, however the entropic factor will overcome this due to large change in temperature. This explains the trend observed in figure 12. &lt;br /&gt;
&lt;br /&gt;
We would expect a linear negative decrease - &amp;lt;math&amp;gt; \left( \frac{\partial G}{\partial T} \right)_P = -S &amp;lt;/math&amp;gt;. However figure 12 shows that the trend is a curve, the free energy becomes more negative at an increasing rate, suggesting that the pressure may not be constant.&lt;br /&gt;
&lt;br /&gt;
The trend could also be explained using the Helmoholtz free energy equation used in the QHA. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The entropic contribution in the equation has a large dependence on temperature and therefore as temperature increases the entropic contribution becomes more negative. This is due to the exponential factor in the entropic contribution. This results in the Helmholtz becoming more negative.  &lt;br /&gt;
&lt;br /&gt;
===Calculating the Thermal expansion coefficients===&lt;br /&gt;
Figure 13 and 12 show how the lattice constant and volume change with temperature. Both graphs initially increase gradually and after 400 K show a nearly perfect linear trend. The trend in both graphs shows strong correlation with R&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; values close to one. By taking the gradient of these trend lines the thermal expansion coefficients can be calculated:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Linear Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{1}{L} \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{0.00002342}{2.986563} = 7.7815\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
L = the initial lattice constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 13&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Volumetric Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V} \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{0.00044612}{18.836496} = 2.3684\times 10^{-5}&amp;lt;/math&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
V = the initial volume constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 14&lt;br /&gt;
&lt;br /&gt;
For isotropic materials the volumetric coefficient is three times larger that then linear coefficient - 3&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;. For MgO &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt; is practically three times larger than &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; (3.04&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;) implying that MgO is an isotropic material &amp;lt;ref name=&amp;quot;Ref 6&amp;quot;/&amp;gt;, in other words lattice constants a, b and c expand at equal rates. At 200 K the L value increases to 2.987604 Å resulting in &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;7.839\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; which is close to the literature value of &amp;lt;math&amp;gt;7.39\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The main approximation with the QHA occurs at higher temperatures. This is because at higher temperatures the lattice experiences a larger anharmonic effect due to a larger deviation from bond equilibrium as more energy is put into the bond. Furthermore as anharmonicity comes from scattered phonons interacting due to lattice defect, this effect will be accentuated as lattice vibration gain more energy. The QHA simplifies the anharmonic effect by letting the phonon frequencies become volume dependent so therefore is unable to model the anharmonic effect well. The born-oppenheimer approximation would become less valid at larger temperatures as the motion of nuclei becomes more important. So as the temperature reaches melting point the phonon modes would not represent the motion of the ions well. &lt;br /&gt;
&lt;br /&gt;
Lastly in a diatomic molecule with an exact harmonic potential as the temperature increases there would be no change in equilibrium bond length as the parabolic function is symmetric. Instead the maximum and minimum bond lengths would increase or in other words a larger amplitude would be reached.&lt;br /&gt;
&lt;br /&gt;
== Molecular Dynamics ==&lt;br /&gt;
The crystal was then studied using Molecular Dynamics. In the previous investigations MgO has been described using a primitive cell containing a single MgO unit. Running an MD would not produce meaningful data as every cell would move perfectly in phase. By increasing the size of the cell the MD would become more accurate but become more computationally expensive so a compromise is reached for a cell containing 32 MgO units. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy temperature QHA MD.png|thumb|400px|Figure 15. Free Energy vs Temperature for MD compared to QHA]]&lt;br /&gt;
|[[File:JOHlatticeQHAMD2.png|thumb|400px|Figure 16. Lattice Constant vs Temperature for MD compared to QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics allows a system to evolve in time according to Newton&#039;s second law F=ma. As the system is treated classically energy can be modelled by the equipartition principle, &amp;lt;math&amp;gt;E = \frac{3}{2} k_B T&amp;lt;/math&amp;gt;, and as such the energy will increase linearly with temperature. In comparison QHA follows the relationship &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
This mean that the energy should decrease with temperature. Both the free energy modelled by MD and QHA can be seen in figure 15. &lt;br /&gt;
&lt;br /&gt;
Looking at figure 16 the MD and the QHA are similar between 400-1000 K, thus the volumetric expansion coefficients would be similar:&lt;br /&gt;
*MD - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; = 3.06 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
*QHA - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;  = 2.89 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
This similarity in data strengthens the reliability of the volumetric expansion coefficients between 400 - 1000 K. However, below 400 K the QHA begins to break from a linear trend and curve towards 18.84 Å&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt; whereas the MD follows the linear trend. At lower trends the anharmonic effect is not as prevalent so the QHA is a better model for the lattice constant at lower temperatures. The MD model does not accurately show how the free energy changes at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
===Limitation===&lt;br /&gt;
&lt;br /&gt;
Overall both QHA and MD models have their limitations. &lt;br /&gt;
&lt;br /&gt;
The atoms are modelled using a classical approach or in other words atoms are modelled as hard charged spheres. So the quantum mechanical contributions cannot be taken into account. This will reduced the accuracy of the models &lt;br /&gt;
&lt;br /&gt;
Furthermore, the models do not consider long-range interactions, only interactions of atoms relatively close. In a realistic crystal there will be interactions outside the nearest neighbours albeit small interactions. Thus slight inaccuracy in the models is seen. &lt;br /&gt;
&lt;br /&gt;
For both models it can be assumed that the trends can be extrapolated until the melting point of MgO is reached, as upon melting a change in volume occurs. Furthermore liquid MgO has no structured order so cannot be described by a repeated unit cell. &lt;br /&gt;
&lt;br /&gt;
In the QHA the interactions between atoms of different unit cells was not taken into consideration. There would be an energy increase if there was overlap between atoms in different cells.&lt;br /&gt;
&lt;br /&gt;
For these MD calculations, as only a small number of atoms were considered it was reasonable to use a time step of 1.0 femtoseconds. However, when considering a much larger system, say for example a protein, then this would become computationally expensive.&lt;br /&gt;
&lt;br /&gt;
==Conclusion== &lt;br /&gt;
The experiment showed the thermal expansion of MgO, the phonon dispersion and the DOS. Comparisons between the QHA and the MD were made, both approaches giving reasonable thermal expansion coefficients between 400-1000 K. At lower temperatures the QHA was a better model, due to the reduction in anharmonic effects.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 1&amp;quot; &amp;gt; O. Madelung, U. Rössler and M. Schulz, Eds., II-VI and I-VII compounds; Semimagnetic compounds, Springer-Verlag, 1999. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 2&amp;quot; &amp;gt; A. CIMINO, P. PORTA and M. VALIGI, Journal of the American Ceramic Society, 1966, 49, 152–156. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 3&amp;quot;&amp;gt; A. Baldereschi, Physical Review B, 1973, 7, 5212–5215. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 4&amp;quot; &amp;gt; E. J. Covington and D. J. Montgomery, J. Appl. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys, 2010, 27, 1030–53111. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 5&amp;quot; &amp;gt; J. A. Kaduk and J. Faber, The Rigaku journal 14 CRYSTAL STRUCTURE OF ZEOLITE Y AS A FUNCTION OF ION EXCHANGE, 1995. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 6&amp;quot; &amp;gt; J.R. Vinson, Plate and Panel structures of Isotropic, Composite and Piezoelectric Materials, including Sandwich Construction. Delaware; Springer; 2005. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Appendix==&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo phonon DOS 222 JOH.png|thumb|300px|Figure 1. Phonon DOS of MgO using 2x2x2 grid size]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Jo1213</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553461</id>
		<title>Rep:Mod:JOH95MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553461"/>
		<updated>2016-03-11T10:35:08Z</updated>

		<summary type="html">&lt;p&gt;Jo1213: /* Calculating the Thermal expansion coefficients */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
The experiment will investigate the properties of an MgO crystal. Firstly the dimensions of the unit cells will be investigates along with the associated energy. Then the phonon dispersion and DOS will be investigated, evaluating the optimal grid size to use. The energies of the crystal will be investigates along with the thermal expansion coefficients. Lastly the quasi-harmonic approximation (QHA) and the molecular dynamics (MD) will be compared. &lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon-based model used to describe volume-dependent thermal effects. The harmonic phonon model assumes that all intermolecular forces are harmonic. This is not sufficient to describe thermal expansion as there is no change to the equilibrium bond length as temperature increases. The QHA takes into account that molecules do have an anharmonic effect at higher temperatures by treating frequencies as volume dependent. &lt;br /&gt;
&lt;br /&gt;
The Molecular Dynamics approach allows a system to evolve in time according to Newton&#039;s second law &amp;lt;math&amp;gt;F=ma&amp;lt;/math&amp;gt;. The initial configurations and velocities are assigned to allow the program to iterate positions and velocities. The atoms follow trajectories and the properties, such as E and T, are computed as time averages of their behaviour.&lt;br /&gt;
&lt;br /&gt;
The programs used were RedHat Linux, DLVisulaize (DLV) and General Utility Lattice Program (GULP). DLV allows us to visualise the MgO crystals and GULP is used to perform simulations on materials using boundary conditions, in this case on a 3D lattice.&lt;br /&gt;
&lt;br /&gt;
== Internal Energy of MgO ==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:PC 1.png|left|thumb|300px|Figure 1. Primitive Cell of MgO]]&lt;br /&gt;
|[[File:CC .png|left|thumb|300px|Figure 2. Conventional Cell of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 1 shows the primitive unit cell of MgO. The primitive unit cell consists of 2 atoms Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; which are held together by a Buckingham repulsive potential. The unit cell has a rhombohedron shape with lattice constants of 2.9783 Å and an internal angle a = 60°. The primitive cell contains one lattice point and is the simplest cell to describe the crystal. A calculation was run on MgO. In the [https://wiki.ch.ic.ac.uk/wiki/images/e/e7/MgO_1_james.txt LogFile] GULF describes MgO using a primitive unit cell. The Cartesian lattice vectors of the cell are reported in table 1 and the total lattice energy was -41.07531759 eV which represents the energy to pull all the atom infinitely apart. The GULP calculation correlates with LCAO HF calculations found in literature (2.573 Å &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;). &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|-&lt;br /&gt;
|+ Table 1ː Cell Vector Dimensions/Å&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The conventional cell has four times the volume of the primitive cell as shown in figure 2. The structure of the cell is face centered cubic (FCC) which has an internal angel a = 90° and a lattice vector of 4.212 Å (which agrees with literature of 4.21 Å &amp;lt;ref name =&amp;quot;Ref 2&amp;quot; /&amp;gt;). The conventional cell is more representative of the crystal so is chosen in the calculations.&lt;br /&gt;
&lt;br /&gt;
==Computing the Phonon Dispersion Curves==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO Phonon Dispersion JOH.png|thumb|300px|Figure 3. Phonon Dispersion Graph of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The vibrational modes of the lattice were then computed. The phonon modes were displayed as a dispersion curve, as shown in figure 3. The phonon frequencies were calculated along a path in k-space. Special points along the path, &amp;lt;math&amp;gt;W, L, \Gamma, X, W, K&amp;lt;/math&amp;gt;, can be seen in figure 3. There are two phonos modes associated with each axis, acoustic (in-phase) and optical (out-of-phase) phonons. In the 3D model three axis (x,y,z) are taken into consideration meaning there are 6 phonon modes as shown by the six different curves in figure 3. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:K=0 JOH.png|thumb|300px|Figure 4. Acoustic and optical modes at k=0]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The relationship between the wavevector k to the wavelength &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) is &amp;lt;math&amp;gt;k= \frac{2\pi}{\lambda}&amp;lt;/math&amp;gt;. Furthermore the relationship between wavelength &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) and frequency is &amp;lt;math&amp;gt; v = \frac{c}{\lambda} &amp;lt;/math&amp;gt;. As shown in figure 4 when k=0, for the acoustic mode, the wavelength approaches infinity as all the atoms move in the same direction along the axis. As &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; approaches infinity, frequency will tend to 0. For the optical mode the frequency is non-zero. With this information it is clear that at k=0 the dispersion graph is at symmetry point &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; as this is the only point on the dispersion curve where phonon modes display a frequency of zero. &lt;br /&gt;
&lt;br /&gt;
Following the path from &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;, to &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and then to &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; the acoustic modes splits into 3 modes, two transverse modes (TA) and one longitude mode (LA). The two TA are degenerate between &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; until it splits between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Phonon Density of States (DOS)==&lt;br /&gt;
The next part involved calculating the phonon density of states. The DOS is defined as the number of states per energy at a given energy, in this case vibrational frequency. The larger the number of k values considered in reciprocal space the more accurate the DOS. This is achieved by increasing the grid size (nxnxn) to give a better representation of the crystal by sampling more k values in reciprocal space. However, at a certain point the difference between k values is negligible so does not further increase the accuracy of the DOS. Furthermore calculating an infinite number of k values would take an infinite amount of computing time.&lt;br /&gt;
&lt;br /&gt;
The DOS was calculated for a 1x1x1 grid by setting the shrinking value to 1 as shown in figure 5. The grid size was then increased to find the optimum shrinking value that gave a good representation of the DOS without taking too long to calculate as shown by figures 6 through 10. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo Phonon DOS JOH 111.png|thumb|300px|Figure 5. Phonon DOS of MgO using 1x1x1 grid size]]&lt;br /&gt;
|[[File:JOHphononDOS444.png|thumb|300px|Figure 6. Phonon DOS of MgO using 4x4x4 grid size]]&lt;br /&gt;
|[[File:JOHDOS888.png|thumb|300px|Figure 7. Phonon DOS of MgO using 8x8x8 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOHDOS161616.png|thumb|300px|Figure 8. Phonon DOS of MgO using 16x16x16 grid size]]&lt;br /&gt;
|[[File:JOHDOS323232.png|thumb|300px|Figure 9. Phonon DOS of MgO using 32x32x32 grid size]]&lt;br /&gt;
|[[File:JOHDOS50.png|thumb|300px|Figure 10. Phonon DOS of MgO using 50x50x50 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 5 shows the DOS for a 1x1x1 grid size. The four peaks 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 676 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 819 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; represent the four frequencies at point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. At symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;, by looking at figure 3 the two phonon modes at 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; are degenerate (as they go on to split in two between points &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;. This degeneracy is confirmed in the DOS graph in figure 5 as the intensity of the peaks around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; is around double that of the peaks around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is chosen as the k-value for a grid size of 1x1x1 as it is the most representative point in k-space for the DOS. This is shown visually from figures 5 to 10 as when the DOS becomes more accurate the main peak remains around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; with the smaller peak still remaining around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. There is a theorem about using the &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; point in reciprocal space for a 1x1x1 grid called Baldereschi theorem &amp;lt;ref name = &amp;quot;Ref 3&amp;quot;/&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The ideal grid size is one that represents the DOS without taking too long to calculate. From figure 8 onwards the shape of the curve does not change much, so it can be concluded that using a grid size of 16 is sufficient enough to gain a good understanding of the DOS without taking too long to calculate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:DOS dispersion JOH.png|thumb|400px|Figure 11. Comparing the dispersion curve with the DOS]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It is important to note the relationship between the dispersion curve and the DOS graph as shown in figure 11. The frequency in the phonon dispersion curve on the y axis is the same as the frequency on the DOS curve in the x-axis. It can be seen visually that the most popular states are around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The relationship between real space and reciprocal space is given by the formula &amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt; - a being the length in real space transformed to a* in reciprocal space. This shows that the larger the lattice constant a, the smaller the reciprocal cell. This is important to consider when assessing the DOS for other structures. Lithium has a lattice constant of 3.490 Å &amp;lt;ref name = &amp;quot;Ref 4&amp;quot;/&amp;gt; which is 0.721 Å lower that the conventional unit cell of MgO that is being modelled. Due to the inverse relationship of real to reciprocal space, lithium will have a larger cell in reciprocal space and therefore need a larger grid size to measure the DOS accurately. Conversely Faujasite has a lattice constant of 24.7 Å &amp;lt;ref name = &amp;quot;Ref 5&amp;quot; /&amp;gt; which will give a much smaller cell in reciprocal space meaning that a smaller grid size would give an accurate measurement of the DOS as there are fewer k values needed to measure the cell. CaO has a very similar lattice constant meaning that a similar grid size would be needed to accurately measure the DOS - in this case a grid size of 16x16x16 would be sufficient.&lt;br /&gt;
&lt;br /&gt;
==Computing the Free Energy==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Table 2ː Energy vs Grid size&lt;br /&gt;
! Grid Size nxnxn/n&lt;br /&gt;
! Free Energy/eV&lt;br /&gt;
! Accuracy/ meV&lt;br /&gt;
! Log file&lt;br /&gt;
! rowspan=&amp;quot;9&amp;quot;|[[File:JOH Free energy vs grid size.png|thumb|400px|]]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| -40.930301&lt;br /&gt;
| 4&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/1/12/JOH_fe_MgO_111.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| -40.926609&lt;br /&gt;
| 0.2&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/aa/JOH_fe_MgO_222.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -40.926432&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4d/JOH_fe_MgO_333.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -40.926450&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/40/JOH_fe_MgO_444.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -40.926478&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/7/70/JOH_fe_MgO_888.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -40.926482&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4f/JOH_fe_MgO_16.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/ac/JOH_fe_MgO_32.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 50&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [[Media:JOH_fe_MgO_50.txt.zip|log file]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Table 2 displays the free energies of MgO as a function of grid size n. Similar to finding the ideal grid size to calculate the DOS, the optimal grid size to calculate the free energy can be found in table 2. As the grid size increases from 1 to 3 there is a sharp increase in the free energy from -40.930301 eV to -40.926432 eV, afterwards the free energy eventually converges at -40.926483 eV. The degree of accuracy follows this trend, from a grid size of 4 onwards the degree of accuracy is greater that 0.1 meV. There is no change in free energy from a grid size of 32 to 50 suggesting that a grid size of 32 is all that is needed to accurately determine the free energy of MgO. &lt;br /&gt;
&lt;br /&gt;
The graph in table 2 can be rationalised by the equation for the Helmholtz free energy - &amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A is the Helmholtz fee energy, U is the internal energy, T is temperature and S is entropy. As the grid size increases, the volume increases so the internal energy decreases (&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt;). This in turn means that the Helmholtz free energy would decrease.&lt;br /&gt;
&lt;br /&gt;
Furthermore as the number of microstates sampled increases the entropy term will increase according to the relationship &amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt;. This in turn means that the free energy will be lowered. By considering these two factors the decrease in free energy can be rationalised.&lt;br /&gt;
&lt;br /&gt;
==Thermal Expansion of MgO==&lt;br /&gt;
The structure of MgO will be optimised with respect to the free energy at different temperatures (0 - 1000 K in steps of 100 K). The free energy will be computed using the quasi-harmonic approximation (QHA) which uses the following expression: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
*&amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; = frequency of the vibration &lt;br /&gt;
*&amp;lt;math&amp;gt;E_{0}&amp;lt;/math&amp;gt; = zero point energy &lt;br /&gt;
*&amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; = Temperature&lt;br /&gt;
*&amp;lt;math&amp;gt;k_B&amp;lt;/math&amp;gt; = Boltzmann Constant &lt;br /&gt;
*&amp;lt;math&amp;gt;\hbar&amp;lt;/math&amp;gt; = reduced Planck&#039;s constant. &lt;br /&gt;
&lt;br /&gt;
The equations is split into three parts - the zero point energy and the harmonic and entropic contribution.&lt;br /&gt;
&lt;br /&gt;
In addition the coefficients of thermal expansion was calculated. Thermal expansion is the tendency for matter to change in response to temperature, due to heat transfer. The coefficient of thermal expansion describes how the size of an object changes with temperature. The larger the coefficient the greater the change in size as temperature increases. Several coefficients have been developed and the two that we will look at are the linear and volumetric thermal expansion. The generic equation is as follows:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\alpha_x = \frac{1}{x}\,\left(\frac{\partial x}{\partial T}\right)_p&lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* α&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt; = thermal expansion coefficient&lt;br /&gt;
* x = initial dimension &lt;br /&gt;
* ∂x = the partial derivative of the dimension under study &lt;br /&gt;
* ∂T = partial derivative of temperature (at constant pressure)&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy vs temp.png|thumb|400px|Figure 12. Free Energy dependence on Temperature for the QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH lattice constant vs temp.png|thumb|400px|Figure 13. Lattice Constant dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|[[File:JOH LV temp.png|thumb|400px|Figure 14. Lattice Volume dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 12 shows that as temperature increases the free energy becomes more negative. This can be rationalised with the derivation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; G = H - TS &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Plug in &amp;lt;math&amp;gt;H = U + PV&amp;lt;/math&amp;gt; to get  &amp;lt;math&amp;gt;G = U + PV - TS&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dG = dU + PdV + VdP - TdS - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = q + w &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dq = TdS &amp;lt;/math&amp;gt; &amp;lt;math&amp;gt; dw = -PdV &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \therefore dG = VdP - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This implies that both the volume and the entropic factor contribute to the free energy. As the temperature increases the volume will increase, however the entropic factor will overcome this due to large change in temperature. This explains the trend observed in figure 12. &lt;br /&gt;
&lt;br /&gt;
We would expect a linear negative decrease - &amp;lt;math&amp;gt; \left( \frac{\partial G}{\partial T} \right)_P = -S &amp;lt;/math&amp;gt;. However figure 12 shows that the trend is a curve, the free energy becomes more negative at an increasing rate, suggesting that the pressure may not be constant.&lt;br /&gt;
&lt;br /&gt;
The trend could also be explained using the Helmoholtz free energy equation used in the QHA. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The entropic contribution in the equation has a large dependence on temperature and therefore as temperature increases the entropic contribution becomes more negative. This is due to the exponential factor in the entropic contribution. This results in the Helmholtz becoming more negative.  &lt;br /&gt;
&lt;br /&gt;
===Calculating the Thermal expansion coefficients===&lt;br /&gt;
Figure 13 and 12 show how the lattice constant and volume change with temperature. Both graphs initially increase gradually and after 400 K show a nearly perfect linear trend. The trend in both graphs shows strong correlation with R&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; values close to one. By taking the gradient of these trend lines the thermal expansion coefficients can be calculated:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Linear Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{1}{L} \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{0.00002342}{2.986563} = 7.7815\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
L = the initial lattice constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 13&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Volumetric Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V} \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{0.00044612}{18.836496} = 2.3684\times 10^{-5}&amp;lt;/math&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
V = the initial volume constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 14&lt;br /&gt;
&lt;br /&gt;
For isotropic materials the volumetric coefficient is three times larger that then linear coefficient - 3&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;. For MgO &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt; is practically three times larger than &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; (3.04&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;) implying that MgO is an isotropic material &amp;lt;ref name=&amp;quot;Ref 6&amp;quot;/&amp;gt;, in other words lattice constants a, b and c expand at equal rates. At 200 K the L value increases to 2.987604 Å resulting in &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;7.839\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; which is close to the literature value of &amp;lt;math&amp;gt;7.39\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The main approximation with the QHA occurs at higher temperatures. This is because at higher temperatures the lattice experiences a larger anharmonic effect due to a larger deviation from bond equilibrium as more energy is put into the bond. Furthermore as anharmonicity comes from scattered phonons interacting due to lattice defect, this effect will be accentuated as lattice vibration gain more energy. The QHA simplifies the anharmonic effect by letting the phonon frequencies become volume dependent so therefore is unable to model the anharmonic effect well. Furthermore the born-oppenheimer approximation would become less valid at larger temperatures as the motion of nuclei becomes more important.&lt;br /&gt;
&lt;br /&gt;
Lastly in a diatomic molecule with an exact harmonic potential as the temperature increases there would be no change in equilibrium bond length as the parabolic function is symmetric. Instead the maximum and minimum bond lengths would increase or in other words a larger amplitude would be reached.&lt;br /&gt;
&lt;br /&gt;
== Molecular Dynamics ==&lt;br /&gt;
The crystal was then studied using Molecular Dynamics. In the previous investigations MgO has been described using a primitive cell containing a single MgO unit. Running an MD would not produce meaningful data as every cell would move perfectly in phase. By increasing the size of the cell the MD would become more accurate but become more computationally expensive so a compromise is reached for a cell containing 32 MgO units. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy temperature QHA MD.png|thumb|400px|Figure 15. Free Energy vs Temperature for MD compared to QHA]]&lt;br /&gt;
|[[File:JOHlatticeQHAMD2.png|thumb|400px|Figure 16. Lattice Constant vs Temperature for MD compared to QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics allows a system to evolve in time according to Newton&#039;s second law F=ma. As the system is treated classically energy can be modelled by the equipartition principle, &amp;lt;math&amp;gt;E = \frac{3}{2} k_B T&amp;lt;/math&amp;gt;, and as such the energy will increase linearly with temperature. In comparison QHA follows the relationship &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
This mean that the energy should decrease with temperature. Both the free energy modelled by MD and QHA can be seen in figure 15. &lt;br /&gt;
&lt;br /&gt;
Looking at figure 16 the MD and the QHA are similar between 400-1000 K, thus the volumetric expansion coefficients would be similar:&lt;br /&gt;
*MD - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; = 3.06 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
*QHA - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;  = 2.89 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
This similarity in data strengthens the reliability of the volumetric expansion coefficients between 400 - 1000 K. However, below 400 K the QHA begins to break from a linear trend and curve towards 18.84 Å&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt; whereas the MD follows the linear trend. At lower trends the anharmonic effect is not as prevalent so the QHA is a better model for the lattice constant at lower temperatures. The MD model does not accurately show how the free energy changes at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
===Limitation===&lt;br /&gt;
&lt;br /&gt;
Overall both QHA and MD models have their limitations. &lt;br /&gt;
&lt;br /&gt;
The atoms are modelled using a classical approach or in other words atoms are modelled as hard charged spheres. So the quantum mechanical contributions cannot be taken into account. This will reduced the accuracy of the models &lt;br /&gt;
&lt;br /&gt;
Furthermore, the models do not consider long-range interactions, only interactions of atoms relatively close. In a realistic crystal there will be interactions outside the nearest neighbours albeit small interactions. Thus slight inaccuracy in the models is seen. &lt;br /&gt;
&lt;br /&gt;
For both models it can be assumed that the trends can be extrapolated until the melting point of MgO is reached, as upon melting a change in volume occurs. Furthermore liquid MgO has no structured order so cannot be described by a repeated unit cell. &lt;br /&gt;
&lt;br /&gt;
In the QHA the interactions between atoms of different unit cells was not taken into consideration. There would be an energy increase if there was overlap between atoms in different cells.&lt;br /&gt;
&lt;br /&gt;
For these MD calculations, as only a small number of atoms were considered it was reasonable to use a time step of 1.0 femtoseconds. However, when considering a much larger system, say for example a protein, then this would become computationally expensive.&lt;br /&gt;
&lt;br /&gt;
==Conclusion== &lt;br /&gt;
The experiment showed the thermal expansion of MgO, the phonon dispersion and the DOS. Comparisons between the QHA and the MD were made, both approaches giving reasonable thermal expansion coefficients between 400-1000 K. At lower temperatures the QHA was a better model, due to the reduction in anharmonic effects.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 1&amp;quot; &amp;gt; O. Madelung, U. Rössler and M. Schulz, Eds., II-VI and I-VII compounds; Semimagnetic compounds, Springer-Verlag, 1999. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 2&amp;quot; &amp;gt; A. CIMINO, P. PORTA and M. VALIGI, Journal of the American Ceramic Society, 1966, 49, 152–156. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 3&amp;quot;&amp;gt; A. Baldereschi, Physical Review B, 1973, 7, 5212–5215. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 4&amp;quot; &amp;gt; E. J. Covington and D. J. Montgomery, J. Appl. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys, 2010, 27, 1030–53111. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 5&amp;quot; &amp;gt; J. A. Kaduk and J. Faber, The Rigaku journal 14 CRYSTAL STRUCTURE OF ZEOLITE Y AS A FUNCTION OF ION EXCHANGE, 1995. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 6&amp;quot; &amp;gt; J.R. Vinson, Plate and Panel structures of Isotropic, Composite and Piezoelectric Materials, including Sandwich Construction. Delaware; Springer; 2005. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Appendix==&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo phonon DOS 222 JOH.png|thumb|300px|Figure 1. Phonon DOS of MgO using 2x2x2 grid size]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Jo1213</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553460</id>
		<title>Rep:Mod:JOH95MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553460"/>
		<updated>2016-03-11T10:28:31Z</updated>

		<summary type="html">&lt;p&gt;Jo1213: /* Thermal Expansion of MgO */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
The experiment will investigate the properties of an MgO crystal. Firstly the dimensions of the unit cells will be investigates along with the associated energy. Then the phonon dispersion and DOS will be investigated, evaluating the optimal grid size to use. The energies of the crystal will be investigates along with the thermal expansion coefficients. Lastly the quasi-harmonic approximation (QHA) and the molecular dynamics (MD) will be compared. &lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon-based model used to describe volume-dependent thermal effects. The harmonic phonon model assumes that all intermolecular forces are harmonic. This is not sufficient to describe thermal expansion as there is no change to the equilibrium bond length as temperature increases. The QHA takes into account that molecules do have an anharmonic effect at higher temperatures by treating frequencies as volume dependent. &lt;br /&gt;
&lt;br /&gt;
The Molecular Dynamics approach allows a system to evolve in time according to Newton&#039;s second law &amp;lt;math&amp;gt;F=ma&amp;lt;/math&amp;gt;. The initial configurations and velocities are assigned to allow the program to iterate positions and velocities. The atoms follow trajectories and the properties, such as E and T, are computed as time averages of their behaviour.&lt;br /&gt;
&lt;br /&gt;
The programs used were RedHat Linux, DLVisulaize (DLV) and General Utility Lattice Program (GULP). DLV allows us to visualise the MgO crystals and GULP is used to perform simulations on materials using boundary conditions, in this case on a 3D lattice.&lt;br /&gt;
&lt;br /&gt;
== Internal Energy of MgO ==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:PC 1.png|left|thumb|300px|Figure 1. Primitive Cell of MgO]]&lt;br /&gt;
|[[File:CC .png|left|thumb|300px|Figure 2. Conventional Cell of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 1 shows the primitive unit cell of MgO. The primitive unit cell consists of 2 atoms Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; which are held together by a Buckingham repulsive potential. The unit cell has a rhombohedron shape with lattice constants of 2.9783 Å and an internal angle a = 60°. The primitive cell contains one lattice point and is the simplest cell to describe the crystal. A calculation was run on MgO. In the [https://wiki.ch.ic.ac.uk/wiki/images/e/e7/MgO_1_james.txt LogFile] GULF describes MgO using a primitive unit cell. The Cartesian lattice vectors of the cell are reported in table 1 and the total lattice energy was -41.07531759 eV which represents the energy to pull all the atom infinitely apart. The GULP calculation correlates with LCAO HF calculations found in literature (2.573 Å &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;). &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|-&lt;br /&gt;
|+ Table 1ː Cell Vector Dimensions/Å&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The conventional cell has four times the volume of the primitive cell as shown in figure 2. The structure of the cell is face centered cubic (FCC) which has an internal angel a = 90° and a lattice vector of 4.212 Å (which agrees with literature of 4.21 Å &amp;lt;ref name =&amp;quot;Ref 2&amp;quot; /&amp;gt;). The conventional cell is more representative of the crystal so is chosen in the calculations.&lt;br /&gt;
&lt;br /&gt;
==Computing the Phonon Dispersion Curves==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO Phonon Dispersion JOH.png|thumb|300px|Figure 3. Phonon Dispersion Graph of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The vibrational modes of the lattice were then computed. The phonon modes were displayed as a dispersion curve, as shown in figure 3. The phonon frequencies were calculated along a path in k-space. Special points along the path, &amp;lt;math&amp;gt;W, L, \Gamma, X, W, K&amp;lt;/math&amp;gt;, can be seen in figure 3. There are two phonos modes associated with each axis, acoustic (in-phase) and optical (out-of-phase) phonons. In the 3D model three axis (x,y,z) are taken into consideration meaning there are 6 phonon modes as shown by the six different curves in figure 3. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:K=0 JOH.png|thumb|300px|Figure 4. Acoustic and optical modes at k=0]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The relationship between the wavevector k to the wavelength &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) is &amp;lt;math&amp;gt;k= \frac{2\pi}{\lambda}&amp;lt;/math&amp;gt;. Furthermore the relationship between wavelength &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) and frequency is &amp;lt;math&amp;gt; v = \frac{c}{\lambda} &amp;lt;/math&amp;gt;. As shown in figure 4 when k=0, for the acoustic mode, the wavelength approaches infinity as all the atoms move in the same direction along the axis. As &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; approaches infinity, frequency will tend to 0. For the optical mode the frequency is non-zero. With this information it is clear that at k=0 the dispersion graph is at symmetry point &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; as this is the only point on the dispersion curve where phonon modes display a frequency of zero. &lt;br /&gt;
&lt;br /&gt;
Following the path from &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;, to &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and then to &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; the acoustic modes splits into 3 modes, two transverse modes (TA) and one longitude mode (LA). The two TA are degenerate between &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; until it splits between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Phonon Density of States (DOS)==&lt;br /&gt;
The next part involved calculating the phonon density of states. The DOS is defined as the number of states per energy at a given energy, in this case vibrational frequency. The larger the number of k values considered in reciprocal space the more accurate the DOS. This is achieved by increasing the grid size (nxnxn) to give a better representation of the crystal by sampling more k values in reciprocal space. However, at a certain point the difference between k values is negligible so does not further increase the accuracy of the DOS. Furthermore calculating an infinite number of k values would take an infinite amount of computing time.&lt;br /&gt;
&lt;br /&gt;
The DOS was calculated for a 1x1x1 grid by setting the shrinking value to 1 as shown in figure 5. The grid size was then increased to find the optimum shrinking value that gave a good representation of the DOS without taking too long to calculate as shown by figures 6 through 10. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo Phonon DOS JOH 111.png|thumb|300px|Figure 5. Phonon DOS of MgO using 1x1x1 grid size]]&lt;br /&gt;
|[[File:JOHphononDOS444.png|thumb|300px|Figure 6. Phonon DOS of MgO using 4x4x4 grid size]]&lt;br /&gt;
|[[File:JOHDOS888.png|thumb|300px|Figure 7. Phonon DOS of MgO using 8x8x8 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOHDOS161616.png|thumb|300px|Figure 8. Phonon DOS of MgO using 16x16x16 grid size]]&lt;br /&gt;
|[[File:JOHDOS323232.png|thumb|300px|Figure 9. Phonon DOS of MgO using 32x32x32 grid size]]&lt;br /&gt;
|[[File:JOHDOS50.png|thumb|300px|Figure 10. Phonon DOS of MgO using 50x50x50 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 5 shows the DOS for a 1x1x1 grid size. The four peaks 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 676 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 819 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; represent the four frequencies at point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. At symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;, by looking at figure 3 the two phonon modes at 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; are degenerate (as they go on to split in two between points &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;. This degeneracy is confirmed in the DOS graph in figure 5 as the intensity of the peaks around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; is around double that of the peaks around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is chosen as the k-value for a grid size of 1x1x1 as it is the most representative point in k-space for the DOS. This is shown visually from figures 5 to 10 as when the DOS becomes more accurate the main peak remains around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; with the smaller peak still remaining around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. There is a theorem about using the &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; point in reciprocal space for a 1x1x1 grid called Baldereschi theorem &amp;lt;ref name = &amp;quot;Ref 3&amp;quot;/&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The ideal grid size is one that represents the DOS without taking too long to calculate. From figure 8 onwards the shape of the curve does not change much, so it can be concluded that using a grid size of 16 is sufficient enough to gain a good understanding of the DOS without taking too long to calculate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:DOS dispersion JOH.png|thumb|400px|Figure 11. Comparing the dispersion curve with the DOS]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It is important to note the relationship between the dispersion curve and the DOS graph as shown in figure 11. The frequency in the phonon dispersion curve on the y axis is the same as the frequency on the DOS curve in the x-axis. It can be seen visually that the most popular states are around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The relationship between real space and reciprocal space is given by the formula &amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt; - a being the length in real space transformed to a* in reciprocal space. This shows that the larger the lattice constant a, the smaller the reciprocal cell. This is important to consider when assessing the DOS for other structures. Lithium has a lattice constant of 3.490 Å &amp;lt;ref name = &amp;quot;Ref 4&amp;quot;/&amp;gt; which is 0.721 Å lower that the conventional unit cell of MgO that is being modelled. Due to the inverse relationship of real to reciprocal space, lithium will have a larger cell in reciprocal space and therefore need a larger grid size to measure the DOS accurately. Conversely Faujasite has a lattice constant of 24.7 Å &amp;lt;ref name = &amp;quot;Ref 5&amp;quot; /&amp;gt; which will give a much smaller cell in reciprocal space meaning that a smaller grid size would give an accurate measurement of the DOS as there are fewer k values needed to measure the cell. CaO has a very similar lattice constant meaning that a similar grid size would be needed to accurately measure the DOS - in this case a grid size of 16x16x16 would be sufficient.&lt;br /&gt;
&lt;br /&gt;
==Computing the Free Energy==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Table 2ː Energy vs Grid size&lt;br /&gt;
! Grid Size nxnxn/n&lt;br /&gt;
! Free Energy/eV&lt;br /&gt;
! Accuracy/ meV&lt;br /&gt;
! Log file&lt;br /&gt;
! rowspan=&amp;quot;9&amp;quot;|[[File:JOH Free energy vs grid size.png|thumb|400px|]]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| -40.930301&lt;br /&gt;
| 4&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/1/12/JOH_fe_MgO_111.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| -40.926609&lt;br /&gt;
| 0.2&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/aa/JOH_fe_MgO_222.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -40.926432&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4d/JOH_fe_MgO_333.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -40.926450&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/40/JOH_fe_MgO_444.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -40.926478&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/7/70/JOH_fe_MgO_888.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -40.926482&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4f/JOH_fe_MgO_16.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/ac/JOH_fe_MgO_32.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 50&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [[Media:JOH_fe_MgO_50.txt.zip|log file]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Table 2 displays the free energies of MgO as a function of grid size n. Similar to finding the ideal grid size to calculate the DOS, the optimal grid size to calculate the free energy can be found in table 2. As the grid size increases from 1 to 3 there is a sharp increase in the free energy from -40.930301 eV to -40.926432 eV, afterwards the free energy eventually converges at -40.926483 eV. The degree of accuracy follows this trend, from a grid size of 4 onwards the degree of accuracy is greater that 0.1 meV. There is no change in free energy from a grid size of 32 to 50 suggesting that a grid size of 32 is all that is needed to accurately determine the free energy of MgO. &lt;br /&gt;
&lt;br /&gt;
The graph in table 2 can be rationalised by the equation for the Helmholtz free energy - &amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A is the Helmholtz fee energy, U is the internal energy, T is temperature and S is entropy. As the grid size increases, the volume increases so the internal energy decreases (&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt;). This in turn means that the Helmholtz free energy would decrease.&lt;br /&gt;
&lt;br /&gt;
Furthermore as the number of microstates sampled increases the entropy term will increase according to the relationship &amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt;. This in turn means that the free energy will be lowered. By considering these two factors the decrease in free energy can be rationalised.&lt;br /&gt;
&lt;br /&gt;
==Thermal Expansion of MgO==&lt;br /&gt;
The structure of MgO will be optimised with respect to the free energy at different temperatures (0 - 1000 K in steps of 100 K). The free energy will be computed using the quasi-harmonic approximation (QHA) which uses the following expression: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
*&amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; = frequency of the vibration &lt;br /&gt;
*&amp;lt;math&amp;gt;E_{0}&amp;lt;/math&amp;gt; = zero point energy &lt;br /&gt;
*&amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; = Temperature&lt;br /&gt;
*&amp;lt;math&amp;gt;k_B&amp;lt;/math&amp;gt; = Boltzmann Constant &lt;br /&gt;
*&amp;lt;math&amp;gt;\hbar&amp;lt;/math&amp;gt; = reduced Planck&#039;s constant. &lt;br /&gt;
&lt;br /&gt;
The equations is split into three parts - the zero point energy and the harmonic and entropic contribution.&lt;br /&gt;
&lt;br /&gt;
In addition the coefficients of thermal expansion was calculated. Thermal expansion is the tendency for matter to change in response to temperature, due to heat transfer. The coefficient of thermal expansion describes how the size of an object changes with temperature. The larger the coefficient the greater the change in size as temperature increases. Several coefficients have been developed and the two that we will look at are the linear and volumetric thermal expansion. The generic equation is as follows:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\alpha_x = \frac{1}{x}\,\left(\frac{\partial x}{\partial T}\right)_p&lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* α&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt; = thermal expansion coefficient&lt;br /&gt;
* x = initial dimension &lt;br /&gt;
* ∂x = the partial derivative of the dimension under study &lt;br /&gt;
* ∂T = partial derivative of temperature (at constant pressure)&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy vs temp.png|thumb|400px|Figure 12. Free Energy dependence on Temperature for the QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH lattice constant vs temp.png|thumb|400px|Figure 13. Lattice Constant dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|[[File:JOH LV temp.png|thumb|400px|Figure 14. Lattice Volume dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 12 shows that as temperature increases the free energy becomes more negative. This can be rationalised with the derivation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; G = H - TS &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Plug in &amp;lt;math&amp;gt;H = U + PV&amp;lt;/math&amp;gt; to get  &amp;lt;math&amp;gt;G = U + PV - TS&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dG = dU + PdV + VdP - TdS - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = q + w &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dq = TdS &amp;lt;/math&amp;gt; &amp;lt;math&amp;gt; dw = -PdV &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \therefore dG = VdP - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This implies that both the volume and the entropic factor contribute to the free energy. As the temperature increases the volume will increase, however the entropic factor will overcome this due to large change in temperature. This explains the trend observed in figure 12. &lt;br /&gt;
&lt;br /&gt;
We would expect a linear negative decrease - &amp;lt;math&amp;gt; \left( \frac{\partial G}{\partial T} \right)_P = -S &amp;lt;/math&amp;gt;. However figure 12 shows that the trend is a curve, the free energy becomes more negative at an increasing rate, suggesting that the pressure may not be constant.&lt;br /&gt;
&lt;br /&gt;
The trend could also be explained using the Helmoholtz free energy equation used in the QHA. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The entropic contribution in the equation has a large dependence on temperature and therefore as temperature increases the entropic contribution becomes more negative. This is due to the exponential factor in the entropic contribution. This results in the Helmholtz becoming more negative.  &lt;br /&gt;
&lt;br /&gt;
===Calculating the Thermal expansion coefficients===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Linear Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{1}{L} \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{0.00002342}{2.986563} = 7.7815\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
L = the initial lattice constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 13&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Volumetric Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V} \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{0.00044612}{18.836496} = 2.3684\times 10^{-5}&amp;lt;/math&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
V = the initial volume constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 14&lt;br /&gt;
&lt;br /&gt;
For isotropic materials the volumetric coefficient is three times larger that then linear coefficient - 3&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;. For MgO &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt; is practically three times larger than &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; (3.04&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;) implying that MgO is an isotropic material &amp;lt;ref name=&amp;quot;Ref 6&amp;quot;/&amp;gt;, in other words lattice constants a, b and c expand at equal rates. At 200 K the L value increases to 2.987604 Å resulting in &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;7.839\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; which is close to the literature value of &amp;lt;math&amp;gt;7.39\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The main approximation with the QHA occurs at higher temperatures. This is because at higher temperatures the lattice experiences a larger anharmonic effect due to a larger deviation from bond equilibrium as more energy is put into the bond. Furthermore as anharmonicity comes from scattered phonons interacting due to lattice defect, this effect will be accentuated as lattice vibration gain more energy. The QHA simplifies the anharmonic effect by letting the phonon frequencies become volume dependent so therefore is unable to model the anharmonic effect well. Furthermore the born-oppenheimer approximation would become less valid at larger temperatures as the motion of nuclei becomes more important.&lt;br /&gt;
&lt;br /&gt;
Lastly in a diatomic molecule with an exact harmonic potential as the temperature increases there would be no change in equilibrium bond length as the parabolic function is symmetric. Instead the maximum and minimum bond lengths would increase or in other words a larger amplitude would be reached.&lt;br /&gt;
&lt;br /&gt;
== Molecular Dynamics ==&lt;br /&gt;
The crystal was then studied using Molecular Dynamics. In the previous investigations MgO has been described using a primitive cell containing a single MgO unit. Running an MD would not produce meaningful data as every cell would move perfectly in phase. By increasing the size of the cell the MD would become more accurate but become more computationally expensive so a compromise is reached for a cell containing 32 MgO units. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy temperature QHA MD.png|thumb|400px|Figure 15. Free Energy vs Temperature for MD compared to QHA]]&lt;br /&gt;
|[[File:JOHlatticeQHAMD2.png|thumb|400px|Figure 16. Lattice Constant vs Temperature for MD compared to QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics allows a system to evolve in time according to Newton&#039;s second law F=ma. As the system is treated classically energy can be modelled by the equipartition principle, &amp;lt;math&amp;gt;E = \frac{3}{2} k_B T&amp;lt;/math&amp;gt;, and as such the energy will increase linearly with temperature. In comparison QHA follows the relationship &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
This mean that the energy should decrease with temperature. Both the free energy modelled by MD and QHA can be seen in figure 15. &lt;br /&gt;
&lt;br /&gt;
Looking at figure 16 the MD and the QHA are similar between 400-1000 K, thus the volumetric expansion coefficients would be similar:&lt;br /&gt;
*MD - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; = 3.06 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
*QHA - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;  = 2.89 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
This similarity in data strengthens the reliability of the volumetric expansion coefficients between 400 - 1000 K. However, below 400 K the QHA begins to break from a linear trend and curve towards 18.84 Å&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt; whereas the MD follows the linear trend. At lower trends the anharmonic effect is not as prevalent so the QHA is a better model for the lattice constant at lower temperatures. The MD model does not accurately show how the free energy changes at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
===Limitation===&lt;br /&gt;
&lt;br /&gt;
Overall both QHA and MD models have their limitations. &lt;br /&gt;
&lt;br /&gt;
The atoms are modelled using a classical approach or in other words atoms are modelled as hard charged spheres. So the quantum mechanical contributions cannot be taken into account. This will reduced the accuracy of the models &lt;br /&gt;
&lt;br /&gt;
Furthermore, the models do not consider long-range interactions, only interactions of atoms relatively close. In a realistic crystal there will be interactions outside the nearest neighbours albeit small interactions. Thus slight inaccuracy in the models is seen. &lt;br /&gt;
&lt;br /&gt;
For both models it can be assumed that the trends can be extrapolated until the melting point of MgO is reached, as upon melting a change in volume occurs. Furthermore liquid MgO has no structured order so cannot be described by a repeated unit cell. &lt;br /&gt;
&lt;br /&gt;
In the QHA the interactions between atoms of different unit cells was not taken into consideration. There would be an energy increase if there was overlap between atoms in different cells.&lt;br /&gt;
&lt;br /&gt;
For these MD calculations, as only a small number of atoms were considered it was reasonable to use a time step of 1.0 femtoseconds. However, when considering a much larger system, say for example a protein, then this would become computationally expensive.&lt;br /&gt;
&lt;br /&gt;
==Conclusion== &lt;br /&gt;
The experiment showed the thermal expansion of MgO, the phonon dispersion and the DOS. Comparisons between the QHA and the MD were made, both approaches giving reasonable thermal expansion coefficients between 400-1000 K. At lower temperatures the QHA was a better model, due to the reduction in anharmonic effects.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 1&amp;quot; &amp;gt; O. Madelung, U. Rössler and M. Schulz, Eds., II-VI and I-VII compounds; Semimagnetic compounds, Springer-Verlag, 1999. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 2&amp;quot; &amp;gt; A. CIMINO, P. PORTA and M. VALIGI, Journal of the American Ceramic Society, 1966, 49, 152–156. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 3&amp;quot;&amp;gt; A. Baldereschi, Physical Review B, 1973, 7, 5212–5215. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 4&amp;quot; &amp;gt; E. J. Covington and D. J. Montgomery, J. Appl. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys, 2010, 27, 1030–53111. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 5&amp;quot; &amp;gt; J. A. Kaduk and J. Faber, The Rigaku journal 14 CRYSTAL STRUCTURE OF ZEOLITE Y AS A FUNCTION OF ION EXCHANGE, 1995. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 6&amp;quot; &amp;gt; J.R. Vinson, Plate and Panel structures of Isotropic, Composite and Piezoelectric Materials, including Sandwich Construction. Delaware; Springer; 2005. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Appendix==&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo phonon DOS 222 JOH.png|thumb|300px|Figure 1. Phonon DOS of MgO using 2x2x2 grid size]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Jo1213</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553455</id>
		<title>Rep:Mod:JOH95MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553455"/>
		<updated>2016-03-11T10:21:08Z</updated>

		<summary type="html">&lt;p&gt;Jo1213: /* Thermal Expansion of MgO */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
The experiment will investigate the properties of an MgO crystal. Firstly the dimensions of the unit cells will be investigates along with the associated energy. Then the phonon dispersion and DOS will be investigated, evaluating the optimal grid size to use. The energies of the crystal will be investigates along with the thermal expansion coefficients. Lastly the quasi-harmonic approximation (QHA) and the molecular dynamics (MD) will be compared. &lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon-based model used to describe volume-dependent thermal effects. The harmonic phonon model assumes that all intermolecular forces are harmonic. This is not sufficient to describe thermal expansion as there is no change to the equilibrium bond length as temperature increases. The QHA takes into account that molecules do have an anharmonic effect at higher temperatures by treating frequencies as volume dependent. &lt;br /&gt;
&lt;br /&gt;
The Molecular Dynamics approach allows a system to evolve in time according to Newton&#039;s second law &amp;lt;math&amp;gt;F=ma&amp;lt;/math&amp;gt;. The initial configurations and velocities are assigned to allow the program to iterate positions and velocities. The atoms follow trajectories and the properties, such as E and T, are computed as time averages of their behaviour.&lt;br /&gt;
&lt;br /&gt;
The programs used were RedHat Linux, DLVisulaize (DLV) and General Utility Lattice Program (GULP). DLV allows us to visualise the MgO crystals and GULP is used to perform simulations on materials using boundary conditions, in this case on a 3D lattice.&lt;br /&gt;
&lt;br /&gt;
== Internal Energy of MgO ==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:PC 1.png|left|thumb|300px|Figure 1. Primitive Cell of MgO]]&lt;br /&gt;
|[[File:CC .png|left|thumb|300px|Figure 2. Conventional Cell of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 1 shows the primitive unit cell of MgO. The primitive unit cell consists of 2 atoms Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; which are held together by a Buckingham repulsive potential. The unit cell has a rhombohedron shape with lattice constants of 2.9783 Å and an internal angle a = 60°. The primitive cell contains one lattice point and is the simplest cell to describe the crystal. A calculation was run on MgO. In the [https://wiki.ch.ic.ac.uk/wiki/images/e/e7/MgO_1_james.txt LogFile] GULF describes MgO using a primitive unit cell. The Cartesian lattice vectors of the cell are reported in table 1 and the total lattice energy was -41.07531759 eV which represents the energy to pull all the atom infinitely apart. The GULP calculation correlates with LCAO HF calculations found in literature (2.573 Å &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;). &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|-&lt;br /&gt;
|+ Table 1ː Cell Vector Dimensions/Å&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The conventional cell has four times the volume of the primitive cell as shown in figure 2. The structure of the cell is face centered cubic (FCC) which has an internal angel a = 90° and a lattice vector of 4.212 Å (which agrees with literature of 4.21 Å &amp;lt;ref name =&amp;quot;Ref 2&amp;quot; /&amp;gt;). The conventional cell is more representative of the crystal so is chosen in the calculations.&lt;br /&gt;
&lt;br /&gt;
==Computing the Phonon Dispersion Curves==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO Phonon Dispersion JOH.png|thumb|300px|Figure 3. Phonon Dispersion Graph of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The vibrational modes of the lattice were then computed. The phonon modes were displayed as a dispersion curve, as shown in figure 3. The phonon frequencies were calculated along a path in k-space. Special points along the path, &amp;lt;math&amp;gt;W, L, \Gamma, X, W, K&amp;lt;/math&amp;gt;, can be seen in figure 3. There are two phonos modes associated with each axis, acoustic (in-phase) and optical (out-of-phase) phonons. In the 3D model three axis (x,y,z) are taken into consideration meaning there are 6 phonon modes as shown by the six different curves in figure 3. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:K=0 JOH.png|thumb|300px|Figure 4. Acoustic and optical modes at k=0]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The relationship between the wavevector k to the wavelength &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) is &amp;lt;math&amp;gt;k= \frac{2\pi}{\lambda}&amp;lt;/math&amp;gt;. Furthermore the relationship between wavelength &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) and frequency is &amp;lt;math&amp;gt; v = \frac{c}{\lambda} &amp;lt;/math&amp;gt;. As shown in figure 4 when k=0, for the acoustic mode, the wavelength approaches infinity as all the atoms move in the same direction along the axis. As &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; approaches infinity, frequency will tend to 0. For the optical mode the frequency is non-zero. With this information it is clear that at k=0 the dispersion graph is at symmetry point &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; as this is the only point on the dispersion curve where phonon modes display a frequency of zero. &lt;br /&gt;
&lt;br /&gt;
Following the path from &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;, to &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and then to &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; the acoustic modes splits into 3 modes, two transverse modes (TA) and one longitude mode (LA). The two TA are degenerate between &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; until it splits between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Phonon Density of States (DOS)==&lt;br /&gt;
The next part involved calculating the phonon density of states. The DOS is defined as the number of states per energy at a given energy, in this case vibrational frequency. The larger the number of k values considered in reciprocal space the more accurate the DOS. This is achieved by increasing the grid size (nxnxn) to give a better representation of the crystal by sampling more k values in reciprocal space. However, at a certain point the difference between k values is negligible so does not further increase the accuracy of the DOS. Furthermore calculating an infinite number of k values would take an infinite amount of computing time.&lt;br /&gt;
&lt;br /&gt;
The DOS was calculated for a 1x1x1 grid by setting the shrinking value to 1 as shown in figure 5. The grid size was then increased to find the optimum shrinking value that gave a good representation of the DOS without taking too long to calculate as shown by figures 6 through 10. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo Phonon DOS JOH 111.png|thumb|300px|Figure 5. Phonon DOS of MgO using 1x1x1 grid size]]&lt;br /&gt;
|[[File:JOHphononDOS444.png|thumb|300px|Figure 6. Phonon DOS of MgO using 4x4x4 grid size]]&lt;br /&gt;
|[[File:JOHDOS888.png|thumb|300px|Figure 7. Phonon DOS of MgO using 8x8x8 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOHDOS161616.png|thumb|300px|Figure 8. Phonon DOS of MgO using 16x16x16 grid size]]&lt;br /&gt;
|[[File:JOHDOS323232.png|thumb|300px|Figure 9. Phonon DOS of MgO using 32x32x32 grid size]]&lt;br /&gt;
|[[File:JOHDOS50.png|thumb|300px|Figure 10. Phonon DOS of MgO using 50x50x50 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 5 shows the DOS for a 1x1x1 grid size. The four peaks 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 676 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 819 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; represent the four frequencies at point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. At symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;, by looking at figure 3 the two phonon modes at 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; are degenerate (as they go on to split in two between points &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;. This degeneracy is confirmed in the DOS graph in figure 5 as the intensity of the peaks around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; is around double that of the peaks around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is chosen as the k-value for a grid size of 1x1x1 as it is the most representative point in k-space for the DOS. This is shown visually from figures 5 to 10 as when the DOS becomes more accurate the main peak remains around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; with the smaller peak still remaining around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. There is a theorem about using the &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; point in reciprocal space for a 1x1x1 grid called Baldereschi theorem &amp;lt;ref name = &amp;quot;Ref 3&amp;quot;/&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The ideal grid size is one that represents the DOS without taking too long to calculate. From figure 8 onwards the shape of the curve does not change much, so it can be concluded that using a grid size of 16 is sufficient enough to gain a good understanding of the DOS without taking too long to calculate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:DOS dispersion JOH.png|thumb|400px|Figure 11. Comparing the dispersion curve with the DOS]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It is important to note the relationship between the dispersion curve and the DOS graph as shown in figure 11. The frequency in the phonon dispersion curve on the y axis is the same as the frequency on the DOS curve in the x-axis. It can be seen visually that the most popular states are around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The relationship between real space and reciprocal space is given by the formula &amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt; - a being the length in real space transformed to a* in reciprocal space. This shows that the larger the lattice constant a, the smaller the reciprocal cell. This is important to consider when assessing the DOS for other structures. Lithium has a lattice constant of 3.490 Å &amp;lt;ref name = &amp;quot;Ref 4&amp;quot;/&amp;gt; which is 0.721 Å lower that the conventional unit cell of MgO that is being modelled. Due to the inverse relationship of real to reciprocal space, lithium will have a larger cell in reciprocal space and therefore need a larger grid size to measure the DOS accurately. Conversely Faujasite has a lattice constant of 24.7 Å &amp;lt;ref name = &amp;quot;Ref 5&amp;quot; /&amp;gt; which will give a much smaller cell in reciprocal space meaning that a smaller grid size would give an accurate measurement of the DOS as there are fewer k values needed to measure the cell. CaO has a very similar lattice constant meaning that a similar grid size would be needed to accurately measure the DOS - in this case a grid size of 16x16x16 would be sufficient.&lt;br /&gt;
&lt;br /&gt;
==Computing the Free Energy==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Table 2ː Energy vs Grid size&lt;br /&gt;
! Grid Size nxnxn/n&lt;br /&gt;
! Free Energy/eV&lt;br /&gt;
! Accuracy/ meV&lt;br /&gt;
! Log file&lt;br /&gt;
! rowspan=&amp;quot;9&amp;quot;|[[File:JOH Free energy vs grid size.png|thumb|400px|]]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| -40.930301&lt;br /&gt;
| 4&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/1/12/JOH_fe_MgO_111.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| -40.926609&lt;br /&gt;
| 0.2&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/aa/JOH_fe_MgO_222.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -40.926432&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4d/JOH_fe_MgO_333.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -40.926450&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/40/JOH_fe_MgO_444.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -40.926478&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/7/70/JOH_fe_MgO_888.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -40.926482&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4f/JOH_fe_MgO_16.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/ac/JOH_fe_MgO_32.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 50&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [[Media:JOH_fe_MgO_50.txt.zip|log file]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Table 2 displays the free energies of MgO as a function of grid size n. Similar to finding the ideal grid size to calculate the DOS, the optimal grid size to calculate the free energy can be found in table 2. As the grid size increases from 1 to 3 there is a sharp increase in the free energy from -40.930301 eV to -40.926432 eV, afterwards the free energy eventually converges at -40.926483 eV. The degree of accuracy follows this trend, from a grid size of 4 onwards the degree of accuracy is greater that 0.1 meV. There is no change in free energy from a grid size of 32 to 50 suggesting that a grid size of 32 is all that is needed to accurately determine the free energy of MgO. &lt;br /&gt;
&lt;br /&gt;
The graph in table 2 can be rationalised by the equation for the Helmholtz free energy - &amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A is the Helmholtz fee energy, U is the internal energy, T is temperature and S is entropy. As the grid size increases, the volume increases so the internal energy decreases (&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt;). This in turn means that the Helmholtz free energy would decrease.&lt;br /&gt;
&lt;br /&gt;
Furthermore as the number of microstates sampled increases the entropy term will increase according to the relationship &amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt;. This in turn means that the free energy will be lowered. By considering these two factors the decrease in free energy can be rationalised.&lt;br /&gt;
&lt;br /&gt;
==Thermal Expansion of MgO==&lt;br /&gt;
The structure of MgO will be optimised with respect to the free energy at different temperatures (0 - 1000 K in steps of 100 K). The free energy will be computed using the quasi-harmonic approximation (QHA) which uses the following expression: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
*&amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; = frequency of the vibration &lt;br /&gt;
*&amp;lt;math&amp;gt;E_{0}&amp;lt;/math&amp;gt; = zero point energy &lt;br /&gt;
*&amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; = Temperature&lt;br /&gt;
*&amp;lt;math&amp;gt;k_B&amp;lt;/math&amp;gt; = Boltzmann Constant &lt;br /&gt;
*&amp;lt;math&amp;gt;\hbar&amp;lt;/math&amp;gt; = reduced Planck&#039;s constant. &lt;br /&gt;
&lt;br /&gt;
The equations is split into three parts - the zero point energy and the harmonic and entropic contribution.&lt;br /&gt;
&lt;br /&gt;
In addition the coefficients of thermal expansion was calculated. Thermal expansion is the tendency for matter to change in response to temperature, due to heat transfer. The coefficient of thermal expansion describes how the size of an object changes with temperature. The larger the coefficient the greater the change in size as temperature increases. Several coefficients have been developed and the two that we will look at are the linear and volumetric thermal expansion. The generic equation is as follows:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\alpha_x = \frac{1}{x}\,\left(\frac{\partial x}{\partial T}\right)_p&lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* α&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt; = thermal expansion coefficient&lt;br /&gt;
* x = initial dimension &lt;br /&gt;
* ∂x = the partial derivative of the dimension under study &lt;br /&gt;
* ∂T = partial derivative of temperature (at constant pressure)&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy vs temp.png|thumb|400px|Figure 12. Free Energy dependence on Temperature for the QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH lattice constant vs temp.png|thumb|400px|Figure 13. Lattice Constant dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|[[File:JOH LV temp.png|thumb|400px|Figure 14. Lattice Volume dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 12 shows that as temperature increases the free energy becomes more negative. This can be rationalised with the derivation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; G = H - TS &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Plug in &amp;lt;math&amp;gt;H = U + PV&amp;lt;/math&amp;gt; to get  &amp;lt;math&amp;gt;G = U + PV - TS&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dG = dU + PdV + VdP - TdS - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = q + w &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dq = TdS &amp;lt;/math&amp;gt; &amp;lt;math&amp;gt; dw = -PdV &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \therefore dG = VdP - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This implies that both the volume and the entropic factor contribute to the free energy. As the temperature increases the volume will increase, however the entropic factor will overcome this due to large change in temperature. This explains the trend observed in figure 12. &lt;br /&gt;
&lt;br /&gt;
We would expect a linear negative decrease - &amp;lt;math&amp;gt; \left( \frac{\partial G}{\partial T} \right)_P = -S &amp;lt;/math&amp;gt;. However figure 12 shows that the trend is a curve suggesting that the pressure may not be constant.&lt;br /&gt;
&lt;br /&gt;
The trend could also be explained using the Helmoholtz free energy equation used in the QHA. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The entropic contribution in the equation has a large dependence on temperature and therefore as temperature increases the entropic contribution becomes more negative. This is due to the exponential factor in the entropic contribution. This results in the Helmholtz becoming more negative.  &lt;br /&gt;
&lt;br /&gt;
===Calculating the Thermal expansion coefficients===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Linear Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{1}{L} \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{0.00002342}{2.986563} = 7.7815\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
L = the initial lattice constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 13&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Volumetric Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V} \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{0.00044612}{18.836496} = 2.3684\times 10^{-5}&amp;lt;/math&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
V = the initial volume constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 14&lt;br /&gt;
&lt;br /&gt;
For isotropic materials the volumetric coefficient is three times larger that then linear coefficient - 3&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;. For MgO &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt; is practically three times larger than &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; (3.04&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;) implying that MgO is an isotropic material &amp;lt;ref name=&amp;quot;Ref 6&amp;quot;/&amp;gt;, in other words lattice constants a, b and c expand at equal rates. At 200 K the L value increases to 2.987604 Å resulting in &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;7.839\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; which is close to the literature value of &amp;lt;math&amp;gt;7.39\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The main approximation with the QHA occurs at higher temperatures. This is because at higher temperatures the lattice experiences a larger anharmonic effect due to a larger deviation from bond equilibrium as more energy is put into the bond. Furthermore as anharmonicity comes from scattered phonons interacting due to lattice defect, this effect will be accentuated as lattice vibration gain more energy. The QHA simplifies the anharmonic effect by letting the phonon frequencies become volume dependent so therefore is unable to model the anharmonic effect well. Furthermore the born-oppenheimer approximation would become less valid at larger temperatures as the motion of nuclei becomes more important.&lt;br /&gt;
&lt;br /&gt;
Lastly in a diatomic molecule with an exact harmonic potential as the temperature increases there would be no change in equilibrium bond length as the parabolic function is symmetric. Instead the maximum and minimum bond lengths would increase or in other words a larger amplitude would be reached.&lt;br /&gt;
&lt;br /&gt;
== Molecular Dynamics ==&lt;br /&gt;
The crystal was then studied using Molecular Dynamics. In the previous investigations MgO has been described using a primitive cell containing a single MgO unit. Running an MD would not produce meaningful data as every cell would move perfectly in phase. By increasing the size of the cell the MD would become more accurate but become more computationally expensive so a compromise is reached for a cell containing 32 MgO units. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy temperature QHA MD.png|thumb|400px|Figure 15. Free Energy vs Temperature for MD compared to QHA]]&lt;br /&gt;
|[[File:JOHlatticeQHAMD2.png|thumb|400px|Figure 16. Lattice Constant vs Temperature for MD compared to QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics allows a system to evolve in time according to Newton&#039;s second law F=ma. As the system is treated classically energy can be modelled by the equipartition principle, &amp;lt;math&amp;gt;E = \frac{3}{2} k_B T&amp;lt;/math&amp;gt;, and as such the energy will increase linearly with temperature. In comparison QHA follows the relationship &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
This mean that the energy should decrease with temperature. Both the free energy modelled by MD and QHA can be seen in figure 15. &lt;br /&gt;
&lt;br /&gt;
Looking at figure 16 the MD and the QHA are similar between 400-1000 K, thus the volumetric expansion coefficients would be similar:&lt;br /&gt;
*MD - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; = 3.06 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
*QHA - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;  = 2.89 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
This similarity in data strengthens the reliability of the volumetric expansion coefficients between 400 - 1000 K. However, below 400 K the QHA begins to break from a linear trend and curve towards 18.84 Å&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt; whereas the MD follows the linear trend. At lower trends the anharmonic effect is not as prevalent so the QHA is a better model for the lattice constant at lower temperatures. The MD model does not accurately show how the free energy changes at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
===Limitation===&lt;br /&gt;
&lt;br /&gt;
Overall both QHA and MD models have their limitations. &lt;br /&gt;
&lt;br /&gt;
The atoms are modelled using a classical approach or in other words atoms are modelled as hard charged spheres. So the quantum mechanical contributions cannot be taken into account. This will reduced the accuracy of the models &lt;br /&gt;
&lt;br /&gt;
Furthermore, the models do not consider long-range interactions, only interactions of atoms relatively close. In a realistic crystal there will be interactions outside the nearest neighbours albeit small interactions. Thus slight inaccuracy in the models is seen. &lt;br /&gt;
&lt;br /&gt;
For both models it can be assumed that the trends can be extrapolated until the melting point of MgO is reached, as upon melting a change in volume occurs. Furthermore liquid MgO has no structured order so cannot be described by a repeated unit cell. &lt;br /&gt;
&lt;br /&gt;
In the QHA the interactions between atoms of different unit cells was not taken into consideration. There would be an energy increase if there was overlap between atoms in different cells.&lt;br /&gt;
&lt;br /&gt;
For these MD calculations, as only a small number of atoms were considered it was reasonable to use a time step of 1.0 femtoseconds. However, when considering a much larger system, say for example a protein, then this would become computationally expensive.&lt;br /&gt;
&lt;br /&gt;
==Conclusion== &lt;br /&gt;
The experiment showed the thermal expansion of MgO, the phonon dispersion and the DOS. Comparisons between the QHA and the MD were made, both approaches giving reasonable thermal expansion coefficients between 400-1000 K. At lower temperatures the QHA was a better model, due to the reduction in anharmonic effects.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 1&amp;quot; &amp;gt; O. Madelung, U. Rössler and M. Schulz, Eds., II-VI and I-VII compounds; Semimagnetic compounds, Springer-Verlag, 1999. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 2&amp;quot; &amp;gt; A. CIMINO, P. PORTA and M. VALIGI, Journal of the American Ceramic Society, 1966, 49, 152–156. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 3&amp;quot;&amp;gt; A. Baldereschi, Physical Review B, 1973, 7, 5212–5215. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 4&amp;quot; &amp;gt; E. J. Covington and D. J. Montgomery, J. Appl. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys, 2010, 27, 1030–53111. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 5&amp;quot; &amp;gt; J. A. Kaduk and J. Faber, The Rigaku journal 14 CRYSTAL STRUCTURE OF ZEOLITE Y AS A FUNCTION OF ION EXCHANGE, 1995. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 6&amp;quot; &amp;gt; J.R. Vinson, Plate and Panel structures of Isotropic, Composite and Piezoelectric Materials, including Sandwich Construction. Delaware; Springer; 2005. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Appendix==&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo phonon DOS 222 JOH.png|thumb|300px|Figure 1. Phonon DOS of MgO using 2x2x2 grid size]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Jo1213</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553453</id>
		<title>Rep:Mod:JOH95MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553453"/>
		<updated>2016-03-11T10:19:11Z</updated>

		<summary type="html">&lt;p&gt;Jo1213: /* Calculating the Thermal expansion coefficients */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
The experiment will investigate the properties of an MgO crystal. Firstly the dimensions of the unit cells will be investigates along with the associated energy. Then the phonon dispersion and DOS will be investigated, evaluating the optimal grid size to use. The energies of the crystal will be investigates along with the thermal expansion coefficients. Lastly the quasi-harmonic approximation (QHA) and the molecular dynamics (MD) will be compared. &lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon-based model used to describe volume-dependent thermal effects. The harmonic phonon model assumes that all intermolecular forces are harmonic. This is not sufficient to describe thermal expansion as there is no change to the equilibrium bond length as temperature increases. The QHA takes into account that molecules do have an anharmonic effect at higher temperatures by treating frequencies as volume dependent. &lt;br /&gt;
&lt;br /&gt;
The Molecular Dynamics approach allows a system to evolve in time according to Newton&#039;s second law &amp;lt;math&amp;gt;F=ma&amp;lt;/math&amp;gt;. The initial configurations and velocities are assigned to allow the program to iterate positions and velocities. The atoms follow trajectories and the properties, such as E and T, are computed as time averages of their behaviour.&lt;br /&gt;
&lt;br /&gt;
The programs used were RedHat Linux, DLVisulaize (DLV) and General Utility Lattice Program (GULP). DLV allows us to visualise the MgO crystals and GULP is used to perform simulations on materials using boundary conditions, in this case on a 3D lattice.&lt;br /&gt;
&lt;br /&gt;
== Internal Energy of MgO ==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:PC 1.png|left|thumb|300px|Figure 1. Primitive Cell of MgO]]&lt;br /&gt;
|[[File:CC .png|left|thumb|300px|Figure 2. Conventional Cell of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 1 shows the primitive unit cell of MgO. The primitive unit cell consists of 2 atoms Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; which are held together by a Buckingham repulsive potential. The unit cell has a rhombohedron shape with lattice constants of 2.9783 Å and an internal angle a = 60°. The primitive cell contains one lattice point and is the simplest cell to describe the crystal. A calculation was run on MgO. In the [https://wiki.ch.ic.ac.uk/wiki/images/e/e7/MgO_1_james.txt LogFile] GULF describes MgO using a primitive unit cell. The Cartesian lattice vectors of the cell are reported in table 1 and the total lattice energy was -41.07531759 eV which represents the energy to pull all the atom infinitely apart. The GULP calculation correlates with LCAO HF calculations found in literature (2.573 Å &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;). &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|-&lt;br /&gt;
|+ Table 1ː Cell Vector Dimensions/Å&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The conventional cell has four times the volume of the primitive cell as shown in figure 2. The structure of the cell is face centered cubic (FCC) which has an internal angel a = 90° and a lattice vector of 4.212 Å (which agrees with literature of 4.21 Å &amp;lt;ref name =&amp;quot;Ref 2&amp;quot; /&amp;gt;). The conventional cell is more representative of the crystal so is chosen in the calculations.&lt;br /&gt;
&lt;br /&gt;
==Computing the Phonon Dispersion Curves==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO Phonon Dispersion JOH.png|thumb|300px|Figure 3. Phonon Dispersion Graph of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The vibrational modes of the lattice were then computed. The phonon modes were displayed as a dispersion curve, as shown in figure 3. The phonon frequencies were calculated along a path in k-space. Special points along the path, &amp;lt;math&amp;gt;W, L, \Gamma, X, W, K&amp;lt;/math&amp;gt;, can be seen in figure 3. There are two phonos modes associated with each axis, acoustic (in-phase) and optical (out-of-phase) phonons. In the 3D model three axis (x,y,z) are taken into consideration meaning there are 6 phonon modes as shown by the six different curves in figure 3. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:K=0 JOH.png|thumb|300px|Figure 4. Acoustic and optical modes at k=0]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The relationship between the wavevector k to the wavelength &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) is &amp;lt;math&amp;gt;k= \frac{2\pi}{\lambda}&amp;lt;/math&amp;gt;. Furthermore the relationship between wavelength &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) and frequency is &amp;lt;math&amp;gt; v = \frac{c}{\lambda} &amp;lt;/math&amp;gt;. As shown in figure 4 when k=0, for the acoustic mode, the wavelength approaches infinity as all the atoms move in the same direction along the axis. As &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; approaches infinity, frequency will tend to 0. For the optical mode the frequency is non-zero. With this information it is clear that at k=0 the dispersion graph is at symmetry point &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; as this is the only point on the dispersion curve where phonon modes display a frequency of zero. &lt;br /&gt;
&lt;br /&gt;
Following the path from &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;, to &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and then to &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; the acoustic modes splits into 3 modes, two transverse modes (TA) and one longitude mode (LA). The two TA are degenerate between &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; until it splits between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Phonon Density of States (DOS)==&lt;br /&gt;
The next part involved calculating the phonon density of states. The DOS is defined as the number of states per energy at a given energy, in this case vibrational frequency. The larger the number of k values considered in reciprocal space the more accurate the DOS. This is achieved by increasing the grid size (nxnxn) to give a better representation of the crystal by sampling more k values in reciprocal space. However, at a certain point the difference between k values is negligible so does not further increase the accuracy of the DOS. Furthermore calculating an infinite number of k values would take an infinite amount of computing time.&lt;br /&gt;
&lt;br /&gt;
The DOS was calculated for a 1x1x1 grid by setting the shrinking value to 1 as shown in figure 5. The grid size was then increased to find the optimum shrinking value that gave a good representation of the DOS without taking too long to calculate as shown by figures 6 through 10. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo Phonon DOS JOH 111.png|thumb|300px|Figure 5. Phonon DOS of MgO using 1x1x1 grid size]]&lt;br /&gt;
|[[File:JOHphononDOS444.png|thumb|300px|Figure 6. Phonon DOS of MgO using 4x4x4 grid size]]&lt;br /&gt;
|[[File:JOHDOS888.png|thumb|300px|Figure 7. Phonon DOS of MgO using 8x8x8 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOHDOS161616.png|thumb|300px|Figure 8. Phonon DOS of MgO using 16x16x16 grid size]]&lt;br /&gt;
|[[File:JOHDOS323232.png|thumb|300px|Figure 9. Phonon DOS of MgO using 32x32x32 grid size]]&lt;br /&gt;
|[[File:JOHDOS50.png|thumb|300px|Figure 10. Phonon DOS of MgO using 50x50x50 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 5 shows the DOS for a 1x1x1 grid size. The four peaks 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 676 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 819 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; represent the four frequencies at point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. At symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;, by looking at figure 3 the two phonon modes at 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; are degenerate (as they go on to split in two between points &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;. This degeneracy is confirmed in the DOS graph in figure 5 as the intensity of the peaks around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; is around double that of the peaks around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is chosen as the k-value for a grid size of 1x1x1 as it is the most representative point in k-space for the DOS. This is shown visually from figures 5 to 10 as when the DOS becomes more accurate the main peak remains around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; with the smaller peak still remaining around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. There is a theorem about using the &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; point in reciprocal space for a 1x1x1 grid called Baldereschi theorem &amp;lt;ref name = &amp;quot;Ref 3&amp;quot;/&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The ideal grid size is one that represents the DOS without taking too long to calculate. From figure 8 onwards the shape of the curve does not change much, so it can be concluded that using a grid size of 16 is sufficient enough to gain a good understanding of the DOS without taking too long to calculate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:DOS dispersion JOH.png|thumb|400px|Figure 11. Comparing the dispersion curve with the DOS]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It is important to note the relationship between the dispersion curve and the DOS graph as shown in figure 11. The frequency in the phonon dispersion curve on the y axis is the same as the frequency on the DOS curve in the x-axis. It can be seen visually that the most popular states are around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The relationship between real space and reciprocal space is given by the formula &amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt; - a being the length in real space transformed to a* in reciprocal space. This shows that the larger the lattice constant a, the smaller the reciprocal cell. This is important to consider when assessing the DOS for other structures. Lithium has a lattice constant of 3.490 Å &amp;lt;ref name = &amp;quot;Ref 4&amp;quot;/&amp;gt; which is 0.721 Å lower that the conventional unit cell of MgO that is being modelled. Due to the inverse relationship of real to reciprocal space, lithium will have a larger cell in reciprocal space and therefore need a larger grid size to measure the DOS accurately. Conversely Faujasite has a lattice constant of 24.7 Å &amp;lt;ref name = &amp;quot;Ref 5&amp;quot; /&amp;gt; which will give a much smaller cell in reciprocal space meaning that a smaller grid size would give an accurate measurement of the DOS as there are fewer k values needed to measure the cell. CaO has a very similar lattice constant meaning that a similar grid size would be needed to accurately measure the DOS - in this case a grid size of 16x16x16 would be sufficient.&lt;br /&gt;
&lt;br /&gt;
==Computing the Free Energy==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Table 2ː Energy vs Grid size&lt;br /&gt;
! Grid Size nxnxn/n&lt;br /&gt;
! Free Energy/eV&lt;br /&gt;
! Accuracy/ meV&lt;br /&gt;
! Log file&lt;br /&gt;
! rowspan=&amp;quot;9&amp;quot;|[[File:JOH Free energy vs grid size.png|thumb|400px|]]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| -40.930301&lt;br /&gt;
| 4&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/1/12/JOH_fe_MgO_111.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| -40.926609&lt;br /&gt;
| 0.2&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/aa/JOH_fe_MgO_222.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -40.926432&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4d/JOH_fe_MgO_333.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -40.926450&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/40/JOH_fe_MgO_444.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -40.926478&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/7/70/JOH_fe_MgO_888.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -40.926482&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4f/JOH_fe_MgO_16.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/ac/JOH_fe_MgO_32.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 50&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [[Media:JOH_fe_MgO_50.txt.zip|log file]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Table 2 displays the free energies of MgO as a function of grid size n. Similar to finding the ideal grid size to calculate the DOS, the optimal grid size to calculate the free energy can be found in table 2. As the grid size increases from 1 to 3 there is a sharp increase in the free energy from -40.930301 eV to -40.926432 eV, afterwards the free energy eventually converges at -40.926483 eV. The degree of accuracy follows this trend, from a grid size of 4 onwards the degree of accuracy is greater that 0.1 meV. There is no change in free energy from a grid size of 32 to 50 suggesting that a grid size of 32 is all that is needed to accurately determine the free energy of MgO. &lt;br /&gt;
&lt;br /&gt;
The graph in table 2 can be rationalised by the equation for the Helmholtz free energy - &amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A is the Helmholtz fee energy, U is the internal energy, T is temperature and S is entropy. As the grid size increases, the volume increases so the internal energy decreases (&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt;). This in turn means that the Helmholtz free energy would decrease.&lt;br /&gt;
&lt;br /&gt;
Furthermore as the number of microstates sampled increases the entropy term will increase according to the relationship &amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt;. This in turn means that the free energy will be lowered. By considering these two factors the decrease in free energy can be rationalised.&lt;br /&gt;
&lt;br /&gt;
==Thermal Expansion of MgO==&lt;br /&gt;
The structure of MgO will be optimised with respect to the free energy at different temperatures (0 - 1000 K in steps of 100 K). The free energy will be computed using the quasi-harmonic approximation (QHA) which uses the following expression: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
*&amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; = frequency of the vibration &lt;br /&gt;
*&amp;lt;math&amp;gt;E_{0}&amp;lt;/math&amp;gt; = zero point energy &lt;br /&gt;
*&amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; = Temperature&lt;br /&gt;
*&amp;lt;math&amp;gt;k_B&amp;lt;/math&amp;gt; = Boltzmann Constant &lt;br /&gt;
*&amp;lt;math&amp;gt;\hbar&amp;lt;/math&amp;gt; = reduced Planck&#039;s constant. &lt;br /&gt;
&lt;br /&gt;
The equations is split into three parts - the zero point energy and the harmonic and entropic contribution.&lt;br /&gt;
&lt;br /&gt;
In addition the coefficients of thermal expansion was calculated. The coefficient of thermal expansion describes how the size of an object changes with temperature. The larger the coefficient the greater the change in size as temperature increases. Several coefficients have been developed and the two that we will look at are the linear and volumetric thermal expansion. The generic equation is as follows:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\alpha_x = \frac{1}{x}\,\left(\frac{\partial x}{\partial T}\right)_p&lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* α&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt; = thermal expansion coefficient&lt;br /&gt;
* x = initial dimension &lt;br /&gt;
* ∂x = the partial derivative of the dimension under study &lt;br /&gt;
* ∂T = partial derivative of temperature (at constant pressure)&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy vs temp.png|thumb|400px|Figure 12. Free Energy dependence on Temperature for the QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH lattice constant vs temp.png|thumb|400px|Figure 13. Lattice Constant dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|[[File:JOH LV temp.png|thumb|400px|Figure 14. Lattice Volume dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 12 shows that as temperature increases the free energy becomes more negative. This can be rationalised with the derivation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; G = H - TS &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Plug in &amp;lt;math&amp;gt;H = U + PV&amp;lt;/math&amp;gt; to get  &amp;lt;math&amp;gt;G = U + PV - TS&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dG = dU + PdV + VdP - TdS - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = q + w &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dq = TdS &amp;lt;/math&amp;gt; &amp;lt;math&amp;gt; dw = -PdV &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \therefore dG = VdP - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This implies that both the volume and the entropic factor contribute to the free energy. As the temperature increases the volume will increase, however the entropic factor will overcome this due to large change in temperature. This explains the trend observed in figure 12. &lt;br /&gt;
&lt;br /&gt;
We would expect a linear negative decrease - &amp;lt;math&amp;gt; \left( \frac{\partial G}{\partial T} \right)_P = -S &amp;lt;/math&amp;gt;. However figure 12 shows that the trend is a curve suggesting that the pressure may not be constant.&lt;br /&gt;
&lt;br /&gt;
The trend could also be explained using the Helmoholtz free energy equation used in the QHA. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The entropic contribution in the equation has a large dependence on temperature and therefore as temperature increases the entropic contribution becomes more negative. This is due to the exponential factor in the entropic contribution. This results in the Helmholtz becoming more negative.  &lt;br /&gt;
&lt;br /&gt;
===Calculating the Thermal expansion coefficients===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Linear Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{1}{L} \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{0.00002342}{2.986563} = 7.7815\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
L = the initial lattice constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 13&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Volumetric Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V} \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{0.00044612}{18.836496} = 2.3684\times 10^{-5}&amp;lt;/math&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
V = the initial volume constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 14&lt;br /&gt;
&lt;br /&gt;
For isotropic materials the volumetric coefficient is three times larger that then linear coefficient - 3&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;. For MgO &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt; is practically three times larger than &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; (3.04&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;) implying that MgO is an isotropic material &amp;lt;ref name=&amp;quot;Ref 6&amp;quot;/&amp;gt;, in other words lattice constants a, b and c expand at equal rates. At 200 K the L value increases to 2.987604 Å resulting in &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;7.839\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; which is close to the literature value of &amp;lt;math&amp;gt;7.39\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The main approximation with the QHA occurs at higher temperatures. This is because at higher temperatures the lattice experiences a larger anharmonic effect due to a larger deviation from bond equilibrium as more energy is put into the bond. Furthermore as anharmonicity comes from scattered phonons interacting due to lattice defect, this effect will be accentuated as lattice vibration gain more energy. The QHA simplifies the anharmonic effect by letting the phonon frequencies become volume dependent so therefore is unable to model the anharmonic effect well. Furthermore the born-oppenheimer approximation would become less valid at larger temperatures as the motion of nuclei becomes more important.&lt;br /&gt;
&lt;br /&gt;
Lastly in a diatomic molecule with an exact harmonic potential as the temperature increases there would be no change in equilibrium bond length as the parabolic function is symmetric. Instead the maximum and minimum bond lengths would increase or in other words a larger amplitude would be reached.&lt;br /&gt;
&lt;br /&gt;
== Molecular Dynamics ==&lt;br /&gt;
The crystal was then studied using Molecular Dynamics. In the previous investigations MgO has been described using a primitive cell containing a single MgO unit. Running an MD would not produce meaningful data as every cell would move perfectly in phase. By increasing the size of the cell the MD would become more accurate but become more computationally expensive so a compromise is reached for a cell containing 32 MgO units. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy temperature QHA MD.png|thumb|400px|Figure 15. Free Energy vs Temperature for MD compared to QHA]]&lt;br /&gt;
|[[File:JOHlatticeQHAMD2.png|thumb|400px|Figure 16. Lattice Constant vs Temperature for MD compared to QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics allows a system to evolve in time according to Newton&#039;s second law F=ma. As the system is treated classically energy can be modelled by the equipartition principle, &amp;lt;math&amp;gt;E = \frac{3}{2} k_B T&amp;lt;/math&amp;gt;, and as such the energy will increase linearly with temperature. In comparison QHA follows the relationship &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
This mean that the energy should decrease with temperature. Both the free energy modelled by MD and QHA can be seen in figure 15. &lt;br /&gt;
&lt;br /&gt;
Looking at figure 16 the MD and the QHA are similar between 400-1000 K, thus the volumetric expansion coefficients would be similar:&lt;br /&gt;
*MD - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; = 3.06 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
*QHA - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;  = 2.89 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
This similarity in data strengthens the reliability of the volumetric expansion coefficients between 400 - 1000 K. However, below 400 K the QHA begins to break from a linear trend and curve towards 18.84 Å&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt; whereas the MD follows the linear trend. At lower trends the anharmonic effect is not as prevalent so the QHA is a better model for the lattice constant at lower temperatures. The MD model does not accurately show how the free energy changes at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
===Limitation===&lt;br /&gt;
&lt;br /&gt;
Overall both QHA and MD models have their limitations. &lt;br /&gt;
&lt;br /&gt;
The atoms are modelled using a classical approach or in other words atoms are modelled as hard charged spheres. So the quantum mechanical contributions cannot be taken into account. This will reduced the accuracy of the models &lt;br /&gt;
&lt;br /&gt;
Furthermore, the models do not consider long-range interactions, only interactions of atoms relatively close. In a realistic crystal there will be interactions outside the nearest neighbours albeit small interactions. Thus slight inaccuracy in the models is seen. &lt;br /&gt;
&lt;br /&gt;
For both models it can be assumed that the trends can be extrapolated until the melting point of MgO is reached, as upon melting a change in volume occurs. Furthermore liquid MgO has no structured order so cannot be described by a repeated unit cell. &lt;br /&gt;
&lt;br /&gt;
In the QHA the interactions between atoms of different unit cells was not taken into consideration. There would be an energy increase if there was overlap between atoms in different cells.&lt;br /&gt;
&lt;br /&gt;
For these MD calculations, as only a small number of atoms were considered it was reasonable to use a time step of 1.0 femtoseconds. However, when considering a much larger system, say for example a protein, then this would become computationally expensive.&lt;br /&gt;
&lt;br /&gt;
==Conclusion== &lt;br /&gt;
The experiment showed the thermal expansion of MgO, the phonon dispersion and the DOS. Comparisons between the QHA and the MD were made, both approaches giving reasonable thermal expansion coefficients between 400-1000 K. At lower temperatures the QHA was a better model, due to the reduction in anharmonic effects.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 1&amp;quot; &amp;gt; O. Madelung, U. Rössler and M. Schulz, Eds., II-VI and I-VII compounds; Semimagnetic compounds, Springer-Verlag, 1999. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 2&amp;quot; &amp;gt; A. CIMINO, P. PORTA and M. VALIGI, Journal of the American Ceramic Society, 1966, 49, 152–156. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 3&amp;quot;&amp;gt; A. Baldereschi, Physical Review B, 1973, 7, 5212–5215. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 4&amp;quot; &amp;gt; E. J. Covington and D. J. Montgomery, J. Appl. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys, 2010, 27, 1030–53111. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 5&amp;quot; &amp;gt; J. A. Kaduk and J. Faber, The Rigaku journal 14 CRYSTAL STRUCTURE OF ZEOLITE Y AS A FUNCTION OF ION EXCHANGE, 1995. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 6&amp;quot; &amp;gt; J.R. Vinson, Plate and Panel structures of Isotropic, Composite and Piezoelectric Materials, including Sandwich Construction. Delaware; Springer; 2005. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Appendix==&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo phonon DOS 222 JOH.png|thumb|300px|Figure 1. Phonon DOS of MgO using 2x2x2 grid size]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Jo1213</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553449</id>
		<title>Rep:Mod:JOH95MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553449"/>
		<updated>2016-03-11T10:09:27Z</updated>

		<summary type="html">&lt;p&gt;Jo1213: /* Computing the Free Energy */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
The experiment will investigate the properties of an MgO crystal. Firstly the dimensions of the unit cells will be investigates along with the associated energy. Then the phonon dispersion and DOS will be investigated, evaluating the optimal grid size to use. The energies of the crystal will be investigates along with the thermal expansion coefficients. Lastly the quasi-harmonic approximation (QHA) and the molecular dynamics (MD) will be compared. &lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon-based model used to describe volume-dependent thermal effects. The harmonic phonon model assumes that all intermolecular forces are harmonic. This is not sufficient to describe thermal expansion as there is no change to the equilibrium bond length as temperature increases. The QHA takes into account that molecules do have an anharmonic effect at higher temperatures by treating frequencies as volume dependent. &lt;br /&gt;
&lt;br /&gt;
The Molecular Dynamics approach allows a system to evolve in time according to Newton&#039;s second law &amp;lt;math&amp;gt;F=ma&amp;lt;/math&amp;gt;. The initial configurations and velocities are assigned to allow the program to iterate positions and velocities. The atoms follow trajectories and the properties, such as E and T, are computed as time averages of their behaviour.&lt;br /&gt;
&lt;br /&gt;
The programs used were RedHat Linux, DLVisulaize (DLV) and General Utility Lattice Program (GULP). DLV allows us to visualise the MgO crystals and GULP is used to perform simulations on materials using boundary conditions, in this case on a 3D lattice.&lt;br /&gt;
&lt;br /&gt;
== Internal Energy of MgO ==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:PC 1.png|left|thumb|300px|Figure 1. Primitive Cell of MgO]]&lt;br /&gt;
|[[File:CC .png|left|thumb|300px|Figure 2. Conventional Cell of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 1 shows the primitive unit cell of MgO. The primitive unit cell consists of 2 atoms Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; which are held together by a Buckingham repulsive potential. The unit cell has a rhombohedron shape with lattice constants of 2.9783 Å and an internal angle a = 60°. The primitive cell contains one lattice point and is the simplest cell to describe the crystal. A calculation was run on MgO. In the [https://wiki.ch.ic.ac.uk/wiki/images/e/e7/MgO_1_james.txt LogFile] GULF describes MgO using a primitive unit cell. The Cartesian lattice vectors of the cell are reported in table 1 and the total lattice energy was -41.07531759 eV which represents the energy to pull all the atom infinitely apart. The GULP calculation correlates with LCAO HF calculations found in literature (2.573 Å &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;). &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|-&lt;br /&gt;
|+ Table 1ː Cell Vector Dimensions/Å&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The conventional cell has four times the volume of the primitive cell as shown in figure 2. The structure of the cell is face centered cubic (FCC) which has an internal angel a = 90° and a lattice vector of 4.212 Å (which agrees with literature of 4.21 Å &amp;lt;ref name =&amp;quot;Ref 2&amp;quot; /&amp;gt;). The conventional cell is more representative of the crystal so is chosen in the calculations.&lt;br /&gt;
&lt;br /&gt;
==Computing the Phonon Dispersion Curves==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO Phonon Dispersion JOH.png|thumb|300px|Figure 3. Phonon Dispersion Graph of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The vibrational modes of the lattice were then computed. The phonon modes were displayed as a dispersion curve, as shown in figure 3. The phonon frequencies were calculated along a path in k-space. Special points along the path, &amp;lt;math&amp;gt;W, L, \Gamma, X, W, K&amp;lt;/math&amp;gt;, can be seen in figure 3. There are two phonos modes associated with each axis, acoustic (in-phase) and optical (out-of-phase) phonons. In the 3D model three axis (x,y,z) are taken into consideration meaning there are 6 phonon modes as shown by the six different curves in figure 3. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:K=0 JOH.png|thumb|300px|Figure 4. Acoustic and optical modes at k=0]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The relationship between the wavevector k to the wavelength &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) is &amp;lt;math&amp;gt;k= \frac{2\pi}{\lambda}&amp;lt;/math&amp;gt;. Furthermore the relationship between wavelength &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) and frequency is &amp;lt;math&amp;gt; v = \frac{c}{\lambda} &amp;lt;/math&amp;gt;. As shown in figure 4 when k=0, for the acoustic mode, the wavelength approaches infinity as all the atoms move in the same direction along the axis. As &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; approaches infinity, frequency will tend to 0. For the optical mode the frequency is non-zero. With this information it is clear that at k=0 the dispersion graph is at symmetry point &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; as this is the only point on the dispersion curve where phonon modes display a frequency of zero. &lt;br /&gt;
&lt;br /&gt;
Following the path from &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;, to &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and then to &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; the acoustic modes splits into 3 modes, two transverse modes (TA) and one longitude mode (LA). The two TA are degenerate between &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; until it splits between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Phonon Density of States (DOS)==&lt;br /&gt;
The next part involved calculating the phonon density of states. The DOS is defined as the number of states per energy at a given energy, in this case vibrational frequency. The larger the number of k values considered in reciprocal space the more accurate the DOS. This is achieved by increasing the grid size (nxnxn) to give a better representation of the crystal by sampling more k values in reciprocal space. However, at a certain point the difference between k values is negligible so does not further increase the accuracy of the DOS. Furthermore calculating an infinite number of k values would take an infinite amount of computing time.&lt;br /&gt;
&lt;br /&gt;
The DOS was calculated for a 1x1x1 grid by setting the shrinking value to 1 as shown in figure 5. The grid size was then increased to find the optimum shrinking value that gave a good representation of the DOS without taking too long to calculate as shown by figures 6 through 10. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo Phonon DOS JOH 111.png|thumb|300px|Figure 5. Phonon DOS of MgO using 1x1x1 grid size]]&lt;br /&gt;
|[[File:JOHphononDOS444.png|thumb|300px|Figure 6. Phonon DOS of MgO using 4x4x4 grid size]]&lt;br /&gt;
|[[File:JOHDOS888.png|thumb|300px|Figure 7. Phonon DOS of MgO using 8x8x8 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOHDOS161616.png|thumb|300px|Figure 8. Phonon DOS of MgO using 16x16x16 grid size]]&lt;br /&gt;
|[[File:JOHDOS323232.png|thumb|300px|Figure 9. Phonon DOS of MgO using 32x32x32 grid size]]&lt;br /&gt;
|[[File:JOHDOS50.png|thumb|300px|Figure 10. Phonon DOS of MgO using 50x50x50 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 5 shows the DOS for a 1x1x1 grid size. The four peaks 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 676 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 819 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; represent the four frequencies at point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. At symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;, by looking at figure 3 the two phonon modes at 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; are degenerate (as they go on to split in two between points &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;. This degeneracy is confirmed in the DOS graph in figure 5 as the intensity of the peaks around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; is around double that of the peaks around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is chosen as the k-value for a grid size of 1x1x1 as it is the most representative point in k-space for the DOS. This is shown visually from figures 5 to 10 as when the DOS becomes more accurate the main peak remains around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; with the smaller peak still remaining around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. There is a theorem about using the &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; point in reciprocal space for a 1x1x1 grid called Baldereschi theorem &amp;lt;ref name = &amp;quot;Ref 3&amp;quot;/&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The ideal grid size is one that represents the DOS without taking too long to calculate. From figure 8 onwards the shape of the curve does not change much, so it can be concluded that using a grid size of 16 is sufficient enough to gain a good understanding of the DOS without taking too long to calculate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:DOS dispersion JOH.png|thumb|400px|Figure 11. Comparing the dispersion curve with the DOS]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It is important to note the relationship between the dispersion curve and the DOS graph as shown in figure 11. The frequency in the phonon dispersion curve on the y axis is the same as the frequency on the DOS curve in the x-axis. It can be seen visually that the most popular states are around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The relationship between real space and reciprocal space is given by the formula &amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt; - a being the length in real space transformed to a* in reciprocal space. This shows that the larger the lattice constant a, the smaller the reciprocal cell. This is important to consider when assessing the DOS for other structures. Lithium has a lattice constant of 3.490 Å &amp;lt;ref name = &amp;quot;Ref 4&amp;quot;/&amp;gt; which is 0.721 Å lower that the conventional unit cell of MgO that is being modelled. Due to the inverse relationship of real to reciprocal space, lithium will have a larger cell in reciprocal space and therefore need a larger grid size to measure the DOS accurately. Conversely Faujasite has a lattice constant of 24.7 Å &amp;lt;ref name = &amp;quot;Ref 5&amp;quot; /&amp;gt; which will give a much smaller cell in reciprocal space meaning that a smaller grid size would give an accurate measurement of the DOS as there are fewer k values needed to measure the cell. CaO has a very similar lattice constant meaning that a similar grid size would be needed to accurately measure the DOS - in this case a grid size of 16x16x16 would be sufficient.&lt;br /&gt;
&lt;br /&gt;
==Computing the Free Energy==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Table 2ː Energy vs Grid size&lt;br /&gt;
! Grid Size nxnxn/n&lt;br /&gt;
! Free Energy/eV&lt;br /&gt;
! Accuracy/ meV&lt;br /&gt;
! Log file&lt;br /&gt;
! rowspan=&amp;quot;9&amp;quot;|[[File:JOH Free energy vs grid size.png|thumb|400px|]]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| -40.930301&lt;br /&gt;
| 4&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/1/12/JOH_fe_MgO_111.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| -40.926609&lt;br /&gt;
| 0.2&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/aa/JOH_fe_MgO_222.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -40.926432&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4d/JOH_fe_MgO_333.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -40.926450&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/40/JOH_fe_MgO_444.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -40.926478&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/7/70/JOH_fe_MgO_888.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -40.926482&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4f/JOH_fe_MgO_16.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/ac/JOH_fe_MgO_32.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 50&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [[Media:JOH_fe_MgO_50.txt.zip|log file]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Table 2 displays the free energies of MgO as a function of grid size n. Similar to finding the ideal grid size to calculate the DOS, the optimal grid size to calculate the free energy can be found in table 2. As the grid size increases from 1 to 3 there is a sharp increase in the free energy from -40.930301 eV to -40.926432 eV, afterwards the free energy eventually converges at -40.926483 eV. The degree of accuracy follows this trend, from a grid size of 4 onwards the degree of accuracy is greater that 0.1 meV. There is no change in free energy from a grid size of 32 to 50 suggesting that a grid size of 32 is all that is needed to accurately determine the free energy of MgO. &lt;br /&gt;
&lt;br /&gt;
The graph in table 2 can be rationalised by the equation for the Helmholtz free energy - &amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A is the Helmholtz fee energy, U is the internal energy, T is temperature and S is entropy. As the grid size increases, the volume increases so the internal energy decreases (&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt;). This in turn means that the Helmholtz free energy would decrease.&lt;br /&gt;
&lt;br /&gt;
Furthermore as the number of microstates sampled increases the entropy term will increase according to the relationship &amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt;. This in turn means that the free energy will be lowered. By considering these two factors the decrease in free energy can be rationalised.&lt;br /&gt;
&lt;br /&gt;
==Thermal Expansion of MgO==&lt;br /&gt;
The structure of MgO will be optimised with respect to the free energy at different temperatures (0 - 1000 K in steps of 100 K). The free energy will be computed using the quasi-harmonic approximation (QHA) which uses the following expression: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
*&amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; = frequency of the vibration &lt;br /&gt;
*&amp;lt;math&amp;gt;E_{0}&amp;lt;/math&amp;gt; = zero point energy &lt;br /&gt;
*&amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; = Temperature&lt;br /&gt;
*&amp;lt;math&amp;gt;k_B&amp;lt;/math&amp;gt; = Boltzmann Constant &lt;br /&gt;
*&amp;lt;math&amp;gt;\hbar&amp;lt;/math&amp;gt; = reduced Planck&#039;s constant. &lt;br /&gt;
&lt;br /&gt;
The equations is split into three parts - the zero point energy and the harmonic and entropic contribution.&lt;br /&gt;
&lt;br /&gt;
In addition the coefficients of thermal expansion was calculated. The coefficient of thermal expansion describes how the size of an object changes with temperature. The larger the coefficient the greater the change in size as temperature increases. Several coefficients have been developed and the two that we will look at are the linear and volumetric thermal expansion. The generic equation is as follows:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\alpha_x = \frac{1}{x}\,\left(\frac{\partial x}{\partial T}\right)_p&lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* α&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt; = thermal expansion coefficient&lt;br /&gt;
* x = initial dimension &lt;br /&gt;
* ∂x = the partial derivative of the dimension under study &lt;br /&gt;
* ∂T = partial derivative of temperature (at constant pressure)&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy vs temp.png|thumb|400px|Figure 12. Free Energy dependence on Temperature for the QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH lattice constant vs temp.png|thumb|400px|Figure 13. Lattice Constant dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|[[File:JOH LV temp.png|thumb|400px|Figure 14. Lattice Volume dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 12 shows that as temperature increases the free energy becomes more negative. This can be rationalised with the derivation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; G = H - TS &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Plug in &amp;lt;math&amp;gt;H = U + PV&amp;lt;/math&amp;gt; to get  &amp;lt;math&amp;gt;G = U + PV - TS&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dG = dU + PdV + VdP - TdS - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = q + w &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dq = TdS &amp;lt;/math&amp;gt; &amp;lt;math&amp;gt; dw = -PdV &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \therefore dG = VdP - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This implies that both the volume and the entropic factor contribute to the free energy. As the temperature increases the volume will increase, however the entropic factor will overcome this due to large change in temperature. This explains the trend observed in figure 12. &lt;br /&gt;
&lt;br /&gt;
We would expect a linear negative decrease - &amp;lt;math&amp;gt; \left( \frac{\partial G}{\partial T} \right)_P = -S &amp;lt;/math&amp;gt;. However figure 12 shows that the trend is a curve suggesting that the pressure may not be constant.&lt;br /&gt;
&lt;br /&gt;
The trend could also be explained using the Helmoholtz free energy equation used in the QHA. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The entropic contribution in the equation has a large dependence on temperature and therefore as temperature increases the entropic contribution becomes more negative. This is due to the exponential factor in the entropic contribution. This results in the Helmholtz becoming more negative.  &lt;br /&gt;
&lt;br /&gt;
===Calculating the Thermal expansion coefficients===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Linear Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{1}{L} \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{0.00002342}{2.986563} = 7.7815\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
L = the initial lattice constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 13&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Volumetric Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V} \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{0.00044612}{18.836496} = 2.3684\times 10^{-5}&amp;lt;/math&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
V = the initial volume constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 14&lt;br /&gt;
&lt;br /&gt;
For isotropic materials the volumetric coefficient is three times larger that then linear coefficient - 3&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;. For MgO &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt; is practically three times larger than &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; (3.04&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;) implying that MgO is an isotropic material &amp;lt;ref name=&amp;quot;Ref 6&amp;quot;/&amp;gt;, in other words lattice constants a, b and c expand at equal rates. At 200 K the L value increases to 2.987604 Å resulting in &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;7.839\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; which is close to the literature value of &amp;lt;math&amp;gt;7.39\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The main approximation with the QHA occurs at higher temperatures. This is because at higher temperatures the lattice experiences a larger anharmonic effect due to a larger deviation from bond equilibrium as more energy is put into the bond. Furthermore as anharmonicity comes from scattered phonons interacting due to lattice defect, this effect will be accentuated as lattice vibration gain more energy. The QHA simplifies the anharmonic effect by letting the phonon frequencies become volume dependent so therefore is unable to model the anharmonic effect well. Furthermore the born-oppenheimer approximation would become less valid at larger temperatures as the motion of nuclei becomes more important.&lt;br /&gt;
&lt;br /&gt;
== Molecular Dynamics ==&lt;br /&gt;
The crystal was then studied using Molecular Dynamics. In the previous investigations MgO has been described using a primitive cell containing a single MgO unit. Running an MD would not produce meaningful data as every cell would move perfectly in phase. By increasing the size of the cell the MD would become more accurate but become more computationally expensive so a compromise is reached for a cell containing 32 MgO units. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy temperature QHA MD.png|thumb|400px|Figure 15. Free Energy vs Temperature for MD compared to QHA]]&lt;br /&gt;
|[[File:JOHlatticeQHAMD2.png|thumb|400px|Figure 16. Lattice Constant vs Temperature for MD compared to QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics allows a system to evolve in time according to Newton&#039;s second law F=ma. As the system is treated classically energy can be modelled by the equipartition principle, &amp;lt;math&amp;gt;E = \frac{3}{2} k_B T&amp;lt;/math&amp;gt;, and as such the energy will increase linearly with temperature. In comparison QHA follows the relationship &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
This mean that the energy should decrease with temperature. Both the free energy modelled by MD and QHA can be seen in figure 15. &lt;br /&gt;
&lt;br /&gt;
Looking at figure 16 the MD and the QHA are similar between 400-1000 K, thus the volumetric expansion coefficients would be similar:&lt;br /&gt;
*MD - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; = 3.06 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
*QHA - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;  = 2.89 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
This similarity in data strengthens the reliability of the volumetric expansion coefficients between 400 - 1000 K. However, below 400 K the QHA begins to break from a linear trend and curve towards 18.84 Å&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt; whereas the MD follows the linear trend. At lower trends the anharmonic effect is not as prevalent so the QHA is a better model for the lattice constant at lower temperatures. The MD model does not accurately show how the free energy changes at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
===Limitation===&lt;br /&gt;
&lt;br /&gt;
Overall both QHA and MD models have their limitations. &lt;br /&gt;
&lt;br /&gt;
The atoms are modelled using a classical approach or in other words atoms are modelled as hard charged spheres. So the quantum mechanical contributions cannot be taken into account. This will reduced the accuracy of the models &lt;br /&gt;
&lt;br /&gt;
Furthermore, the models do not consider long-range interactions, only interactions of atoms relatively close. In a realistic crystal there will be interactions outside the nearest neighbours albeit small interactions. Thus slight inaccuracy in the models is seen. &lt;br /&gt;
&lt;br /&gt;
For both models it can be assumed that the trends can be extrapolated until the melting point of MgO is reached, as upon melting a change in volume occurs. Furthermore liquid MgO has no structured order so cannot be described by a repeated unit cell. &lt;br /&gt;
&lt;br /&gt;
In the QHA the interactions between atoms of different unit cells was not taken into consideration. There would be an energy increase if there was overlap between atoms in different cells.&lt;br /&gt;
&lt;br /&gt;
For these MD calculations, as only a small number of atoms were considered it was reasonable to use a time step of 1.0 femtoseconds. However, when considering a much larger system, say for example a protein, then this would become computationally expensive.&lt;br /&gt;
&lt;br /&gt;
==Conclusion== &lt;br /&gt;
The experiment showed the thermal expansion of MgO, the phonon dispersion and the DOS. Comparisons between the QHA and the MD were made, both approaches giving reasonable thermal expansion coefficients between 400-1000 K. At lower temperatures the QHA was a better model, due to the reduction in anharmonic effects.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 1&amp;quot; &amp;gt; O. Madelung, U. Rössler and M. Schulz, Eds., II-VI and I-VII compounds; Semimagnetic compounds, Springer-Verlag, 1999. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 2&amp;quot; &amp;gt; A. CIMINO, P. PORTA and M. VALIGI, Journal of the American Ceramic Society, 1966, 49, 152–156. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 3&amp;quot;&amp;gt; A. Baldereschi, Physical Review B, 1973, 7, 5212–5215. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 4&amp;quot; &amp;gt; E. J. Covington and D. J. Montgomery, J. Appl. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys, 2010, 27, 1030–53111. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 5&amp;quot; &amp;gt; J. A. Kaduk and J. Faber, The Rigaku journal 14 CRYSTAL STRUCTURE OF ZEOLITE Y AS A FUNCTION OF ION EXCHANGE, 1995. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 6&amp;quot; &amp;gt; J.R. Vinson, Plate and Panel structures of Isotropic, Composite and Piezoelectric Materials, including Sandwich Construction. Delaware; Springer; 2005. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Appendix==&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo phonon DOS 222 JOH.png|thumb|300px|Figure 1. Phonon DOS of MgO using 2x2x2 grid size]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Jo1213</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553446</id>
		<title>Rep:Mod:JOH95MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553446"/>
		<updated>2016-03-11T10:07:45Z</updated>

		<summary type="html">&lt;p&gt;Jo1213: /* Phonon Density of States (DOS) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
The experiment will investigate the properties of an MgO crystal. Firstly the dimensions of the unit cells will be investigates along with the associated energy. Then the phonon dispersion and DOS will be investigated, evaluating the optimal grid size to use. The energies of the crystal will be investigates along with the thermal expansion coefficients. Lastly the quasi-harmonic approximation (QHA) and the molecular dynamics (MD) will be compared. &lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon-based model used to describe volume-dependent thermal effects. The harmonic phonon model assumes that all intermolecular forces are harmonic. This is not sufficient to describe thermal expansion as there is no change to the equilibrium bond length as temperature increases. The QHA takes into account that molecules do have an anharmonic effect at higher temperatures by treating frequencies as volume dependent. &lt;br /&gt;
&lt;br /&gt;
The Molecular Dynamics approach allows a system to evolve in time according to Newton&#039;s second law &amp;lt;math&amp;gt;F=ma&amp;lt;/math&amp;gt;. The initial configurations and velocities are assigned to allow the program to iterate positions and velocities. The atoms follow trajectories and the properties, such as E and T, are computed as time averages of their behaviour.&lt;br /&gt;
&lt;br /&gt;
The programs used were RedHat Linux, DLVisulaize (DLV) and General Utility Lattice Program (GULP). DLV allows us to visualise the MgO crystals and GULP is used to perform simulations on materials using boundary conditions, in this case on a 3D lattice.&lt;br /&gt;
&lt;br /&gt;
== Internal Energy of MgO ==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:PC 1.png|left|thumb|300px|Figure 1. Primitive Cell of MgO]]&lt;br /&gt;
|[[File:CC .png|left|thumb|300px|Figure 2. Conventional Cell of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 1 shows the primitive unit cell of MgO. The primitive unit cell consists of 2 atoms Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; which are held together by a Buckingham repulsive potential. The unit cell has a rhombohedron shape with lattice constants of 2.9783 Å and an internal angle a = 60°. The primitive cell contains one lattice point and is the simplest cell to describe the crystal. A calculation was run on MgO. In the [https://wiki.ch.ic.ac.uk/wiki/images/e/e7/MgO_1_james.txt LogFile] GULF describes MgO using a primitive unit cell. The Cartesian lattice vectors of the cell are reported in table 1 and the total lattice energy was -41.07531759 eV which represents the energy to pull all the atom infinitely apart. The GULP calculation correlates with LCAO HF calculations found in literature (2.573 Å &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;). &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|-&lt;br /&gt;
|+ Table 1ː Cell Vector Dimensions/Å&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The conventional cell has four times the volume of the primitive cell as shown in figure 2. The structure of the cell is face centered cubic (FCC) which has an internal angel a = 90° and a lattice vector of 4.212 Å (which agrees with literature of 4.21 Å &amp;lt;ref name =&amp;quot;Ref 2&amp;quot; /&amp;gt;). The conventional cell is more representative of the crystal so is chosen in the calculations.&lt;br /&gt;
&lt;br /&gt;
==Computing the Phonon Dispersion Curves==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO Phonon Dispersion JOH.png|thumb|300px|Figure 3. Phonon Dispersion Graph of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The vibrational modes of the lattice were then computed. The phonon modes were displayed as a dispersion curve, as shown in figure 3. The phonon frequencies were calculated along a path in k-space. Special points along the path, &amp;lt;math&amp;gt;W, L, \Gamma, X, W, K&amp;lt;/math&amp;gt;, can be seen in figure 3. There are two phonos modes associated with each axis, acoustic (in-phase) and optical (out-of-phase) phonons. In the 3D model three axis (x,y,z) are taken into consideration meaning there are 6 phonon modes as shown by the six different curves in figure 3. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:K=0 JOH.png|thumb|300px|Figure 4. Acoustic and optical modes at k=0]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The relationship between the wavevector k to the wavelength &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) is &amp;lt;math&amp;gt;k= \frac{2\pi}{\lambda}&amp;lt;/math&amp;gt;. Furthermore the relationship between wavelength &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) and frequency is &amp;lt;math&amp;gt; v = \frac{c}{\lambda} &amp;lt;/math&amp;gt;. As shown in figure 4 when k=0, for the acoustic mode, the wavelength approaches infinity as all the atoms move in the same direction along the axis. As &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; approaches infinity, frequency will tend to 0. For the optical mode the frequency is non-zero. With this information it is clear that at k=0 the dispersion graph is at symmetry point &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; as this is the only point on the dispersion curve where phonon modes display a frequency of zero. &lt;br /&gt;
&lt;br /&gt;
Following the path from &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;, to &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and then to &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; the acoustic modes splits into 3 modes, two transverse modes (TA) and one longitude mode (LA). The two TA are degenerate between &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; until it splits between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Phonon Density of States (DOS)==&lt;br /&gt;
The next part involved calculating the phonon density of states. The DOS is defined as the number of states per energy at a given energy, in this case vibrational frequency. The larger the number of k values considered in reciprocal space the more accurate the DOS. This is achieved by increasing the grid size (nxnxn) to give a better representation of the crystal by sampling more k values in reciprocal space. However, at a certain point the difference between k values is negligible so does not further increase the accuracy of the DOS. Furthermore calculating an infinite number of k values would take an infinite amount of computing time.&lt;br /&gt;
&lt;br /&gt;
The DOS was calculated for a 1x1x1 grid by setting the shrinking value to 1 as shown in figure 5. The grid size was then increased to find the optimum shrinking value that gave a good representation of the DOS without taking too long to calculate as shown by figures 6 through 10. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo Phonon DOS JOH 111.png|thumb|300px|Figure 5. Phonon DOS of MgO using 1x1x1 grid size]]&lt;br /&gt;
|[[File:JOHphononDOS444.png|thumb|300px|Figure 6. Phonon DOS of MgO using 4x4x4 grid size]]&lt;br /&gt;
|[[File:JOHDOS888.png|thumb|300px|Figure 7. Phonon DOS of MgO using 8x8x8 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOHDOS161616.png|thumb|300px|Figure 8. Phonon DOS of MgO using 16x16x16 grid size]]&lt;br /&gt;
|[[File:JOHDOS323232.png|thumb|300px|Figure 9. Phonon DOS of MgO using 32x32x32 grid size]]&lt;br /&gt;
|[[File:JOHDOS50.png|thumb|300px|Figure 10. Phonon DOS of MgO using 50x50x50 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 5 shows the DOS for a 1x1x1 grid size. The four peaks 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 676 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 819 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; represent the four frequencies at point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. At symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;, by looking at figure 3 the two phonon modes at 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; are degenerate (as they go on to split in two between points &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;. This degeneracy is confirmed in the DOS graph in figure 5 as the intensity of the peaks around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; is around double that of the peaks around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is chosen as the k-value for a grid size of 1x1x1 as it is the most representative point in k-space for the DOS. This is shown visually from figures 5 to 10 as when the DOS becomes more accurate the main peak remains around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; with the smaller peak still remaining around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. There is a theorem about using the &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; point in reciprocal space for a 1x1x1 grid called Baldereschi theorem &amp;lt;ref name = &amp;quot;Ref 3&amp;quot;/&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The ideal grid size is one that represents the DOS without taking too long to calculate. From figure 8 onwards the shape of the curve does not change much, so it can be concluded that using a grid size of 16 is sufficient enough to gain a good understanding of the DOS without taking too long to calculate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:DOS dispersion JOH.png|thumb|400px|Figure 11. Comparing the dispersion curve with the DOS]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It is important to note the relationship between the dispersion curve and the DOS graph as shown in figure 11. The frequency in the phonon dispersion curve on the y axis is the same as the frequency on the DOS curve in the x-axis. It can be seen visually that the most popular states are around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The relationship between real space and reciprocal space is given by the formula &amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt; - a being the length in real space transformed to a* in reciprocal space. This shows that the larger the lattice constant a, the smaller the reciprocal cell. This is important to consider when assessing the DOS for other structures. Lithium has a lattice constant of 3.490 Å &amp;lt;ref name = &amp;quot;Ref 4&amp;quot;/&amp;gt; which is 0.721 Å lower that the conventional unit cell of MgO that is being modelled. Due to the inverse relationship of real to reciprocal space, lithium will have a larger cell in reciprocal space and therefore need a larger grid size to measure the DOS accurately. Conversely Faujasite has a lattice constant of 24.7 Å &amp;lt;ref name = &amp;quot;Ref 5&amp;quot; /&amp;gt; which will give a much smaller cell in reciprocal space meaning that a smaller grid size would give an accurate measurement of the DOS as there are fewer k values needed to measure the cell. CaO has a very similar lattice constant meaning that a similar grid size would be needed to accurately measure the DOS - in this case a grid size of 16x16x16 would be sufficient.&lt;br /&gt;
&lt;br /&gt;
==Computing the Free Energy==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Table 2ː Energy vs Grid size&lt;br /&gt;
! Grid Size nxnxn/n&lt;br /&gt;
! Free Energy/eV&lt;br /&gt;
! Accuracy/ meV&lt;br /&gt;
! Log file&lt;br /&gt;
! rowspan=&amp;quot;9&amp;quot;|[[File:JOH Free energy vs grid size.png|thumb|400px|]]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| -40.930301&lt;br /&gt;
| 4&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/1/12/JOH_fe_MgO_111.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| -40.926609&lt;br /&gt;
| 0.2&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/aa/JOH_fe_MgO_222.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -40.926432&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4d/JOH_fe_MgO_333.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -40.926450&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/40/JOH_fe_MgO_444.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -40.926478&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/7/70/JOH_fe_MgO_888.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -40.926482&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4f/JOH_fe_MgO_16.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/ac/JOH_fe_MgO_32.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 50&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [[Media:JOH_fe_MgO_50.txt.zip|log file]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Table 2 displays the free energies of MgO as a function of grid size n. Similar to finding the ideal grid size to calculate the DOS, the optimal grid size to figure out the free energy can be found in table 2. As the grid size increases from 1 to 3 there is a sharp increase in the free energy from -40.930301 eV to -40.926432 eV, afterwards the free energy eventually converges at -40.926483 eV. The degree of accuracy follows this trend, from a grid size of 4 onwards the degree of accuracy is greater that 0.1 meV. There is no change in free energy from a grid size of 32 to 50 suggesting that a grid size of 32 is all that is needed to accurately determine the free energy of MgO. &lt;br /&gt;
&lt;br /&gt;
The graph in table 2 can be rationalized by the equation for the Helmholtz free energy - &amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A is the Helmholtz fee energy, U is the internal energy, T is temperature and S is entropy. As the grid size increases, the volume increases so the internal energy decreases (&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt;). This in turn means that the Helmholtz free energy would decrease.&lt;br /&gt;
&lt;br /&gt;
Furthermore as the number of microstates sampled increases the entropy term will increase according to the relationship &amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt;. This in turn means that the free energy will be lowered. By considering these two factors the decrease in free energy can be rationalised.&lt;br /&gt;
&lt;br /&gt;
==Thermal Expansion of MgO==&lt;br /&gt;
The structure of MgO will be optimised with respect to the free energy at different temperatures (0 - 1000 K in steps of 100 K). The free energy will be computed using the quasi-harmonic approximation (QHA) which uses the following expression: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
*&amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; = frequency of the vibration &lt;br /&gt;
*&amp;lt;math&amp;gt;E_{0}&amp;lt;/math&amp;gt; = zero point energy &lt;br /&gt;
*&amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; = Temperature&lt;br /&gt;
*&amp;lt;math&amp;gt;k_B&amp;lt;/math&amp;gt; = Boltzmann Constant &lt;br /&gt;
*&amp;lt;math&amp;gt;\hbar&amp;lt;/math&amp;gt; = reduced Planck&#039;s constant. &lt;br /&gt;
&lt;br /&gt;
The equations is split into three parts - the zero point energy and the harmonic and entropic contribution.&lt;br /&gt;
&lt;br /&gt;
In addition the coefficients of thermal expansion was calculated. The coefficient of thermal expansion describes how the size of an object changes with temperature. The larger the coefficient the greater the change in size as temperature increases. Several coefficients have been developed and the two that we will look at are the linear and volumetric thermal expansion. The generic equation is as follows:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\alpha_x = \frac{1}{x}\,\left(\frac{\partial x}{\partial T}\right)_p&lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* α&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt; = thermal expansion coefficient&lt;br /&gt;
* x = initial dimension &lt;br /&gt;
* ∂x = the partial derivative of the dimension under study &lt;br /&gt;
* ∂T = partial derivative of temperature (at constant pressure)&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy vs temp.png|thumb|400px|Figure 12. Free Energy dependence on Temperature for the QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH lattice constant vs temp.png|thumb|400px|Figure 13. Lattice Constant dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|[[File:JOH LV temp.png|thumb|400px|Figure 14. Lattice Volume dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 12 shows that as temperature increases the free energy becomes more negative. This can be rationalised with the derivation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; G = H - TS &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Plug in &amp;lt;math&amp;gt;H = U + PV&amp;lt;/math&amp;gt; to get  &amp;lt;math&amp;gt;G = U + PV - TS&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dG = dU + PdV + VdP - TdS - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = q + w &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dq = TdS &amp;lt;/math&amp;gt; &amp;lt;math&amp;gt; dw = -PdV &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \therefore dG = VdP - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This implies that both the volume and the entropic factor contribute to the free energy. As the temperature increases the volume will increase, however the entropic factor will overcome this due to large change in temperature. This explains the trend observed in figure 12. &lt;br /&gt;
&lt;br /&gt;
We would expect a linear negative decrease - &amp;lt;math&amp;gt; \left( \frac{\partial G}{\partial T} \right)_P = -S &amp;lt;/math&amp;gt;. However figure 12 shows that the trend is a curve suggesting that the pressure may not be constant.&lt;br /&gt;
&lt;br /&gt;
The trend could also be explained using the Helmoholtz free energy equation used in the QHA. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The entropic contribution in the equation has a large dependence on temperature and therefore as temperature increases the entropic contribution becomes more negative. This is due to the exponential factor in the entropic contribution. This results in the Helmholtz becoming more negative.  &lt;br /&gt;
&lt;br /&gt;
===Calculating the Thermal expansion coefficients===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Linear Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{1}{L} \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{0.00002342}{2.986563} = 7.7815\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
L = the initial lattice constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 13&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Volumetric Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V} \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{0.00044612}{18.836496} = 2.3684\times 10^{-5}&amp;lt;/math&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
V = the initial volume constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 14&lt;br /&gt;
&lt;br /&gt;
For isotropic materials the volumetric coefficient is three times larger that then linear coefficient - 3&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;. For MgO &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt; is practically three times larger than &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; (3.04&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;) implying that MgO is an isotropic material &amp;lt;ref name=&amp;quot;Ref 6&amp;quot;/&amp;gt;, in other words lattice constants a, b and c expand at equal rates. At 200 K the L value increases to 2.987604 Å resulting in &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;7.839\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; which is close to the literature value of &amp;lt;math&amp;gt;7.39\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The main approximation with the QHA occurs at higher temperatures. This is because at higher temperatures the lattice experiences a larger anharmonic effect due to a larger deviation from bond equilibrium as more energy is put into the bond. Furthermore as anharmonicity comes from scattered phonons interacting due to lattice defect, this effect will be accentuated as lattice vibration gain more energy. The QHA simplifies the anharmonic effect by letting the phonon frequencies become volume dependent so therefore is unable to model the anharmonic effect well. Furthermore the born-oppenheimer approximation would become less valid at larger temperatures as the motion of nuclei becomes more important.&lt;br /&gt;
&lt;br /&gt;
== Molecular Dynamics ==&lt;br /&gt;
The crystal was then studied using Molecular Dynamics. In the previous investigations MgO has been described using a primitive cell containing a single MgO unit. Running an MD would not produce meaningful data as every cell would move perfectly in phase. By increasing the size of the cell the MD would become more accurate but become more computationally expensive so a compromise is reached for a cell containing 32 MgO units. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy temperature QHA MD.png|thumb|400px|Figure 15. Free Energy vs Temperature for MD compared to QHA]]&lt;br /&gt;
|[[File:JOHlatticeQHAMD2.png|thumb|400px|Figure 16. Lattice Constant vs Temperature for MD compared to QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics allows a system to evolve in time according to Newton&#039;s second law F=ma. As the system is treated classically energy can be modelled by the equipartition principle, &amp;lt;math&amp;gt;E = \frac{3}{2} k_B T&amp;lt;/math&amp;gt;, and as such the energy will increase linearly with temperature. In comparison QHA follows the relationship &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
This mean that the energy should decrease with temperature. Both the free energy modelled by MD and QHA can be seen in figure 15. &lt;br /&gt;
&lt;br /&gt;
Looking at figure 16 the MD and the QHA are similar between 400-1000 K, thus the volumetric expansion coefficients would be similar:&lt;br /&gt;
*MD - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; = 3.06 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
*QHA - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;  = 2.89 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
This similarity in data strengthens the reliability of the volumetric expansion coefficients between 400 - 1000 K. However, below 400 K the QHA begins to break from a linear trend and curve towards 18.84 Å&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt; whereas the MD follows the linear trend. At lower trends the anharmonic effect is not as prevalent so the QHA is a better model for the lattice constant at lower temperatures. The MD model does not accurately show how the free energy changes at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
===Limitation===&lt;br /&gt;
&lt;br /&gt;
Overall both QHA and MD models have their limitations. &lt;br /&gt;
&lt;br /&gt;
The atoms are modelled using a classical approach or in other words atoms are modelled as hard charged spheres. So the quantum mechanical contributions cannot be taken into account. This will reduced the accuracy of the models &lt;br /&gt;
&lt;br /&gt;
Furthermore, the models do not consider long-range interactions, only interactions of atoms relatively close. In a realistic crystal there will be interactions outside the nearest neighbours albeit small interactions. Thus slight inaccuracy in the models is seen. &lt;br /&gt;
&lt;br /&gt;
For both models it can be assumed that the trends can be extrapolated until the melting point of MgO is reached, as upon melting a change in volume occurs. Furthermore liquid MgO has no structured order so cannot be described by a repeated unit cell. &lt;br /&gt;
&lt;br /&gt;
In the QHA the interactions between atoms of different unit cells was not taken into consideration. There would be an energy increase if there was overlap between atoms in different cells.&lt;br /&gt;
&lt;br /&gt;
For these MD calculations, as only a small number of atoms were considered it was reasonable to use a time step of 1.0 femtoseconds. However, when considering a much larger system, say for example a protein, then this would become computationally expensive.&lt;br /&gt;
&lt;br /&gt;
==Conclusion== &lt;br /&gt;
The experiment showed the thermal expansion of MgO, the phonon dispersion and the DOS. Comparisons between the QHA and the MD were made, both approaches giving reasonable thermal expansion coefficients between 400-1000 K. At lower temperatures the QHA was a better model, due to the reduction in anharmonic effects.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 1&amp;quot; &amp;gt; O. Madelung, U. Rössler and M. Schulz, Eds., II-VI and I-VII compounds; Semimagnetic compounds, Springer-Verlag, 1999. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 2&amp;quot; &amp;gt; A. CIMINO, P. PORTA and M. VALIGI, Journal of the American Ceramic Society, 1966, 49, 152–156. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 3&amp;quot;&amp;gt; A. Baldereschi, Physical Review B, 1973, 7, 5212–5215. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 4&amp;quot; &amp;gt; E. J. Covington and D. J. Montgomery, J. Appl. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys, 2010, 27, 1030–53111. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 5&amp;quot; &amp;gt; J. A. Kaduk and J. Faber, The Rigaku journal 14 CRYSTAL STRUCTURE OF ZEOLITE Y AS A FUNCTION OF ION EXCHANGE, 1995. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 6&amp;quot; &amp;gt; J.R. Vinson, Plate and Panel structures of Isotropic, Composite and Piezoelectric Materials, including Sandwich Construction. Delaware; Springer; 2005. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Appendix==&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo phonon DOS 222 JOH.png|thumb|300px|Figure 1. Phonon DOS of MgO using 2x2x2 grid size]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Jo1213</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553439</id>
		<title>Rep:Mod:JOH95MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553439"/>
		<updated>2016-03-11T09:48:26Z</updated>

		<summary type="html">&lt;p&gt;Jo1213: /* Computing the Phonon Dispersion Curves */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
The experiment will investigate the properties of an MgO crystal. Firstly the dimensions of the unit cells will be investigates along with the associated energy. Then the phonon dispersion and DOS will be investigated, evaluating the optimal grid size to use. The energies of the crystal will be investigates along with the thermal expansion coefficients. Lastly the quasi-harmonic approximation (QHA) and the molecular dynamics (MD) will be compared. &lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon-based model used to describe volume-dependent thermal effects. The harmonic phonon model assumes that all intermolecular forces are harmonic. This is not sufficient to describe thermal expansion as there is no change to the equilibrium bond length as temperature increases. The QHA takes into account that molecules do have an anharmonic effect at higher temperatures by treating frequencies as volume dependent. &lt;br /&gt;
&lt;br /&gt;
The Molecular Dynamics approach allows a system to evolve in time according to Newton&#039;s second law &amp;lt;math&amp;gt;F=ma&amp;lt;/math&amp;gt;. The initial configurations and velocities are assigned to allow the program to iterate positions and velocities. The atoms follow trajectories and the properties, such as E and T, are computed as time averages of their behaviour.&lt;br /&gt;
&lt;br /&gt;
The programs used were RedHat Linux, DLVisulaize (DLV) and General Utility Lattice Program (GULP). DLV allows us to visualise the MgO crystals and GULP is used to perform simulations on materials using boundary conditions, in this case on a 3D lattice.&lt;br /&gt;
&lt;br /&gt;
== Internal Energy of MgO ==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:PC 1.png|left|thumb|300px|Figure 1. Primitive Cell of MgO]]&lt;br /&gt;
|[[File:CC .png|left|thumb|300px|Figure 2. Conventional Cell of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 1 shows the primitive unit cell of MgO. The primitive unit cell consists of 2 atoms Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; which are held together by a Buckingham repulsive potential. The unit cell has a rhombohedron shape with lattice constants of 2.9783 Å and an internal angle a = 60°. The primitive cell contains one lattice point and is the simplest cell to describe the crystal. A calculation was run on MgO. In the [https://wiki.ch.ic.ac.uk/wiki/images/e/e7/MgO_1_james.txt LogFile] GULF describes MgO using a primitive unit cell. The Cartesian lattice vectors of the cell are reported in table 1 and the total lattice energy was -41.07531759 eV which represents the energy to pull all the atom infinitely apart. The GULP calculation correlates with LCAO HF calculations found in literature (2.573 Å &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;). &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|-&lt;br /&gt;
|+ Table 1ː Cell Vector Dimensions/Å&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The conventional cell has four times the volume of the primitive cell as shown in figure 2. The structure of the cell is face centered cubic (FCC) which has an internal angel a = 90° and a lattice vector of 4.212 Å (which agrees with literature of 4.21 Å &amp;lt;ref name =&amp;quot;Ref 2&amp;quot; /&amp;gt;). The conventional cell is more representative of the crystal so is chosen in the calculations.&lt;br /&gt;
&lt;br /&gt;
==Computing the Phonon Dispersion Curves==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO Phonon Dispersion JOH.png|thumb|300px|Figure 3. Phonon Dispersion Graph of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The vibrational modes of the lattice were then computed. The phonon modes were displayed as a dispersion curve, as shown in figure 3. The phonon frequencies were calculated along a path in k-space. Special points along the path, &amp;lt;math&amp;gt;W, L, \Gamma, X, W, K&amp;lt;/math&amp;gt;, can be seen in figure 3. There are two phonos modes associated with each axis, acoustic (in-phase) and optical (out-of-phase) phonons. In the 3D model three axis (x,y,z) are taken into consideration meaning there are 6 phonon modes as shown by the six different curves in figure 3. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:K=0 JOH.png|thumb|300px|Figure 4. Acoustic and optical modes at k=0]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The relationship between the wavevector k to the wavelength &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) is &amp;lt;math&amp;gt;k= \frac{2\pi}{\lambda}&amp;lt;/math&amp;gt;. Furthermore the relationship between wavelength &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) and frequency is &amp;lt;math&amp;gt; v = \frac{c}{\lambda} &amp;lt;/math&amp;gt;. As shown in figure 4 when k=0, for the acoustic mode, the wavelength approaches infinity as all the atoms move in the same direction along the axis. As &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; approaches infinity, frequency will tend to 0. For the optical mode the frequency is non-zero. With this information it is clear that at k=0 the dispersion graph is at symmetry point &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; as this is the only point on the dispersion curve where phonon modes display a frequency of zero. &lt;br /&gt;
&lt;br /&gt;
Following the path from &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;, to &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and then to &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; the acoustic modes splits into 3 modes, two transverse modes (TA) and one longitude mode (LA). The two TA are degenerate between &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; until it splits between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Phonon Density of States (DOS)==&lt;br /&gt;
The next part involved calculating the phonon density of states. The DOS is defined as the number of states per energy at a given energy, in this case vibrational frequency. The larger the number of k values considered in reciprocal space the more accurate the DOS. This is achieved by increasing the grid size (nxnxn) to give a better representation of the crystal by sampling more k values in reciprocal space. However, at a certain point the difference between k values is negligible so does not further increase the accuracy of the DOS. Furthermore calculating an infinite number of k values would take an infinite amount of computing time.&lt;br /&gt;
&lt;br /&gt;
The DOS was calculated for a 1x1x1 grid by setting the shrinking value to 1 as shown in figure 5. The grid size was then increased to find the optimum shrinking value that gave a good representation of the DOS without taking too long to calculate as shown by figures 6 through 10. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo Phonon DOS JOH 111.png|thumb|300px|Figure 5. Phonon DOS of MgO using 1x1x1 grid size]]&lt;br /&gt;
|[[File:JOHphononDOS444.png|thumb|300px|Figure 6. Phonon DOS of MgO using 4x4x4 grid size]]&lt;br /&gt;
|[[File:JOHDOS888.png|thumb|300px|Figure 7. Phonon DOS of MgO using 8x8x8 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOHDOS161616.png|thumb|300px|Figure 8. Phonon DOS of MgO using 16x16x16 grid size]]&lt;br /&gt;
|[[File:JOHDOS323232.png|thumb|300px|Figure 9. Phonon DOS of MgO using 32x32x32 grid size]]&lt;br /&gt;
|[[File:JOHDOS50.png|thumb|300px|Figure 10. Phonon DOS of MgO using 50x50x50 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 5 shows the DOS for a 1x1x1 grid size. The four peaks 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; 676 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 819 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; represent the four frequencies at point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The intensity of the peaks around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; is around double that of the peaks around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. This gives further evidence that the acoustic vibrational mode around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; are degenerate. The theorem about using the &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; point in reciprocal space for a 1x1x1 grid is called Baldereschi theorem &amp;lt;ref name = &amp;quot;Ref 3&amp;quot;/&amp;gt;. The idea being that point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is the most representative point in k-space as when you increase from grid size of 1x1x1 to 50x50x50 the main peak remains around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; with a smaller peak still around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The ideal grid size is one that represents the DOS without taking too long to calculate. From figure 8 onwards the shape of the curve does not change much, so it can be concluded that using a grid size of 16 is sufficient enough to gain a good understanding of the DOS without taking too long to calculate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:DOS dispersion JOH.png|thumb|400px|Figure 11. Comparing the dispersion curve with the DOS]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It is important to note the relationship between the dispersion curve and the DOS graph as shown in figure 11. The frequency in the phonon dispersion curve on the y axis is the same as the frequency on the DOS curve in the x-axis. It can be seen visually that the most popular states are around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The relationship between real space and reciprocal space is given by the formula &amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt; - a being the length in real space transformed to a* in reciprocal space. This shows that the larger the lattice constant a, the smaller the reciprocal cell. This is important to consider when assessing the DOS for other structures. Lithium has a lattice constant of 3.490 Å &amp;lt;ref name = &amp;quot;Ref 4&amp;quot;/&amp;gt; which is 0.721 Å lower that the conventional unit cell of MgO that is being modelled. Due to the inverse relationship of real to reciprocal space, lithium will have a larger cell in k space and therefore need a larger grid size to measure the DOS. Conversely Faujasite has a lattice constant of 24.7 Å &amp;lt;ref name = &amp;quot;Ref 5&amp;quot; /&amp;gt; which will give a much smaller cell in reciprocal space meaning that a smaller grid size would give an accurate measurement of the DOS as there are fewer k values needed to measure the cell. CaO has a very similar lattice constant meaning that a similar grid size would be needed to accurately measure the DOS - in this case a grid size of 16x16x16 would be sufficient.&lt;br /&gt;
&lt;br /&gt;
==Computing the Free Energy==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Table 2ː Energy vs Grid size&lt;br /&gt;
! Grid Size nxnxn/n&lt;br /&gt;
! Free Energy/eV&lt;br /&gt;
! Accuracy/ meV&lt;br /&gt;
! Log file&lt;br /&gt;
! rowspan=&amp;quot;9&amp;quot;|[[File:JOH Free energy vs grid size.png|thumb|400px|]]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| -40.930301&lt;br /&gt;
| 4&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/1/12/JOH_fe_MgO_111.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| -40.926609&lt;br /&gt;
| 0.2&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/aa/JOH_fe_MgO_222.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -40.926432&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4d/JOH_fe_MgO_333.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -40.926450&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/40/JOH_fe_MgO_444.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -40.926478&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/7/70/JOH_fe_MgO_888.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -40.926482&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4f/JOH_fe_MgO_16.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/ac/JOH_fe_MgO_32.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 50&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [[Media:JOH_fe_MgO_50.txt.zip|log file]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Table 2 displays the free energies of MgO as a function of grid size n. Similar to finding the ideal grid size to calculate the DOS, the optimal grid size to figure out the free energy can be found in table 2. As the grid size increases from 1 to 3 there is a sharp increase in the free energy from -40.930301 eV to -40.926432 eV, afterwards the free energy eventually converges at -40.926483 eV. The degree of accuracy follows this trend, from a grid size of 4 onwards the degree of accuracy is greater that 0.1 meV. There is no change in free energy from a grid size of 32 to 50 suggesting that a grid size of 32 is all that is needed to accurately determine the free energy of MgO. &lt;br /&gt;
&lt;br /&gt;
The graph in table 2 can be rationalized by the equation for the Helmholtz free energy - &amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A is the Helmholtz fee energy, U is the internal energy, T is temperature and S is entropy. As the grid size increases, the volume increases so the internal energy decreases (&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt;). This in turn means that the Helmholtz free energy would decrease.&lt;br /&gt;
&lt;br /&gt;
Furthermore as the number of microstates sampled increases the entropy term will increase according to the relationship &amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt;. This in turn means that the free energy will be lowered. By considering these two factors the decrease in free energy can be rationalised.&lt;br /&gt;
&lt;br /&gt;
==Thermal Expansion of MgO==&lt;br /&gt;
The structure of MgO will be optimised with respect to the free energy at different temperatures (0 - 1000 K in steps of 100 K). The free energy will be computed using the quasi-harmonic approximation (QHA) which uses the following expression: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
*&amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; = frequency of the vibration &lt;br /&gt;
*&amp;lt;math&amp;gt;E_{0}&amp;lt;/math&amp;gt; = zero point energy &lt;br /&gt;
*&amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; = Temperature&lt;br /&gt;
*&amp;lt;math&amp;gt;k_B&amp;lt;/math&amp;gt; = Boltzmann Constant &lt;br /&gt;
*&amp;lt;math&amp;gt;\hbar&amp;lt;/math&amp;gt; = reduced Planck&#039;s constant. &lt;br /&gt;
&lt;br /&gt;
The equations is split into three parts - the zero point energy and the harmonic and entropic contribution.&lt;br /&gt;
&lt;br /&gt;
In addition the coefficients of thermal expansion was calculated. The coefficient of thermal expansion describes how the size of an object changes with temperature. The larger the coefficient the greater the change in size as temperature increases. Several coefficients have been developed and the two that we will look at are the linear and volumetric thermal expansion. The generic equation is as follows:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\alpha_x = \frac{1}{x}\,\left(\frac{\partial x}{\partial T}\right)_p&lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* α&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt; = thermal expansion coefficient&lt;br /&gt;
* x = initial dimension &lt;br /&gt;
* ∂x = the partial derivative of the dimension under study &lt;br /&gt;
* ∂T = partial derivative of temperature (at constant pressure)&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy vs temp.png|thumb|400px|Figure 12. Free Energy dependence on Temperature for the QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH lattice constant vs temp.png|thumb|400px|Figure 13. Lattice Constant dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|[[File:JOH LV temp.png|thumb|400px|Figure 14. Lattice Volume dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 12 shows that as temperature increases the free energy becomes more negative. This can be rationalised with the derivation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; G = H - TS &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Plug in &amp;lt;math&amp;gt;H = U + PV&amp;lt;/math&amp;gt; to get  &amp;lt;math&amp;gt;G = U + PV - TS&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dG = dU + PdV + VdP - TdS - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = q + w &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dq = TdS &amp;lt;/math&amp;gt; &amp;lt;math&amp;gt; dw = -PdV &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \therefore dG = VdP - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This implies that both the volume and the entropic factor contribute to the free energy. As the temperature increases the volume will increase, however the entropic factor will overcome this due to large change in temperature. This explains the trend observed in figure 12. &lt;br /&gt;
&lt;br /&gt;
We would expect a linear negative decrease - &amp;lt;math&amp;gt; \left( \frac{\partial G}{\partial T} \right)_P = -S &amp;lt;/math&amp;gt;. However figure 12 shows that the trend is a curve suggesting that the pressure may not be constant.&lt;br /&gt;
&lt;br /&gt;
The trend could also be explained using the Helmoholtz free energy equation used in the QHA. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The entropic contribution in the equation has a large dependence on temperature and therefore as temperature increases the entropic contribution becomes more negative. This is due to the exponential factor in the entropic contribution. This results in the Helmholtz becoming more negative.  &lt;br /&gt;
&lt;br /&gt;
===Calculating the Thermal expansion coefficients===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Linear Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{1}{L} \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{0.00002342}{2.986563} = 7.7815\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
L = the initial lattice constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 13&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Volumetric Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V} \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{0.00044612}{18.836496} = 2.3684\times 10^{-5}&amp;lt;/math&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
V = the initial volume constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 14&lt;br /&gt;
&lt;br /&gt;
For isotropic materials the volumetric coefficient is three times larger that then linear coefficient - 3&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;. For MgO &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt; is practically three times larger than &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; (3.04&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;) implying that MgO is an isotropic material &amp;lt;ref name=&amp;quot;Ref 6&amp;quot;/&amp;gt;, in other words lattice constants a, b and c expand at equal rates. At 200 K the L value increases to 2.987604 Å resulting in &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;7.839\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; which is close to the literature value of &amp;lt;math&amp;gt;7.39\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The main approximation with the QHA occurs at higher temperatures. This is because at higher temperatures the lattice experiences a larger anharmonic effect due to a larger deviation from bond equilibrium as more energy is put into the bond. Furthermore as anharmonicity comes from scattered phonons interacting due to lattice defect, this effect will be accentuated as lattice vibration gain more energy. The QHA simplifies the anharmonic effect by letting the phonon frequencies become volume dependent so therefore is unable to model the anharmonic effect well. Furthermore the born-oppenheimer approximation would become less valid at larger temperatures as the motion of nuclei becomes more important.&lt;br /&gt;
&lt;br /&gt;
== Molecular Dynamics ==&lt;br /&gt;
The crystal was then studied using Molecular Dynamics. In the previous investigations MgO has been described using a primitive cell containing a single MgO unit. Running an MD would not produce meaningful data as every cell would move perfectly in phase. By increasing the size of the cell the MD would become more accurate but become more computationally expensive so a compromise is reached for a cell containing 32 MgO units. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy temperature QHA MD.png|thumb|400px|Figure 15. Free Energy vs Temperature for MD compared to QHA]]&lt;br /&gt;
|[[File:JOHlatticeQHAMD2.png|thumb|400px|Figure 16. Lattice Constant vs Temperature for MD compared to QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics allows a system to evolve in time according to Newton&#039;s second law F=ma. As the system is treated classically energy can be modelled by the equipartition principle, &amp;lt;math&amp;gt;E = \frac{3}{2} k_B T&amp;lt;/math&amp;gt;, and as such the energy will increase linearly with temperature. In comparison QHA follows the relationship &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
This mean that the energy should decrease with temperature. Both the free energy modelled by MD and QHA can be seen in figure 15. &lt;br /&gt;
&lt;br /&gt;
Looking at figure 16 the MD and the QHA are similar between 400-1000 K, thus the volumetric expansion coefficients would be similar:&lt;br /&gt;
*MD - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; = 3.06 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
*QHA - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;  = 2.89 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
This similarity in data strengthens the reliability of the volumetric expansion coefficients between 400 - 1000 K. However, below 400 K the QHA begins to break from a linear trend and curve towards 18.84 Å&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt; whereas the MD follows the linear trend. At lower trends the anharmonic effect is not as prevalent so the QHA is a better model for the lattice constant at lower temperatures. The MD model does not accurately show how the free energy changes at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
===Limitation===&lt;br /&gt;
&lt;br /&gt;
Overall both QHA and MD models have their limitations. &lt;br /&gt;
&lt;br /&gt;
The atoms are modelled using a classical approach or in other words atoms are modelled as hard charged spheres. So the quantum mechanical contributions cannot be taken into account. This will reduced the accuracy of the models &lt;br /&gt;
&lt;br /&gt;
Furthermore, the models do not consider long-range interactions, only interactions of atoms relatively close. In a realistic crystal there will be interactions outside the nearest neighbours albeit small interactions. Thus slight inaccuracy in the models is seen. &lt;br /&gt;
&lt;br /&gt;
For both models it can be assumed that the trends can be extrapolated until the melting point of MgO is reached, as upon melting a change in volume occurs. Furthermore liquid MgO has no structured order so cannot be described by a repeated unit cell. &lt;br /&gt;
&lt;br /&gt;
In the QHA the interactions between atoms of different unit cells was not taken into consideration. There would be an energy increase if there was overlap between atoms in different cells.&lt;br /&gt;
&lt;br /&gt;
For these MD calculations, as only a small number of atoms were considered it was reasonable to use a time step of 1.0 femtoseconds. However, when considering a much larger system, say for example a protein, then this would become computationally expensive.&lt;br /&gt;
&lt;br /&gt;
==Conclusion== &lt;br /&gt;
The experiment showed the thermal expansion of MgO, the phonon dispersion and the DOS. Comparisons between the QHA and the MD were made, both approaches giving reasonable thermal expansion coefficients between 400-1000 K. At lower temperatures the QHA was a better model, due to the reduction in anharmonic effects.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 1&amp;quot; &amp;gt; O. Madelung, U. Rössler and M. Schulz, Eds., II-VI and I-VII compounds; Semimagnetic compounds, Springer-Verlag, 1999. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 2&amp;quot; &amp;gt; A. CIMINO, P. PORTA and M. VALIGI, Journal of the American Ceramic Society, 1966, 49, 152–156. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 3&amp;quot;&amp;gt; A. Baldereschi, Physical Review B, 1973, 7, 5212–5215. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 4&amp;quot; &amp;gt; E. J. Covington and D. J. Montgomery, J. Appl. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys, 2010, 27, 1030–53111. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 5&amp;quot; &amp;gt; J. A. Kaduk and J. Faber, The Rigaku journal 14 CRYSTAL STRUCTURE OF ZEOLITE Y AS A FUNCTION OF ION EXCHANGE, 1995. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 6&amp;quot; &amp;gt; J.R. Vinson, Plate and Panel structures of Isotropic, Composite and Piezoelectric Materials, including Sandwich Construction. Delaware; Springer; 2005. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Appendix==&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo phonon DOS 222 JOH.png|thumb|300px|Figure 1. Phonon DOS of MgO using 2x2x2 grid size]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Jo1213</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553434</id>
		<title>Rep:Mod:JOH95MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553434"/>
		<updated>2016-03-11T09:44:11Z</updated>

		<summary type="html">&lt;p&gt;Jo1213: /* Internal Energy of MgO */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
The experiment will investigate the properties of an MgO crystal. Firstly the dimensions of the unit cells will be investigates along with the associated energy. Then the phonon dispersion and DOS will be investigated, evaluating the optimal grid size to use. The energies of the crystal will be investigates along with the thermal expansion coefficients. Lastly the quasi-harmonic approximation (QHA) and the molecular dynamics (MD) will be compared. &lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon-based model used to describe volume-dependent thermal effects. The harmonic phonon model assumes that all intermolecular forces are harmonic. This is not sufficient to describe thermal expansion as there is no change to the equilibrium bond length as temperature increases. The QHA takes into account that molecules do have an anharmonic effect at higher temperatures by treating frequencies as volume dependent. &lt;br /&gt;
&lt;br /&gt;
The Molecular Dynamics approach allows a system to evolve in time according to Newton&#039;s second law &amp;lt;math&amp;gt;F=ma&amp;lt;/math&amp;gt;. The initial configurations and velocities are assigned to allow the program to iterate positions and velocities. The atoms follow trajectories and the properties, such as E and T, are computed as time averages of their behaviour.&lt;br /&gt;
&lt;br /&gt;
The programs used were RedHat Linux, DLVisulaize (DLV) and General Utility Lattice Program (GULP). DLV allows us to visualise the MgO crystals and GULP is used to perform simulations on materials using boundary conditions, in this case on a 3D lattice.&lt;br /&gt;
&lt;br /&gt;
== Internal Energy of MgO ==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:PC 1.png|left|thumb|300px|Figure 1. Primitive Cell of MgO]]&lt;br /&gt;
|[[File:CC .png|left|thumb|300px|Figure 2. Conventional Cell of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 1 shows the primitive unit cell of MgO. The primitive unit cell consists of 2 atoms Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; which are held together by a Buckingham repulsive potential. The unit cell has a rhombohedron shape with lattice constants of 2.9783 Å and an internal angle a = 60°. The primitive cell contains one lattice point and is the simplest cell to describe the crystal. A calculation was run on MgO. In the [https://wiki.ch.ic.ac.uk/wiki/images/e/e7/MgO_1_james.txt LogFile] GULF describes MgO using a primitive unit cell. The Cartesian lattice vectors of the cell are reported in table 1 and the total lattice energy was -41.07531759 eV which represents the energy to pull all the atom infinitely apart. The GULP calculation correlates with LCAO HF calculations found in literature (2.573 Å &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;). &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|-&lt;br /&gt;
|+ Table 1ː Cell Vector Dimensions/Å&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The conventional cell has four times the volume of the primitive cell as shown in figure 2. The structure of the cell is face centered cubic (FCC) which has an internal angel a = 90° and a lattice vector of 4.212 Å (which agrees with literature of 4.21 Å &amp;lt;ref name =&amp;quot;Ref 2&amp;quot; /&amp;gt;). The conventional cell is more representative of the crystal so is chosen in the calculations.&lt;br /&gt;
&lt;br /&gt;
==Computing the Phonon Dispersion Curves==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO Phonon Dispersion JOH.png|thumb|300px|Figure 3. Phonon Dispersion Graph of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The vibrational modes of the lattice were then computed. The phonon modes were displayed as a dispersion curve, as shown in figure 3. The phonon frequencies were calculated along a path in k-space. Special points along the path, &amp;lt;math&amp;gt;W, L, \Gamma, X, W, K&amp;lt;/math&amp;gt;, can be seen in figure 3. There are two phonos modes associated with each axis, acoustic (in-phase) and optical (out-of-phase) phonons. In the 3D model three axis (x,y,z) are taken into consideration meaning there are 6 phonon modes as shown by the six different curves in figure 3. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:K=0 JOH.png|thumb|300px|Figure 4. Acoustic and optical modes at k=0]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The relationship between the wavevector k to the wavelength (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;k= \frac{2\pi}{\lambda}&amp;lt;/math&amp;gt;. Furthermore the relationship between wavelength (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) and frequency is &amp;lt;math&amp;gt; v = \frac{c}{\lambda} &amp;lt;/math&amp;gt;. As shown in figure 4 when k=0, for the acoustic mode, the wavelength approaches infinity and in turn the frequency approaches 0. For the optical mode the frequency is non-zero. With this information it is clear that at k=0 the dispersion graph is at symmetry point &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Following the path from &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;, to &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and then to &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; the acoustic modes splits into 3 modes, two transverse modes (TA) and one longitude mode (LA). The two TA are degenerate between &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; until it splits between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Phonon Density of States (DOS)==&lt;br /&gt;
The next part involved calculating the phonon density of states. The DOS is defined as the number of states per energy at a given energy, in this case vibrational frequency. The larger the number of k values considered in reciprocal space the more accurate the DOS. This is achieved by increasing the grid size (nxnxn) to give a better representation of the crystal by sampling more k values in reciprocal space. However, at a certain point the difference between k values is negligible so does not further increase the accuracy of the DOS. Furthermore calculating an infinite number of k values would take an infinite amount of computing time.&lt;br /&gt;
&lt;br /&gt;
The DOS was calculated for a 1x1x1 grid by setting the shrinking value to 1 as shown in figure 5. The grid size was then increased to find the optimum shrinking value that gave a good representation of the DOS without taking too long to calculate as shown by figures 6 through 10. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo Phonon DOS JOH 111.png|thumb|300px|Figure 5. Phonon DOS of MgO using 1x1x1 grid size]]&lt;br /&gt;
|[[File:JOHphononDOS444.png|thumb|300px|Figure 6. Phonon DOS of MgO using 4x4x4 grid size]]&lt;br /&gt;
|[[File:JOHDOS888.png|thumb|300px|Figure 7. Phonon DOS of MgO using 8x8x8 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOHDOS161616.png|thumb|300px|Figure 8. Phonon DOS of MgO using 16x16x16 grid size]]&lt;br /&gt;
|[[File:JOHDOS323232.png|thumb|300px|Figure 9. Phonon DOS of MgO using 32x32x32 grid size]]&lt;br /&gt;
|[[File:JOHDOS50.png|thumb|300px|Figure 10. Phonon DOS of MgO using 50x50x50 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 5 shows the DOS for a 1x1x1 grid size. The four peaks 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; 676 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 819 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; represent the four frequencies at point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The intensity of the peaks around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; is around double that of the peaks around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. This gives further evidence that the acoustic vibrational mode around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; are degenerate. The theorem about using the &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; point in reciprocal space for a 1x1x1 grid is called Baldereschi theorem &amp;lt;ref name = &amp;quot;Ref 3&amp;quot;/&amp;gt;. The idea being that point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is the most representative point in k-space as when you increase from grid size of 1x1x1 to 50x50x50 the main peak remains around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; with a smaller peak still around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The ideal grid size is one that represents the DOS without taking too long to calculate. From figure 8 onwards the shape of the curve does not change much, so it can be concluded that using a grid size of 16 is sufficient enough to gain a good understanding of the DOS without taking too long to calculate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:DOS dispersion JOH.png|thumb|400px|Figure 11. Comparing the dispersion curve with the DOS]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It is important to note the relationship between the dispersion curve and the DOS graph as shown in figure 11. The frequency in the phonon dispersion curve on the y axis is the same as the frequency on the DOS curve in the x-axis. It can be seen visually that the most popular states are around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The relationship between real space and reciprocal space is given by the formula &amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt; - a being the length in real space transformed to a* in reciprocal space. This shows that the larger the lattice constant a, the smaller the reciprocal cell. This is important to consider when assessing the DOS for other structures. Lithium has a lattice constant of 3.490 Å &amp;lt;ref name = &amp;quot;Ref 4&amp;quot;/&amp;gt; which is 0.721 Å lower that the conventional unit cell of MgO that is being modelled. Due to the inverse relationship of real to reciprocal space, lithium will have a larger cell in k space and therefore need a larger grid size to measure the DOS. Conversely Faujasite has a lattice constant of 24.7 Å &amp;lt;ref name = &amp;quot;Ref 5&amp;quot; /&amp;gt; which will give a much smaller cell in reciprocal space meaning that a smaller grid size would give an accurate measurement of the DOS as there are fewer k values needed to measure the cell. CaO has a very similar lattice constant meaning that a similar grid size would be needed to accurately measure the DOS - in this case a grid size of 16x16x16 would be sufficient.&lt;br /&gt;
&lt;br /&gt;
==Computing the Free Energy==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Table 2ː Energy vs Grid size&lt;br /&gt;
! Grid Size nxnxn/n&lt;br /&gt;
! Free Energy/eV&lt;br /&gt;
! Accuracy/ meV&lt;br /&gt;
! Log file&lt;br /&gt;
! rowspan=&amp;quot;9&amp;quot;|[[File:JOH Free energy vs grid size.png|thumb|400px|]]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| -40.930301&lt;br /&gt;
| 4&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/1/12/JOH_fe_MgO_111.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| -40.926609&lt;br /&gt;
| 0.2&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/aa/JOH_fe_MgO_222.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -40.926432&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4d/JOH_fe_MgO_333.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -40.926450&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/40/JOH_fe_MgO_444.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -40.926478&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/7/70/JOH_fe_MgO_888.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -40.926482&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4f/JOH_fe_MgO_16.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/ac/JOH_fe_MgO_32.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 50&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [[Media:JOH_fe_MgO_50.txt.zip|log file]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Table 2 displays the free energies of MgO as a function of grid size n. Similar to finding the ideal grid size to calculate the DOS, the optimal grid size to figure out the free energy can be found in table 2. As the grid size increases from 1 to 3 there is a sharp increase in the free energy from -40.930301 eV to -40.926432 eV, afterwards the free energy eventually converges at -40.926483 eV. The degree of accuracy follows this trend, from a grid size of 4 onwards the degree of accuracy is greater that 0.1 meV. There is no change in free energy from a grid size of 32 to 50 suggesting that a grid size of 32 is all that is needed to accurately determine the free energy of MgO. &lt;br /&gt;
&lt;br /&gt;
The graph in table 2 can be rationalized by the equation for the Helmholtz free energy - &amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A is the Helmholtz fee energy, U is the internal energy, T is temperature and S is entropy. As the grid size increases, the volume increases so the internal energy decreases (&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt;). This in turn means that the Helmholtz free energy would decrease.&lt;br /&gt;
&lt;br /&gt;
Furthermore as the number of microstates sampled increases the entropy term will increase according to the relationship &amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt;. This in turn means that the free energy will be lowered. By considering these two factors the decrease in free energy can be rationalised.&lt;br /&gt;
&lt;br /&gt;
==Thermal Expansion of MgO==&lt;br /&gt;
The structure of MgO will be optimised with respect to the free energy at different temperatures (0 - 1000 K in steps of 100 K). The free energy will be computed using the quasi-harmonic approximation (QHA) which uses the following expression: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
*&amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; = frequency of the vibration &lt;br /&gt;
*&amp;lt;math&amp;gt;E_{0}&amp;lt;/math&amp;gt; = zero point energy &lt;br /&gt;
*&amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; = Temperature&lt;br /&gt;
*&amp;lt;math&amp;gt;k_B&amp;lt;/math&amp;gt; = Boltzmann Constant &lt;br /&gt;
*&amp;lt;math&amp;gt;\hbar&amp;lt;/math&amp;gt; = reduced Planck&#039;s constant. &lt;br /&gt;
&lt;br /&gt;
The equations is split into three parts - the zero point energy and the harmonic and entropic contribution.&lt;br /&gt;
&lt;br /&gt;
In addition the coefficients of thermal expansion was calculated. The coefficient of thermal expansion describes how the size of an object changes with temperature. The larger the coefficient the greater the change in size as temperature increases. Several coefficients have been developed and the two that we will look at are the linear and volumetric thermal expansion. The generic equation is as follows:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\alpha_x = \frac{1}{x}\,\left(\frac{\partial x}{\partial T}\right)_p&lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* α&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt; = thermal expansion coefficient&lt;br /&gt;
* x = initial dimension &lt;br /&gt;
* ∂x = the partial derivative of the dimension under study &lt;br /&gt;
* ∂T = partial derivative of temperature (at constant pressure)&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy vs temp.png|thumb|400px|Figure 12. Free Energy dependence on Temperature for the QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH lattice constant vs temp.png|thumb|400px|Figure 13. Lattice Constant dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|[[File:JOH LV temp.png|thumb|400px|Figure 14. Lattice Volume dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 12 shows that as temperature increases the free energy becomes more negative. This can be rationalised with the derivation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; G = H - TS &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Plug in &amp;lt;math&amp;gt;H = U + PV&amp;lt;/math&amp;gt; to get  &amp;lt;math&amp;gt;G = U + PV - TS&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dG = dU + PdV + VdP - TdS - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = q + w &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dq = TdS &amp;lt;/math&amp;gt; &amp;lt;math&amp;gt; dw = -PdV &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \therefore dG = VdP - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This implies that both the volume and the entropic factor contribute to the free energy. As the temperature increases the volume will increase, however the entropic factor will overcome this due to large change in temperature. This explains the trend observed in figure 12. &lt;br /&gt;
&lt;br /&gt;
We would expect a linear negative decrease - &amp;lt;math&amp;gt; \left( \frac{\partial G}{\partial T} \right)_P = -S &amp;lt;/math&amp;gt;. However figure 12 shows that the trend is a curve suggesting that the pressure may not be constant.&lt;br /&gt;
&lt;br /&gt;
The trend could also be explained using the Helmoholtz free energy equation used in the QHA. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The entropic contribution in the equation has a large dependence on temperature and therefore as temperature increases the entropic contribution becomes more negative. This is due to the exponential factor in the entropic contribution. This results in the Helmholtz becoming more negative.  &lt;br /&gt;
&lt;br /&gt;
===Calculating the Thermal expansion coefficients===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Linear Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{1}{L} \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{0.00002342}{2.986563} = 7.7815\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
L = the initial lattice constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 13&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Volumetric Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V} \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{0.00044612}{18.836496} = 2.3684\times 10^{-5}&amp;lt;/math&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
V = the initial volume constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 14&lt;br /&gt;
&lt;br /&gt;
For isotropic materials the volumetric coefficient is three times larger that then linear coefficient - 3&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;. For MgO &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt; is practically three times larger than &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; (3.04&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;) implying that MgO is an isotropic material &amp;lt;ref name=&amp;quot;Ref 6&amp;quot;/&amp;gt;, in other words lattice constants a, b and c expand at equal rates. At 200 K the L value increases to 2.987604 Å resulting in &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;7.839\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; which is close to the literature value of &amp;lt;math&amp;gt;7.39\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The main approximation with the QHA occurs at higher temperatures. This is because at higher temperatures the lattice experiences a larger anharmonic effect due to a larger deviation from bond equilibrium as more energy is put into the bond. Furthermore as anharmonicity comes from scattered phonons interacting due to lattice defect, this effect will be accentuated as lattice vibration gain more energy. The QHA simplifies the anharmonic effect by letting the phonon frequencies become volume dependent so therefore is unable to model the anharmonic effect well. Furthermore the born-oppenheimer approximation would become less valid at larger temperatures as the motion of nuclei becomes more important.&lt;br /&gt;
&lt;br /&gt;
== Molecular Dynamics ==&lt;br /&gt;
The crystal was then studied using Molecular Dynamics. In the previous investigations MgO has been described using a primitive cell containing a single MgO unit. Running an MD would not produce meaningful data as every cell would move perfectly in phase. By increasing the size of the cell the MD would become more accurate but become more computationally expensive so a compromise is reached for a cell containing 32 MgO units. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy temperature QHA MD.png|thumb|400px|Figure 15. Free Energy vs Temperature for MD compared to QHA]]&lt;br /&gt;
|[[File:JOHlatticeQHAMD2.png|thumb|400px|Figure 16. Lattice Constant vs Temperature for MD compared to QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics allows a system to evolve in time according to Newton&#039;s second law F=ma. As the system is treated classically energy can be modelled by the equipartition principle, &amp;lt;math&amp;gt;E = \frac{3}{2} k_B T&amp;lt;/math&amp;gt;, and as such the energy will increase linearly with temperature. In comparison QHA follows the relationship &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
This mean that the energy should decrease with temperature. Both the free energy modelled by MD and QHA can be seen in figure 15. &lt;br /&gt;
&lt;br /&gt;
Looking at figure 16 the MD and the QHA are similar between 400-1000 K, thus the volumetric expansion coefficients would be similar:&lt;br /&gt;
*MD - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; = 3.06 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
*QHA - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;  = 2.89 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
This similarity in data strengthens the reliability of the volumetric expansion coefficients between 400 - 1000 K. However, below 400 K the QHA begins to break from a linear trend and curve towards 18.84 Å&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt; whereas the MD follows the linear trend. At lower trends the anharmonic effect is not as prevalent so the QHA is a better model for the lattice constant at lower temperatures. The MD model does not accurately show how the free energy changes at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
===Limitation===&lt;br /&gt;
&lt;br /&gt;
Overall both QHA and MD models have their limitations. &lt;br /&gt;
&lt;br /&gt;
The atoms are modelled using a classical approach or in other words atoms are modelled as hard charged spheres. So the quantum mechanical contributions cannot be taken into account. This will reduced the accuracy of the models &lt;br /&gt;
&lt;br /&gt;
Furthermore, the models do not consider long-range interactions, only interactions of atoms relatively close. In a realistic crystal there will be interactions outside the nearest neighbours albeit small interactions. Thus slight inaccuracy in the models is seen. &lt;br /&gt;
&lt;br /&gt;
For both models it can be assumed that the trends can be extrapolated until the melting point of MgO is reached, as upon melting a change in volume occurs. Furthermore liquid MgO has no structured order so cannot be described by a repeated unit cell. &lt;br /&gt;
&lt;br /&gt;
In the QHA the interactions between atoms of different unit cells was not taken into consideration. There would be an energy increase if there was overlap between atoms in different cells.&lt;br /&gt;
&lt;br /&gt;
For these MD calculations, as only a small number of atoms were considered it was reasonable to use a time step of 1.0 femtoseconds. However, when considering a much larger system, say for example a protein, then this would become computationally expensive.&lt;br /&gt;
&lt;br /&gt;
==Conclusion== &lt;br /&gt;
The experiment showed the thermal expansion of MgO, the phonon dispersion and the DOS. Comparisons between the QHA and the MD were made, both approaches giving reasonable thermal expansion coefficients between 400-1000 K. At lower temperatures the QHA was a better model, due to the reduction in anharmonic effects.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 1&amp;quot; &amp;gt; O. Madelung, U. Rössler and M. Schulz, Eds., II-VI and I-VII compounds; Semimagnetic compounds, Springer-Verlag, 1999. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 2&amp;quot; &amp;gt; A. CIMINO, P. PORTA and M. VALIGI, Journal of the American Ceramic Society, 1966, 49, 152–156. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 3&amp;quot;&amp;gt; A. Baldereschi, Physical Review B, 1973, 7, 5212–5215. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 4&amp;quot; &amp;gt; E. J. Covington and D. J. Montgomery, J. Appl. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys, 2010, 27, 1030–53111. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 5&amp;quot; &amp;gt; J. A. Kaduk and J. Faber, The Rigaku journal 14 CRYSTAL STRUCTURE OF ZEOLITE Y AS A FUNCTION OF ION EXCHANGE, 1995. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 6&amp;quot; &amp;gt; J.R. Vinson, Plate and Panel structures of Isotropic, Composite and Piezoelectric Materials, including Sandwich Construction. Delaware; Springer; 2005. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Appendix==&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo phonon DOS 222 JOH.png|thumb|300px|Figure 1. Phonon DOS of MgO using 2x2x2 grid size]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Jo1213</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553432</id>
		<title>Rep:Mod:JOH95MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553432"/>
		<updated>2016-03-11T09:43:26Z</updated>

		<summary type="html">&lt;p&gt;Jo1213: /* Computing the Phonon Dispersion Curves */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
The experiment will investigate the properties of an MgO crystal. Firstly the dimensions of the unit cells will be investigates along with the associated energy. Then the phonon dispersion and DOS will be investigated, evaluating the optimal grid size to use. The energies of the crystal will be investigates along with the thermal expansion coefficients. Lastly the quasi-harmonic approximation (QHA) and the molecular dynamics (MD) will be compared. &lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon-based model used to describe volume-dependent thermal effects. The harmonic phonon model assumes that all intermolecular forces are harmonic. This is not sufficient to describe thermal expansion as there is no change to the equilibrium bond length as temperature increases. The QHA takes into account that molecules do have an anharmonic effect at higher temperatures by treating frequencies as volume dependent. &lt;br /&gt;
&lt;br /&gt;
The Molecular Dynamics approach allows a system to evolve in time according to Newton&#039;s second law &amp;lt;math&amp;gt;F=ma&amp;lt;/math&amp;gt;. The initial configurations and velocities are assigned to allow the program to iterate positions and velocities. The atoms follow trajectories and the properties, such as E and T, are computed as time averages of their behaviour.&lt;br /&gt;
&lt;br /&gt;
The programs used were RedHat Linux, DLVisulaize (DLV) and General Utility Lattice Program (GULP). DLV allows us to visualise the MgO crystals and GULP is used to perform simulations on materials using boundary conditions, in this case on a 3D lattice.&lt;br /&gt;
&lt;br /&gt;
== Internal Energy of MgO ==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:PC 1.png|left|thumb|300px|Figure 1. Primitive Cell of MgO]]&lt;br /&gt;
|[[File:CC .png|left|thumb|300px|Figure 2. Conventional Cell of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 1 shows the primitive unit cell of MgO. The primitive unit cell consists of 2 atoms Mg&amp;lt;sub&amp;gt;2+&amp;lt;/sub&amp;gt; and O&amp;lt;sub&amp;gt;2-&amp;lt;/sub&amp;gt; which are held together by a Buckingham repulsive potential. The unit cell has a rhombohedron shape with lattice constants of 2.9783 Å and an internal angle a = 60°. The primitive cell contains one lattice point and is the simplest cell to describe the crystal. A calculation was run on MgO. In the [https://wiki.ch.ic.ac.uk/wiki/images/e/e7/MgO_1_james.txt LogFile] GULF describes MgO using a primitive unit cell. The Cartesian lattice vectors of the cell are reported in table 1 and the total lattice energy was -41.07531759 eV which represents the energy to pull all the atom infinitely apart. The GULP calculation correlates with LCAO HF calculations found in literature (2.573 Å &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;). &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|-&lt;br /&gt;
|+ Table 1ː Cell Vector Dimensions/Å&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The conventional cell has four times the volume of the primitive cell as shown in figure 2. The structure of the cell is face centered cubic (FCC) which has an internal angel a = 90° and a lattice vector of 4.212 Å (which agrees with literature of 4.21 Å &amp;lt;ref name =&amp;quot;Ref 2&amp;quot; /&amp;gt;). The conventional cell is more representative of the crystal so is chosen in the calculations.&lt;br /&gt;
&lt;br /&gt;
==Computing the Phonon Dispersion Curves==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO Phonon Dispersion JOH.png|thumb|300px|Figure 3. Phonon Dispersion Graph of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The vibrational modes of the lattice were then computed. The phonon modes were displayed as a dispersion curve, as shown in figure 3. The phonon frequencies were calculated along a path in k-space. Special points along the path, &amp;lt;math&amp;gt;W, L, \Gamma, X, W, K&amp;lt;/math&amp;gt;, can be seen in figure 3. There are two phonos modes associated with each axis, acoustic (in-phase) and optical (out-of-phase) phonons. In the 3D model three axis (x,y,z) are taken into consideration meaning there are 6 phonon modes as shown by the six different curves in figure 3. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:K=0 JOH.png|thumb|300px|Figure 4. Acoustic and optical modes at k=0]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The relationship between the wavevector k to the wavelength (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;k= \frac{2\pi}{\lambda}&amp;lt;/math&amp;gt;. Furthermore the relationship between wavelength (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) and frequency is &amp;lt;math&amp;gt; v = \frac{c}{\lambda} &amp;lt;/math&amp;gt;. As shown in figure 4 when k=0, for the acoustic mode, the wavelength approaches infinity and in turn the frequency approaches 0. For the optical mode the frequency is non-zero. With this information it is clear that at k=0 the dispersion graph is at symmetry point &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Following the path from &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;, to &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and then to &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; the acoustic modes splits into 3 modes, two transverse modes (TA) and one longitude mode (LA). The two TA are degenerate between &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; until it splits between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Phonon Density of States (DOS)==&lt;br /&gt;
The next part involved calculating the phonon density of states. The DOS is defined as the number of states per energy at a given energy, in this case vibrational frequency. The larger the number of k values considered in reciprocal space the more accurate the DOS. This is achieved by increasing the grid size (nxnxn) to give a better representation of the crystal by sampling more k values in reciprocal space. However, at a certain point the difference between k values is negligible so does not further increase the accuracy of the DOS. Furthermore calculating an infinite number of k values would take an infinite amount of computing time.&lt;br /&gt;
&lt;br /&gt;
The DOS was calculated for a 1x1x1 grid by setting the shrinking value to 1 as shown in figure 5. The grid size was then increased to find the optimum shrinking value that gave a good representation of the DOS without taking too long to calculate as shown by figures 6 through 10. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo Phonon DOS JOH 111.png|thumb|300px|Figure 5. Phonon DOS of MgO using 1x1x1 grid size]]&lt;br /&gt;
|[[File:JOHphononDOS444.png|thumb|300px|Figure 6. Phonon DOS of MgO using 4x4x4 grid size]]&lt;br /&gt;
|[[File:JOHDOS888.png|thumb|300px|Figure 7. Phonon DOS of MgO using 8x8x8 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOHDOS161616.png|thumb|300px|Figure 8. Phonon DOS of MgO using 16x16x16 grid size]]&lt;br /&gt;
|[[File:JOHDOS323232.png|thumb|300px|Figure 9. Phonon DOS of MgO using 32x32x32 grid size]]&lt;br /&gt;
|[[File:JOHDOS50.png|thumb|300px|Figure 10. Phonon DOS of MgO using 50x50x50 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 5 shows the DOS for a 1x1x1 grid size. The four peaks 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; 676 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 819 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; represent the four frequencies at point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The intensity of the peaks around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; is around double that of the peaks around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. This gives further evidence that the acoustic vibrational mode around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; are degenerate. The theorem about using the &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; point in reciprocal space for a 1x1x1 grid is called Baldereschi theorem &amp;lt;ref name = &amp;quot;Ref 3&amp;quot;/&amp;gt;. The idea being that point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is the most representative point in k-space as when you increase from grid size of 1x1x1 to 50x50x50 the main peak remains around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; with a smaller peak still around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The ideal grid size is one that represents the DOS without taking too long to calculate. From figure 8 onwards the shape of the curve does not change much, so it can be concluded that using a grid size of 16 is sufficient enough to gain a good understanding of the DOS without taking too long to calculate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:DOS dispersion JOH.png|thumb|400px|Figure 11. Comparing the dispersion curve with the DOS]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It is important to note the relationship between the dispersion curve and the DOS graph as shown in figure 11. The frequency in the phonon dispersion curve on the y axis is the same as the frequency on the DOS curve in the x-axis. It can be seen visually that the most popular states are around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The relationship between real space and reciprocal space is given by the formula &amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt; - a being the length in real space transformed to a* in reciprocal space. This shows that the larger the lattice constant a, the smaller the reciprocal cell. This is important to consider when assessing the DOS for other structures. Lithium has a lattice constant of 3.490 Å &amp;lt;ref name = &amp;quot;Ref 4&amp;quot;/&amp;gt; which is 0.721 Å lower that the conventional unit cell of MgO that is being modelled. Due to the inverse relationship of real to reciprocal space, lithium will have a larger cell in k space and therefore need a larger grid size to measure the DOS. Conversely Faujasite has a lattice constant of 24.7 Å &amp;lt;ref name = &amp;quot;Ref 5&amp;quot; /&amp;gt; which will give a much smaller cell in reciprocal space meaning that a smaller grid size would give an accurate measurement of the DOS as there are fewer k values needed to measure the cell. CaO has a very similar lattice constant meaning that a similar grid size would be needed to accurately measure the DOS - in this case a grid size of 16x16x16 would be sufficient.&lt;br /&gt;
&lt;br /&gt;
==Computing the Free Energy==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Table 2ː Energy vs Grid size&lt;br /&gt;
! Grid Size nxnxn/n&lt;br /&gt;
! Free Energy/eV&lt;br /&gt;
! Accuracy/ meV&lt;br /&gt;
! Log file&lt;br /&gt;
! rowspan=&amp;quot;9&amp;quot;|[[File:JOH Free energy vs grid size.png|thumb|400px|]]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| -40.930301&lt;br /&gt;
| 4&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/1/12/JOH_fe_MgO_111.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| -40.926609&lt;br /&gt;
| 0.2&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/aa/JOH_fe_MgO_222.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -40.926432&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4d/JOH_fe_MgO_333.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -40.926450&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/40/JOH_fe_MgO_444.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -40.926478&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/7/70/JOH_fe_MgO_888.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -40.926482&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4f/JOH_fe_MgO_16.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/ac/JOH_fe_MgO_32.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 50&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [[Media:JOH_fe_MgO_50.txt.zip|log file]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Table 2 displays the free energies of MgO as a function of grid size n. Similar to finding the ideal grid size to calculate the DOS, the optimal grid size to figure out the free energy can be found in table 2. As the grid size increases from 1 to 3 there is a sharp increase in the free energy from -40.930301 eV to -40.926432 eV, afterwards the free energy eventually converges at -40.926483 eV. The degree of accuracy follows this trend, from a grid size of 4 onwards the degree of accuracy is greater that 0.1 meV. There is no change in free energy from a grid size of 32 to 50 suggesting that a grid size of 32 is all that is needed to accurately determine the free energy of MgO. &lt;br /&gt;
&lt;br /&gt;
The graph in table 2 can be rationalized by the equation for the Helmholtz free energy - &amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A is the Helmholtz fee energy, U is the internal energy, T is temperature and S is entropy. As the grid size increases, the volume increases so the internal energy decreases (&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt;). This in turn means that the Helmholtz free energy would decrease.&lt;br /&gt;
&lt;br /&gt;
Furthermore as the number of microstates sampled increases the entropy term will increase according to the relationship &amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt;. This in turn means that the free energy will be lowered. By considering these two factors the decrease in free energy can be rationalised.&lt;br /&gt;
&lt;br /&gt;
==Thermal Expansion of MgO==&lt;br /&gt;
The structure of MgO will be optimised with respect to the free energy at different temperatures (0 - 1000 K in steps of 100 K). The free energy will be computed using the quasi-harmonic approximation (QHA) which uses the following expression: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
*&amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; = frequency of the vibration &lt;br /&gt;
*&amp;lt;math&amp;gt;E_{0}&amp;lt;/math&amp;gt; = zero point energy &lt;br /&gt;
*&amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; = Temperature&lt;br /&gt;
*&amp;lt;math&amp;gt;k_B&amp;lt;/math&amp;gt; = Boltzmann Constant &lt;br /&gt;
*&amp;lt;math&amp;gt;\hbar&amp;lt;/math&amp;gt; = reduced Planck&#039;s constant. &lt;br /&gt;
&lt;br /&gt;
The equations is split into three parts - the zero point energy and the harmonic and entropic contribution.&lt;br /&gt;
&lt;br /&gt;
In addition the coefficients of thermal expansion was calculated. The coefficient of thermal expansion describes how the size of an object changes with temperature. The larger the coefficient the greater the change in size as temperature increases. Several coefficients have been developed and the two that we will look at are the linear and volumetric thermal expansion. The generic equation is as follows:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\alpha_x = \frac{1}{x}\,\left(\frac{\partial x}{\partial T}\right)_p&lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* α&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt; = thermal expansion coefficient&lt;br /&gt;
* x = initial dimension &lt;br /&gt;
* ∂x = the partial derivative of the dimension under study &lt;br /&gt;
* ∂T = partial derivative of temperature (at constant pressure)&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy vs temp.png|thumb|400px|Figure 12. Free Energy dependence on Temperature for the QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH lattice constant vs temp.png|thumb|400px|Figure 13. Lattice Constant dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|[[File:JOH LV temp.png|thumb|400px|Figure 14. Lattice Volume dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 12 shows that as temperature increases the free energy becomes more negative. This can be rationalised with the derivation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; G = H - TS &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Plug in &amp;lt;math&amp;gt;H = U + PV&amp;lt;/math&amp;gt; to get  &amp;lt;math&amp;gt;G = U + PV - TS&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dG = dU + PdV + VdP - TdS - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = q + w &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dq = TdS &amp;lt;/math&amp;gt; &amp;lt;math&amp;gt; dw = -PdV &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \therefore dG = VdP - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This implies that both the volume and the entropic factor contribute to the free energy. As the temperature increases the volume will increase, however the entropic factor will overcome this due to large change in temperature. This explains the trend observed in figure 12. &lt;br /&gt;
&lt;br /&gt;
We would expect a linear negative decrease - &amp;lt;math&amp;gt; \left( \frac{\partial G}{\partial T} \right)_P = -S &amp;lt;/math&amp;gt;. However figure 12 shows that the trend is a curve suggesting that the pressure may not be constant.&lt;br /&gt;
&lt;br /&gt;
The trend could also be explained using the Helmoholtz free energy equation used in the QHA. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The entropic contribution in the equation has a large dependence on temperature and therefore as temperature increases the entropic contribution becomes more negative. This is due to the exponential factor in the entropic contribution. This results in the Helmholtz becoming more negative.  &lt;br /&gt;
&lt;br /&gt;
===Calculating the Thermal expansion coefficients===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Linear Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{1}{L} \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{0.00002342}{2.986563} = 7.7815\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
L = the initial lattice constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 13&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Volumetric Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V} \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{0.00044612}{18.836496} = 2.3684\times 10^{-5}&amp;lt;/math&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
V = the initial volume constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 14&lt;br /&gt;
&lt;br /&gt;
For isotropic materials the volumetric coefficient is three times larger that then linear coefficient - 3&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;. For MgO &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt; is practically three times larger than &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; (3.04&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;) implying that MgO is an isotropic material &amp;lt;ref name=&amp;quot;Ref 6&amp;quot;/&amp;gt;, in other words lattice constants a, b and c expand at equal rates. At 200 K the L value increases to 2.987604 Å resulting in &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;7.839\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; which is close to the literature value of &amp;lt;math&amp;gt;7.39\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The main approximation with the QHA occurs at higher temperatures. This is because at higher temperatures the lattice experiences a larger anharmonic effect due to a larger deviation from bond equilibrium as more energy is put into the bond. Furthermore as anharmonicity comes from scattered phonons interacting due to lattice defect, this effect will be accentuated as lattice vibration gain more energy. The QHA simplifies the anharmonic effect by letting the phonon frequencies become volume dependent so therefore is unable to model the anharmonic effect well. Furthermore the born-oppenheimer approximation would become less valid at larger temperatures as the motion of nuclei becomes more important.&lt;br /&gt;
&lt;br /&gt;
== Molecular Dynamics ==&lt;br /&gt;
The crystal was then studied using Molecular Dynamics. In the previous investigations MgO has been described using a primitive cell containing a single MgO unit. Running an MD would not produce meaningful data as every cell would move perfectly in phase. By increasing the size of the cell the MD would become more accurate but become more computationally expensive so a compromise is reached for a cell containing 32 MgO units. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy temperature QHA MD.png|thumb|400px|Figure 15. Free Energy vs Temperature for MD compared to QHA]]&lt;br /&gt;
|[[File:JOHlatticeQHAMD2.png|thumb|400px|Figure 16. Lattice Constant vs Temperature for MD compared to QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics allows a system to evolve in time according to Newton&#039;s second law F=ma. As the system is treated classically energy can be modelled by the equipartition principle, &amp;lt;math&amp;gt;E = \frac{3}{2} k_B T&amp;lt;/math&amp;gt;, and as such the energy will increase linearly with temperature. In comparison QHA follows the relationship &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
This mean that the energy should decrease with temperature. Both the free energy modelled by MD and QHA can be seen in figure 15. &lt;br /&gt;
&lt;br /&gt;
Looking at figure 16 the MD and the QHA are similar between 400-1000 K, thus the volumetric expansion coefficients would be similar:&lt;br /&gt;
*MD - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; = 3.06 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
*QHA - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;  = 2.89 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
This similarity in data strengthens the reliability of the volumetric expansion coefficients between 400 - 1000 K. However, below 400 K the QHA begins to break from a linear trend and curve towards 18.84 Å&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt; whereas the MD follows the linear trend. At lower trends the anharmonic effect is not as prevalent so the QHA is a better model for the lattice constant at lower temperatures. The MD model does not accurately show how the free energy changes at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
===Limitation===&lt;br /&gt;
&lt;br /&gt;
Overall both QHA and MD models have their limitations. &lt;br /&gt;
&lt;br /&gt;
The atoms are modelled using a classical approach or in other words atoms are modelled as hard charged spheres. So the quantum mechanical contributions cannot be taken into account. This will reduced the accuracy of the models &lt;br /&gt;
&lt;br /&gt;
Furthermore, the models do not consider long-range interactions, only interactions of atoms relatively close. In a realistic crystal there will be interactions outside the nearest neighbours albeit small interactions. Thus slight inaccuracy in the models is seen. &lt;br /&gt;
&lt;br /&gt;
For both models it can be assumed that the trends can be extrapolated until the melting point of MgO is reached, as upon melting a change in volume occurs. Furthermore liquid MgO has no structured order so cannot be described by a repeated unit cell. &lt;br /&gt;
&lt;br /&gt;
In the QHA the interactions between atoms of different unit cells was not taken into consideration. There would be an energy increase if there was overlap between atoms in different cells.&lt;br /&gt;
&lt;br /&gt;
For these MD calculations, as only a small number of atoms were considered it was reasonable to use a time step of 1.0 femtoseconds. However, when considering a much larger system, say for example a protein, then this would become computationally expensive.&lt;br /&gt;
&lt;br /&gt;
==Conclusion== &lt;br /&gt;
The experiment showed the thermal expansion of MgO, the phonon dispersion and the DOS. Comparisons between the QHA and the MD were made, both approaches giving reasonable thermal expansion coefficients between 400-1000 K. At lower temperatures the QHA was a better model, due to the reduction in anharmonic effects.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 1&amp;quot; &amp;gt; O. Madelung, U. Rössler and M. Schulz, Eds., II-VI and I-VII compounds; Semimagnetic compounds, Springer-Verlag, 1999. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 2&amp;quot; &amp;gt; A. CIMINO, P. PORTA and M. VALIGI, Journal of the American Ceramic Society, 1966, 49, 152–156. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 3&amp;quot;&amp;gt; A. Baldereschi, Physical Review B, 1973, 7, 5212–5215. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 4&amp;quot; &amp;gt; E. J. Covington and D. J. Montgomery, J. Appl. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys, 2010, 27, 1030–53111. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 5&amp;quot; &amp;gt; J. A. Kaduk and J. Faber, The Rigaku journal 14 CRYSTAL STRUCTURE OF ZEOLITE Y AS A FUNCTION OF ION EXCHANGE, 1995. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 6&amp;quot; &amp;gt; J.R. Vinson, Plate and Panel structures of Isotropic, Composite and Piezoelectric Materials, including Sandwich Construction. Delaware; Springer; 2005. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Appendix==&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo phonon DOS 222 JOH.png|thumb|300px|Figure 1. Phonon DOS of MgO using 2x2x2 grid size]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Jo1213</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553429</id>
		<title>Rep:Mod:JOH95MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553429"/>
		<updated>2016-03-11T09:40:47Z</updated>

		<summary type="html">&lt;p&gt;Jo1213: /* Computing the Phonon Dispersion Curves */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
The experiment will investigate the properties of an MgO crystal. Firstly the dimensions of the unit cells will be investigates along with the associated energy. Then the phonon dispersion and DOS will be investigated, evaluating the optimal grid size to use. The energies of the crystal will be investigates along with the thermal expansion coefficients. Lastly the quasi-harmonic approximation (QHA) and the molecular dynamics (MD) will be compared. &lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon-based model used to describe volume-dependent thermal effects. The harmonic phonon model assumes that all intermolecular forces are harmonic. This is not sufficient to describe thermal expansion as there is no change to the equilibrium bond length as temperature increases. The QHA takes into account that molecules do have an anharmonic effect at higher temperatures by treating frequencies as volume dependent. &lt;br /&gt;
&lt;br /&gt;
The Molecular Dynamics approach allows a system to evolve in time according to Newton&#039;s second law &amp;lt;math&amp;gt;F=ma&amp;lt;/math&amp;gt;. The initial configurations and velocities are assigned to allow the program to iterate positions and velocities. The atoms follow trajectories and the properties, such as E and T, are computed as time averages of their behaviour.&lt;br /&gt;
&lt;br /&gt;
The programs used were RedHat Linux, DLVisulaize (DLV) and General Utility Lattice Program (GULP). DLV allows us to visualise the MgO crystals and GULP is used to perform simulations on materials using boundary conditions, in this case on a 3D lattice.&lt;br /&gt;
&lt;br /&gt;
== Internal Energy of MgO ==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:PC 1.png|left|thumb|300px|Figure 1. Primitive Cell of MgO]]&lt;br /&gt;
|[[File:CC .png|left|thumb|300px|Figure 2. Conventional Cell of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 1 shows the primitive unit cell of MgO. The primitive unit cell consists of 2 atoms Mg&amp;lt;sub&amp;gt;2+&amp;lt;/sub&amp;gt; and O&amp;lt;sub&amp;gt;2-&amp;lt;/sub&amp;gt; which are held together by a Buckingham repulsive potential. The unit cell has a rhombohedron shape with lattice constants of 2.9783 Å and an internal angle a = 60°. The primitive cell contains one lattice point and is the simplest cell to describe the crystal. A calculation was run on MgO. In the [https://wiki.ch.ic.ac.uk/wiki/images/e/e7/MgO_1_james.txt LogFile] GULF describes MgO using a primitive unit cell. The Cartesian lattice vectors of the cell are reported in table 1 and the total lattice energy was -41.07531759 eV which represents the energy to pull all the atom infinitely apart. The GULP calculation correlates with LCAO HF calculations found in literature (2.573 Å &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;). &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|-&lt;br /&gt;
|+ Table 1ː Cell Vector Dimensions/Å&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The conventional cell has four times the volume of the primitive cell as shown in figure 2. The structure of the cell is face centered cubic (FCC) which has an internal angel a = 90° and a lattice vector of 4.212 Å (which agrees with literature of 4.21 Å &amp;lt;ref name =&amp;quot;Ref 2&amp;quot; /&amp;gt;). The conventional cell is more representative of the crystal so is chosen in the calculations.&lt;br /&gt;
&lt;br /&gt;
==Computing the Phonon Dispersion Curves==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO Phonon Dispersion JOH.png|thumb|300px|Figure 3. Phonon Dispersion Graph of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The phonon dispersion curve was calculated, as shown in figure 3. The phonon frequencies were calculated along a path in k-space. Special points along the path, &amp;lt;math&amp;gt;W, L, \Gamma, X, W, K&amp;lt;/math&amp;gt;, can be seen in figure 3. There are two phonos modes associated with each axis, acoustic (in-phase) and optical (out-of-phase) phonons. In the 3D model three axis (x,y,z) are taken into consideration meaning there are 6 phonon modes as shown by the six different curves in figure 3. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:K=0 JOH.png|thumb|300px|Figure 4. Acoustic and optical modes at k=0]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The relationship between the wavevector k to the wavelength (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;k= \frac{2\pi}{\lambda}&amp;lt;/math&amp;gt;. Furthermore the relationship between wavelength (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) and frequency is &amp;lt;math&amp;gt; v = \frac{c}{\lambda} &amp;lt;/math&amp;gt;. As shown in figure 4 when k=0, for the acoustic mode, the wavelength approaches infinity and in turn the frequency approaches 0. For the optical mode the frequency is non-zero. With this information it is clear that at k=0 the dispersion graph is at symmetry point &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Following the path from &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;, to &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and then to &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; the acoustic modes splits into 3 modes, two transverse modes (TA) and one longitude mode (LA). The two TA are degenerate between &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; until it splits between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Phonon Density of States (DOS)==&lt;br /&gt;
The next part involved calculating the phonon density of states. The DOS is defined as the number of states per energy at a given energy, in this case vibrational frequency. The larger the number of k values considered in reciprocal space the more accurate the DOS. This is achieved by increasing the grid size (nxnxn) to give a better representation of the crystal by sampling more k values in reciprocal space. However, at a certain point the difference between k values is negligible so does not further increase the accuracy of the DOS. Furthermore calculating an infinite number of k values would take an infinite amount of computing time.&lt;br /&gt;
&lt;br /&gt;
The DOS was calculated for a 1x1x1 grid by setting the shrinking value to 1 as shown in figure 5. The grid size was then increased to find the optimum shrinking value that gave a good representation of the DOS without taking too long to calculate as shown by figures 6 through 10. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo Phonon DOS JOH 111.png|thumb|300px|Figure 5. Phonon DOS of MgO using 1x1x1 grid size]]&lt;br /&gt;
|[[File:JOHphononDOS444.png|thumb|300px|Figure 6. Phonon DOS of MgO using 4x4x4 grid size]]&lt;br /&gt;
|[[File:JOHDOS888.png|thumb|300px|Figure 7. Phonon DOS of MgO using 8x8x8 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOHDOS161616.png|thumb|300px|Figure 8. Phonon DOS of MgO using 16x16x16 grid size]]&lt;br /&gt;
|[[File:JOHDOS323232.png|thumb|300px|Figure 9. Phonon DOS of MgO using 32x32x32 grid size]]&lt;br /&gt;
|[[File:JOHDOS50.png|thumb|300px|Figure 10. Phonon DOS of MgO using 50x50x50 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 5 shows the DOS for a 1x1x1 grid size. The four peaks 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; 676 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 819 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; represent the four frequencies at point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The intensity of the peaks around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; is around double that of the peaks around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. This gives further evidence that the acoustic vibrational mode around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; are degenerate. The theorem about using the &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; point in reciprocal space for a 1x1x1 grid is called Baldereschi theorem &amp;lt;ref name = &amp;quot;Ref 3&amp;quot;/&amp;gt;. The idea being that point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is the most representative point in k-space as when you increase from grid size of 1x1x1 to 50x50x50 the main peak remains around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; with a smaller peak still around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The ideal grid size is one that represents the DOS without taking too long to calculate. From figure 8 onwards the shape of the curve does not change much, so it can be concluded that using a grid size of 16 is sufficient enough to gain a good understanding of the DOS without taking too long to calculate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:DOS dispersion JOH.png|thumb|400px|Figure 11. Comparing the dispersion curve with the DOS]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It is important to note the relationship between the dispersion curve and the DOS graph as shown in figure 11. The frequency in the phonon dispersion curve on the y axis is the same as the frequency on the DOS curve in the x-axis. It can be seen visually that the most popular states are around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The relationship between real space and reciprocal space is given by the formula &amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt; - a being the length in real space transformed to a* in reciprocal space. This shows that the larger the lattice constant a, the smaller the reciprocal cell. This is important to consider when assessing the DOS for other structures. Lithium has a lattice constant of 3.490 Å &amp;lt;ref name = &amp;quot;Ref 4&amp;quot;/&amp;gt; which is 0.721 Å lower that the conventional unit cell of MgO that is being modelled. Due to the inverse relationship of real to reciprocal space, lithium will have a larger cell in k space and therefore need a larger grid size to measure the DOS. Conversely Faujasite has a lattice constant of 24.7 Å &amp;lt;ref name = &amp;quot;Ref 5&amp;quot; /&amp;gt; which will give a much smaller cell in reciprocal space meaning that a smaller grid size would give an accurate measurement of the DOS as there are fewer k values needed to measure the cell. CaO has a very similar lattice constant meaning that a similar grid size would be needed to accurately measure the DOS - in this case a grid size of 16x16x16 would be sufficient.&lt;br /&gt;
&lt;br /&gt;
==Computing the Free Energy==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Table 2ː Energy vs Grid size&lt;br /&gt;
! Grid Size nxnxn/n&lt;br /&gt;
! Free Energy/eV&lt;br /&gt;
! Accuracy/ meV&lt;br /&gt;
! Log file&lt;br /&gt;
! rowspan=&amp;quot;9&amp;quot;|[[File:JOH Free energy vs grid size.png|thumb|400px|]]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| -40.930301&lt;br /&gt;
| 4&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/1/12/JOH_fe_MgO_111.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| -40.926609&lt;br /&gt;
| 0.2&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/aa/JOH_fe_MgO_222.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -40.926432&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4d/JOH_fe_MgO_333.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -40.926450&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/40/JOH_fe_MgO_444.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -40.926478&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/7/70/JOH_fe_MgO_888.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -40.926482&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4f/JOH_fe_MgO_16.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/ac/JOH_fe_MgO_32.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 50&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [[Media:JOH_fe_MgO_50.txt.zip|log file]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Table 2 displays the free energies of MgO as a function of grid size n. Similar to finding the ideal grid size to calculate the DOS, the optimal grid size to figure out the free energy can be found in table 2. As the grid size increases from 1 to 3 there is a sharp increase in the free energy from -40.930301 eV to -40.926432 eV, afterwards the free energy eventually converges at -40.926483 eV. The degree of accuracy follows this trend, from a grid size of 4 onwards the degree of accuracy is greater that 0.1 meV. There is no change in free energy from a grid size of 32 to 50 suggesting that a grid size of 32 is all that is needed to accurately determine the free energy of MgO. &lt;br /&gt;
&lt;br /&gt;
The graph in table 2 can be rationalized by the equation for the Helmholtz free energy - &amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A is the Helmholtz fee energy, U is the internal energy, T is temperature and S is entropy. As the grid size increases, the volume increases so the internal energy decreases (&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt;). This in turn means that the Helmholtz free energy would decrease.&lt;br /&gt;
&lt;br /&gt;
Furthermore as the number of microstates sampled increases the entropy term will increase according to the relationship &amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt;. This in turn means that the free energy will be lowered. By considering these two factors the decrease in free energy can be rationalised.&lt;br /&gt;
&lt;br /&gt;
==Thermal Expansion of MgO==&lt;br /&gt;
The structure of MgO will be optimised with respect to the free energy at different temperatures (0 - 1000 K in steps of 100 K). The free energy will be computed using the quasi-harmonic approximation (QHA) which uses the following expression: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
*&amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; = frequency of the vibration &lt;br /&gt;
*&amp;lt;math&amp;gt;E_{0}&amp;lt;/math&amp;gt; = zero point energy &lt;br /&gt;
*&amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; = Temperature&lt;br /&gt;
*&amp;lt;math&amp;gt;k_B&amp;lt;/math&amp;gt; = Boltzmann Constant &lt;br /&gt;
*&amp;lt;math&amp;gt;\hbar&amp;lt;/math&amp;gt; = reduced Planck&#039;s constant. &lt;br /&gt;
&lt;br /&gt;
The equations is split into three parts - the zero point energy and the harmonic and entropic contribution.&lt;br /&gt;
&lt;br /&gt;
In addition the coefficients of thermal expansion was calculated. The coefficient of thermal expansion describes how the size of an object changes with temperature. The larger the coefficient the greater the change in size as temperature increases. Several coefficients have been developed and the two that we will look at are the linear and volumetric thermal expansion. The generic equation is as follows:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\alpha_x = \frac{1}{x}\,\left(\frac{\partial x}{\partial T}\right)_p&lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* α&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt; = thermal expansion coefficient&lt;br /&gt;
* x = initial dimension &lt;br /&gt;
* ∂x = the partial derivative of the dimension under study &lt;br /&gt;
* ∂T = partial derivative of temperature (at constant pressure)&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy vs temp.png|thumb|400px|Figure 12. Free Energy dependence on Temperature for the QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH lattice constant vs temp.png|thumb|400px|Figure 13. Lattice Constant dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|[[File:JOH LV temp.png|thumb|400px|Figure 14. Lattice Volume dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 12 shows that as temperature increases the free energy becomes more negative. This can be rationalised with the derivation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; G = H - TS &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Plug in &amp;lt;math&amp;gt;H = U + PV&amp;lt;/math&amp;gt; to get  &amp;lt;math&amp;gt;G = U + PV - TS&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dG = dU + PdV + VdP - TdS - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = q + w &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dq = TdS &amp;lt;/math&amp;gt; &amp;lt;math&amp;gt; dw = -PdV &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \therefore dG = VdP - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This implies that both the volume and the entropic factor contribute to the free energy. As the temperature increases the volume will increase, however the entropic factor will overcome this due to large change in temperature. This explains the trend observed in figure 12. &lt;br /&gt;
&lt;br /&gt;
We would expect a linear negative decrease - &amp;lt;math&amp;gt; \left( \frac{\partial G}{\partial T} \right)_P = -S &amp;lt;/math&amp;gt;. However figure 12 shows that the trend is a curve suggesting that the pressure may not be constant.&lt;br /&gt;
&lt;br /&gt;
The trend could also be explained using the Helmoholtz free energy equation used in the QHA. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The entropic contribution in the equation has a large dependence on temperature and therefore as temperature increases the entropic contribution becomes more negative. This is due to the exponential factor in the entropic contribution. This results in the Helmholtz becoming more negative.  &lt;br /&gt;
&lt;br /&gt;
===Calculating the Thermal expansion coefficients===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Linear Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{1}{L} \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{0.00002342}{2.986563} = 7.7815\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
L = the initial lattice constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 13&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Volumetric Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V} \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{0.00044612}{18.836496} = 2.3684\times 10^{-5}&amp;lt;/math&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
V = the initial volume constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 14&lt;br /&gt;
&lt;br /&gt;
For isotropic materials the volumetric coefficient is three times larger that then linear coefficient - 3&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;. For MgO &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt; is practically three times larger than &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; (3.04&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;) implying that MgO is an isotropic material &amp;lt;ref name=&amp;quot;Ref 6&amp;quot;/&amp;gt;, in other words lattice constants a, b and c expand at equal rates. At 200 K the L value increases to 2.987604 Å resulting in &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;7.839\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; which is close to the literature value of &amp;lt;math&amp;gt;7.39\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The main approximation with the QHA occurs at higher temperatures. This is because at higher temperatures the lattice experiences a larger anharmonic effect due to a larger deviation from bond equilibrium as more energy is put into the bond. Furthermore as anharmonicity comes from scattered phonons interacting due to lattice defect, this effect will be accentuated as lattice vibration gain more energy. The QHA simplifies the anharmonic effect by letting the phonon frequencies become volume dependent so therefore is unable to model the anharmonic effect well. Furthermore the born-oppenheimer approximation would become less valid at larger temperatures as the motion of nuclei becomes more important.&lt;br /&gt;
&lt;br /&gt;
== Molecular Dynamics ==&lt;br /&gt;
The crystal was then studied using Molecular Dynamics. In the previous investigations MgO has been described using a primitive cell containing a single MgO unit. Running an MD would not produce meaningful data as every cell would move perfectly in phase. By increasing the size of the cell the MD would become more accurate but become more computationally expensive so a compromise is reached for a cell containing 32 MgO units. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy temperature QHA MD.png|thumb|400px|Figure 15. Free Energy vs Temperature for MD compared to QHA]]&lt;br /&gt;
|[[File:JOHlatticeQHAMD2.png|thumb|400px|Figure 16. Lattice Constant vs Temperature for MD compared to QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics allows a system to evolve in time according to Newton&#039;s second law F=ma. As the system is treated classically energy can be modelled by the equipartition principle, &amp;lt;math&amp;gt;E = \frac{3}{2} k_B T&amp;lt;/math&amp;gt;, and as such the energy will increase linearly with temperature. In comparison QHA follows the relationship &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
This mean that the energy should decrease with temperature. Both the free energy modelled by MD and QHA can be seen in figure 15. &lt;br /&gt;
&lt;br /&gt;
Looking at figure 16 the MD and the QHA are similar between 400-1000 K, thus the volumetric expansion coefficients would be similar:&lt;br /&gt;
*MD - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; = 3.06 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
*QHA - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;  = 2.89 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
This similarity in data strengthens the reliability of the volumetric expansion coefficients between 400 - 1000 K. However, below 400 K the QHA begins to break from a linear trend and curve towards 18.84 Å&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt; whereas the MD follows the linear trend. At lower trends the anharmonic effect is not as prevalent so the QHA is a better model for the lattice constant at lower temperatures. The MD model does not accurately show how the free energy changes at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
===Limitation===&lt;br /&gt;
&lt;br /&gt;
Overall both QHA and MD models have their limitations. &lt;br /&gt;
&lt;br /&gt;
The atoms are modelled using a classical approach or in other words atoms are modelled as hard charged spheres. So the quantum mechanical contributions cannot be taken into account. This will reduced the accuracy of the models &lt;br /&gt;
&lt;br /&gt;
Furthermore, the models do not consider long-range interactions, only interactions of atoms relatively close. In a realistic crystal there will be interactions outside the nearest neighbours albeit small interactions. Thus slight inaccuracy in the models is seen. &lt;br /&gt;
&lt;br /&gt;
For both models it can be assumed that the trends can be extrapolated until the melting point of MgO is reached, as upon melting a change in volume occurs. Furthermore liquid MgO has no structured order so cannot be described by a repeated unit cell. &lt;br /&gt;
&lt;br /&gt;
In the QHA the interactions between atoms of different unit cells was not taken into consideration. There would be an energy increase if there was overlap between atoms in different cells.&lt;br /&gt;
&lt;br /&gt;
For these MD calculations, as only a small number of atoms were considered it was reasonable to use a time step of 1.0 femtoseconds. However, when considering a much larger system, say for example a protein, then this would become computationally expensive.&lt;br /&gt;
&lt;br /&gt;
==Conclusion== &lt;br /&gt;
The experiment showed the thermal expansion of MgO, the phonon dispersion and the DOS. Comparisons between the QHA and the MD were made, both approaches giving reasonable thermal expansion coefficients between 400-1000 K. At lower temperatures the QHA was a better model, due to the reduction in anharmonic effects.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 1&amp;quot; &amp;gt; O. Madelung, U. Rössler and M. Schulz, Eds., II-VI and I-VII compounds; Semimagnetic compounds, Springer-Verlag, 1999. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 2&amp;quot; &amp;gt; A. CIMINO, P. PORTA and M. VALIGI, Journal of the American Ceramic Society, 1966, 49, 152–156. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 3&amp;quot;&amp;gt; A. Baldereschi, Physical Review B, 1973, 7, 5212–5215. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 4&amp;quot; &amp;gt; E. J. Covington and D. J. Montgomery, J. Appl. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys, 2010, 27, 1030–53111. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 5&amp;quot; &amp;gt; J. A. Kaduk and J. Faber, The Rigaku journal 14 CRYSTAL STRUCTURE OF ZEOLITE Y AS A FUNCTION OF ION EXCHANGE, 1995. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 6&amp;quot; &amp;gt; J.R. Vinson, Plate and Panel structures of Isotropic, Composite and Piezoelectric Materials, including Sandwich Construction. Delaware; Springer; 2005. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Appendix==&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo phonon DOS 222 JOH.png|thumb|300px|Figure 1. Phonon DOS of MgO using 2x2x2 grid size]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Jo1213</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553428</id>
		<title>Rep:Mod:JOH95MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553428"/>
		<updated>2016-03-11T09:40:04Z</updated>

		<summary type="html">&lt;p&gt;Jo1213: /* Internal Energy of MgO */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
The experiment will investigate the properties of an MgO crystal. Firstly the dimensions of the unit cells will be investigates along with the associated energy. Then the phonon dispersion and DOS will be investigated, evaluating the optimal grid size to use. The energies of the crystal will be investigates along with the thermal expansion coefficients. Lastly the quasi-harmonic approximation (QHA) and the molecular dynamics (MD) will be compared. &lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon-based model used to describe volume-dependent thermal effects. The harmonic phonon model assumes that all intermolecular forces are harmonic. This is not sufficient to describe thermal expansion as there is no change to the equilibrium bond length as temperature increases. The QHA takes into account that molecules do have an anharmonic effect at higher temperatures by treating frequencies as volume dependent. &lt;br /&gt;
&lt;br /&gt;
The Molecular Dynamics approach allows a system to evolve in time according to Newton&#039;s second law &amp;lt;math&amp;gt;F=ma&amp;lt;/math&amp;gt;. The initial configurations and velocities are assigned to allow the program to iterate positions and velocities. The atoms follow trajectories and the properties, such as E and T, are computed as time averages of their behaviour.&lt;br /&gt;
&lt;br /&gt;
The programs used were RedHat Linux, DLVisulaize (DLV) and General Utility Lattice Program (GULP). DLV allows us to visualise the MgO crystals and GULP is used to perform simulations on materials using boundary conditions, in this case on a 3D lattice.&lt;br /&gt;
&lt;br /&gt;
== Internal Energy of MgO ==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:PC 1.png|left|thumb|300px|Figure 1. Primitive Cell of MgO]]&lt;br /&gt;
|[[File:CC .png|left|thumb|300px|Figure 2. Conventional Cell of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 1 shows the primitive unit cell of MgO. The primitive unit cell consists of 2 atoms Mg&amp;lt;sub&amp;gt;2+&amp;lt;/sub&amp;gt; and O&amp;lt;sub&amp;gt;2-&amp;lt;/sub&amp;gt; which are held together by a Buckingham repulsive potential. The unit cell has a rhombohedron shape with lattice constants of 2.9783 Å and an internal angle a = 60°. The primitive cell contains one lattice point and is the simplest cell to describe the crystal. A calculation was run on MgO. In the [https://wiki.ch.ic.ac.uk/wiki/images/e/e7/MgO_1_james.txt LogFile] GULF describes MgO using a primitive unit cell. The Cartesian lattice vectors of the cell are reported in table 1 and the total lattice energy was -41.07531759 eV which represents the energy to pull all the atom infinitely apart. The GULP calculation correlates with LCAO HF calculations found in literature (2.573 Å &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;). &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|-&lt;br /&gt;
|+ Table 1ː Cell Vector Dimensions/Å&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The conventional cell has four times the volume of the primitive cell as shown in figure 2. The structure of the cell is face centered cubic (FCC) which has an internal angel a = 90° and a lattice vector of 4.212 Å (which agrees with literature of 4.21 Å &amp;lt;ref name =&amp;quot;Ref 2&amp;quot; /&amp;gt;). The conventional cell is more representative of the crystal so is chosen in the calculations.&lt;br /&gt;
&lt;br /&gt;
==Computing the Phonon Dispersion Curves==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO Phonon Dispersion JOH.png|thumb|300px|Figure 3. Phonon Dispersion Graph of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The phonon dispersion curve was calculated, as shown in figure 3. The phonon frequencies were calculated along a path in k-space. Special points along the path, &amp;lt;math&amp;gt;W, L, \Gamma, X, W, K&amp;lt;/math&amp;gt;, can be seen in figure 3.. There are two phonos modes associated with each axis, acoustic (in-phase) and optical (out-of-phase) phonons. In the 3D model three axis (x,y,z) are taken into consideration meaning there are 6 phonon modes as shown by the six different curves in figure 3. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:K=0 JOH.png|thumb|300px|Figure 4. Acoustic and optical modes at k=0]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The relationship between the wavevector k to the wavelength (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;k= \frac{2\pi}{\lambda}&amp;lt;/math&amp;gt;. Furthermore the relationship between wavelength (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) and frequency is &amp;lt;math&amp;gt; v = \frac{c}{\lambda} &amp;lt;/math&amp;gt;. As shown in figure 4 when k=0, for the acoustic mode, the wavelength approaches infinity and in turn the frequency approaches 0. For the optical mode the frequency is non-zero. With this information it is clear that at k=0 the dispersion graph is at symmetry point &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Following the path from &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;, to &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and then to &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; the acoustic modes splits into 3 modes, two transverse modes (TA) and one longitude mode (LA). The two TA are degenerate between &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; until it splits between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Phonon Density of States (DOS)==&lt;br /&gt;
The next part involved calculating the phonon density of states. The DOS is defined as the number of states per energy at a given energy, in this case vibrational frequency. The larger the number of k values considered in reciprocal space the more accurate the DOS. This is achieved by increasing the grid size (nxnxn) to give a better representation of the crystal by sampling more k values in reciprocal space. However, at a certain point the difference between k values is negligible so does not further increase the accuracy of the DOS. Furthermore calculating an infinite number of k values would take an infinite amount of computing time.&lt;br /&gt;
&lt;br /&gt;
The DOS was calculated for a 1x1x1 grid by setting the shrinking value to 1 as shown in figure 5. The grid size was then increased to find the optimum shrinking value that gave a good representation of the DOS without taking too long to calculate as shown by figures 6 through 10. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo Phonon DOS JOH 111.png|thumb|300px|Figure 5. Phonon DOS of MgO using 1x1x1 grid size]]&lt;br /&gt;
|[[File:JOHphononDOS444.png|thumb|300px|Figure 6. Phonon DOS of MgO using 4x4x4 grid size]]&lt;br /&gt;
|[[File:JOHDOS888.png|thumb|300px|Figure 7. Phonon DOS of MgO using 8x8x8 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOHDOS161616.png|thumb|300px|Figure 8. Phonon DOS of MgO using 16x16x16 grid size]]&lt;br /&gt;
|[[File:JOHDOS323232.png|thumb|300px|Figure 9. Phonon DOS of MgO using 32x32x32 grid size]]&lt;br /&gt;
|[[File:JOHDOS50.png|thumb|300px|Figure 10. Phonon DOS of MgO using 50x50x50 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 5 shows the DOS for a 1x1x1 grid size. The four peaks 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; 676 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 819 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; represent the four frequencies at point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The intensity of the peaks around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; is around double that of the peaks around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. This gives further evidence that the acoustic vibrational mode around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; are degenerate. The theorem about using the &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; point in reciprocal space for a 1x1x1 grid is called Baldereschi theorem &amp;lt;ref name = &amp;quot;Ref 3&amp;quot;/&amp;gt;. The idea being that point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is the most representative point in k-space as when you increase from grid size of 1x1x1 to 50x50x50 the main peak remains around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; with a smaller peak still around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The ideal grid size is one that represents the DOS without taking too long to calculate. From figure 8 onwards the shape of the curve does not change much, so it can be concluded that using a grid size of 16 is sufficient enough to gain a good understanding of the DOS without taking too long to calculate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:DOS dispersion JOH.png|thumb|400px|Figure 11. Comparing the dispersion curve with the DOS]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It is important to note the relationship between the dispersion curve and the DOS graph as shown in figure 11. The frequency in the phonon dispersion curve on the y axis is the same as the frequency on the DOS curve in the x-axis. It can be seen visually that the most popular states are around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The relationship between real space and reciprocal space is given by the formula &amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt; - a being the length in real space transformed to a* in reciprocal space. This shows that the larger the lattice constant a, the smaller the reciprocal cell. This is important to consider when assessing the DOS for other structures. Lithium has a lattice constant of 3.490 Å &amp;lt;ref name = &amp;quot;Ref 4&amp;quot;/&amp;gt; which is 0.721 Å lower that the conventional unit cell of MgO that is being modelled. Due to the inverse relationship of real to reciprocal space, lithium will have a larger cell in k space and therefore need a larger grid size to measure the DOS. Conversely Faujasite has a lattice constant of 24.7 Å &amp;lt;ref name = &amp;quot;Ref 5&amp;quot; /&amp;gt; which will give a much smaller cell in reciprocal space meaning that a smaller grid size would give an accurate measurement of the DOS as there are fewer k values needed to measure the cell. CaO has a very similar lattice constant meaning that a similar grid size would be needed to accurately measure the DOS - in this case a grid size of 16x16x16 would be sufficient.&lt;br /&gt;
&lt;br /&gt;
==Computing the Free Energy==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Table 2ː Energy vs Grid size&lt;br /&gt;
! Grid Size nxnxn/n&lt;br /&gt;
! Free Energy/eV&lt;br /&gt;
! Accuracy/ meV&lt;br /&gt;
! Log file&lt;br /&gt;
! rowspan=&amp;quot;9&amp;quot;|[[File:JOH Free energy vs grid size.png|thumb|400px|]]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| -40.930301&lt;br /&gt;
| 4&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/1/12/JOH_fe_MgO_111.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| -40.926609&lt;br /&gt;
| 0.2&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/aa/JOH_fe_MgO_222.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -40.926432&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4d/JOH_fe_MgO_333.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -40.926450&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/40/JOH_fe_MgO_444.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -40.926478&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/7/70/JOH_fe_MgO_888.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -40.926482&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4f/JOH_fe_MgO_16.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/ac/JOH_fe_MgO_32.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 50&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [[Media:JOH_fe_MgO_50.txt.zip|log file]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Table 2 displays the free energies of MgO as a function of grid size n. Similar to finding the ideal grid size to calculate the DOS, the optimal grid size to figure out the free energy can be found in table 2. As the grid size increases from 1 to 3 there is a sharp increase in the free energy from -40.930301 eV to -40.926432 eV, afterwards the free energy eventually converges at -40.926483 eV. The degree of accuracy follows this trend, from a grid size of 4 onwards the degree of accuracy is greater that 0.1 meV. There is no change in free energy from a grid size of 32 to 50 suggesting that a grid size of 32 is all that is needed to accurately determine the free energy of MgO. &lt;br /&gt;
&lt;br /&gt;
The graph in table 2 can be rationalized by the equation for the Helmholtz free energy - &amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A is the Helmholtz fee energy, U is the internal energy, T is temperature and S is entropy. As the grid size increases, the volume increases so the internal energy decreases (&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt;). This in turn means that the Helmholtz free energy would decrease.&lt;br /&gt;
&lt;br /&gt;
Furthermore as the number of microstates sampled increases the entropy term will increase according to the relationship &amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt;. This in turn means that the free energy will be lowered. By considering these two factors the decrease in free energy can be rationalised.&lt;br /&gt;
&lt;br /&gt;
==Thermal Expansion of MgO==&lt;br /&gt;
The structure of MgO will be optimised with respect to the free energy at different temperatures (0 - 1000 K in steps of 100 K). The free energy will be computed using the quasi-harmonic approximation (QHA) which uses the following expression: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
*&amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; = frequency of the vibration &lt;br /&gt;
*&amp;lt;math&amp;gt;E_{0}&amp;lt;/math&amp;gt; = zero point energy &lt;br /&gt;
*&amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; = Temperature&lt;br /&gt;
*&amp;lt;math&amp;gt;k_B&amp;lt;/math&amp;gt; = Boltzmann Constant &lt;br /&gt;
*&amp;lt;math&amp;gt;\hbar&amp;lt;/math&amp;gt; = reduced Planck&#039;s constant. &lt;br /&gt;
&lt;br /&gt;
The equations is split into three parts - the zero point energy and the harmonic and entropic contribution.&lt;br /&gt;
&lt;br /&gt;
In addition the coefficients of thermal expansion was calculated. The coefficient of thermal expansion describes how the size of an object changes with temperature. The larger the coefficient the greater the change in size as temperature increases. Several coefficients have been developed and the two that we will look at are the linear and volumetric thermal expansion. The generic equation is as follows:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\alpha_x = \frac{1}{x}\,\left(\frac{\partial x}{\partial T}\right)_p&lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* α&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt; = thermal expansion coefficient&lt;br /&gt;
* x = initial dimension &lt;br /&gt;
* ∂x = the partial derivative of the dimension under study &lt;br /&gt;
* ∂T = partial derivative of temperature (at constant pressure)&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy vs temp.png|thumb|400px|Figure 12. Free Energy dependence on Temperature for the QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH lattice constant vs temp.png|thumb|400px|Figure 13. Lattice Constant dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|[[File:JOH LV temp.png|thumb|400px|Figure 14. Lattice Volume dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 12 shows that as temperature increases the free energy becomes more negative. This can be rationalised with the derivation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; G = H - TS &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Plug in &amp;lt;math&amp;gt;H = U + PV&amp;lt;/math&amp;gt; to get  &amp;lt;math&amp;gt;G = U + PV - TS&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dG = dU + PdV + VdP - TdS - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = q + w &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dq = TdS &amp;lt;/math&amp;gt; &amp;lt;math&amp;gt; dw = -PdV &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \therefore dG = VdP - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This implies that both the volume and the entropic factor contribute to the free energy. As the temperature increases the volume will increase, however the entropic factor will overcome this due to large change in temperature. This explains the trend observed in figure 12. &lt;br /&gt;
&lt;br /&gt;
We would expect a linear negative decrease - &amp;lt;math&amp;gt; \left( \frac{\partial G}{\partial T} \right)_P = -S &amp;lt;/math&amp;gt;. However figure 12 shows that the trend is a curve suggesting that the pressure may not be constant.&lt;br /&gt;
&lt;br /&gt;
The trend could also be explained using the Helmoholtz free energy equation used in the QHA. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The entropic contribution in the equation has a large dependence on temperature and therefore as temperature increases the entropic contribution becomes more negative. This is due to the exponential factor in the entropic contribution. This results in the Helmholtz becoming more negative.  &lt;br /&gt;
&lt;br /&gt;
===Calculating the Thermal expansion coefficients===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Linear Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{1}{L} \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{0.00002342}{2.986563} = 7.7815\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
L = the initial lattice constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 13&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Volumetric Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V} \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{0.00044612}{18.836496} = 2.3684\times 10^{-5}&amp;lt;/math&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
V = the initial volume constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 14&lt;br /&gt;
&lt;br /&gt;
For isotropic materials the volumetric coefficient is three times larger that then linear coefficient - 3&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;. For MgO &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt; is practically three times larger than &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; (3.04&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;) implying that MgO is an isotropic material &amp;lt;ref name=&amp;quot;Ref 6&amp;quot;/&amp;gt;, in other words lattice constants a, b and c expand at equal rates. At 200 K the L value increases to 2.987604 Å resulting in &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;7.839\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; which is close to the literature value of &amp;lt;math&amp;gt;7.39\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The main approximation with the QHA occurs at higher temperatures. This is because at higher temperatures the lattice experiences a larger anharmonic effect due to a larger deviation from bond equilibrium as more energy is put into the bond. Furthermore as anharmonicity comes from scattered phonons interacting due to lattice defect, this effect will be accentuated as lattice vibration gain more energy. The QHA simplifies the anharmonic effect by letting the phonon frequencies become volume dependent so therefore is unable to model the anharmonic effect well. Furthermore the born-oppenheimer approximation would become less valid at larger temperatures as the motion of nuclei becomes more important.&lt;br /&gt;
&lt;br /&gt;
== Molecular Dynamics ==&lt;br /&gt;
The crystal was then studied using Molecular Dynamics. In the previous investigations MgO has been described using a primitive cell containing a single MgO unit. Running an MD would not produce meaningful data as every cell would move perfectly in phase. By increasing the size of the cell the MD would become more accurate but become more computationally expensive so a compromise is reached for a cell containing 32 MgO units. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy temperature QHA MD.png|thumb|400px|Figure 15. Free Energy vs Temperature for MD compared to QHA]]&lt;br /&gt;
|[[File:JOHlatticeQHAMD2.png|thumb|400px|Figure 16. Lattice Constant vs Temperature for MD compared to QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics allows a system to evolve in time according to Newton&#039;s second law F=ma. As the system is treated classically energy can be modelled by the equipartition principle, &amp;lt;math&amp;gt;E = \frac{3}{2} k_B T&amp;lt;/math&amp;gt;, and as such the energy will increase linearly with temperature. In comparison QHA follows the relationship &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
This mean that the energy should decrease with temperature. Both the free energy modelled by MD and QHA can be seen in figure 15. &lt;br /&gt;
&lt;br /&gt;
Looking at figure 16 the MD and the QHA are similar between 400-1000 K, thus the volumetric expansion coefficients would be similar:&lt;br /&gt;
*MD - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; = 3.06 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
*QHA - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;  = 2.89 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
This similarity in data strengthens the reliability of the volumetric expansion coefficients between 400 - 1000 K. However, below 400 K the QHA begins to break from a linear trend and curve towards 18.84 Å&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt; whereas the MD follows the linear trend. At lower trends the anharmonic effect is not as prevalent so the QHA is a better model for the lattice constant at lower temperatures. The MD model does not accurately show how the free energy changes at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
===Limitation===&lt;br /&gt;
&lt;br /&gt;
Overall both QHA and MD models have their limitations. &lt;br /&gt;
&lt;br /&gt;
The atoms are modelled using a classical approach or in other words atoms are modelled as hard charged spheres. So the quantum mechanical contributions cannot be taken into account. This will reduced the accuracy of the models &lt;br /&gt;
&lt;br /&gt;
Furthermore, the models do not consider long-range interactions, only interactions of atoms relatively close. In a realistic crystal there will be interactions outside the nearest neighbours albeit small interactions. Thus slight inaccuracy in the models is seen. &lt;br /&gt;
&lt;br /&gt;
For both models it can be assumed that the trends can be extrapolated until the melting point of MgO is reached, as upon melting a change in volume occurs. Furthermore liquid MgO has no structured order so cannot be described by a repeated unit cell. &lt;br /&gt;
&lt;br /&gt;
In the QHA the interactions between atoms of different unit cells was not taken into consideration. There would be an energy increase if there was overlap between atoms in different cells.&lt;br /&gt;
&lt;br /&gt;
For these MD calculations, as only a small number of atoms were considered it was reasonable to use a time step of 1.0 femtoseconds. However, when considering a much larger system, say for example a protein, then this would become computationally expensive.&lt;br /&gt;
&lt;br /&gt;
==Conclusion== &lt;br /&gt;
The experiment showed the thermal expansion of MgO, the phonon dispersion and the DOS. Comparisons between the QHA and the MD were made, both approaches giving reasonable thermal expansion coefficients between 400-1000 K. At lower temperatures the QHA was a better model, due to the reduction in anharmonic effects.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 1&amp;quot; &amp;gt; O. Madelung, U. Rössler and M. Schulz, Eds., II-VI and I-VII compounds; Semimagnetic compounds, Springer-Verlag, 1999. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 2&amp;quot; &amp;gt; A. CIMINO, P. PORTA and M. VALIGI, Journal of the American Ceramic Society, 1966, 49, 152–156. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 3&amp;quot;&amp;gt; A. Baldereschi, Physical Review B, 1973, 7, 5212–5215. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 4&amp;quot; &amp;gt; E. J. Covington and D. J. Montgomery, J. Appl. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys, 2010, 27, 1030–53111. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 5&amp;quot; &amp;gt; J. A. Kaduk and J. Faber, The Rigaku journal 14 CRYSTAL STRUCTURE OF ZEOLITE Y AS A FUNCTION OF ION EXCHANGE, 1995. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 6&amp;quot; &amp;gt; J.R. Vinson, Plate and Panel structures of Isotropic, Composite and Piezoelectric Materials, including Sandwich Construction. Delaware; Springer; 2005. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Appendix==&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo phonon DOS 222 JOH.png|thumb|300px|Figure 1. Phonon DOS of MgO using 2x2x2 grid size]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Jo1213</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553416</id>
		<title>Rep:Mod:JOH95MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553416"/>
		<updated>2016-03-11T09:26:29Z</updated>

		<summary type="html">&lt;p&gt;Jo1213: /* Introduction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
The experiment will investigate the properties of an MgO crystal. Firstly the dimensions of the unit cells will be investigates along with the associated energy. Then the phonon dispersion and DOS will be investigated, evaluating the optimal grid size to use. The energies of the crystal will be investigates along with the thermal expansion coefficients. Lastly the quasi-harmonic approximation (QHA) and the molecular dynamics (MD) will be compared. &lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon-based model used to describe volume-dependent thermal effects. The harmonic phonon model assumes that all intermolecular forces are harmonic. This is not sufficient to describe thermal expansion as there is no change to the equilibrium bond length as temperature increases. The QHA takes into account that molecules do have an anharmonic effect at higher temperatures by treating frequencies as volume dependent. &lt;br /&gt;
&lt;br /&gt;
The Molecular Dynamics approach allows a system to evolve in time according to Newton&#039;s second law &amp;lt;math&amp;gt;F=ma&amp;lt;/math&amp;gt;. The initial configurations and velocities are assigned to allow the program to iterate positions and velocities. The atoms follow trajectories and the properties, such as E and T, are computed as time averages of their behaviour.&lt;br /&gt;
&lt;br /&gt;
The programs used were RedHat Linux, DLVisulaize (DLV) and General Utility Lattice Program (GULP). DLV allows us to visualise the MgO crystals and GULP is used to perform simulations on materials using boundary conditions, in this case on a 3D lattice.&lt;br /&gt;
&lt;br /&gt;
== Internal Energy of MgO ==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:PC 1.png|left|thumb|300px|Figure 1. Primitive Cell of MgO]]&lt;br /&gt;
|[[File:CC .png|left|thumb|300px|Figure 2. Conventional Cell of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
GULP was used to determine the energy per unit cell of MgO. In the [https://wiki.ch.ic.ac.uk/wiki/images/e/e7/MgO_1_james.txt LogFile] GULF describes MgO using a primitive unit cell as shown in figure 1. The primitive unit cell has two atoms Mg and O in the shape of a rhombohedron of side 2.9783 Å and an internal angle a = 60°. It contains one lattice point and is the simplest cell to describe the crystal. It only consists of 2 atoms (Mg and O). The Cartesian lattice vectors of the cell are reported in table 1 and the total lattice energy was -41.07531759 eV which represents the energy to pull all the atom infinitely apart. The GULP calculation correlates with LCAO HF calculations found in literature (2.573 Å &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;). &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|-&lt;br /&gt;
|+ Table 1ː Cell Vector Dimensions/Å&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The conventional cell has four times the volume of the primitive cell as shown in figure 2. The cell has an internal angel a = 90° and a lattice vector of 4.212 Å (which agrees with literature of 4.21 Å &amp;lt;ref name =&amp;quot;Ref 2&amp;quot; /&amp;gt;). The conventional cell is more representative of the crystal so is chosen in the calculations.&lt;br /&gt;
&lt;br /&gt;
==Computing the Phonon Dispersion Curves==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO Phonon Dispersion JOH.png|thumb|300px|Figure 3. Phonon Dispersion Graph of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The phonon dispersion curve was calculated, as shown in figure 3. The phonon frequencies were calculated along a path in k-space. Special points along the path, &amp;lt;math&amp;gt;W, L, \Gamma, X, W, K&amp;lt;/math&amp;gt;, can be seen in figure 3.. There are two phonos modes associated with each axis, acoustic (in-phase) and optical (out-of-phase) phonons. In the 3D model three axis (x,y,z) are taken into consideration meaning there are 6 phonon modes as shown by the six different curves in figure 3. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:K=0 JOH.png|thumb|300px|Figure 4. Acoustic and optical modes at k=0]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The relationship between the wavevector k to the wavelength (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;k= \frac{2\pi}{\lambda}&amp;lt;/math&amp;gt;. Furthermore the relationship between wavelength (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) and frequency is &amp;lt;math&amp;gt; v = \frac{c}{\lambda} &amp;lt;/math&amp;gt;. As shown in figure 4 when k=0, for the acoustic mode, the wavelength approaches infinity and in turn the frequency approaches 0. For the optical mode the frequency is non-zero. With this information it is clear that at k=0 the dispersion graph is at symmetry point &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Following the path from &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;, to &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and then to &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; the acoustic modes splits into 3 modes, two transverse modes (TA) and one longitude mode (LA). The two TA are degenerate between &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; until it splits between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Phonon Density of States (DOS)==&lt;br /&gt;
The next part involved calculating the phonon density of states. The DOS is defined as the number of states per energy at a given energy, in this case vibrational frequency. The larger the number of k values considered in reciprocal space the more accurate the DOS. This is achieved by increasing the grid size (nxnxn) to give a better representation of the crystal by sampling more k values in reciprocal space. However, at a certain point the difference between k values is negligible so does not further increase the accuracy of the DOS. Furthermore calculating an infinite number of k values would take an infinite amount of computing time.&lt;br /&gt;
&lt;br /&gt;
The DOS was calculated for a 1x1x1 grid by setting the shrinking value to 1 as shown in figure 5. The grid size was then increased to find the optimum shrinking value that gave a good representation of the DOS without taking too long to calculate as shown by figures 6 through 10. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo Phonon DOS JOH 111.png|thumb|300px|Figure 5. Phonon DOS of MgO using 1x1x1 grid size]]&lt;br /&gt;
|[[File:JOHphononDOS444.png|thumb|300px|Figure 6. Phonon DOS of MgO using 4x4x4 grid size]]&lt;br /&gt;
|[[File:JOHDOS888.png|thumb|300px|Figure 7. Phonon DOS of MgO using 8x8x8 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOHDOS161616.png|thumb|300px|Figure 8. Phonon DOS of MgO using 16x16x16 grid size]]&lt;br /&gt;
|[[File:JOHDOS323232.png|thumb|300px|Figure 9. Phonon DOS of MgO using 32x32x32 grid size]]&lt;br /&gt;
|[[File:JOHDOS50.png|thumb|300px|Figure 10. Phonon DOS of MgO using 50x50x50 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 5 shows the DOS for a 1x1x1 grid size. The four peaks 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; 676 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 819 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; represent the four frequencies at point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The intensity of the peaks around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; is around double that of the peaks around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. This gives further evidence that the acoustic vibrational mode around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; are degenerate. The theorem about using the &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; point in reciprocal space for a 1x1x1 grid is called Baldereschi theorem &amp;lt;ref name = &amp;quot;Ref 3&amp;quot;/&amp;gt;. The idea being that point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is the most representative point in k-space as when you increase from grid size of 1x1x1 to 50x50x50 the main peak remains around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; with a smaller peak still around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The ideal grid size is one that represents the DOS without taking too long to calculate. From figure 8 onwards the shape of the curve does not change much, so it can be concluded that using a grid size of 16 is sufficient enough to gain a good understanding of the DOS without taking too long to calculate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:DOS dispersion JOH.png|thumb|400px|Figure 11. Comparing the dispersion curve with the DOS]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It is important to note the relationship between the dispersion curve and the DOS graph as shown in figure 11. The frequency in the phonon dispersion curve on the y axis is the same as the frequency on the DOS curve in the x-axis. It can be seen visually that the most popular states are around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The relationship between real space and reciprocal space is given by the formula &amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt; - a being the length in real space transformed to a* in reciprocal space. This shows that the larger the lattice constant a, the smaller the reciprocal cell. This is important to consider when assessing the DOS for other structures. Lithium has a lattice constant of 3.490 Å &amp;lt;ref name = &amp;quot;Ref 4&amp;quot;/&amp;gt; which is 0.721 Å lower that the conventional unit cell of MgO that is being modelled. Due to the inverse relationship of real to reciprocal space, lithium will have a larger cell in k space and therefore need a larger grid size to measure the DOS. Conversely Faujasite has a lattice constant of 24.7 Å &amp;lt;ref name = &amp;quot;Ref 5&amp;quot; /&amp;gt; which will give a much smaller cell in reciprocal space meaning that a smaller grid size would give an accurate measurement of the DOS as there are fewer k values needed to measure the cell. CaO has a very similar lattice constant meaning that a similar grid size would be needed to accurately measure the DOS - in this case a grid size of 16x16x16 would be sufficient.&lt;br /&gt;
&lt;br /&gt;
==Computing the Free Energy==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Table 2ː Energy vs Grid size&lt;br /&gt;
! Grid Size nxnxn/n&lt;br /&gt;
! Free Energy/eV&lt;br /&gt;
! Accuracy/ meV&lt;br /&gt;
! Log file&lt;br /&gt;
! rowspan=&amp;quot;9&amp;quot;|[[File:JOH Free energy vs grid size.png|thumb|400px|]]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| -40.930301&lt;br /&gt;
| 4&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/1/12/JOH_fe_MgO_111.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| -40.926609&lt;br /&gt;
| 0.2&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/aa/JOH_fe_MgO_222.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -40.926432&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4d/JOH_fe_MgO_333.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -40.926450&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/40/JOH_fe_MgO_444.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -40.926478&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/7/70/JOH_fe_MgO_888.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -40.926482&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4f/JOH_fe_MgO_16.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/ac/JOH_fe_MgO_32.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 50&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [[Media:JOH_fe_MgO_50.txt.zip|log file]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Table 2 displays the free energies of MgO as a function of grid size n. Similar to finding the ideal grid size to calculate the DOS, the optimal grid size to figure out the free energy can be found in table 2. As the grid size increases from 1 to 3 there is a sharp increase in the free energy from -40.930301 eV to -40.926432 eV, afterwards the free energy eventually converges at -40.926483 eV. The degree of accuracy follows this trend, from a grid size of 4 onwards the degree of accuracy is greater that 0.1 meV. There is no change in free energy from a grid size of 32 to 50 suggesting that a grid size of 32 is all that is needed to accurately determine the free energy of MgO. &lt;br /&gt;
&lt;br /&gt;
The graph in table 2 can be rationalized by the equation for the Helmholtz free energy - &amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A is the Helmholtz fee energy, U is the internal energy, T is temperature and S is entropy. As the grid size increases, the volume increases so the internal energy decreases (&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt;). This in turn means that the Helmholtz free energy would decrease.&lt;br /&gt;
&lt;br /&gt;
Furthermore as the number of microstates sampled increases the entropy term will increase according to the relationship &amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt;. This in turn means that the free energy will be lowered. By considering these two factors the decrease in free energy can be rationalised.&lt;br /&gt;
&lt;br /&gt;
==Thermal Expansion of MgO==&lt;br /&gt;
The structure of MgO will be optimised with respect to the free energy at different temperatures (0 - 1000 K in steps of 100 K). The free energy will be computed using the quasi-harmonic approximation (QHA) which uses the following expression: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
*&amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; = frequency of the vibration &lt;br /&gt;
*&amp;lt;math&amp;gt;E_{0}&amp;lt;/math&amp;gt; = zero point energy &lt;br /&gt;
*&amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; = Temperature&lt;br /&gt;
*&amp;lt;math&amp;gt;k_B&amp;lt;/math&amp;gt; = Boltzmann Constant &lt;br /&gt;
*&amp;lt;math&amp;gt;\hbar&amp;lt;/math&amp;gt; = reduced Planck&#039;s constant. &lt;br /&gt;
&lt;br /&gt;
The equations is split into three parts - the zero point energy and the harmonic and entropic contribution.&lt;br /&gt;
&lt;br /&gt;
In addition the coefficients of thermal expansion was calculated. The coefficient of thermal expansion describes how the size of an object changes with temperature. The larger the coefficient the greater the change in size as temperature increases. Several coefficients have been developed and the two that we will look at are the linear and volumetric thermal expansion. The generic equation is as follows:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\alpha_x = \frac{1}{x}\,\left(\frac{\partial x}{\partial T}\right)_p&lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* α&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt; = thermal expansion coefficient&lt;br /&gt;
* x = initial dimension &lt;br /&gt;
* ∂x = the partial derivative of the dimension under study &lt;br /&gt;
* ∂T = partial derivative of temperature (at constant pressure)&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy vs temp.png|thumb|400px|Figure 12. Free Energy dependence on Temperature for the QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH lattice constant vs temp.png|thumb|400px|Figure 13. Lattice Constant dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|[[File:JOH LV temp.png|thumb|400px|Figure 14. Lattice Volume dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 12 shows that as temperature increases the free energy becomes more negative. This can be rationalised with the derivation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; G = H - TS &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Plug in &amp;lt;math&amp;gt;H = U + PV&amp;lt;/math&amp;gt; to get  &amp;lt;math&amp;gt;G = U + PV - TS&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dG = dU + PdV + VdP - TdS - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = q + w &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dq = TdS &amp;lt;/math&amp;gt; &amp;lt;math&amp;gt; dw = -PdV &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \therefore dG = VdP - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This implies that both the volume and the entropic factor contribute to the free energy. As the temperature increases the volume will increase, however the entropic factor will overcome this due to large change in temperature. This explains the trend observed in figure 12. &lt;br /&gt;
&lt;br /&gt;
We would expect a linear negative decrease - &amp;lt;math&amp;gt; \left( \frac{\partial G}{\partial T} \right)_P = -S &amp;lt;/math&amp;gt;. However figure 12 shows that the trend is a curve suggesting that the pressure may not be constant.&lt;br /&gt;
&lt;br /&gt;
The trend could also be explained using the Helmoholtz free energy equation used in the QHA. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The entropic contribution in the equation has a large dependence on temperature and therefore as temperature increases the entropic contribution becomes more negative. This is due to the exponential factor in the entropic contribution. This results in the Helmholtz becoming more negative.  &lt;br /&gt;
&lt;br /&gt;
===Calculating the Thermal expansion coefficients===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Linear Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{1}{L} \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{0.00002342}{2.986563} = 7.7815\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
L = the initial lattice constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 13&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Volumetric Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V} \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{0.00044612}{18.836496} = 2.3684\times 10^{-5}&amp;lt;/math&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
V = the initial volume constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 14&lt;br /&gt;
&lt;br /&gt;
For isotropic materials the volumetric coefficient is three times larger that then linear coefficient - 3&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;. For MgO &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt; is practically three times larger than &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; (3.04&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;) implying that MgO is an isotropic material &amp;lt;ref name=&amp;quot;Ref 6&amp;quot;/&amp;gt;, in other words lattice constants a, b and c expand at equal rates. At 200 K the L value increases to 2.987604 Å resulting in &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;7.839\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; which is close to the literature value of &amp;lt;math&amp;gt;7.39\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The main approximation with the QHA occurs at higher temperatures. This is because at higher temperatures the lattice experiences a larger anharmonic effect due to a larger deviation from bond equilibrium as more energy is put into the bond. Furthermore as anharmonicity comes from scattered phonons interacting due to lattice defect, this effect will be accentuated as lattice vibration gain more energy. The QHA simplifies the anharmonic effect by letting the phonon frequencies become volume dependent so therefore is unable to model the anharmonic effect well. Furthermore the born-oppenheimer approximation would become less valid at larger temperatures as the motion of nuclei becomes more important.&lt;br /&gt;
&lt;br /&gt;
== Molecular Dynamics ==&lt;br /&gt;
The crystal was then studied using Molecular Dynamics. In the previous investigations MgO has been described using a primitive cell containing a single MgO unit. Running an MD would not produce meaningful data as every cell would move perfectly in phase. By increasing the size of the cell the MD would become more accurate but become more computationally expensive so a compromise is reached for a cell containing 32 MgO units. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy temperature QHA MD.png|thumb|400px|Figure 15. Free Energy vs Temperature for MD compared to QHA]]&lt;br /&gt;
|[[File:JOHlatticeQHAMD2.png|thumb|400px|Figure 16. Lattice Constant vs Temperature for MD compared to QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics allows a system to evolve in time according to Newton&#039;s second law F=ma. As the system is treated classically energy can be modelled by the equipartition principle, &amp;lt;math&amp;gt;E = \frac{3}{2} k_B T&amp;lt;/math&amp;gt;, and as such the energy will increase linearly with temperature. In comparison QHA follows the relationship &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
This mean that the energy should decrease with temperature. Both the free energy modelled by MD and QHA can be seen in figure 15. &lt;br /&gt;
&lt;br /&gt;
Looking at figure 16 the MD and the QHA are similar between 400-1000 K, thus the volumetric expansion coefficients would be similar:&lt;br /&gt;
*MD - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; = 3.06 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
*QHA - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;  = 2.89 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
This similarity in data strengthens the reliability of the volumetric expansion coefficients between 400 - 1000 K. However, below 400 K the QHA begins to break from a linear trend and curve towards 18.84 Å&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt; whereas the MD follows the linear trend. At lower trends the anharmonic effect is not as prevalent so the QHA is a better model for the lattice constant at lower temperatures. The MD model does not accurately show how the free energy changes at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
===Limitation===&lt;br /&gt;
&lt;br /&gt;
Overall both QHA and MD models have their limitations. &lt;br /&gt;
&lt;br /&gt;
The atoms are modelled using a classical approach or in other words atoms are modelled as hard charged spheres. So the quantum mechanical contributions cannot be taken into account. This will reduced the accuracy of the models &lt;br /&gt;
&lt;br /&gt;
Furthermore, the models do not consider long-range interactions, only interactions of atoms relatively close. In a realistic crystal there will be interactions outside the nearest neighbours albeit small interactions. Thus slight inaccuracy in the models is seen. &lt;br /&gt;
&lt;br /&gt;
For both models it can be assumed that the trends can be extrapolated until the melting point of MgO is reached, as upon melting a change in volume occurs. Furthermore liquid MgO has no structured order so cannot be described by a repeated unit cell. &lt;br /&gt;
&lt;br /&gt;
In the QHA the interactions between atoms of different unit cells was not taken into consideration. There would be an energy increase if there was overlap between atoms in different cells.&lt;br /&gt;
&lt;br /&gt;
For these MD calculations, as only a small number of atoms were considered it was reasonable to use a time step of 1.0 femtoseconds. However, when considering a much larger system, say for example a protein, then this would become computationally expensive.&lt;br /&gt;
&lt;br /&gt;
==Conclusion== &lt;br /&gt;
The experiment showed the thermal expansion of MgO, the phonon dispersion and the DOS. Comparisons between the QHA and the MD were made, both approaches giving reasonable thermal expansion coefficients between 400-1000 K. At lower temperatures the QHA was a better model, due to the reduction in anharmonic effects.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 1&amp;quot; &amp;gt; O. Madelung, U. Rössler and M. Schulz, Eds., II-VI and I-VII compounds; Semimagnetic compounds, Springer-Verlag, 1999. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 2&amp;quot; &amp;gt; A. CIMINO, P. PORTA and M. VALIGI, Journal of the American Ceramic Society, 1966, 49, 152–156. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 3&amp;quot;&amp;gt; A. Baldereschi, Physical Review B, 1973, 7, 5212–5215. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 4&amp;quot; &amp;gt; E. J. Covington and D. J. Montgomery, J. Appl. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys, 2010, 27, 1030–53111. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 5&amp;quot; &amp;gt; J. A. Kaduk and J. Faber, The Rigaku journal 14 CRYSTAL STRUCTURE OF ZEOLITE Y AS A FUNCTION OF ION EXCHANGE, 1995. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 6&amp;quot; &amp;gt; J.R. Vinson, Plate and Panel structures of Isotropic, Composite and Piezoelectric Materials, including Sandwich Construction. Delaware; Springer; 2005. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Appendix==&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo phonon DOS 222 JOH.png|thumb|300px|Figure 1. Phonon DOS of MgO using 2x2x2 grid size]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Jo1213</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553410</id>
		<title>Rep:Mod:JOH95MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553410"/>
		<updated>2016-03-11T09:22:57Z</updated>

		<summary type="html">&lt;p&gt;Jo1213: /* Limitation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
The experiment will investigate the properties of an MgO crystal. Firstly the dimensions of the unit cells will be investigates along with the associated energy. Then the phonon dispersion and DOS will be investigated, evaluating the optimal grid size to use. The energies of the crystal will be investigates along with the thermal expansion coefficients. Lastly the quasi-harmonic approximation (QHA) and the molecular dynamics (MD) will be compared. &lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon-based model used to describe volume-dependent thermal effects. The harmonic phonon model assumes that all intermolecular forces are harmonic. This is not sufficient to describe thermal expansion as there is no change to the equilibrium bond length as temperature increases. The QHA takes into account that molecules do have an anharmonic effect at higher temperatures by treating frequencies as volume dependent. &lt;br /&gt;
&lt;br /&gt;
The Molecular Dynamics approach allows a system to evolve in time according to Newton&#039;s second law &amp;lt;math&amp;gt;F=ma&amp;lt;/math&amp;gt;. The initial configurations and velocities are assigned to allow the program to iterate positions and velocities. The atoms follow trajectories and the properties, such as E and T, are computed as time averages of their behaviour.&lt;br /&gt;
&lt;br /&gt;
The programs used were RedHat Linux, DLVisulaize (DLV) and General Utility Lattice Program (GULP), where DLV acted as a graphical interface for the simulations. GULP is used to perform simulations on materials using boundary conditions, in this case on a 3D lattice.&lt;br /&gt;
&lt;br /&gt;
== Internal Energy of MgO ==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:PC 1.png|left|thumb|300px|Figure 1. Primitive Cell of MgO]]&lt;br /&gt;
|[[File:CC .png|left|thumb|300px|Figure 2. Conventional Cell of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
GULP was used to determine the energy per unit cell of MgO. In the [https://wiki.ch.ic.ac.uk/wiki/images/e/e7/MgO_1_james.txt LogFile] GULF describes MgO using a primitive unit cell as shown in figure 1. The primitive unit cell has two atoms Mg and O in the shape of a rhombohedron of side 2.9783 Å and an internal angle a = 60°. It contains one lattice point and is the simplest cell to describe the crystal. It only consists of 2 atoms (Mg and O). The Cartesian lattice vectors of the cell are reported in table 1 and the total lattice energy was -41.07531759 eV which represents the energy to pull all the atom infinitely apart. The GULP calculation correlates with LCAO HF calculations found in literature (2.573 Å &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;). &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|-&lt;br /&gt;
|+ Table 1ː Cell Vector Dimensions/Å&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The conventional cell has four times the volume of the primitive cell as shown in figure 2. The cell has an internal angel a = 90° and a lattice vector of 4.212 Å (which agrees with literature of 4.21 Å &amp;lt;ref name =&amp;quot;Ref 2&amp;quot; /&amp;gt;). The conventional cell is more representative of the crystal so is chosen in the calculations.&lt;br /&gt;
&lt;br /&gt;
==Computing the Phonon Dispersion Curves==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO Phonon Dispersion JOH.png|thumb|300px|Figure 3. Phonon Dispersion Graph of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The phonon dispersion curve was calculated, as shown in figure 3. The phonon frequencies were calculated along a path in k-space. Special points along the path, &amp;lt;math&amp;gt;W, L, \Gamma, X, W, K&amp;lt;/math&amp;gt;, can be seen in figure 3.. There are two phonos modes associated with each axis, acoustic (in-phase) and optical (out-of-phase) phonons. In the 3D model three axis (x,y,z) are taken into consideration meaning there are 6 phonon modes as shown by the six different curves in figure 3. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:K=0 JOH.png|thumb|300px|Figure 4. Acoustic and optical modes at k=0]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The relationship between the wavevector k to the wavelength (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;k= \frac{2\pi}{\lambda}&amp;lt;/math&amp;gt;. Furthermore the relationship between wavelength (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) and frequency is &amp;lt;math&amp;gt; v = \frac{c}{\lambda} &amp;lt;/math&amp;gt;. As shown in figure 4 when k=0, for the acoustic mode, the wavelength approaches infinity and in turn the frequency approaches 0. For the optical mode the frequency is non-zero. With this information it is clear that at k=0 the dispersion graph is at symmetry point &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Following the path from &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;, to &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and then to &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; the acoustic modes splits into 3 modes, two transverse modes (TA) and one longitude mode (LA). The two TA are degenerate between &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; until it splits between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Phonon Density of States (DOS)==&lt;br /&gt;
The next part involved calculating the phonon density of states. The DOS is defined as the number of states per energy at a given energy, in this case vibrational frequency. The larger the number of k values considered in reciprocal space the more accurate the DOS. This is achieved by increasing the grid size (nxnxn) to give a better representation of the crystal by sampling more k values in reciprocal space. However, at a certain point the difference between k values is negligible so does not further increase the accuracy of the DOS. Furthermore calculating an infinite number of k values would take an infinite amount of computing time.&lt;br /&gt;
&lt;br /&gt;
The DOS was calculated for a 1x1x1 grid by setting the shrinking value to 1 as shown in figure 5. The grid size was then increased to find the optimum shrinking value that gave a good representation of the DOS without taking too long to calculate as shown by figures 6 through 10. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo Phonon DOS JOH 111.png|thumb|300px|Figure 5. Phonon DOS of MgO using 1x1x1 grid size]]&lt;br /&gt;
|[[File:JOHphononDOS444.png|thumb|300px|Figure 6. Phonon DOS of MgO using 4x4x4 grid size]]&lt;br /&gt;
|[[File:JOHDOS888.png|thumb|300px|Figure 7. Phonon DOS of MgO using 8x8x8 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOHDOS161616.png|thumb|300px|Figure 8. Phonon DOS of MgO using 16x16x16 grid size]]&lt;br /&gt;
|[[File:JOHDOS323232.png|thumb|300px|Figure 9. Phonon DOS of MgO using 32x32x32 grid size]]&lt;br /&gt;
|[[File:JOHDOS50.png|thumb|300px|Figure 10. Phonon DOS of MgO using 50x50x50 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 5 shows the DOS for a 1x1x1 grid size. The four peaks 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; 676 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 819 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; represent the four frequencies at point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The intensity of the peaks around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; is around double that of the peaks around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. This gives further evidence that the acoustic vibrational mode around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; are degenerate. The theorem about using the &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; point in reciprocal space for a 1x1x1 grid is called Baldereschi theorem &amp;lt;ref name = &amp;quot;Ref 3&amp;quot;/&amp;gt;. The idea being that point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is the most representative point in k-space as when you increase from grid size of 1x1x1 to 50x50x50 the main peak remains around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; with a smaller peak still around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The ideal grid size is one that represents the DOS without taking too long to calculate. From figure 8 onwards the shape of the curve does not change much, so it can be concluded that using a grid size of 16 is sufficient enough to gain a good understanding of the DOS without taking too long to calculate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:DOS dispersion JOH.png|thumb|400px|Figure 11. Comparing the dispersion curve with the DOS]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It is important to note the relationship between the dispersion curve and the DOS graph as shown in figure 11. The frequency in the phonon dispersion curve on the y axis is the same as the frequency on the DOS curve in the x-axis. It can be seen visually that the most popular states are around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The relationship between real space and reciprocal space is given by the formula &amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt; - a being the length in real space transformed to a* in reciprocal space. This shows that the larger the lattice constant a, the smaller the reciprocal cell. This is important to consider when assessing the DOS for other structures. Lithium has a lattice constant of 3.490 Å &amp;lt;ref name = &amp;quot;Ref 4&amp;quot;/&amp;gt; which is 0.721 Å lower that the conventional unit cell of MgO that is being modelled. Due to the inverse relationship of real to reciprocal space, lithium will have a larger cell in k space and therefore need a larger grid size to measure the DOS. Conversely Faujasite has a lattice constant of 24.7 Å &amp;lt;ref name = &amp;quot;Ref 5&amp;quot; /&amp;gt; which will give a much smaller cell in reciprocal space meaning that a smaller grid size would give an accurate measurement of the DOS as there are fewer k values needed to measure the cell. CaO has a very similar lattice constant meaning that a similar grid size would be needed to accurately measure the DOS - in this case a grid size of 16x16x16 would be sufficient.&lt;br /&gt;
&lt;br /&gt;
==Computing the Free Energy==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Table 2ː Energy vs Grid size&lt;br /&gt;
! Grid Size nxnxn/n&lt;br /&gt;
! Free Energy/eV&lt;br /&gt;
! Accuracy/ meV&lt;br /&gt;
! Log file&lt;br /&gt;
! rowspan=&amp;quot;9&amp;quot;|[[File:JOH Free energy vs grid size.png|thumb|400px|]]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| -40.930301&lt;br /&gt;
| 4&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/1/12/JOH_fe_MgO_111.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| -40.926609&lt;br /&gt;
| 0.2&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/aa/JOH_fe_MgO_222.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -40.926432&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4d/JOH_fe_MgO_333.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -40.926450&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/40/JOH_fe_MgO_444.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -40.926478&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/7/70/JOH_fe_MgO_888.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -40.926482&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4f/JOH_fe_MgO_16.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/ac/JOH_fe_MgO_32.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 50&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [[Media:JOH_fe_MgO_50.txt.zip|log file]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Table 2 displays the free energies of MgO as a function of grid size n. Similar to finding the ideal grid size to calculate the DOS, the optimal grid size to figure out the free energy can be found in table 2. As the grid size increases from 1 to 3 there is a sharp increase in the free energy from -40.930301 eV to -40.926432 eV, afterwards the free energy eventually converges at -40.926483 eV. The degree of accuracy follows this trend, from a grid size of 4 onwards the degree of accuracy is greater that 0.1 meV. There is no change in free energy from a grid size of 32 to 50 suggesting that a grid size of 32 is all that is needed to accurately determine the free energy of MgO. &lt;br /&gt;
&lt;br /&gt;
The graph in table 2 can be rationalized by the equation for the Helmholtz free energy - &amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A is the Helmholtz fee energy, U is the internal energy, T is temperature and S is entropy. As the grid size increases, the volume increases so the internal energy decreases (&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt;). This in turn means that the Helmholtz free energy would decrease.&lt;br /&gt;
&lt;br /&gt;
Furthermore as the number of microstates sampled increases the entropy term will increase according to the relationship &amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt;. This in turn means that the free energy will be lowered. By considering these two factors the decrease in free energy can be rationalised.&lt;br /&gt;
&lt;br /&gt;
==Thermal Expansion of MgO==&lt;br /&gt;
The structure of MgO will be optimised with respect to the free energy at different temperatures (0 - 1000 K in steps of 100 K). The free energy will be computed using the quasi-harmonic approximation (QHA) which uses the following expression: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
*&amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; = frequency of the vibration &lt;br /&gt;
*&amp;lt;math&amp;gt;E_{0}&amp;lt;/math&amp;gt; = zero point energy &lt;br /&gt;
*&amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; = Temperature&lt;br /&gt;
*&amp;lt;math&amp;gt;k_B&amp;lt;/math&amp;gt; = Boltzmann Constant &lt;br /&gt;
*&amp;lt;math&amp;gt;\hbar&amp;lt;/math&amp;gt; = reduced Planck&#039;s constant. &lt;br /&gt;
&lt;br /&gt;
The equations is split into three parts - the zero point energy and the harmonic and entropic contribution.&lt;br /&gt;
&lt;br /&gt;
In addition the coefficients of thermal expansion was calculated. The coefficient of thermal expansion describes how the size of an object changes with temperature. The larger the coefficient the greater the change in size as temperature increases. Several coefficients have been developed and the two that we will look at are the linear and volumetric thermal expansion. The generic equation is as follows:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\alpha_x = \frac{1}{x}\,\left(\frac{\partial x}{\partial T}\right)_p&lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* α&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt; = thermal expansion coefficient&lt;br /&gt;
* x = initial dimension &lt;br /&gt;
* ∂x = the partial derivative of the dimension under study &lt;br /&gt;
* ∂T = partial derivative of temperature (at constant pressure)&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy vs temp.png|thumb|400px|Figure 12. Free Energy dependence on Temperature for the QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH lattice constant vs temp.png|thumb|400px|Figure 13. Lattice Constant dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|[[File:JOH LV temp.png|thumb|400px|Figure 14. Lattice Volume dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 12 shows that as temperature increases the free energy becomes more negative. This can be rationalised with the derivation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; G = H - TS &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Plug in &amp;lt;math&amp;gt;H = U + PV&amp;lt;/math&amp;gt; to get  &amp;lt;math&amp;gt;G = U + PV - TS&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dG = dU + PdV + VdP - TdS - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = q + w &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dq = TdS &amp;lt;/math&amp;gt; &amp;lt;math&amp;gt; dw = -PdV &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \therefore dG = VdP - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This implies that both the volume and the entropic factor contribute to the free energy. As the temperature increases the volume will increase, however the entropic factor will overcome this due to large change in temperature. This explains the trend observed in figure 12. &lt;br /&gt;
&lt;br /&gt;
We would expect a linear negative decrease - &amp;lt;math&amp;gt; \left( \frac{\partial G}{\partial T} \right)_P = -S &amp;lt;/math&amp;gt;. However figure 12 shows that the trend is a curve suggesting that the pressure may not be constant.&lt;br /&gt;
&lt;br /&gt;
The trend could also be explained using the Helmoholtz free energy equation used in the QHA. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The entropic contribution in the equation has a large dependence on temperature and therefore as temperature increases the entropic contribution becomes more negative. This is due to the exponential factor in the entropic contribution. This results in the Helmholtz becoming more negative.  &lt;br /&gt;
&lt;br /&gt;
===Calculating the Thermal expansion coefficients===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Linear Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{1}{L} \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{0.00002342}{2.986563} = 7.7815\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
L = the initial lattice constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 13&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Volumetric Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V} \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{0.00044612}{18.836496} = 2.3684\times 10^{-5}&amp;lt;/math&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
V = the initial volume constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 14&lt;br /&gt;
&lt;br /&gt;
For isotropic materials the volumetric coefficient is three times larger that then linear coefficient - 3&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;. For MgO &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt; is practically three times larger than &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; (3.04&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;) implying that MgO is an isotropic material &amp;lt;ref name=&amp;quot;Ref 6&amp;quot;/&amp;gt;, in other words lattice constants a, b and c expand at equal rates. At 200 K the L value increases to 2.987604 Å resulting in &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;7.839\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; which is close to the literature value of &amp;lt;math&amp;gt;7.39\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The main approximation with the QHA occurs at higher temperatures. This is because at higher temperatures the lattice experiences a larger anharmonic effect due to a larger deviation from bond equilibrium as more energy is put into the bond. Furthermore as anharmonicity comes from scattered phonons interacting due to lattice defect, this effect will be accentuated as lattice vibration gain more energy. The QHA simplifies the anharmonic effect by letting the phonon frequencies become volume dependent so therefore is unable to model the anharmonic effect well. Furthermore the born-oppenheimer approximation would become less valid at larger temperatures as the motion of nuclei becomes more important.&lt;br /&gt;
&lt;br /&gt;
== Molecular Dynamics ==&lt;br /&gt;
The crystal was then studied using Molecular Dynamics. In the previous investigations MgO has been described using a primitive cell containing a single MgO unit. Running an MD would not produce meaningful data as every cell would move perfectly in phase. By increasing the size of the cell the MD would become more accurate but become more computationally expensive so a compromise is reached for a cell containing 32 MgO units. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy temperature QHA MD.png|thumb|400px|Figure 15. Free Energy vs Temperature for MD compared to QHA]]&lt;br /&gt;
|[[File:JOHlatticeQHAMD2.png|thumb|400px|Figure 16. Lattice Constant vs Temperature for MD compared to QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics allows a system to evolve in time according to Newton&#039;s second law F=ma. As the system is treated classically energy can be modelled by the equipartition principle, &amp;lt;math&amp;gt;E = \frac{3}{2} k_B T&amp;lt;/math&amp;gt;, and as such the energy will increase linearly with temperature. In comparison QHA follows the relationship &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
This mean that the energy should decrease with temperature. Both the free energy modelled by MD and QHA can be seen in figure 15. &lt;br /&gt;
&lt;br /&gt;
Looking at figure 16 the MD and the QHA are similar between 400-1000 K, thus the volumetric expansion coefficients would be similar:&lt;br /&gt;
*MD - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; = 3.06 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
*QHA - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;  = 2.89 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
This similarity in data strengthens the reliability of the volumetric expansion coefficients between 400 - 1000 K. However, below 400 K the QHA begins to break from a linear trend and curve towards 18.84 Å&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt; whereas the MD follows the linear trend. At lower trends the anharmonic effect is not as prevalent so the QHA is a better model for the lattice constant at lower temperatures. The MD model does not accurately show how the free energy changes at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
===Limitation===&lt;br /&gt;
&lt;br /&gt;
Overall both QHA and MD models have their limitations. &lt;br /&gt;
&lt;br /&gt;
The atoms are modelled using a classical approach or in other words atoms are modelled as hard charged spheres. So the quantum mechanical contributions cannot be taken into account. This will reduced the accuracy of the models &lt;br /&gt;
&lt;br /&gt;
Furthermore, the models do not consider long-range interactions, only interactions of atoms relatively close. In a realistic crystal there will be interactions outside the nearest neighbours albeit small interactions. Thus slight inaccuracy in the models is seen. &lt;br /&gt;
&lt;br /&gt;
For both models it can be assumed that the trends can be extrapolated until the melting point of MgO is reached, as upon melting a change in volume occurs. Furthermore liquid MgO has no structured order so cannot be described by a repeated unit cell. &lt;br /&gt;
&lt;br /&gt;
In the QHA the interactions between atoms of different unit cells was not taken into consideration. There would be an energy increase if there was overlap between atoms in different cells.&lt;br /&gt;
&lt;br /&gt;
For these MD calculations, as only a small number of atoms were considered it was reasonable to use a time step of 1.0 femtoseconds. However, when considering a much larger system, say for example a protein, then this would become computationally expensive.&lt;br /&gt;
&lt;br /&gt;
==Conclusion== &lt;br /&gt;
The experiment showed the thermal expansion of MgO, the phonon dispersion and the DOS. Comparisons between the QHA and the MD were made, both approaches giving reasonable thermal expansion coefficients between 400-1000 K. At lower temperatures the QHA was a better model, due to the reduction in anharmonic effects.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 1&amp;quot; &amp;gt; O. Madelung, U. Rössler and M. Schulz, Eds., II-VI and I-VII compounds; Semimagnetic compounds, Springer-Verlag, 1999. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 2&amp;quot; &amp;gt; A. CIMINO, P. PORTA and M. VALIGI, Journal of the American Ceramic Society, 1966, 49, 152–156. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 3&amp;quot;&amp;gt; A. Baldereschi, Physical Review B, 1973, 7, 5212–5215. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 4&amp;quot; &amp;gt; E. J. Covington and D. J. Montgomery, J. Appl. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys, 2010, 27, 1030–53111. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 5&amp;quot; &amp;gt; J. A. Kaduk and J. Faber, The Rigaku journal 14 CRYSTAL STRUCTURE OF ZEOLITE Y AS A FUNCTION OF ION EXCHANGE, 1995. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 6&amp;quot; &amp;gt; J.R. Vinson, Plate and Panel structures of Isotropic, Composite and Piezoelectric Materials, including Sandwich Construction. Delaware; Springer; 2005. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Appendix==&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo phonon DOS 222 JOH.png|thumb|300px|Figure 1. Phonon DOS of MgO using 2x2x2 grid size]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Jo1213</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553406</id>
		<title>Rep:Mod:JOH95MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553406"/>
		<updated>2016-03-11T09:20:08Z</updated>

		<summary type="html">&lt;p&gt;Jo1213: /* Molecular Dynamics */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
The experiment will investigate the properties of an MgO crystal. Firstly the dimensions of the unit cells will be investigates along with the associated energy. Then the phonon dispersion and DOS will be investigated, evaluating the optimal grid size to use. The energies of the crystal will be investigates along with the thermal expansion coefficients. Lastly the quasi-harmonic approximation (QHA) and the molecular dynamics (MD) will be compared. &lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon-based model used to describe volume-dependent thermal effects. The harmonic phonon model assumes that all intermolecular forces are harmonic. This is not sufficient to describe thermal expansion as there is no change to the equilibrium bond length as temperature increases. The QHA takes into account that molecules do have an anharmonic effect at higher temperatures by treating frequencies as volume dependent. &lt;br /&gt;
&lt;br /&gt;
The Molecular Dynamics approach allows a system to evolve in time according to Newton&#039;s second law &amp;lt;math&amp;gt;F=ma&amp;lt;/math&amp;gt;. The initial configurations and velocities are assigned to allow the program to iterate positions and velocities. The atoms follow trajectories and the properties, such as E and T, are computed as time averages of their behaviour.&lt;br /&gt;
&lt;br /&gt;
The programs used were RedHat Linux, DLVisulaize (DLV) and General Utility Lattice Program (GULP), where DLV acted as a graphical interface for the simulations. GULP is used to perform simulations on materials using boundary conditions, in this case on a 3D lattice.&lt;br /&gt;
&lt;br /&gt;
== Internal Energy of MgO ==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:PC 1.png|left|thumb|300px|Figure 1. Primitive Cell of MgO]]&lt;br /&gt;
|[[File:CC .png|left|thumb|300px|Figure 2. Conventional Cell of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
GULP was used to determine the energy per unit cell of MgO. In the [https://wiki.ch.ic.ac.uk/wiki/images/e/e7/MgO_1_james.txt LogFile] GULF describes MgO using a primitive unit cell as shown in figure 1. The primitive unit cell has two atoms Mg and O in the shape of a rhombohedron of side 2.9783 Å and an internal angle a = 60°. It contains one lattice point and is the simplest cell to describe the crystal. It only consists of 2 atoms (Mg and O). The Cartesian lattice vectors of the cell are reported in table 1 and the total lattice energy was -41.07531759 eV which represents the energy to pull all the atom infinitely apart. The GULP calculation correlates with LCAO HF calculations found in literature (2.573 Å &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;). &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|-&lt;br /&gt;
|+ Table 1ː Cell Vector Dimensions/Å&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The conventional cell has four times the volume of the primitive cell as shown in figure 2. The cell has an internal angel a = 90° and a lattice vector of 4.212 Å (which agrees with literature of 4.21 Å &amp;lt;ref name =&amp;quot;Ref 2&amp;quot; /&amp;gt;). The conventional cell is more representative of the crystal so is chosen in the calculations.&lt;br /&gt;
&lt;br /&gt;
==Computing the Phonon Dispersion Curves==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO Phonon Dispersion JOH.png|thumb|300px|Figure 3. Phonon Dispersion Graph of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The phonon dispersion curve was calculated, as shown in figure 3. The phonon frequencies were calculated along a path in k-space. Special points along the path, &amp;lt;math&amp;gt;W, L, \Gamma, X, W, K&amp;lt;/math&amp;gt;, can be seen in figure 3.. There are two phonos modes associated with each axis, acoustic (in-phase) and optical (out-of-phase) phonons. In the 3D model three axis (x,y,z) are taken into consideration meaning there are 6 phonon modes as shown by the six different curves in figure 3. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:K=0 JOH.png|thumb|300px|Figure 4. Acoustic and optical modes at k=0]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The relationship between the wavevector k to the wavelength (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;k= \frac{2\pi}{\lambda}&amp;lt;/math&amp;gt;. Furthermore the relationship between wavelength (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) and frequency is &amp;lt;math&amp;gt; v = \frac{c}{\lambda} &amp;lt;/math&amp;gt;. As shown in figure 4 when k=0, for the acoustic mode, the wavelength approaches infinity and in turn the frequency approaches 0. For the optical mode the frequency is non-zero. With this information it is clear that at k=0 the dispersion graph is at symmetry point &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Following the path from &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;, to &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and then to &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; the acoustic modes splits into 3 modes, two transverse modes (TA) and one longitude mode (LA). The two TA are degenerate between &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; until it splits between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Phonon Density of States (DOS)==&lt;br /&gt;
The next part involved calculating the phonon density of states. The DOS is defined as the number of states per energy at a given energy, in this case vibrational frequency. The larger the number of k values considered in reciprocal space the more accurate the DOS. This is achieved by increasing the grid size (nxnxn) to give a better representation of the crystal by sampling more k values in reciprocal space. However, at a certain point the difference between k values is negligible so does not further increase the accuracy of the DOS. Furthermore calculating an infinite number of k values would take an infinite amount of computing time.&lt;br /&gt;
&lt;br /&gt;
The DOS was calculated for a 1x1x1 grid by setting the shrinking value to 1 as shown in figure 5. The grid size was then increased to find the optimum shrinking value that gave a good representation of the DOS without taking too long to calculate as shown by figures 6 through 10. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo Phonon DOS JOH 111.png|thumb|300px|Figure 5. Phonon DOS of MgO using 1x1x1 grid size]]&lt;br /&gt;
|[[File:JOHphononDOS444.png|thumb|300px|Figure 6. Phonon DOS of MgO using 4x4x4 grid size]]&lt;br /&gt;
|[[File:JOHDOS888.png|thumb|300px|Figure 7. Phonon DOS of MgO using 8x8x8 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOHDOS161616.png|thumb|300px|Figure 8. Phonon DOS of MgO using 16x16x16 grid size]]&lt;br /&gt;
|[[File:JOHDOS323232.png|thumb|300px|Figure 9. Phonon DOS of MgO using 32x32x32 grid size]]&lt;br /&gt;
|[[File:JOHDOS50.png|thumb|300px|Figure 10. Phonon DOS of MgO using 50x50x50 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 5 shows the DOS for a 1x1x1 grid size. The four peaks 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; 676 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 819 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; represent the four frequencies at point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The intensity of the peaks around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; is around double that of the peaks around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. This gives further evidence that the acoustic vibrational mode around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; are degenerate. The theorem about using the &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; point in reciprocal space for a 1x1x1 grid is called Baldereschi theorem &amp;lt;ref name = &amp;quot;Ref 3&amp;quot;/&amp;gt;. The idea being that point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is the most representative point in k-space as when you increase from grid size of 1x1x1 to 50x50x50 the main peak remains around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; with a smaller peak still around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The ideal grid size is one that represents the DOS without taking too long to calculate. From figure 8 onwards the shape of the curve does not change much, so it can be concluded that using a grid size of 16 is sufficient enough to gain a good understanding of the DOS without taking too long to calculate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:DOS dispersion JOH.png|thumb|400px|Figure 11. Comparing the dispersion curve with the DOS]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It is important to note the relationship between the dispersion curve and the DOS graph as shown in figure 11. The frequency in the phonon dispersion curve on the y axis is the same as the frequency on the DOS curve in the x-axis. It can be seen visually that the most popular states are around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The relationship between real space and reciprocal space is given by the formula &amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt; - a being the length in real space transformed to a* in reciprocal space. This shows that the larger the lattice constant a, the smaller the reciprocal cell. This is important to consider when assessing the DOS for other structures. Lithium has a lattice constant of 3.490 Å &amp;lt;ref name = &amp;quot;Ref 4&amp;quot;/&amp;gt; which is 0.721 Å lower that the conventional unit cell of MgO that is being modelled. Due to the inverse relationship of real to reciprocal space, lithium will have a larger cell in k space and therefore need a larger grid size to measure the DOS. Conversely Faujasite has a lattice constant of 24.7 Å &amp;lt;ref name = &amp;quot;Ref 5&amp;quot; /&amp;gt; which will give a much smaller cell in reciprocal space meaning that a smaller grid size would give an accurate measurement of the DOS as there are fewer k values needed to measure the cell. CaO has a very similar lattice constant meaning that a similar grid size would be needed to accurately measure the DOS - in this case a grid size of 16x16x16 would be sufficient.&lt;br /&gt;
&lt;br /&gt;
==Computing the Free Energy==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Table 2ː Energy vs Grid size&lt;br /&gt;
! Grid Size nxnxn/n&lt;br /&gt;
! Free Energy/eV&lt;br /&gt;
! Accuracy/ meV&lt;br /&gt;
! Log file&lt;br /&gt;
! rowspan=&amp;quot;9&amp;quot;|[[File:JOH Free energy vs grid size.png|thumb|400px|]]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| -40.930301&lt;br /&gt;
| 4&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/1/12/JOH_fe_MgO_111.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| -40.926609&lt;br /&gt;
| 0.2&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/aa/JOH_fe_MgO_222.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -40.926432&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4d/JOH_fe_MgO_333.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -40.926450&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/40/JOH_fe_MgO_444.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -40.926478&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/7/70/JOH_fe_MgO_888.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -40.926482&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4f/JOH_fe_MgO_16.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/ac/JOH_fe_MgO_32.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 50&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [[Media:JOH_fe_MgO_50.txt.zip|log file]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Table 2 displays the free energies of MgO as a function of grid size n. Similar to finding the ideal grid size to calculate the DOS, the optimal grid size to figure out the free energy can be found in table 2. As the grid size increases from 1 to 3 there is a sharp increase in the free energy from -40.930301 eV to -40.926432 eV, afterwards the free energy eventually converges at -40.926483 eV. The degree of accuracy follows this trend, from a grid size of 4 onwards the degree of accuracy is greater that 0.1 meV. There is no change in free energy from a grid size of 32 to 50 suggesting that a grid size of 32 is all that is needed to accurately determine the free energy of MgO. &lt;br /&gt;
&lt;br /&gt;
The graph in table 2 can be rationalized by the equation for the Helmholtz free energy - &amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A is the Helmholtz fee energy, U is the internal energy, T is temperature and S is entropy. As the grid size increases, the volume increases so the internal energy decreases (&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt;). This in turn means that the Helmholtz free energy would decrease.&lt;br /&gt;
&lt;br /&gt;
Furthermore as the number of microstates sampled increases the entropy term will increase according to the relationship &amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt;. This in turn means that the free energy will be lowered. By considering these two factors the decrease in free energy can be rationalised.&lt;br /&gt;
&lt;br /&gt;
==Thermal Expansion of MgO==&lt;br /&gt;
The structure of MgO will be optimised with respect to the free energy at different temperatures (0 - 1000 K in steps of 100 K). The free energy will be computed using the quasi-harmonic approximation (QHA) which uses the following expression: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
*&amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; = frequency of the vibration &lt;br /&gt;
*&amp;lt;math&amp;gt;E_{0}&amp;lt;/math&amp;gt; = zero point energy &lt;br /&gt;
*&amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; = Temperature&lt;br /&gt;
*&amp;lt;math&amp;gt;k_B&amp;lt;/math&amp;gt; = Boltzmann Constant &lt;br /&gt;
*&amp;lt;math&amp;gt;\hbar&amp;lt;/math&amp;gt; = reduced Planck&#039;s constant. &lt;br /&gt;
&lt;br /&gt;
The equations is split into three parts - the zero point energy and the harmonic and entropic contribution.&lt;br /&gt;
&lt;br /&gt;
In addition the coefficients of thermal expansion was calculated. The coefficient of thermal expansion describes how the size of an object changes with temperature. The larger the coefficient the greater the change in size as temperature increases. Several coefficients have been developed and the two that we will look at are the linear and volumetric thermal expansion. The generic equation is as follows:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\alpha_x = \frac{1}{x}\,\left(\frac{\partial x}{\partial T}\right)_p&lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* α&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt; = thermal expansion coefficient&lt;br /&gt;
* x = initial dimension &lt;br /&gt;
* ∂x = the partial derivative of the dimension under study &lt;br /&gt;
* ∂T = partial derivative of temperature (at constant pressure)&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy vs temp.png|thumb|400px|Figure 12. Free Energy dependence on Temperature for the QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH lattice constant vs temp.png|thumb|400px|Figure 13. Lattice Constant dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|[[File:JOH LV temp.png|thumb|400px|Figure 14. Lattice Volume dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 12 shows that as temperature increases the free energy becomes more negative. This can be rationalised with the derivation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; G = H - TS &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Plug in &amp;lt;math&amp;gt;H = U + PV&amp;lt;/math&amp;gt; to get  &amp;lt;math&amp;gt;G = U + PV - TS&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dG = dU + PdV + VdP - TdS - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = q + w &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dq = TdS &amp;lt;/math&amp;gt; &amp;lt;math&amp;gt; dw = -PdV &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \therefore dG = VdP - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This implies that both the volume and the entropic factor contribute to the free energy. As the temperature increases the volume will increase, however the entropic factor will overcome this due to large change in temperature. This explains the trend observed in figure 12. &lt;br /&gt;
&lt;br /&gt;
We would expect a linear negative decrease - &amp;lt;math&amp;gt; \left( \frac{\partial G}{\partial T} \right)_P = -S &amp;lt;/math&amp;gt;. However figure 12 shows that the trend is a curve suggesting that the pressure may not be constant.&lt;br /&gt;
&lt;br /&gt;
The trend could also be explained using the Helmoholtz free energy equation used in the QHA. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The entropic contribution in the equation has a large dependence on temperature and therefore as temperature increases the entropic contribution becomes more negative. This is due to the exponential factor in the entropic contribution. This results in the Helmholtz becoming more negative.  &lt;br /&gt;
&lt;br /&gt;
===Calculating the Thermal expansion coefficients===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Linear Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{1}{L} \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{0.00002342}{2.986563} = 7.7815\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
L = the initial lattice constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 13&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Volumetric Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V} \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{0.00044612}{18.836496} = 2.3684\times 10^{-5}&amp;lt;/math&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
V = the initial volume constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 14&lt;br /&gt;
&lt;br /&gt;
For isotropic materials the volumetric coefficient is three times larger that then linear coefficient - 3&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;. For MgO &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt; is practically three times larger than &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; (3.04&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;) implying that MgO is an isotropic material &amp;lt;ref name=&amp;quot;Ref 6&amp;quot;/&amp;gt;, in other words lattice constants a, b and c expand at equal rates. At 200 K the L value increases to 2.987604 Å resulting in &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;7.839\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; which is close to the literature value of &amp;lt;math&amp;gt;7.39\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The main approximation with the QHA occurs at higher temperatures. This is because at higher temperatures the lattice experiences a larger anharmonic effect due to a larger deviation from bond equilibrium as more energy is put into the bond. Furthermore as anharmonicity comes from scattered phonons interacting due to lattice defect, this effect will be accentuated as lattice vibration gain more energy. The QHA simplifies the anharmonic effect by letting the phonon frequencies become volume dependent so therefore is unable to model the anharmonic effect well. Furthermore the born-oppenheimer approximation would become less valid at larger temperatures as the motion of nuclei becomes more important.&lt;br /&gt;
&lt;br /&gt;
== Molecular Dynamics ==&lt;br /&gt;
The crystal was then studied using Molecular Dynamics. In the previous investigations MgO has been described using a primitive cell containing a single MgO unit. Running an MD would not produce meaningful data as every cell would move perfectly in phase. By increasing the size of the cell the MD would become more accurate but become more computationally expensive so a compromise is reached for a cell containing 32 MgO units. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy temperature QHA MD.png|thumb|400px|Figure 15. Free Energy vs Temperature for MD compared to QHA]]&lt;br /&gt;
|[[File:JOHlatticeQHAMD2.png|thumb|400px|Figure 16. Lattice Constant vs Temperature for MD compared to QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics allows a system to evolve in time according to Newton&#039;s second law F=ma. As the system is treated classically energy can be modelled by the equipartition principle, &amp;lt;math&amp;gt;E = \frac{3}{2} k_B T&amp;lt;/math&amp;gt;, and as such the energy will increase linearly with temperature. In comparison QHA follows the relationship &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
This mean that the energy should decrease with temperature. Both the free energy modelled by MD and QHA can be seen in figure 15. &lt;br /&gt;
&lt;br /&gt;
Looking at figure 16 the MD and the QHA are similar between 400-1000 K, thus the volumetric expansion coefficients would be similar:&lt;br /&gt;
*MD - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; = 3.06 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
*QHA - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;  = 2.89 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
This similarity in data strengthens the reliability of the volumetric expansion coefficients between 400 - 1000 K. However, below 400 K the QHA begins to break from a linear trend and curve towards 18.84 Å&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt; whereas the MD follows the linear trend. At lower trends the anharmonic effect is not as prevalent so the QHA is a better model for the lattice constant at lower temperatures. The MD model does not accurately show how the free energy changes at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
===Limitation===&lt;br /&gt;
&lt;br /&gt;
Overall both QHA and MD models have their limitations. &lt;br /&gt;
&lt;br /&gt;
The atoms are modelled using a classical approach or in other words atoms are modelled as hard charged spheres. So the quantum mechanical contributions cannot be taken into account. This will reduced the accuracy of the models &lt;br /&gt;
&lt;br /&gt;
Furthermore, the models do not consider long-range interactions, only interactions of atoms relatively close. In a realistic crystal there will be interactions outside the nearest neighbours albeit small interactions. Thus slight inaccuracy in the models is seen. &lt;br /&gt;
&lt;br /&gt;
For both models it can be assumed that the trends can be extrapolated until the melting point of MgO is reached, as upon melting a change in volume occurs. Furthermore liquid MgO has no structured order so cannot be described by a repeated unit cell. &lt;br /&gt;
&lt;br /&gt;
In the QHA the interactions between atoms of different unit cells was not taken into consideration. There would be an energy increase if there was overlap between atoms in different cells.&lt;br /&gt;
&lt;br /&gt;
For these MD calculations, as only a small number of atoms were considered it was reasonable to use a time step of 1.0 femtoseconds. However, when considering a much larger system, say for example a protein, then this would become computationally expensive&lt;br /&gt;
&lt;br /&gt;
==Conclusion== &lt;br /&gt;
The experiment showed the thermal expansion of MgO, the phonon dispersion and the DOS. Comparisons between the QHA and the MD were made, both approaches giving reasonable thermal expansion coefficients between 400-1000 K. At lower temperatures the QHA was a better model, due to the reduction in anharmonic effects.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 1&amp;quot; &amp;gt; O. Madelung, U. Rössler and M. Schulz, Eds., II-VI and I-VII compounds; Semimagnetic compounds, Springer-Verlag, 1999. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 2&amp;quot; &amp;gt; A. CIMINO, P. PORTA and M. VALIGI, Journal of the American Ceramic Society, 1966, 49, 152–156. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 3&amp;quot;&amp;gt; A. Baldereschi, Physical Review B, 1973, 7, 5212–5215. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 4&amp;quot; &amp;gt; E. J. Covington and D. J. Montgomery, J. Appl. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys, 2010, 27, 1030–53111. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 5&amp;quot; &amp;gt; J. A. Kaduk and J. Faber, The Rigaku journal 14 CRYSTAL STRUCTURE OF ZEOLITE Y AS A FUNCTION OF ION EXCHANGE, 1995. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 6&amp;quot; &amp;gt; J.R. Vinson, Plate and Panel structures of Isotropic, Composite and Piezoelectric Materials, including Sandwich Construction. Delaware; Springer; 2005. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Appendix==&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo phonon DOS 222 JOH.png|thumb|300px|Figure 1. Phonon DOS of MgO using 2x2x2 grid size]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Jo1213</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553405</id>
		<title>Rep:Mod:JOH95MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553405"/>
		<updated>2016-03-11T09:19:16Z</updated>

		<summary type="html">&lt;p&gt;Jo1213: /* Molecular Dynamics */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
The experiment will investigate the properties of an MgO crystal. Firstly the dimensions of the unit cells will be investigates along with the associated energy. Then the phonon dispersion and DOS will be investigated, evaluating the optimal grid size to use. The energies of the crystal will be investigates along with the thermal expansion coefficients. Lastly the quasi-harmonic approximation (QHA) and the molecular dynamics (MD) will be compared. &lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon-based model used to describe volume-dependent thermal effects. The harmonic phonon model assumes that all intermolecular forces are harmonic. This is not sufficient to describe thermal expansion as there is no change to the equilibrium bond length as temperature increases. The QHA takes into account that molecules do have an anharmonic effect at higher temperatures by treating frequencies as volume dependent. &lt;br /&gt;
&lt;br /&gt;
The Molecular Dynamics approach allows a system to evolve in time according to Newton&#039;s second law &amp;lt;math&amp;gt;F=ma&amp;lt;/math&amp;gt;. The initial configurations and velocities are assigned to allow the program to iterate positions and velocities. The atoms follow trajectories and the properties, such as E and T, are computed as time averages of their behaviour.&lt;br /&gt;
&lt;br /&gt;
The programs used were RedHat Linux, DLVisulaize (DLV) and General Utility Lattice Program (GULP), where DLV acted as a graphical interface for the simulations. GULP is used to perform simulations on materials using boundary conditions, in this case on a 3D lattice.&lt;br /&gt;
&lt;br /&gt;
== Internal Energy of MgO ==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:PC 1.png|left|thumb|300px|Figure 1. Primitive Cell of MgO]]&lt;br /&gt;
|[[File:CC .png|left|thumb|300px|Figure 2. Conventional Cell of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
GULP was used to determine the energy per unit cell of MgO. In the [https://wiki.ch.ic.ac.uk/wiki/images/e/e7/MgO_1_james.txt LogFile] GULF describes MgO using a primitive unit cell as shown in figure 1. The primitive unit cell has two atoms Mg and O in the shape of a rhombohedron of side 2.9783 Å and an internal angle a = 60°. It contains one lattice point and is the simplest cell to describe the crystal. It only consists of 2 atoms (Mg and O). The Cartesian lattice vectors of the cell are reported in table 1 and the total lattice energy was -41.07531759 eV which represents the energy to pull all the atom infinitely apart. The GULP calculation correlates with LCAO HF calculations found in literature (2.573 Å &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;). &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|-&lt;br /&gt;
|+ Table 1ː Cell Vector Dimensions/Å&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The conventional cell has four times the volume of the primitive cell as shown in figure 2. The cell has an internal angel a = 90° and a lattice vector of 4.212 Å (which agrees with literature of 4.21 Å &amp;lt;ref name =&amp;quot;Ref 2&amp;quot; /&amp;gt;). The conventional cell is more representative of the crystal so is chosen in the calculations.&lt;br /&gt;
&lt;br /&gt;
==Computing the Phonon Dispersion Curves==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO Phonon Dispersion JOH.png|thumb|300px|Figure 3. Phonon Dispersion Graph of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The phonon dispersion curve was calculated, as shown in figure 3. The phonon frequencies were calculated along a path in k-space. Special points along the path, &amp;lt;math&amp;gt;W, L, \Gamma, X, W, K&amp;lt;/math&amp;gt;, can be seen in figure 3.. There are two phonos modes associated with each axis, acoustic (in-phase) and optical (out-of-phase) phonons. In the 3D model three axis (x,y,z) are taken into consideration meaning there are 6 phonon modes as shown by the six different curves in figure 3. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:K=0 JOH.png|thumb|300px|Figure 4. Acoustic and optical modes at k=0]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The relationship between the wavevector k to the wavelength (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;k= \frac{2\pi}{\lambda}&amp;lt;/math&amp;gt;. Furthermore the relationship between wavelength (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) and frequency is &amp;lt;math&amp;gt; v = \frac{c}{\lambda} &amp;lt;/math&amp;gt;. As shown in figure 4 when k=0, for the acoustic mode, the wavelength approaches infinity and in turn the frequency approaches 0. For the optical mode the frequency is non-zero. With this information it is clear that at k=0 the dispersion graph is at symmetry point &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Following the path from &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;, to &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and then to &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; the acoustic modes splits into 3 modes, two transverse modes (TA) and one longitude mode (LA). The two TA are degenerate between &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; until it splits between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Phonon Density of States (DOS)==&lt;br /&gt;
The next part involved calculating the phonon density of states. The DOS is defined as the number of states per energy at a given energy, in this case vibrational frequency. The larger the number of k values considered in reciprocal space the more accurate the DOS. This is achieved by increasing the grid size (nxnxn) to give a better representation of the crystal by sampling more k values in reciprocal space. However, at a certain point the difference between k values is negligible so does not further increase the accuracy of the DOS. Furthermore calculating an infinite number of k values would take an infinite amount of computing time.&lt;br /&gt;
&lt;br /&gt;
The DOS was calculated for a 1x1x1 grid by setting the shrinking value to 1 as shown in figure 5. The grid size was then increased to find the optimum shrinking value that gave a good representation of the DOS without taking too long to calculate as shown by figures 6 through 10. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo Phonon DOS JOH 111.png|thumb|300px|Figure 5. Phonon DOS of MgO using 1x1x1 grid size]]&lt;br /&gt;
|[[File:JOHphononDOS444.png|thumb|300px|Figure 6. Phonon DOS of MgO using 4x4x4 grid size]]&lt;br /&gt;
|[[File:JOHDOS888.png|thumb|300px|Figure 7. Phonon DOS of MgO using 8x8x8 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOHDOS161616.png|thumb|300px|Figure 8. Phonon DOS of MgO using 16x16x16 grid size]]&lt;br /&gt;
|[[File:JOHDOS323232.png|thumb|300px|Figure 9. Phonon DOS of MgO using 32x32x32 grid size]]&lt;br /&gt;
|[[File:JOHDOS50.png|thumb|300px|Figure 10. Phonon DOS of MgO using 50x50x50 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 5 shows the DOS for a 1x1x1 grid size. The four peaks 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; 676 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 819 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; represent the four frequencies at point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The intensity of the peaks around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; is around double that of the peaks around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. This gives further evidence that the acoustic vibrational mode around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; are degenerate. The theorem about using the &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; point in reciprocal space for a 1x1x1 grid is called Baldereschi theorem &amp;lt;ref name = &amp;quot;Ref 3&amp;quot;/&amp;gt;. The idea being that point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is the most representative point in k-space as when you increase from grid size of 1x1x1 to 50x50x50 the main peak remains around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; with a smaller peak still around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The ideal grid size is one that represents the DOS without taking too long to calculate. From figure 8 onwards the shape of the curve does not change much, so it can be concluded that using a grid size of 16 is sufficient enough to gain a good understanding of the DOS without taking too long to calculate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:DOS dispersion JOH.png|thumb|400px|Figure 11. Comparing the dispersion curve with the DOS]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It is important to note the relationship between the dispersion curve and the DOS graph as shown in figure 11. The frequency in the phonon dispersion curve on the y axis is the same as the frequency on the DOS curve in the x-axis. It can be seen visually that the most popular states are around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The relationship between real space and reciprocal space is given by the formula &amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt; - a being the length in real space transformed to a* in reciprocal space. This shows that the larger the lattice constant a, the smaller the reciprocal cell. This is important to consider when assessing the DOS for other structures. Lithium has a lattice constant of 3.490 Å &amp;lt;ref name = &amp;quot;Ref 4&amp;quot;/&amp;gt; which is 0.721 Å lower that the conventional unit cell of MgO that is being modelled. Due to the inverse relationship of real to reciprocal space, lithium will have a larger cell in k space and therefore need a larger grid size to measure the DOS. Conversely Faujasite has a lattice constant of 24.7 Å &amp;lt;ref name = &amp;quot;Ref 5&amp;quot; /&amp;gt; which will give a much smaller cell in reciprocal space meaning that a smaller grid size would give an accurate measurement of the DOS as there are fewer k values needed to measure the cell. CaO has a very similar lattice constant meaning that a similar grid size would be needed to accurately measure the DOS - in this case a grid size of 16x16x16 would be sufficient.&lt;br /&gt;
&lt;br /&gt;
==Computing the Free Energy==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Table 2ː Energy vs Grid size&lt;br /&gt;
! Grid Size nxnxn/n&lt;br /&gt;
! Free Energy/eV&lt;br /&gt;
! Accuracy/ meV&lt;br /&gt;
! Log file&lt;br /&gt;
! rowspan=&amp;quot;9&amp;quot;|[[File:JOH Free energy vs grid size.png|thumb|400px|]]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| -40.930301&lt;br /&gt;
| 4&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/1/12/JOH_fe_MgO_111.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| -40.926609&lt;br /&gt;
| 0.2&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/aa/JOH_fe_MgO_222.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -40.926432&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4d/JOH_fe_MgO_333.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -40.926450&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/40/JOH_fe_MgO_444.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -40.926478&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/7/70/JOH_fe_MgO_888.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -40.926482&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4f/JOH_fe_MgO_16.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/ac/JOH_fe_MgO_32.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 50&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [[Media:JOH_fe_MgO_50.txt.zip|log file]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Table 2 displays the free energies of MgO as a function of grid size n. Similar to finding the ideal grid size to calculate the DOS, the optimal grid size to figure out the free energy can be found in table 2. As the grid size increases from 1 to 3 there is a sharp increase in the free energy from -40.930301 eV to -40.926432 eV, afterwards the free energy eventually converges at -40.926483 eV. The degree of accuracy follows this trend, from a grid size of 4 onwards the degree of accuracy is greater that 0.1 meV. There is no change in free energy from a grid size of 32 to 50 suggesting that a grid size of 32 is all that is needed to accurately determine the free energy of MgO. &lt;br /&gt;
&lt;br /&gt;
The graph in table 2 can be rationalized by the equation for the Helmholtz free energy - &amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A is the Helmholtz fee energy, U is the internal energy, T is temperature and S is entropy. As the grid size increases, the volume increases so the internal energy decreases (&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt;). This in turn means that the Helmholtz free energy would decrease.&lt;br /&gt;
&lt;br /&gt;
Furthermore as the number of microstates sampled increases the entropy term will increase according to the relationship &amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt;. This in turn means that the free energy will be lowered. By considering these two factors the decrease in free energy can be rationalised.&lt;br /&gt;
&lt;br /&gt;
==Thermal Expansion of MgO==&lt;br /&gt;
The structure of MgO will be optimised with respect to the free energy at different temperatures (0 - 1000 K in steps of 100 K). The free energy will be computed using the quasi-harmonic approximation (QHA) which uses the following expression: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
*&amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; = frequency of the vibration &lt;br /&gt;
*&amp;lt;math&amp;gt;E_{0}&amp;lt;/math&amp;gt; = zero point energy &lt;br /&gt;
*&amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; = Temperature&lt;br /&gt;
*&amp;lt;math&amp;gt;k_B&amp;lt;/math&amp;gt; = Boltzmann Constant &lt;br /&gt;
*&amp;lt;math&amp;gt;\hbar&amp;lt;/math&amp;gt; = reduced Planck&#039;s constant. &lt;br /&gt;
&lt;br /&gt;
The equations is split into three parts - the zero point energy and the harmonic and entropic contribution.&lt;br /&gt;
&lt;br /&gt;
In addition the coefficients of thermal expansion was calculated. The coefficient of thermal expansion describes how the size of an object changes with temperature. The larger the coefficient the greater the change in size as temperature increases. Several coefficients have been developed and the two that we will look at are the linear and volumetric thermal expansion. The generic equation is as follows:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\alpha_x = \frac{1}{x}\,\left(\frac{\partial x}{\partial T}\right)_p&lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* α&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt; = thermal expansion coefficient&lt;br /&gt;
* x = initial dimension &lt;br /&gt;
* ∂x = the partial derivative of the dimension under study &lt;br /&gt;
* ∂T = partial derivative of temperature (at constant pressure)&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy vs temp.png|thumb|400px|Figure 12. Free Energy dependence on Temperature for the QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH lattice constant vs temp.png|thumb|400px|Figure 13. Lattice Constant dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|[[File:JOH LV temp.png|thumb|400px|Figure 14. Lattice Volume dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 12 shows that as temperature increases the free energy becomes more negative. This can be rationalised with the derivation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; G = H - TS &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Plug in &amp;lt;math&amp;gt;H = U + PV&amp;lt;/math&amp;gt; to get  &amp;lt;math&amp;gt;G = U + PV - TS&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dG = dU + PdV + VdP - TdS - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = q + w &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dq = TdS &amp;lt;/math&amp;gt; &amp;lt;math&amp;gt; dw = -PdV &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \therefore dG = VdP - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This implies that both the volume and the entropic factor contribute to the free energy. As the temperature increases the volume will increase, however the entropic factor will overcome this due to large change in temperature. This explains the trend observed in figure 12. &lt;br /&gt;
&lt;br /&gt;
We would expect a linear negative decrease - &amp;lt;math&amp;gt; \left( \frac{\partial G}{\partial T} \right)_P = -S &amp;lt;/math&amp;gt;. However figure 12 shows that the trend is a curve suggesting that the pressure may not be constant.&lt;br /&gt;
&lt;br /&gt;
The trend could also be explained using the Helmoholtz free energy equation used in the QHA. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The entropic contribution in the equation has a large dependence on temperature and therefore as temperature increases the entropic contribution becomes more negative. This is due to the exponential factor in the entropic contribution. This results in the Helmholtz becoming more negative.  &lt;br /&gt;
&lt;br /&gt;
===Calculating the Thermal expansion coefficients===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Linear Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{1}{L} \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{0.00002342}{2.986563} = 7.7815\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
L = the initial lattice constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 13&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Volumetric Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V} \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{0.00044612}{18.836496} = 2.3684\times 10^{-5}&amp;lt;/math&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
V = the initial volume constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 14&lt;br /&gt;
&lt;br /&gt;
For isotropic materials the volumetric coefficient is three times larger that then linear coefficient - 3&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;. For MgO &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt; is practically three times larger than &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; (3.04&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;) implying that MgO is an isotropic material &amp;lt;ref name=&amp;quot;Ref 6&amp;quot;/&amp;gt;, in other words lattice constants a, b and c expand at equal rates. At 200 K the L value increases to 2.987604 Å resulting in &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;7.839\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; which is close to the literature value of &amp;lt;math&amp;gt;7.39\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The main approximation with the QHA occurs at higher temperatures. This is because at higher temperatures the lattice experiences a larger anharmonic effect due to a larger deviation from bond equilibrium as more energy is put into the bond. Furthermore as anharmonicity comes from scattered phonons interacting due to lattice defect, this effect will be accentuated as lattice vibration gain more energy. The QHA simplifies the anharmonic effect by letting the phonon frequencies become volume dependent so therefore is unable to model the anharmonic effect well. Furthermore the born-oppenheimer approximation would become less valid at larger temperatures as the motion of nuclei becomes more important.&lt;br /&gt;
&lt;br /&gt;
== Molecular Dynamics ==&lt;br /&gt;
The crystal was then studied using Molecular Dynamics. In the previous investigations MgO has been described using a primitive cell containing a single MgO unit. Running an MD would not produce meaningful data as every cell would move perfectly in phase. By increasing the size of the cell the MD would become more accurate but become more computationally expensive so a compromise is reached for a cell containing 32 MgO units. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy temperature QHA MD.png|thumb|400px|Figure 15. Free Energy vs Temperature for MD compared to QHA]]&lt;br /&gt;
|[[File:JOHlatticeQHAMD2.png|thumb|400px|Figure 16. Lattice Constant vs Temperature for MD compared to QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics allows a system to evolve in time according to Newton&#039;s second law F=ma. As the system is treated classically energy can be modelled by the equipartition principle, &amp;lt;math&amp;gt;E = \frac{3}{2} k_B T&amp;lt;/math&amp;gt;, and as such the energy will increase linearly with temperature. In comparison QHA follows the relationship &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
,so the energy should decrease with temperature. This can be seen in figure 15. &lt;br /&gt;
&lt;br /&gt;
Looking at figure 16 the MD and the QHA are similar between 400-1000 K, thus the volumetric expansion coefficients would be similar:&lt;br /&gt;
*MD - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; = 3.06 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
*QHA - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;  = 2.89 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
This similarity in data strengthens the reliability of the volumetric expansion coefficients between 400 - 1000 K. However, below 400 K the QHA begins to break from a linear trend and curve towards 18.84 Å&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt; whereas the MD follows the linear trend. At lower trends the anharmonic effect is not as prevalent so the QHA is a better model for the lattice constant at lower temperatures. The MD model does not accurately show how the free energy changes at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
===Limitation===&lt;br /&gt;
&lt;br /&gt;
Overall both QHA and MD models have their limitations. &lt;br /&gt;
&lt;br /&gt;
The atoms are modelled using a classical approach or in other words atoms are modelled as hard charged spheres. So the quantum mechanical contributions cannot be taken into account. This will reduced the accuracy of the models &lt;br /&gt;
&lt;br /&gt;
Furthermore, the models do not consider long-range interactions, only interactions of atoms relatively close. In a realistic crystal there will be interactions outside the nearest neighbours albeit small interactions. Thus slight inaccuracy in the models is seen. &lt;br /&gt;
&lt;br /&gt;
For both models it can be assumed that the trends can be extrapolated until the melting point of MgO is reached, as upon melting a change in volume occurs. Furthermore liquid MgO has no structured order so cannot be described by a repeated unit cell. &lt;br /&gt;
&lt;br /&gt;
In the QHA the interactions between atoms of different unit cells was not taken into consideration. There would be an energy increase if there was overlap between atoms in different cells.&lt;br /&gt;
&lt;br /&gt;
For these MD calculations, as only a small number of atoms were considered it was reasonable to use a time step of 1.0 femtoseconds. However, when considering a much larger system, say for example a protein, then this would become computationally expensive&lt;br /&gt;
&lt;br /&gt;
==Conclusion== &lt;br /&gt;
The experiment showed the thermal expansion of MgO, the phonon dispersion and the DOS. Comparisons between the QHA and the MD were made, both approaches giving reasonable thermal expansion coefficients between 400-1000 K. At lower temperatures the QHA was a better model, due to the reduction in anharmonic effects.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 1&amp;quot; &amp;gt; O. Madelung, U. Rössler and M. Schulz, Eds., II-VI and I-VII compounds; Semimagnetic compounds, Springer-Verlag, 1999. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 2&amp;quot; &amp;gt; A. CIMINO, P. PORTA and M. VALIGI, Journal of the American Ceramic Society, 1966, 49, 152–156. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 3&amp;quot;&amp;gt; A. Baldereschi, Physical Review B, 1973, 7, 5212–5215. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 4&amp;quot; &amp;gt; E. J. Covington and D. J. Montgomery, J. Appl. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys, 2010, 27, 1030–53111. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 5&amp;quot; &amp;gt; J. A. Kaduk and J. Faber, The Rigaku journal 14 CRYSTAL STRUCTURE OF ZEOLITE Y AS A FUNCTION OF ION EXCHANGE, 1995. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 6&amp;quot; &amp;gt; J.R. Vinson, Plate and Panel structures of Isotropic, Composite and Piezoelectric Materials, including Sandwich Construction. Delaware; Springer; 2005. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Appendix==&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo phonon DOS 222 JOH.png|thumb|300px|Figure 1. Phonon DOS of MgO using 2x2x2 grid size]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Jo1213</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553382</id>
		<title>Rep:Mod:JOH95MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553382"/>
		<updated>2016-03-11T08:58:30Z</updated>

		<summary type="html">&lt;p&gt;Jo1213: /* Computing the Free Energy */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
The experiment will investigate the properties of an MgO crystal. Firstly the dimensions of the unit cells will be investigates along with the associated energy. Then the phonon dispersion and DOS will be investigated, evaluating the optimal grid size to use. The energies of the crystal will be investigates along with the thermal expansion coefficients. Lastly the quasi-harmonic approximation (QHA) and the molecular dynamics (MD) will be compared. &lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon-based model used to describe volume-dependent thermal effects. The harmonic phonon model assumes that all intermolecular forces are harmonic. This is not sufficient to describe thermal expansion as there is no change to the equilibrium bond length as temperature increases. The QHA takes into account that molecules do have an anharmonic effect at higher temperatures by treating frequencies as volume dependent. &lt;br /&gt;
&lt;br /&gt;
The Molecular Dynamics approach allows a system to evolve in time according to Newton&#039;s second law &amp;lt;math&amp;gt;F=ma&amp;lt;/math&amp;gt;. The initial configurations and velocities are assigned to allow the program to iterate positions and velocities. The atoms follow trajectories and the properties, such as E and T, are computed as time averages of their behaviour.&lt;br /&gt;
&lt;br /&gt;
The programs used were RedHat Linux, DLVisulaize (DLV) and General Utility Lattice Program (GULP), where DLV acted as a graphical interface for the simulations. GULP is used to perform simulations on materials using boundary conditions, in this case on a 3D lattice.&lt;br /&gt;
&lt;br /&gt;
== Internal Energy of MgO ==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:PC 1.png|left|thumb|300px|Figure 1. Primitive Cell of MgO]]&lt;br /&gt;
|[[File:CC .png|left|thumb|300px|Figure 2. Conventional Cell of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
GULP was used to determine the energy per unit cell of MgO. In the [https://wiki.ch.ic.ac.uk/wiki/images/e/e7/MgO_1_james.txt LogFile] GULF describes MgO using a primitive unit cell as shown in figure 1. The primitive unit cell has two atoms Mg and O in the shape of a rhombohedron of side 2.9783 Å and an internal angle a = 60°. It contains one lattice point and is the simplest cell to describe the crystal. It only consists of 2 atoms (Mg and O). The Cartesian lattice vectors of the cell are reported in table 1 and the total lattice energy was -41.07531759 eV which represents the energy to pull all the atom infinitely apart. The GULP calculation correlates with LCAO HF calculations found in literature (2.573 Å &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;). &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|-&lt;br /&gt;
|+ Table 1ː Cell Vector Dimensions/Å&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The conventional cell has four times the volume of the primitive cell as shown in figure 2. The cell has an internal angel a = 90° and a lattice vector of 4.212 Å (which agrees with literature of 4.21 Å &amp;lt;ref name =&amp;quot;Ref 2&amp;quot; /&amp;gt;). The conventional cell is more representative of the crystal so is chosen in the calculations.&lt;br /&gt;
&lt;br /&gt;
==Computing the Phonon Dispersion Curves==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO Phonon Dispersion JOH.png|thumb|300px|Figure 3. Phonon Dispersion Graph of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The phonon dispersion curve was calculated, as shown in figure 3. The phonon frequencies were calculated along a path in k-space. Special points along the path, &amp;lt;math&amp;gt;W, L, \Gamma, X, W, K&amp;lt;/math&amp;gt;, can be seen in figure 3.. There are two phonos modes associated with each axis, acoustic (in-phase) and optical (out-of-phase) phonons. In the 3D model three axis (x,y,z) are taken into consideration meaning there are 6 phonon modes as shown by the six different curves in figure 3. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:K=0 JOH.png|thumb|300px|Figure 4. Acoustic and optical modes at k=0]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The relationship between the wavevector k to the wavelength (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;k= \frac{2\pi}{\lambda}&amp;lt;/math&amp;gt;. Furthermore the relationship between wavelength (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) and frequency is &amp;lt;math&amp;gt; v = \frac{c}{\lambda} &amp;lt;/math&amp;gt;. As shown in figure 4 when k=0, for the acoustic mode, the wavelength approaches infinity and in turn the frequency approaches 0. For the optical mode the frequency is non-zero. With this information it is clear that at k=0 the dispersion graph is at symmetry point &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Following the path from &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;, to &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and then to &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; the acoustic modes splits into 3 modes, two transverse modes (TA) and one longitude mode (LA). The two TA are degenerate between &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; until it splits between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Phonon Density of States (DOS)==&lt;br /&gt;
The next part involved calculating the phonon density of states. The DOS is defined as the number of states per energy at a given energy, in this case vibrational frequency. The larger the number of k values considered in reciprocal space the more accurate the DOS. This is achieved by increasing the grid size (nxnxn) to give a better representation of the crystal by sampling more k values in reciprocal space. However, at a certain point the difference between k values is negligible so does not further increase the accuracy of the DOS. Furthermore calculating an infinite number of k values would take an infinite amount of computing time.&lt;br /&gt;
&lt;br /&gt;
The DOS was calculated for a 1x1x1 grid by setting the shrinking value to 1 as shown in figure 5. The grid size was then increased to find the optimum shrinking value that gave a good representation of the DOS without taking too long to calculate as shown by figures 6 through 10. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo Phonon DOS JOH 111.png|thumb|300px|Figure 5. Phonon DOS of MgO using 1x1x1 grid size]]&lt;br /&gt;
|[[File:JOHphononDOS444.png|thumb|300px|Figure 6. Phonon DOS of MgO using 4x4x4 grid size]]&lt;br /&gt;
|[[File:JOHDOS888.png|thumb|300px|Figure 7. Phonon DOS of MgO using 8x8x8 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOHDOS161616.png|thumb|300px|Figure 8. Phonon DOS of MgO using 16x16x16 grid size]]&lt;br /&gt;
|[[File:JOHDOS323232.png|thumb|300px|Figure 9. Phonon DOS of MgO using 32x32x32 grid size]]&lt;br /&gt;
|[[File:JOHDOS50.png|thumb|300px|Figure 10. Phonon DOS of MgO using 50x50x50 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 5 shows the DOS for a 1x1x1 grid size. The four peaks 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; 676 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 819 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; represent the four frequencies at point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The intensity of the peaks around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; is around double that of the peaks around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. This gives further evidence that the acoustic vibrational mode around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; are degenerate. The theorem about using the &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; point in reciprocal space for a 1x1x1 grid is called Baldereschi theorem &amp;lt;ref name = &amp;quot;Ref 3&amp;quot;/&amp;gt;. The idea being that point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is the most representative point in k-space as when you increase from grid size of 1x1x1 to 50x50x50 the main peak remains around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; with a smaller peak still around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The ideal grid size is one that represents the DOS without taking too long to calculate. From figure 8 onwards the shape of the curve does not change much, so it can be concluded that using a grid size of 16 is sufficient enough to gain a good understanding of the DOS without taking too long to calculate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:DOS dispersion JOH.png|thumb|400px|Figure 11. Comparing the dispersion curve with the DOS]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It is important to note the relationship between the dispersion curve and the DOS graph as shown in figure 11. The frequency in the phonon dispersion curve on the y axis is the same as the frequency on the DOS curve in the x-axis. It can be seen visually that the most popular states are around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The relationship between real space and reciprocal space is given by the formula &amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt; - a being the length in real space transformed to a* in reciprocal space. This shows that the larger the lattice constant a, the smaller the reciprocal cell. This is important to consider when assessing the DOS for other structures. Lithium has a lattice constant of 3.490 Å &amp;lt;ref name = &amp;quot;Ref 4&amp;quot;/&amp;gt; which is 0.721 Å lower that the conventional unit cell of MgO that is being modelled. Due to the inverse relationship of real to reciprocal space, lithium will have a larger cell in k space and therefore need a larger grid size to measure the DOS. Conversely Faujasite has a lattice constant of 24.7 Å &amp;lt;ref name = &amp;quot;Ref 5&amp;quot; /&amp;gt; which will give a much smaller cell in reciprocal space meaning that a smaller grid size would give an accurate measurement of the DOS as there are fewer k values needed to measure the cell. CaO has a very similar lattice constant meaning that a similar grid size would be needed to accurately measure the DOS - in this case a grid size of 16x16x16 would be sufficient.&lt;br /&gt;
&lt;br /&gt;
==Computing the Free Energy==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Table 2ː Energy vs Grid size&lt;br /&gt;
! Grid Size nxnxn/n&lt;br /&gt;
! Free Energy/eV&lt;br /&gt;
! Accuracy/ meV&lt;br /&gt;
! Log file&lt;br /&gt;
! rowspan=&amp;quot;9&amp;quot;|[[File:JOH Free energy vs grid size.png|thumb|400px|]]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| -40.930301&lt;br /&gt;
| 4&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/1/12/JOH_fe_MgO_111.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| -40.926609&lt;br /&gt;
| 0.2&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/aa/JOH_fe_MgO_222.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -40.926432&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4d/JOH_fe_MgO_333.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -40.926450&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/40/JOH_fe_MgO_444.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -40.926478&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/7/70/JOH_fe_MgO_888.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -40.926482&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4f/JOH_fe_MgO_16.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/ac/JOH_fe_MgO_32.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 50&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [[Media:JOH_fe_MgO_50.txt.zip|log file]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Table 2 displays the free energies of MgO as a function of grid size n. Similar to finding the ideal grid size to calculate the DOS, the optimal grid size to figure out the free energy can be found in table 2. As the grid size increases from 1 to 3 there is a sharp increase in the free energy from -40.930301 eV to -40.926432 eV, afterwards the free energy eventually converges at -40.926483 eV. The degree of accuracy follows this trend, from a grid size of 4 onwards the degree of accuracy is greater that 0.1 meV. There is no change in free energy from a grid size of 32 to 50 suggesting that a grid size of 32 is all that is needed to accurately determine the free energy of MgO. &lt;br /&gt;
&lt;br /&gt;
The graph in table 2 can be rationalized by the equation for the Helmholtz free energy - &amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A is the Helmholtz fee energy, U is the internal energy, T is temperature and S is entropy. As the grid size increases, the volume increases so the internal energy decreases (&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt;). This in turn means that the Helmholtz free energy would decrease.&lt;br /&gt;
&lt;br /&gt;
Furthermore as the number of microstates sampled increases the entropy term will increase according to the relationship &amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt;. This in turn means that the free energy will be lowered. By considering these two factors the decrease in free energy can be rationalised.&lt;br /&gt;
&lt;br /&gt;
==Thermal Expansion of MgO==&lt;br /&gt;
The structure of MgO will be optimised with respect to the free energy at different temperatures (0 - 1000 K in steps of 100 K). The free energy will be computed using the quasi-harmonic approximation (QHA) which uses the following expression: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
*&amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; = frequency of the vibration &lt;br /&gt;
*&amp;lt;math&amp;gt;E_{0}&amp;lt;/math&amp;gt; = zero point energy &lt;br /&gt;
*&amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; = Temperature&lt;br /&gt;
*&amp;lt;math&amp;gt;k_B&amp;lt;/math&amp;gt; = Boltzmann Constant &lt;br /&gt;
*&amp;lt;math&amp;gt;\hbar&amp;lt;/math&amp;gt; = reduced Planck&#039;s constant. &lt;br /&gt;
&lt;br /&gt;
The equations is split into three parts - the zero point energy and the harmonic and entropic contribution.&lt;br /&gt;
&lt;br /&gt;
In addition the coefficients of thermal expansion was calculated. The coefficient of thermal expansion describes how the size of an object changes with temperature. The larger the coefficient the greater the change in size as temperature increases. Several coefficients have been developed and the two that we will look at are the linear and volumetric thermal expansion. The generic equation is as follows:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\alpha_x = \frac{1}{x}\,\left(\frac{\partial x}{\partial T}\right)_p&lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* α&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt; = thermal expansion coefficient&lt;br /&gt;
* x = initial dimension &lt;br /&gt;
* ∂x = the partial derivative of the dimension under study &lt;br /&gt;
* ∂T = partial derivative of temperature (at constant pressure)&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy vs temp.png|thumb|400px|Figure 12. Free Energy dependence on Temperature for the QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH lattice constant vs temp.png|thumb|400px|Figure 13. Lattice Constant dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|[[File:JOH LV temp.png|thumb|400px|Figure 14. Lattice Volume dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 12 shows that as temperature increases the free energy becomes more negative. This can be rationalised with the derivation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; G = H - TS &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Plug in &amp;lt;math&amp;gt;H = U + PV&amp;lt;/math&amp;gt; to get  &amp;lt;math&amp;gt;G = U + PV - TS&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dG = dU + PdV + VdP - TdS - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = q + w &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dq = TdS &amp;lt;/math&amp;gt; &amp;lt;math&amp;gt; dw = -PdV &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \therefore dG = VdP - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This implies that both the volume and the entropic factor contribute to the free energy. As the temperature increases the volume will increase, however the entropic factor will overcome this due to large change in temperature. This explains the trend observed in figure 12. &lt;br /&gt;
&lt;br /&gt;
We would expect a linear negative decrease - &amp;lt;math&amp;gt; \left( \frac{\partial G}{\partial T} \right)_P = -S &amp;lt;/math&amp;gt;. However figure 12 shows that the trend is a curve suggesting that the pressure may not be constant.&lt;br /&gt;
&lt;br /&gt;
The trend could also be explained using the Helmoholtz free energy equation used in the QHA. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The entropic contribution in the equation has a large dependence on temperature and therefore as temperature increases the entropic contribution becomes more negative. This is due to the exponential factor in the entropic contribution. This results in the Helmholtz becoming more negative.  &lt;br /&gt;
&lt;br /&gt;
===Calculating the Thermal expansion coefficients===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Linear Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{1}{L} \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{0.00002342}{2.986563} = 7.7815\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
L = the initial lattice constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 13&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Volumetric Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V} \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{0.00044612}{18.836496} = 2.3684\times 10^{-5}&amp;lt;/math&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
V = the initial volume constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 14&lt;br /&gt;
&lt;br /&gt;
For isotropic materials the volumetric coefficient is three times larger that then linear coefficient - 3&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;. For MgO &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt; is practically three times larger than &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; (3.04&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;) implying that MgO is an isotropic material &amp;lt;ref name=&amp;quot;Ref 6&amp;quot;/&amp;gt;, in other words lattice constants a, b and c expand at equal rates. At 200 K the L value increases to 2.987604 Å resulting in &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;7.839\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; which is close to the literature value of &amp;lt;math&amp;gt;7.39\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The main approximation with the QHA occurs at higher temperatures. This is because at higher temperatures the lattice experiences a larger anharmonic effect due to a larger deviation from bond equilibrium as more energy is put into the bond. Furthermore as anharmonicity comes from scattered phonons interacting due to lattice defect, this effect will be accentuated as lattice vibration gain more energy. The QHA simplifies the anharmonic effect by letting the phonon frequencies become volume dependent so therefore is unable to model the anharmonic effect well. Furthermore the born-oppenheimer approximation would become less valid at larger temperatures as the motion of nuclei becomes more important.&lt;br /&gt;
&lt;br /&gt;
== Molecular Dynamics ==&lt;br /&gt;
The crystal was then studied using Molecular Dynamics. In the previous investigations MgO has been described using a primitive cell containing a single MgO unit. Running an MD would not produce meaningful data as every cell would move perfectly in phase. By increasing the size of the cell the MD would become more accurate but become more computationally expensive so a compromise is reached for a cell containing 32 MgO units. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy temperature QHA MD.png|thumb|400px|Figure 15. Free Energy vs Temperature for MD compared to QHA]]&lt;br /&gt;
|[[File:JOHlatticeQHAMD2.png|thumb|400px|Figure 16. Lattice Constant vs Temperature for MD compared to QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics allows a system to evolve in time according to Newton&#039;s second law F=ma. As the system is treated classically energy can be modelled by the equipartition principle, &amp;lt;math&amp;gt;E = \frac{3}{2} k_B T&amp;lt;/math&amp;gt;, and as such the energy will increase linearly with temperature. In comparison QHA follows the relationship A = U -TS, so the energy should decrease with temperature. This can be seen in figure 15. &lt;br /&gt;
&lt;br /&gt;
Looking at figure 16 the MD and the QHA are similar between 400-1000 K, thus the volumetric expansion coefficients would be similar:&lt;br /&gt;
*MD - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; = 3.06 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
*QHA - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;  = 2.89 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
This similarity in data strengthens the reliability of the volumetric expansion coefficients between 400 - 1000 K. However, below 400 K the QHA begins to break from a linear trend and curve towards 18.84 Å&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt; whereas the MD follows the linear trend. At lower trends the anharmonic effect is not as prevalent so the QHA is a better model for the lattice constant at lower temperatures. The MD model does not accurately show how the free energy changes at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
===Limitation===&lt;br /&gt;
&lt;br /&gt;
Overall both QHA and MD models have their limitations. &lt;br /&gt;
&lt;br /&gt;
The atoms are modelled using a classical approach or in other words atoms are modelled as hard charged spheres. So the quantum mechanical contributions cannot be taken into account. This will reduced the accuracy of the models &lt;br /&gt;
&lt;br /&gt;
Furthermore, the models do not consider long-range interactions, only interactions of atoms relatively close. In a realistic crystal there will be interactions outside the nearest neighbours albeit small interactions. Thus slight inaccuracy in the models is seen. &lt;br /&gt;
&lt;br /&gt;
For both models it can be assumed that the trends can be extrapolated until the melting point of MgO is reached, as upon melting a change in volume occurs. Furthermore liquid MgO has no structured order so cannot be described by a repeated unit cell. &lt;br /&gt;
&lt;br /&gt;
In the QHA the interactions between atoms of different unit cells was not taken into consideration. There would be an energy increase if there was overlap between atoms in different cells.&lt;br /&gt;
&lt;br /&gt;
For these MD calculations, as only a small number of atoms were considered it was reasonable to use a time step of 1.0 femtoseconds. However, when considering a much larger system, say for example a protein, then this would become computationally expensive&lt;br /&gt;
&lt;br /&gt;
==Conclusion== &lt;br /&gt;
The experiment showed the thermal expansion of MgO, the phonon dispersion and the DOS. Comparisons between the QHA and the MD were made, both approaches giving reasonable thermal expansion coefficients between 400-1000 K. At lower temperatures the QHA was a better model, due to the reduction in anharmonic effects.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 1&amp;quot; &amp;gt; O. Madelung, U. Rössler and M. Schulz, Eds., II-VI and I-VII compounds; Semimagnetic compounds, Springer-Verlag, 1999. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 2&amp;quot; &amp;gt; A. CIMINO, P. PORTA and M. VALIGI, Journal of the American Ceramic Society, 1966, 49, 152–156. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 3&amp;quot;&amp;gt; A. Baldereschi, Physical Review B, 1973, 7, 5212–5215. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 4&amp;quot; &amp;gt; E. J. Covington and D. J. Montgomery, J. Appl. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys, 2010, 27, 1030–53111. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 5&amp;quot; &amp;gt; J. A. Kaduk and J. Faber, The Rigaku journal 14 CRYSTAL STRUCTURE OF ZEOLITE Y AS A FUNCTION OF ION EXCHANGE, 1995. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 6&amp;quot; &amp;gt; J.R. Vinson, Plate and Panel structures of Isotropic, Composite and Piezoelectric Materials, including Sandwich Construction. Delaware; Springer; 2005. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Appendix==&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo phonon DOS 222 JOH.png|thumb|300px|Figure 1. Phonon DOS of MgO using 2x2x2 grid size]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Jo1213</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553369</id>
		<title>Rep:Mod:JOH95MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553369"/>
		<updated>2016-03-11T08:31:22Z</updated>

		<summary type="html">&lt;p&gt;Jo1213: /* Limitation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
The experiment will investigate the properties of an MgO crystal. Firstly the dimensions of the unit cells will be investigates along with the associated energy. Then the phonon dispersion and DOS will be investigated, evaluating the optimal grid size to use. The energies of the crystal will be investigates along with the thermal expansion coefficients. Lastly the quasi-harmonic approximation (QHA) and the molecular dynamics (MD) will be compared. &lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon-based model used to describe volume-dependent thermal effects. The harmonic phonon model assumes that all intermolecular forces are harmonic. This is not sufficient to describe thermal expansion as there is no change to the equilibrium bond length as temperature increases. The QHA takes into account that molecules do have an anharmonic effect at higher temperatures by treating frequencies as volume dependent. &lt;br /&gt;
&lt;br /&gt;
The Molecular Dynamics approach allows a system to evolve in time according to Newton&#039;s second law &amp;lt;math&amp;gt;F=ma&amp;lt;/math&amp;gt;. The initial configurations and velocities are assigned to allow the program to iterate positions and velocities. The atoms follow trajectories and the properties, such as E and T, are computed as time averages of their behaviour.&lt;br /&gt;
&lt;br /&gt;
The programs used were RedHat Linux, DLVisulaize (DLV) and General Utility Lattice Program (GULP), where DLV acted as a graphical interface for the simulations. GULP is used to perform simulations on materials using boundary conditions, in this case on a 3D lattice.&lt;br /&gt;
&lt;br /&gt;
== Internal Energy of MgO ==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:PC 1.png|left|thumb|300px|Figure 1. Primitive Cell of MgO]]&lt;br /&gt;
|[[File:CC .png|left|thumb|300px|Figure 2. Conventional Cell of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
GULP was used to determine the energy per unit cell of MgO. In the [https://wiki.ch.ic.ac.uk/wiki/images/e/e7/MgO_1_james.txt LogFile] GULF describes MgO using a primitive unit cell as shown in figure 1. The primitive unit cell has two atoms Mg and O in the shape of a rhombohedron of side 2.9783 Å and an internal angle a = 60°. It contains one lattice point and is the simplest cell to describe the crystal. It only consists of 2 atoms (Mg and O). The Cartesian lattice vectors of the cell are reported in table 1 and the total lattice energy was -41.07531759 eV which represents the energy to pull all the atom infinitely apart. The GULP calculation correlates with LCAO HF calculations found in literature (2.573 Å &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;). &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|-&lt;br /&gt;
|+ Table 1ː Cell Vector Dimensions/Å&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The conventional cell has four times the volume of the primitive cell as shown in figure 2. The cell has an internal angel a = 90° and a lattice vector of 4.212 Å (which agrees with literature of 4.21 Å &amp;lt;ref name =&amp;quot;Ref 2&amp;quot; /&amp;gt;). The conventional cell is more representative of the crystal so is chosen in the calculations.&lt;br /&gt;
&lt;br /&gt;
==Computing the Phonon Dispersion Curves==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO Phonon Dispersion JOH.png|thumb|300px|Figure 3. Phonon Dispersion Graph of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The phonon dispersion curve was calculated, as shown in figure 3. The phonon frequencies were calculated along a path in k-space. Special points along the path, &amp;lt;math&amp;gt;W, L, \Gamma, X, W, K&amp;lt;/math&amp;gt;, can be seen in figure 3.. There are two phonos modes associated with each axis, acoustic (in-phase) and optical (out-of-phase) phonons. In the 3D model three axis (x,y,z) are taken into consideration meaning there are 6 phonon modes as shown by the six different curves in figure 3. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:K=0 JOH.png|thumb|300px|Figure 4. Acoustic and optical modes at k=0]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The relationship between the wavevector k to the wavelength (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;k= \frac{2\pi}{\lambda}&amp;lt;/math&amp;gt;. Furthermore the relationship between wavelength (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) and frequency is &amp;lt;math&amp;gt; v = \frac{c}{\lambda} &amp;lt;/math&amp;gt;. As shown in figure 4 when k=0, for the acoustic mode, the wavelength approaches infinity and in turn the frequency approaches 0. For the optical mode the frequency is non-zero. With this information it is clear that at k=0 the dispersion graph is at symmetry point &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Following the path from &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;, to &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and then to &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; the acoustic modes splits into 3 modes, two transverse modes (TA) and one longitude mode (LA). The two TA are degenerate between &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; until it splits between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Phonon Density of States (DOS)==&lt;br /&gt;
The next part involved calculating the phonon density of states. The DOS is defined as the number of states per energy at a given energy, in this case vibrational frequency. The larger the number of k values considered in reciprocal space the more accurate the DOS. This is achieved by increasing the grid size (nxnxn) to give a better representation of the crystal by sampling more k values in reciprocal space. However, at a certain point the difference between k values is negligible so does not further increase the accuracy of the DOS. Furthermore calculating an infinite number of k values would take an infinite amount of computing time.&lt;br /&gt;
&lt;br /&gt;
The DOS was calculated for a 1x1x1 grid by setting the shrinking value to 1 as shown in figure 5. The grid size was then increased to find the optimum shrinking value that gave a good representation of the DOS without taking too long to calculate as shown by figures 6 through 10. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo Phonon DOS JOH 111.png|thumb|300px|Figure 5. Phonon DOS of MgO using 1x1x1 grid size]]&lt;br /&gt;
|[[File:JOHphononDOS444.png|thumb|300px|Figure 6. Phonon DOS of MgO using 4x4x4 grid size]]&lt;br /&gt;
|[[File:JOHDOS888.png|thumb|300px|Figure 7. Phonon DOS of MgO using 8x8x8 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOHDOS161616.png|thumb|300px|Figure 8. Phonon DOS of MgO using 16x16x16 grid size]]&lt;br /&gt;
|[[File:JOHDOS323232.png|thumb|300px|Figure 9. Phonon DOS of MgO using 32x32x32 grid size]]&lt;br /&gt;
|[[File:JOHDOS50.png|thumb|300px|Figure 10. Phonon DOS of MgO using 50x50x50 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 5 shows the DOS for a 1x1x1 grid size. The four peaks 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; 676 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 819 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; represent the four frequencies at point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The intensity of the peaks around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; is around double that of the peaks around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. This gives further evidence that the acoustic vibrational mode around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; are degenerate. The theorem about using the &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; point in reciprocal space for a 1x1x1 grid is called Baldereschi theorem &amp;lt;ref name = &amp;quot;Ref 3&amp;quot;/&amp;gt;. The idea being that point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is the most representative point in k-space as when you increase from grid size of 1x1x1 to 50x50x50 the main peak remains around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; with a smaller peak still around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The ideal grid size is one that represents the DOS without taking too long to calculate. From figure 8 onwards the shape of the curve does not change much, so it can be concluded that using a grid size of 16 is sufficient enough to gain a good understanding of the DOS without taking too long to calculate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:DOS dispersion JOH.png|thumb|400px|Figure 11. Comparing the dispersion curve with the DOS]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It is important to note the relationship between the dispersion curve and the DOS graph as shown in figure 11. The frequency in the phonon dispersion curve on the y axis is the same as the frequency on the DOS curve in the x-axis. It can be seen visually that the most popular states are around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The relationship between real space and reciprocal space is given by the formula &amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt; - a being the length in real space transformed to a* in reciprocal space. This shows that the larger the lattice constant a, the smaller the reciprocal cell. This is important to consider when assessing the DOS for other structures. Lithium has a lattice constant of 3.490 Å &amp;lt;ref name = &amp;quot;Ref 4&amp;quot;/&amp;gt; which is 0.721 Å lower that the conventional unit cell of MgO that is being modelled. Due to the inverse relationship of real to reciprocal space, lithium will have a larger cell in k space and therefore need a larger grid size to measure the DOS. Conversely Faujasite has a lattice constant of 24.7 Å &amp;lt;ref name = &amp;quot;Ref 5&amp;quot; /&amp;gt; which will give a much smaller cell in reciprocal space meaning that a smaller grid size would give an accurate measurement of the DOS as there are fewer k values needed to measure the cell. CaO has a very similar lattice constant meaning that a similar grid size would be needed to accurately measure the DOS - in this case a grid size of 16x16x16 would be sufficient.&lt;br /&gt;
&lt;br /&gt;
==Computing the Free Energy==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Table 2ː Energy vs Grid size&lt;br /&gt;
! Grid Size nxnxn/n&lt;br /&gt;
! Free Energy/eV&lt;br /&gt;
! Accuracy/ meV&lt;br /&gt;
! Log file&lt;br /&gt;
! rowspan=&amp;quot;9&amp;quot;|[[File:JOH Free energy vs grid size.png|thumb|400px|]]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| -40.930301&lt;br /&gt;
| 4&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/1/12/JOH_fe_MgO_111.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| -40.926609&lt;br /&gt;
| 0.2&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/aa/JOH_fe_MgO_222.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -40.926432&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4d/JOH_fe_MgO_333.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -40.926450&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/40/JOH_fe_MgO_444.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -40.926478&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/7/70/JOH_fe_MgO_888.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -40.926482&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4f/JOH_fe_MgO_16.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/ac/JOH_fe_MgO_32.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 50&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [[Media:JOH_fe_MgO_50.txt.zip|log file]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Table 2 displays the free energies of MgO as a function of grid size n. Similar to finding the ideal grid size to calculate the DOS, the optimal grid size to figure out the free energy can be found in table 2. As the grid size increases from 1 to 3 there is a sharp increase in the free energy from -40.930301 eV to -40.926432 eV, after-which the free energy eventually converges at -40.926483 eV. The degree of accuracy follows this trend, from a grid size of 4 onwards the degree of accuracy is greater that 0.1 meV. There is no change in free energy from a grid size of 32 to 50 suggesting that a grid size of 32 is all that is needed to accurately determine the free energy of MgO. &lt;br /&gt;
&lt;br /&gt;
The graph in table 2 can be rationalized by the equation for the Helmholtz free energy - &amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A is the Helmholtz fee energy, U is the internal energy, T is temperature and S is entropy. As the grid size increases, the volume increases so the internal energy decreases (&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt;). This in turn means that the Helmholtz free energy would decrease.&lt;br /&gt;
&lt;br /&gt;
Furthermore as the number of microstates sampled increases the entropy term will increase according to the relationship &amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt;. This in turn means that the free energy will be lowered. By considering these two factors the decrease in free energy can be rationalised.&lt;br /&gt;
&lt;br /&gt;
==Thermal Expansion of MgO==&lt;br /&gt;
The structure of MgO will be optimised with respect to the free energy at different temperatures (0 - 1000 K in steps of 100 K). The free energy will be computed using the quasi-harmonic approximation (QHA) which uses the following expression: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
*&amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; = frequency of the vibration &lt;br /&gt;
*&amp;lt;math&amp;gt;E_{0}&amp;lt;/math&amp;gt; = zero point energy &lt;br /&gt;
*&amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; = Temperature&lt;br /&gt;
*&amp;lt;math&amp;gt;k_B&amp;lt;/math&amp;gt; = Boltzmann Constant &lt;br /&gt;
*&amp;lt;math&amp;gt;\hbar&amp;lt;/math&amp;gt; = reduced Planck&#039;s constant. &lt;br /&gt;
&lt;br /&gt;
The equations is split into three parts - the zero point energy and the harmonic and entropic contribution.&lt;br /&gt;
&lt;br /&gt;
In addition the coefficients of thermal expansion was calculated. The coefficient of thermal expansion describes how the size of an object changes with temperature. The larger the coefficient the greater the change in size as temperature increases. Several coefficients have been developed and the two that we will look at are the linear and volumetric thermal expansion. The generic equation is as follows:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\alpha_x = \frac{1}{x}\,\left(\frac{\partial x}{\partial T}\right)_p&lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* α&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt; = thermal expansion coefficient&lt;br /&gt;
* x = initial dimension &lt;br /&gt;
* ∂x = the partial derivative of the dimension under study &lt;br /&gt;
* ∂T = partial derivative of temperature (at constant pressure)&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy vs temp.png|thumb|400px|Figure 12. Free Energy dependence on Temperature for the QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH lattice constant vs temp.png|thumb|400px|Figure 13. Lattice Constant dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|[[File:JOH LV temp.png|thumb|400px|Figure 14. Lattice Volume dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 12 shows that as temperature increases the free energy becomes more negative. This can be rationalised with the derivation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; G = H - TS &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Plug in &amp;lt;math&amp;gt;H = U + PV&amp;lt;/math&amp;gt; to get  &amp;lt;math&amp;gt;G = U + PV - TS&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dG = dU + PdV + VdP - TdS - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = q + w &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dq = TdS &amp;lt;/math&amp;gt; &amp;lt;math&amp;gt; dw = -PdV &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \therefore dG = VdP - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This implies that both the volume and the entropic factor contribute to the free energy. As the temperature increases the volume will increase, however the entropic factor will overcome this due to large change in temperature. This explains the trend observed in figure 12. &lt;br /&gt;
&lt;br /&gt;
We would expect a linear negative decrease - &amp;lt;math&amp;gt; \left( \frac{\partial G}{\partial T} \right)_P = -S &amp;lt;/math&amp;gt;. However figure 12 shows that the trend is a curve suggesting that the pressure may not be constant.&lt;br /&gt;
&lt;br /&gt;
The trend could also be explained using the Helmoholtz free energy equation used in the QHA. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The entropic contribution in the equation has a large dependence on temperature and therefore as temperature increases the entropic contribution becomes more negative. This is due to the exponential factor in the entropic contribution. This results in the Helmholtz becoming more negative.  &lt;br /&gt;
&lt;br /&gt;
===Calculating the Thermal expansion coefficients===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Linear Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{1}{L} \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{0.00002342}{2.986563} = 7.7815\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
L = the initial lattice constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 13&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Volumetric Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V} \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{0.00044612}{18.836496} = 2.3684\times 10^{-5}&amp;lt;/math&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
V = the initial volume constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 14&lt;br /&gt;
&lt;br /&gt;
For isotropic materials the volumetric coefficient is three times larger that then linear coefficient - 3&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;. For MgO &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt; is practically three times larger than &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; (3.04&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;) implying that MgO is an isotropic material &amp;lt;ref name=&amp;quot;Ref 6&amp;quot;/&amp;gt;, in other words lattice constants a, b and c expand at equal rates. At 200 K the L value increases to 2.987604 Å resulting in &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;7.839\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; which is close to the literature value of &amp;lt;math&amp;gt;7.39\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The main approximation with the QHA occurs at higher temperatures. This is because at higher temperatures the lattice experiences a larger anharmonic effect due to a larger deviation from bond equilibrium as more energy is put into the bond. Furthermore as anharmonicity comes from scattered phonons interacting due to lattice defect, this effect will be accentuated as lattice vibration gain more energy. The QHA simplifies the anharmonic effect by letting the phonon frequencies become volume dependent so therefore is unable to model the anharmonic effect well. Furthermore the born-oppenheimer approximation would become less valid at larger temperatures as the motion of nuclei becomes more important.&lt;br /&gt;
&lt;br /&gt;
== Molecular Dynamics ==&lt;br /&gt;
The crystal was then studied using Molecular Dynamics. In the previous investigations MgO has been described using a primitive cell containing a single MgO unit. Running an MD would not produce meaningful data as every cell would move perfectly in phase. By increasing the size of the cell the MD would become more accurate but become more computationally expensive so a compromise is reached for a cell containing 32 MgO units. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy temperature QHA MD.png|thumb|400px|Figure 15. Free Energy vs Temperature for MD compared to QHA]]&lt;br /&gt;
|[[File:JOHlatticeQHAMD2.png|thumb|400px|Figure 16. Lattice Constant vs Temperature for MD compared to QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics allows a system to evolve in time according to Newton&#039;s second law F=ma. As the system is treated classically energy can be modelled by the equipartition principle, &amp;lt;math&amp;gt;E = \frac{3}{2} k_B T&amp;lt;/math&amp;gt;, and as such the energy will increase linearly with temperature. In comparison QHA follows the relationship A = U -TS, so the energy should decrease with temperature. This can be seen in figure 15. &lt;br /&gt;
&lt;br /&gt;
Looking at figure 16 the MD and the QHA are similar between 400-1000 K, thus the volumetric expansion coefficients would be similar:&lt;br /&gt;
*MD - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; = 3.06 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
*QHA - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;  = 2.89 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
This similarity in data strengthens the reliability of the volumetric expansion coefficients between 400 - 1000 K. However, below 400 K the QHA begins to break from a linear trend and curve towards 18.84 Å&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt; whereas the MD follows the linear trend. At lower trends the anharmonic effect is not as prevalent so the QHA is a better model for the lattice constant at lower temperatures. The MD model does not accurately show how the free energy changes at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
===Limitation===&lt;br /&gt;
&lt;br /&gt;
Overall both QHA and MD models have their limitations. &lt;br /&gt;
&lt;br /&gt;
The atoms are modelled using a classical approach or in other words atoms are modelled as hard charged spheres. So the quantum mechanical contributions cannot be taken into account. This will reduced the accuracy of the models &lt;br /&gt;
&lt;br /&gt;
Furthermore, the models do not consider long-range interactions, only interactions of atoms relatively close. In a realistic crystal there will be interactions outside the nearest neighbours albeit small interactions. Thus slight inaccuracy in the models is seen. &lt;br /&gt;
&lt;br /&gt;
For both models it can be assumed that the trends can be extrapolated until the melting point of MgO is reached, as upon melting a change in volume occurs. Furthermore liquid MgO has no structured order so cannot be described by a repeated unit cell. &lt;br /&gt;
&lt;br /&gt;
In the QHA the interactions between atoms of different unit cells was not taken into consideration. There would be an energy increase if there was overlap between atoms in different cells.&lt;br /&gt;
&lt;br /&gt;
For these MD calculations, as only a small number of atoms were considered it was reasonable to use a time step of 1.0 femtoseconds. However, when considering a much larger system, say for example a protein, then this would become computationally expensive&lt;br /&gt;
&lt;br /&gt;
==Conclusion== &lt;br /&gt;
The experiment showed the thermal expansion of MgO, the phonon dispersion and the DOS. Comparisons between the QHA and the MD were made, both approaches giving reasonable thermal expansion coefficients between 400-1000 K. At lower temperatures the QHA was a better model, due to the reduction in anharmonic effects.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 1&amp;quot; &amp;gt; O. Madelung, U. Rössler and M. Schulz, Eds., II-VI and I-VII compounds; Semimagnetic compounds, Springer-Verlag, 1999. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 2&amp;quot; &amp;gt; A. CIMINO, P. PORTA and M. VALIGI, Journal of the American Ceramic Society, 1966, 49, 152–156. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 3&amp;quot;&amp;gt; A. Baldereschi, Physical Review B, 1973, 7, 5212–5215. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 4&amp;quot; &amp;gt; E. J. Covington and D. J. Montgomery, J. Appl. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys, 2010, 27, 1030–53111. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 5&amp;quot; &amp;gt; J. A. Kaduk and J. Faber, The Rigaku journal 14 CRYSTAL STRUCTURE OF ZEOLITE Y AS A FUNCTION OF ION EXCHANGE, 1995. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 6&amp;quot; &amp;gt; J.R. Vinson, Plate and Panel structures of Isotropic, Composite and Piezoelectric Materials, including Sandwich Construction. Delaware; Springer; 2005. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Appendix==&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo phonon DOS 222 JOH.png|thumb|300px|Figure 1. Phonon DOS of MgO using 2x2x2 grid size]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Jo1213</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553364</id>
		<title>Rep:Mod:JOH95MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553364"/>
		<updated>2016-03-11T08:24:34Z</updated>

		<summary type="html">&lt;p&gt;Jo1213: /* Molecular Dynamics */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
The experiment will investigate the properties of an MgO crystal. Firstly the dimensions of the unit cells will be investigates along with the associated energy. Then the phonon dispersion and DOS will be investigated, evaluating the optimal grid size to use. The energies of the crystal will be investigates along with the thermal expansion coefficients. Lastly the quasi-harmonic approximation (QHA) and the molecular dynamics (MD) will be compared. &lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon-based model used to describe volume-dependent thermal effects. The harmonic phonon model assumes that all intermolecular forces are harmonic. This is not sufficient to describe thermal expansion as there is no change to the equilibrium bond length as temperature increases. The QHA takes into account that molecules do have an anharmonic effect at higher temperatures by treating frequencies as volume dependent. &lt;br /&gt;
&lt;br /&gt;
The Molecular Dynamics approach allows a system to evolve in time according to Newton&#039;s second law &amp;lt;math&amp;gt;F=ma&amp;lt;/math&amp;gt;. The initial configurations and velocities are assigned to allow the program to iterate positions and velocities. The atoms follow trajectories and the properties, such as E and T, are computed as time averages of their behaviour.&lt;br /&gt;
&lt;br /&gt;
The programs used were RedHat Linux, DLVisulaize (DLV) and General Utility Lattice Program (GULP), where DLV acted as a graphical interface for the simulations. GULP is used to perform simulations on materials using boundary conditions, in this case on a 3D lattice.&lt;br /&gt;
&lt;br /&gt;
== Internal Energy of MgO ==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:PC 1.png|left|thumb|300px|Figure 1. Primitive Cell of MgO]]&lt;br /&gt;
|[[File:CC .png|left|thumb|300px|Figure 2. Conventional Cell of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
GULP was used to determine the energy per unit cell of MgO. In the [https://wiki.ch.ic.ac.uk/wiki/images/e/e7/MgO_1_james.txt LogFile] GULF describes MgO using a primitive unit cell as shown in figure 1. The primitive unit cell has two atoms Mg and O in the shape of a rhombohedron of side 2.9783 Å and an internal angle a = 60°. It contains one lattice point and is the simplest cell to describe the crystal. It only consists of 2 atoms (Mg and O). The Cartesian lattice vectors of the cell are reported in table 1 and the total lattice energy was -41.07531759 eV which represents the energy to pull all the atom infinitely apart. The GULP calculation correlates with LCAO HF calculations found in literature (2.573 Å &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;). &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|-&lt;br /&gt;
|+ Table 1ː Cell Vector Dimensions/Å&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The conventional cell has four times the volume of the primitive cell as shown in figure 2. The cell has an internal angel a = 90° and a lattice vector of 4.212 Å (which agrees with literature of 4.21 Å &amp;lt;ref name =&amp;quot;Ref 2&amp;quot; /&amp;gt;). The conventional cell is more representative of the crystal so is chosen in the calculations.&lt;br /&gt;
&lt;br /&gt;
==Computing the Phonon Dispersion Curves==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO Phonon Dispersion JOH.png|thumb|300px|Figure 3. Phonon Dispersion Graph of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The phonon dispersion curve was calculated, as shown in figure 3. The phonon frequencies were calculated along a path in k-space. Special points along the path, &amp;lt;math&amp;gt;W, L, \Gamma, X, W, K&amp;lt;/math&amp;gt;, can be seen in figure 3.. There are two phonos modes associated with each axis, acoustic (in-phase) and optical (out-of-phase) phonons. In the 3D model three axis (x,y,z) are taken into consideration meaning there are 6 phonon modes as shown by the six different curves in figure 3. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:K=0 JOH.png|thumb|300px|Figure 4. Acoustic and optical modes at k=0]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The relationship between the wavevector k to the wavelength (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;k= \frac{2\pi}{\lambda}&amp;lt;/math&amp;gt;. Furthermore the relationship between wavelength (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) and frequency is &amp;lt;math&amp;gt; v = \frac{c}{\lambda} &amp;lt;/math&amp;gt;. As shown in figure 4 when k=0, for the acoustic mode, the wavelength approaches infinity and in turn the frequency approaches 0. For the optical mode the frequency is non-zero. With this information it is clear that at k=0 the dispersion graph is at symmetry point &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Following the path from &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;, to &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and then to &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; the acoustic modes splits into 3 modes, two transverse modes (TA) and one longitude mode (LA). The two TA are degenerate between &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; until it splits between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Phonon Density of States (DOS)==&lt;br /&gt;
The next part involved calculating the phonon density of states. The DOS is defined as the number of states per energy at a given energy, in this case vibrational frequency. The larger the number of k values considered in reciprocal space the more accurate the DOS. This is achieved by increasing the grid size (nxnxn) to give a better representation of the crystal by sampling more k values in reciprocal space. However, at a certain point the difference between k values is negligible so does not further increase the accuracy of the DOS. Furthermore calculating an infinite number of k values would take an infinite amount of computing time.&lt;br /&gt;
&lt;br /&gt;
The DOS was calculated for a 1x1x1 grid by setting the shrinking value to 1 as shown in figure 5. The grid size was then increased to find the optimum shrinking value that gave a good representation of the DOS without taking too long to calculate as shown by figures 6 through 10. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo Phonon DOS JOH 111.png|thumb|300px|Figure 5. Phonon DOS of MgO using 1x1x1 grid size]]&lt;br /&gt;
|[[File:JOHphononDOS444.png|thumb|300px|Figure 6. Phonon DOS of MgO using 4x4x4 grid size]]&lt;br /&gt;
|[[File:JOHDOS888.png|thumb|300px|Figure 7. Phonon DOS of MgO using 8x8x8 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOHDOS161616.png|thumb|300px|Figure 8. Phonon DOS of MgO using 16x16x16 grid size]]&lt;br /&gt;
|[[File:JOHDOS323232.png|thumb|300px|Figure 9. Phonon DOS of MgO using 32x32x32 grid size]]&lt;br /&gt;
|[[File:JOHDOS50.png|thumb|300px|Figure 10. Phonon DOS of MgO using 50x50x50 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 5 shows the DOS for a 1x1x1 grid size. The four peaks 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; 676 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 819 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; represent the four frequencies at point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The intensity of the peaks around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; is around double that of the peaks around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. This gives further evidence that the acoustic vibrational mode around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; are degenerate. The theorem about using the &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; point in reciprocal space for a 1x1x1 grid is called Baldereschi theorem &amp;lt;ref name = &amp;quot;Ref 3&amp;quot;/&amp;gt;. The idea being that point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is the most representative point in k-space as when you increase from grid size of 1x1x1 to 50x50x50 the main peak remains around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; with a smaller peak still around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The ideal grid size is one that represents the DOS without taking too long to calculate. From figure 8 onwards the shape of the curve does not change much, so it can be concluded that using a grid size of 16 is sufficient enough to gain a good understanding of the DOS without taking too long to calculate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:DOS dispersion JOH.png|thumb|400px|Figure 11. Comparing the dispersion curve with the DOS]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It is important to note the relationship between the dispersion curve and the DOS graph as shown in figure 11. The frequency in the phonon dispersion curve on the y axis is the same as the frequency on the DOS curve in the x-axis. It can be seen visually that the most popular states are around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The relationship between real space and reciprocal space is given by the formula &amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt; - a being the length in real space transformed to a* in reciprocal space. This shows that the larger the lattice constant a, the smaller the reciprocal cell. This is important to consider when assessing the DOS for other structures. Lithium has a lattice constant of 3.490 Å &amp;lt;ref name = &amp;quot;Ref 4&amp;quot;/&amp;gt; which is 0.721 Å lower that the conventional unit cell of MgO that is being modelled. Due to the inverse relationship of real to reciprocal space, lithium will have a larger cell in k space and therefore need a larger grid size to measure the DOS. Conversely Faujasite has a lattice constant of 24.7 Å &amp;lt;ref name = &amp;quot;Ref 5&amp;quot; /&amp;gt; which will give a much smaller cell in reciprocal space meaning that a smaller grid size would give an accurate measurement of the DOS as there are fewer k values needed to measure the cell. CaO has a very similar lattice constant meaning that a similar grid size would be needed to accurately measure the DOS - in this case a grid size of 16x16x16 would be sufficient.&lt;br /&gt;
&lt;br /&gt;
==Computing the Free Energy==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Table 2ː Energy vs Grid size&lt;br /&gt;
! Grid Size nxnxn/n&lt;br /&gt;
! Free Energy/eV&lt;br /&gt;
! Accuracy/ meV&lt;br /&gt;
! Log file&lt;br /&gt;
! rowspan=&amp;quot;9&amp;quot;|[[File:JOH Free energy vs grid size.png|thumb|400px|]]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| -40.930301&lt;br /&gt;
| 4&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/1/12/JOH_fe_MgO_111.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| -40.926609&lt;br /&gt;
| 0.2&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/aa/JOH_fe_MgO_222.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -40.926432&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4d/JOH_fe_MgO_333.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -40.926450&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/40/JOH_fe_MgO_444.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -40.926478&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/7/70/JOH_fe_MgO_888.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -40.926482&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4f/JOH_fe_MgO_16.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/ac/JOH_fe_MgO_32.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 50&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [[Media:JOH_fe_MgO_50.txt.zip|log file]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Table 2 displays the free energies of MgO as a function of grid size n. Similar to finding the ideal grid size to calculate the DOS, the optimal grid size to figure out the free energy can be found in table 2. As the grid size increases from 1 to 3 there is a sharp increase in the free energy from -40.930301 eV to -40.926432 eV, after-which the free energy eventually converges at -40.926483 eV. The degree of accuracy follows this trend, from a grid size of 4 onwards the degree of accuracy is greater that 0.1 meV. There is no change in free energy from a grid size of 32 to 50 suggesting that a grid size of 32 is all that is needed to accurately determine the free energy of MgO. &lt;br /&gt;
&lt;br /&gt;
The graph in table 2 can be rationalized by the equation for the Helmholtz free energy - &amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A is the Helmholtz fee energy, U is the internal energy, T is temperature and S is entropy. As the grid size increases, the volume increases so the internal energy decreases (&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt;). This in turn means that the Helmholtz free energy would decrease.&lt;br /&gt;
&lt;br /&gt;
Furthermore as the number of microstates sampled increases the entropy term will increase according to the relationship &amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt;. This in turn means that the free energy will be lowered. By considering these two factors the decrease in free energy can be rationalised.&lt;br /&gt;
&lt;br /&gt;
==Thermal Expansion of MgO==&lt;br /&gt;
The structure of MgO will be optimised with respect to the free energy at different temperatures (0 - 1000 K in steps of 100 K). The free energy will be computed using the quasi-harmonic approximation (QHA) which uses the following expression: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
*&amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; = frequency of the vibration &lt;br /&gt;
*&amp;lt;math&amp;gt;E_{0}&amp;lt;/math&amp;gt; = zero point energy &lt;br /&gt;
*&amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; = Temperature&lt;br /&gt;
*&amp;lt;math&amp;gt;k_B&amp;lt;/math&amp;gt; = Boltzmann Constant &lt;br /&gt;
*&amp;lt;math&amp;gt;\hbar&amp;lt;/math&amp;gt; = reduced Planck&#039;s constant. &lt;br /&gt;
&lt;br /&gt;
The equations is split into three parts - the zero point energy and the harmonic and entropic contribution.&lt;br /&gt;
&lt;br /&gt;
In addition the coefficients of thermal expansion was calculated. The coefficient of thermal expansion describes how the size of an object changes with temperature. The larger the coefficient the greater the change in size as temperature increases. Several coefficients have been developed and the two that we will look at are the linear and volumetric thermal expansion. The generic equation is as follows:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\alpha_x = \frac{1}{x}\,\left(\frac{\partial x}{\partial T}\right)_p&lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* α&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt; = thermal expansion coefficient&lt;br /&gt;
* x = initial dimension &lt;br /&gt;
* ∂x = the partial derivative of the dimension under study &lt;br /&gt;
* ∂T = partial derivative of temperature (at constant pressure)&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy vs temp.png|thumb|400px|Figure 12. Free Energy dependence on Temperature for the QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH lattice constant vs temp.png|thumb|400px|Figure 13. Lattice Constant dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|[[File:JOH LV temp.png|thumb|400px|Figure 14. Lattice Volume dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 12 shows that as temperature increases the free energy becomes more negative. This can be rationalised with the derivation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; G = H - TS &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Plug in &amp;lt;math&amp;gt;H = U + PV&amp;lt;/math&amp;gt; to get  &amp;lt;math&amp;gt;G = U + PV - TS&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dG = dU + PdV + VdP - TdS - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = q + w &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dq = TdS &amp;lt;/math&amp;gt; &amp;lt;math&amp;gt; dw = -PdV &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \therefore dG = VdP - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This implies that both the volume and the entropic factor contribute to the free energy. As the temperature increases the volume will increase, however the entropic factor will overcome this due to large change in temperature. This explains the trend observed in figure 12. &lt;br /&gt;
&lt;br /&gt;
We would expect a linear negative decrease - &amp;lt;math&amp;gt; \left( \frac{\partial G}{\partial T} \right)_P = -S &amp;lt;/math&amp;gt;. However figure 12 shows that the trend is a curve suggesting that the pressure may not be constant.&lt;br /&gt;
&lt;br /&gt;
The trend could also be explained using the Helmoholtz free energy equation used in the QHA. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The entropic contribution in the equation has a large dependence on temperature and therefore as temperature increases the entropic contribution becomes more negative. This is due to the exponential factor in the entropic contribution. This results in the Helmholtz becoming more negative.  &lt;br /&gt;
&lt;br /&gt;
===Calculating the Thermal expansion coefficients===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Linear Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{1}{L} \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{0.00002342}{2.986563} = 7.7815\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
L = the initial lattice constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 13&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Volumetric Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V} \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{0.00044612}{18.836496} = 2.3684\times 10^{-5}&amp;lt;/math&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
V = the initial volume constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 14&lt;br /&gt;
&lt;br /&gt;
For isotropic materials the volumetric coefficient is three times larger that then linear coefficient - 3&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;. For MgO &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt; is practically three times larger than &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; (3.04&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;) implying that MgO is an isotropic material &amp;lt;ref name=&amp;quot;Ref 6&amp;quot;/&amp;gt;, in other words lattice constants a, b and c expand at equal rates. At 200 K the L value increases to 2.987604 Å resulting in &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;7.839\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; which is close to the literature value of &amp;lt;math&amp;gt;7.39\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The main approximation with the QHA occurs at higher temperatures. This is because at higher temperatures the lattice experiences a larger anharmonic effect due to a larger deviation from bond equilibrium as more energy is put into the bond. Furthermore as anharmonicity comes from scattered phonons interacting due to lattice defect, this effect will be accentuated as lattice vibration gain more energy. The QHA simplifies the anharmonic effect by letting the phonon frequencies become volume dependent so therefore is unable to model the anharmonic effect well. Furthermore the born-oppenheimer approximation would become less valid at larger temperatures as the motion of nuclei becomes more important.&lt;br /&gt;
&lt;br /&gt;
== Molecular Dynamics ==&lt;br /&gt;
The crystal was then studied using Molecular Dynamics. In the previous investigations MgO has been described using a primitive cell containing a single MgO unit. Running an MD would not produce meaningful data as every cell would move perfectly in phase. By increasing the size of the cell the MD would become more accurate but become more computationally expensive so a compromise is reached for a cell containing 32 MgO units. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy temperature QHA MD.png|thumb|400px|Figure 15. Free Energy vs Temperature for MD compared to QHA]]&lt;br /&gt;
|[[File:JOHlatticeQHAMD2.png|thumb|400px|Figure 16. Lattice Constant vs Temperature for MD compared to QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics allows a system to evolve in time according to Newton&#039;s second law F=ma. As the system is treated classically energy can be modelled by the equipartition principle, &amp;lt;math&amp;gt;E = \frac{3}{2} k_B T&amp;lt;/math&amp;gt;, and as such the energy will increase linearly with temperature. In comparison QHA follows the relationship A = U -TS, so the energy should decrease with temperature. This can be seen in figure 15. &lt;br /&gt;
&lt;br /&gt;
Looking at figure 16 the MD and the QHA are similar between 400-1000 K, thus the volumetric expansion coefficients would be similar:&lt;br /&gt;
*MD - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; = 3.06 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
*QHA - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;  = 2.89 x 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
This similarity in data strengthens the reliability of the volumetric expansion coefficients between 400 - 1000 K. However, below 400 K the QHA begins to break from a linear trend and curve towards 18.84 Å&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt; whereas the MD follows the linear trend. At lower trends the anharmonic effect is not as prevalent so the QHA is a better model for the lattice constant at lower temperatures. The MD model does not accurately show how the free energy changes at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
===Limitation===&lt;br /&gt;
&lt;br /&gt;
Overall both QHA and MD models have their limitations. &lt;br /&gt;
&lt;br /&gt;
The atoms are modelled using a classical approach or in other words atoms are modelled as hard charged spheres. So the quantum mechanical contributions cannot be taken into account. This will reduced the accuracy of the models &lt;br /&gt;
&lt;br /&gt;
Furthermore, the models do not consider long-range interactions, only interactions of atoms relatively close. In a realistic crystal there will be interactions outside the nearest neighbours albeit small interactions. Thus slight inaccuracy in the models is seen. &lt;br /&gt;
&lt;br /&gt;
For both models it can be assumed that the trends can be extrapolated until the melting point of MgO is reached, as upon melting a change in volume occurs. Furthermore liquid MgO has no structured order so cannot be described by a repeated unit cell. &lt;br /&gt;
&lt;br /&gt;
In the QHA the interactions between atoms of different unit cells was not taken into consideration. The would be an energy increase if there was overlap between atoms in different cells.&lt;br /&gt;
&lt;br /&gt;
For these MD calculations, as only a small number of atoms were considered it was reasonable to use a time step of 1.0 femtoseconds. However, when considering a much larger system, say for example a protein, then this would become computationally expensive&lt;br /&gt;
&lt;br /&gt;
==Conclusion== &lt;br /&gt;
The experiment showed the thermal expansion of MgO, the phonon dispersion and the DOS. Comparisons between the QHA and the MD were made, both approaches giving reasonable thermal expansion coefficients between 400-1000 K. At lower temperatures the QHA was a better model, due to the reduction in anharmonic effects.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 1&amp;quot; &amp;gt; O. Madelung, U. Rössler and M. Schulz, Eds., II-VI and I-VII compounds; Semimagnetic compounds, Springer-Verlag, 1999. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 2&amp;quot; &amp;gt; A. CIMINO, P. PORTA and M. VALIGI, Journal of the American Ceramic Society, 1966, 49, 152–156. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 3&amp;quot;&amp;gt; A. Baldereschi, Physical Review B, 1973, 7, 5212–5215. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 4&amp;quot; &amp;gt; E. J. Covington and D. J. Montgomery, J. Appl. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys, 2010, 27, 1030–53111. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 5&amp;quot; &amp;gt; J. A. Kaduk and J. Faber, The Rigaku journal 14 CRYSTAL STRUCTURE OF ZEOLITE Y AS A FUNCTION OF ION EXCHANGE, 1995. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 6&amp;quot; &amp;gt; J.R. Vinson, Plate and Panel structures of Isotropic, Composite and Piezoelectric Materials, including Sandwich Construction. Delaware; Springer; 2005. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Appendix==&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo phonon DOS 222 JOH.png|thumb|300px|Figure 1. Phonon DOS of MgO using 2x2x2 grid size]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Jo1213</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553354</id>
		<title>Rep:Mod:JOH95MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553354"/>
		<updated>2016-03-11T08:20:23Z</updated>

		<summary type="html">&lt;p&gt;Jo1213: /* Thermal Expansion of MgO */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
The experiment will investigate the properties of an MgO crystal. Firstly the dimensions of the unit cells will be investigates along with the associated energy. Then the phonon dispersion and DOS will be investigated, evaluating the optimal grid size to use. The energies of the crystal will be investigates along with the thermal expansion coefficients. Lastly the quasi-harmonic approximation (QHA) and the molecular dynamics (MD) will be compared. &lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon-based model used to describe volume-dependent thermal effects. The harmonic phonon model assumes that all intermolecular forces are harmonic. This is not sufficient to describe thermal expansion as there is no change to the equilibrium bond length as temperature increases. The QHA takes into account that molecules do have an anharmonic effect at higher temperatures by treating frequencies as volume dependent. &lt;br /&gt;
&lt;br /&gt;
The Molecular Dynamics approach allows a system to evolve in time according to Newton&#039;s second law &amp;lt;math&amp;gt;F=ma&amp;lt;/math&amp;gt;. The initial configurations and velocities are assigned to allow the program to iterate positions and velocities. The atoms follow trajectories and the properties, such as E and T, are computed as time averages of their behaviour.&lt;br /&gt;
&lt;br /&gt;
The programs used were RedHat Linux, DLVisulaize (DLV) and General Utility Lattice Program (GULP), where DLV acted as a graphical interface for the simulations. GULP is used to perform simulations on materials using boundary conditions, in this case on a 3D lattice.&lt;br /&gt;
&lt;br /&gt;
== Internal Energy of MgO ==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:PC 1.png|left|thumb|300px|Figure 1. Primitive Cell of MgO]]&lt;br /&gt;
|[[File:CC .png|left|thumb|300px|Figure 2. Conventional Cell of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
GULP was used to determine the energy per unit cell of MgO. In the [https://wiki.ch.ic.ac.uk/wiki/images/e/e7/MgO_1_james.txt LogFile] GULF describes MgO using a primitive unit cell as shown in figure 1. The primitive unit cell has two atoms Mg and O in the shape of a rhombohedron of side 2.9783 Å and an internal angle a = 60°. It contains one lattice point and is the simplest cell to describe the crystal. It only consists of 2 atoms (Mg and O). The Cartesian lattice vectors of the cell are reported in table 1 and the total lattice energy was -41.07531759 eV which represents the energy to pull all the atom infinitely apart. The GULP calculation correlates with LCAO HF calculations found in literature (2.573 Å &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;). &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|-&lt;br /&gt;
|+ Table 1ː Cell Vector Dimensions/Å&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The conventional cell has four times the volume of the primitive cell as shown in figure 2. The cell has an internal angel a = 90° and a lattice vector of 4.212 Å (which agrees with literature of 4.21 Å &amp;lt;ref name =&amp;quot;Ref 2&amp;quot; /&amp;gt;). The conventional cell is more representative of the crystal so is chosen in the calculations.&lt;br /&gt;
&lt;br /&gt;
==Computing the Phonon Dispersion Curves==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO Phonon Dispersion JOH.png|thumb|300px|Figure 3. Phonon Dispersion Graph of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The phonon dispersion curve was calculated, as shown in figure 3. The phonon frequencies were calculated along a path in k-space. Special points along the path, &amp;lt;math&amp;gt;W, L, \Gamma, X, W, K&amp;lt;/math&amp;gt;, can be seen in figure 3.. There are two phonos modes associated with each axis, acoustic (in-phase) and optical (out-of-phase) phonons. In the 3D model three axis (x,y,z) are taken into consideration meaning there are 6 phonon modes as shown by the six different curves in figure 3. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:K=0 JOH.png|thumb|300px|Figure 4. Acoustic and optical modes at k=0]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The relationship between the wavevector k to the wavelength (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;k= \frac{2\pi}{\lambda}&amp;lt;/math&amp;gt;. Furthermore the relationship between wavelength (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) and frequency is &amp;lt;math&amp;gt; v = \frac{c}{\lambda} &amp;lt;/math&amp;gt;. As shown in figure 4 when k=0, for the acoustic mode, the wavelength approaches infinity and in turn the frequency approaches 0. For the optical mode the frequency is non-zero. With this information it is clear that at k=0 the dispersion graph is at symmetry point &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Following the path from &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;, to &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and then to &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; the acoustic modes splits into 3 modes, two transverse modes (TA) and one longitude mode (LA). The two TA are degenerate between &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; until it splits between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Phonon Density of States (DOS)==&lt;br /&gt;
The next part involved calculating the phonon density of states. The DOS is defined as the number of states per energy at a given energy, in this case vibrational frequency. The larger the number of k values considered in reciprocal space the more accurate the DOS. This is achieved by increasing the grid size (nxnxn) to give a better representation of the crystal by sampling more k values in reciprocal space. However, at a certain point the difference between k values is negligible so does not further increase the accuracy of the DOS. Furthermore calculating an infinite number of k values would take an infinite amount of computing time.&lt;br /&gt;
&lt;br /&gt;
The DOS was calculated for a 1x1x1 grid by setting the shrinking value to 1 as shown in figure 5. The grid size was then increased to find the optimum shrinking value that gave a good representation of the DOS without taking too long to calculate as shown by figures 6 through 10. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo Phonon DOS JOH 111.png|thumb|300px|Figure 5. Phonon DOS of MgO using 1x1x1 grid size]]&lt;br /&gt;
|[[File:JOHphononDOS444.png|thumb|300px|Figure 6. Phonon DOS of MgO using 4x4x4 grid size]]&lt;br /&gt;
|[[File:JOHDOS888.png|thumb|300px|Figure 7. Phonon DOS of MgO using 8x8x8 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOHDOS161616.png|thumb|300px|Figure 8. Phonon DOS of MgO using 16x16x16 grid size]]&lt;br /&gt;
|[[File:JOHDOS323232.png|thumb|300px|Figure 9. Phonon DOS of MgO using 32x32x32 grid size]]&lt;br /&gt;
|[[File:JOHDOS50.png|thumb|300px|Figure 10. Phonon DOS of MgO using 50x50x50 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 5 shows the DOS for a 1x1x1 grid size. The four peaks 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; 676 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 819 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; represent the four frequencies at point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The intensity of the peaks around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; is around double that of the peaks around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. This gives further evidence that the acoustic vibrational mode around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; are degenerate. The theorem about using the &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; point in reciprocal space for a 1x1x1 grid is called Baldereschi theorem &amp;lt;ref name = &amp;quot;Ref 3&amp;quot;/&amp;gt;. The idea being that point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is the most representative point in k-space as when you increase from grid size of 1x1x1 to 50x50x50 the main peak remains around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; with a smaller peak still around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The ideal grid size is one that represents the DOS without taking too long to calculate. From figure 8 onwards the shape of the curve does not change much, so it can be concluded that using a grid size of 16 is sufficient enough to gain a good understanding of the DOS without taking too long to calculate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:DOS dispersion JOH.png|thumb|400px|Figure 11. Comparing the dispersion curve with the DOS]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It is important to note the relationship between the dispersion curve and the DOS graph as shown in figure 11. The frequency in the phonon dispersion curve on the y axis is the same as the frequency on the DOS curve in the x-axis. It can be seen visually that the most popular states are around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The relationship between real space and reciprocal space is given by the formula &amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt; - a being the length in real space transformed to a* in reciprocal space. This shows that the larger the lattice constant a, the smaller the reciprocal cell. This is important to consider when assessing the DOS for other structures. Lithium has a lattice constant of 3.490 Å &amp;lt;ref name = &amp;quot;Ref 4&amp;quot;/&amp;gt; which is 0.721 Å lower that the conventional unit cell of MgO that is being modelled. Due to the inverse relationship of real to reciprocal space, lithium will have a larger cell in k space and therefore need a larger grid size to measure the DOS. Conversely Faujasite has a lattice constant of 24.7 Å &amp;lt;ref name = &amp;quot;Ref 5&amp;quot; /&amp;gt; which will give a much smaller cell in reciprocal space meaning that a smaller grid size would give an accurate measurement of the DOS as there are fewer k values needed to measure the cell. CaO has a very similar lattice constant meaning that a similar grid size would be needed to accurately measure the DOS - in this case a grid size of 16x16x16 would be sufficient.&lt;br /&gt;
&lt;br /&gt;
==Computing the Free Energy==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Table 2ː Energy vs Grid size&lt;br /&gt;
! Grid Size nxnxn/n&lt;br /&gt;
! Free Energy/eV&lt;br /&gt;
! Accuracy/ meV&lt;br /&gt;
! Log file&lt;br /&gt;
! rowspan=&amp;quot;9&amp;quot;|[[File:JOH Free energy vs grid size.png|thumb|400px|]]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| -40.930301&lt;br /&gt;
| 4&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/1/12/JOH_fe_MgO_111.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| -40.926609&lt;br /&gt;
| 0.2&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/aa/JOH_fe_MgO_222.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -40.926432&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4d/JOH_fe_MgO_333.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -40.926450&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/40/JOH_fe_MgO_444.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -40.926478&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/7/70/JOH_fe_MgO_888.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -40.926482&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4f/JOH_fe_MgO_16.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/ac/JOH_fe_MgO_32.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 50&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [[Media:JOH_fe_MgO_50.txt.zip|log file]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Table 2 displays the free energies of MgO as a function of grid size n. Similar to finding the ideal grid size to calculate the DOS, the optimal grid size to figure out the free energy can be found in table 2. As the grid size increases from 1 to 3 there is a sharp increase in the free energy from -40.930301 eV to -40.926432 eV, after-which the free energy eventually converges at -40.926483 eV. The degree of accuracy follows this trend, from a grid size of 4 onwards the degree of accuracy is greater that 0.1 meV. There is no change in free energy from a grid size of 32 to 50 suggesting that a grid size of 32 is all that is needed to accurately determine the free energy of MgO. &lt;br /&gt;
&lt;br /&gt;
The graph in table 2 can be rationalized by the equation for the Helmholtz free energy - &amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A is the Helmholtz fee energy, U is the internal energy, T is temperature and S is entropy. As the grid size increases, the volume increases so the internal energy decreases (&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt;). This in turn means that the Helmholtz free energy would decrease.&lt;br /&gt;
&lt;br /&gt;
Furthermore as the number of microstates sampled increases the entropy term will increase according to the relationship &amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt;. This in turn means that the free energy will be lowered. By considering these two factors the decrease in free energy can be rationalised.&lt;br /&gt;
&lt;br /&gt;
==Thermal Expansion of MgO==&lt;br /&gt;
The structure of MgO will be optimised with respect to the free energy at different temperatures (0 - 1000 K in steps of 100 K). The free energy will be computed using the quasi-harmonic approximation (QHA) which uses the following expression: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
*&amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; = frequency of the vibration &lt;br /&gt;
*&amp;lt;math&amp;gt;E_{0}&amp;lt;/math&amp;gt; = zero point energy &lt;br /&gt;
*&amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; = Temperature&lt;br /&gt;
*&amp;lt;math&amp;gt;k_B&amp;lt;/math&amp;gt; = Boltzmann Constant &lt;br /&gt;
*&amp;lt;math&amp;gt;\hbar&amp;lt;/math&amp;gt; = reduced Planck&#039;s constant. &lt;br /&gt;
&lt;br /&gt;
The equations is split into three parts - the zero point energy and the harmonic and entropic contribution.&lt;br /&gt;
&lt;br /&gt;
In addition the coefficients of thermal expansion was calculated. The coefficient of thermal expansion describes how the size of an object changes with temperature. The larger the coefficient the greater the change in size as temperature increases. Several coefficients have been developed and the two that we will look at are the linear and volumetric thermal expansion. The generic equation is as follows:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\alpha_x = \frac{1}{x}\,\left(\frac{\partial x}{\partial T}\right)_p&lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* α&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt; = thermal expansion coefficient&lt;br /&gt;
* x = initial dimension &lt;br /&gt;
* ∂x = the partial derivative of the dimension under study &lt;br /&gt;
* ∂T = partial derivative of temperature (at constant pressure)&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy vs temp.png|thumb|400px|Figure 12. Free Energy dependence on Temperature for the QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH lattice constant vs temp.png|thumb|400px|Figure 13. Lattice Constant dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|[[File:JOH LV temp.png|thumb|400px|Figure 14. Lattice Volume dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 12 shows that as temperature increases the free energy becomes more negative. This can be rationalised with the derivation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; G = H - TS &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Plug in &amp;lt;math&amp;gt;H = U + PV&amp;lt;/math&amp;gt; to get  &amp;lt;math&amp;gt;G = U + PV - TS&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dG = dU + PdV + VdP - TdS - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = q + w &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dq = TdS &amp;lt;/math&amp;gt; &amp;lt;math&amp;gt; dw = -PdV &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \therefore dG = VdP - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This implies that both the volume and the entropic factor contribute to the free energy. As the temperature increases the volume will increase, however the entropic factor will overcome this due to large change in temperature. This explains the trend observed in figure 12. &lt;br /&gt;
&lt;br /&gt;
We would expect a linear negative decrease - &amp;lt;math&amp;gt; \left( \frac{\partial G}{\partial T} \right)_P = -S &amp;lt;/math&amp;gt;. However figure 12 shows that the trend is a curve suggesting that the pressure may not be constant.&lt;br /&gt;
&lt;br /&gt;
The trend could also be explained using the Helmoholtz free energy equation used in the QHA. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The entropic contribution in the equation has a large dependence on temperature and therefore as temperature increases the entropic contribution becomes more negative. This is due to the exponential factor in the entropic contribution. This results in the Helmholtz becoming more negative.  &lt;br /&gt;
&lt;br /&gt;
===Calculating the Thermal expansion coefficients===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Linear Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{1}{L} \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{0.00002342}{2.986563} = 7.7815\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
L = the initial lattice constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 13&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Volumetric Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V} \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{0.00044612}{18.836496} = 2.3684\times 10^{-5}&amp;lt;/math&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
V = the initial volume constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 14&lt;br /&gt;
&lt;br /&gt;
For isotropic materials the volumetric coefficient is three times larger that then linear coefficient - 3&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;. For MgO &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt; is practically three times larger than &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; (3.04&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;) implying that MgO is an isotropic material &amp;lt;ref name=&amp;quot;Ref 6&amp;quot;/&amp;gt;, in other words lattice constants a, b and c expand at equal rates. At 200 K the L value increases to 2.987604 Å resulting in &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;7.839\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; which is close to the literature value of &amp;lt;math&amp;gt;7.39\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The main approximation with the QHA occurs at higher temperatures. This is because at higher temperatures the lattice experiences a larger anharmonic effect due to a larger deviation from bond equilibrium as more energy is put into the bond. Furthermore as anharmonicity comes from scattered phonons interacting due to lattice defect, this effect will be accentuated as lattice vibration gain more energy. The QHA simplifies the anharmonic effect by letting the phonon frequencies become volume dependent so therefore is unable to model the anharmonic effect well. Furthermore the born-oppenheimer approximation would become less valid at larger temperatures as the motion of nuclei becomes more important.&lt;br /&gt;
&lt;br /&gt;
== Molecular Dynamics ==&lt;br /&gt;
The crystal was then studied using Molecular Dynamics. In the previous investigations MgO has been described using a primitive cell containing a single MgO unit. Running an MD would not produce meaningful data as every cell would move perfectly in phase. By increasing the size of the cell the MD would become more accurate but become more computationally expensive so a compromise is reached for a cell containing 32 MgO units. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy temperature QHA MD.png|thumb|400px|Figure 15. Free Energy vs Temperature for MD compared to QHA]]&lt;br /&gt;
|[[File:JOHlatticeQHAMD2.png|thumb|400px|Figure 16. Lattice Constant vs Temperature for MD compared to QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics allows a system to evolve in time according to Newton&#039;s second law F=ma. As the system is treated classically energy can be modelled by the equipartition principle, &amp;lt;math&amp;gt;E = \frac{3}{2} k_B T&amp;lt;/math&amp;gt;, and as such the energy will increase linearly with temperature. In comparison QHA follows the relationship A = U -TS, so the energy should decrease with temperature. This can be seen in figure 15. &lt;br /&gt;
&lt;br /&gt;
Looking at figure 16 the MD and the QHA are similar between 400-1000 K, thus the volumetric expansion coefficients would be similar:&lt;br /&gt;
*MD - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; = 3.06 * 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
*QHA - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;  = 2.89 * 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
This similarity in data strengthens the reliability of the volumetric expansion coefficients between 400 - 1000 K. However, below 400 K the QHA begins to break from a linear trend and curve towards 18.84 Å&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt; whereas the MD follows the linear trend. At lower trends the anharmonic effect is not as prevalent so the QHA is a better model for the lattice constant at lower temperatures. The MD model does not accurately show how the free energy changes at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
===Limitation===&lt;br /&gt;
&lt;br /&gt;
Overall both QHA and MD models have their limitations. &lt;br /&gt;
&lt;br /&gt;
The atoms are modelled using a classical approach or in other words atoms are modelled as hard charged spheres. So the quantum mechanical contributions cannot be taken into account. This will reduced the accuracy of the models &lt;br /&gt;
&lt;br /&gt;
Furthermore, the models do not consider long-range interactions, only interactions of atoms relatively close. In a realistic crystal there will be interactions outside the nearest neighbours albeit small interactions. Thus slight inaccuracy in the models is seen. &lt;br /&gt;
&lt;br /&gt;
For both models it can be assumed that the trends can be extrapolated until the melting point of MgO is reached, as upon melting a change in volume occurs. Furthermore liquid MgO has no structured order so cannot be described by a repeated unit cell. &lt;br /&gt;
&lt;br /&gt;
In the QHA the interactions between atoms of different unit cells was not taken into consideration. The would be an energy increase if there was overlap between atoms in different cells.&lt;br /&gt;
&lt;br /&gt;
For these MD calculations, as only a small number of atoms were considered it was reasonable to use a time step of 1.0 femtoseconds. However, when considering a much larger system, say for example a protein, then this would become computationally expensive&lt;br /&gt;
&lt;br /&gt;
==Conclusion== &lt;br /&gt;
The experiment showed the thermal expansion of MgO, the phonon dispersion and the DOS. Comparisons between the QHA and the MD were made, both approaches giving reasonable thermal expansion coefficients between 400-1000 K. At lower temperatures the QHA was a better model, due to the reduction in anharmonic effects.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 1&amp;quot; &amp;gt; O. Madelung, U. Rössler and M. Schulz, Eds., II-VI and I-VII compounds; Semimagnetic compounds, Springer-Verlag, 1999. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 2&amp;quot; &amp;gt; A. CIMINO, P. PORTA and M. VALIGI, Journal of the American Ceramic Society, 1966, 49, 152–156. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 3&amp;quot;&amp;gt; A. Baldereschi, Physical Review B, 1973, 7, 5212–5215. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 4&amp;quot; &amp;gt; E. J. Covington and D. J. Montgomery, J. Appl. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys, 2010, 27, 1030–53111. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 5&amp;quot; &amp;gt; J. A. Kaduk and J. Faber, The Rigaku journal 14 CRYSTAL STRUCTURE OF ZEOLITE Y AS A FUNCTION OF ION EXCHANGE, 1995. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 6&amp;quot; &amp;gt; J.R. Vinson, Plate and Panel structures of Isotropic, Composite and Piezoelectric Materials, including Sandwich Construction. Delaware; Springer; 2005. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Appendix==&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo phonon DOS 222 JOH.png|thumb|300px|Figure 1. Phonon DOS of MgO using 2x2x2 grid size]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Jo1213</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553348</id>
		<title>Rep:Mod:JOH95MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553348"/>
		<updated>2016-03-11T08:12:21Z</updated>

		<summary type="html">&lt;p&gt;Jo1213: /* Molecular Dynamics */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
The experiment will investigate the properties of an MgO crystal. Firstly the dimensions of the unit cells will be investigates along with the associated energy. Then the phonon dispersion and DOS will be investigated, evaluating the optimal grid size to use. The energies of the crystal will be investigates along with the thermal expansion coefficients. Lastly the quasi-harmonic approximation (QHA) and the molecular dynamics (MD) will be compared. &lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon-based model used to describe volume-dependent thermal effects. The harmonic phonon model assumes that all intermolecular forces are harmonic. This is not sufficient to describe thermal expansion as there is no change to the equilibrium bond length as temperature increases. The QHA takes into account that molecules do have an anharmonic effect at higher temperatures by treating frequencies as volume dependent. &lt;br /&gt;
&lt;br /&gt;
The Molecular Dynamics approach allows a system to evolve in time according to Newton&#039;s second law &amp;lt;math&amp;gt;F=ma&amp;lt;/math&amp;gt;. The initial configurations and velocities are assigned to allow the program to iterate positions and velocities. The atoms follow trajectories and the properties, such as E and T, are computed as time averages of their behaviour.&lt;br /&gt;
&lt;br /&gt;
The programs used were RedHat Linux, DLVisulaize (DLV) and General Utility Lattice Program (GULP), where DLV acted as a graphical interface for the simulations. GULP is used to perform simulations on materials using boundary conditions, in this case on a 3D lattice.&lt;br /&gt;
&lt;br /&gt;
== Internal Energy of MgO ==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:PC 1.png|left|thumb|300px|Figure 1. Primitive Cell of MgO]]&lt;br /&gt;
|[[File:CC .png|left|thumb|300px|Figure 2. Conventional Cell of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
GULP was used to determine the energy per unit cell of MgO. In the [https://wiki.ch.ic.ac.uk/wiki/images/e/e7/MgO_1_james.txt LogFile] GULF describes MgO using a primitive unit cell as shown in figure 1. The primitive unit cell has two atoms Mg and O in the shape of a rhombohedron of side 2.9783 Å and an internal angle a = 60°. It contains one lattice point and is the simplest cell to describe the crystal. It only consists of 2 atoms (Mg and O). The Cartesian lattice vectors of the cell are reported in table 1 and the total lattice energy was -41.07531759 eV which represents the energy to pull all the atom infinitely apart. The GULP calculation correlates with LCAO HF calculations found in literature (2.573 Å &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;). &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|-&lt;br /&gt;
|+ Table 1ː Cell Vector Dimensions/Å&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The conventional cell has four times the volume of the primitive cell as shown in figure 2. The cell has an internal angel a = 90° and a lattice vector of 4.212 Å (which agrees with literature of 4.21 Å &amp;lt;ref name =&amp;quot;Ref 2&amp;quot; /&amp;gt;). The conventional cell is more representative of the crystal so is chosen in the calculations.&lt;br /&gt;
&lt;br /&gt;
==Computing the Phonon Dispersion Curves==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO Phonon Dispersion JOH.png|thumb|300px|Figure 3. Phonon Dispersion Graph of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The phonon dispersion curve was calculated, as shown in figure 3. The phonon frequencies were calculated along a path in k-space. Special points along the path, &amp;lt;math&amp;gt;W, L, \Gamma, X, W, K&amp;lt;/math&amp;gt;, can be seen in figure 3.. There are two phonos modes associated with each axis, acoustic (in-phase) and optical (out-of-phase) phonons. In the 3D model three axis (x,y,z) are taken into consideration meaning there are 6 phonon modes as shown by the six different curves in figure 3. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:K=0 JOH.png|thumb|300px|Figure 4. Acoustic and optical modes at k=0]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The relationship between the wavevector k to the wavelength (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;k= \frac{2\pi}{\lambda}&amp;lt;/math&amp;gt;. Furthermore the relationship between wavelength (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) and frequency is &amp;lt;math&amp;gt; v = \frac{c}{\lambda} &amp;lt;/math&amp;gt;. As shown in figure 4 when k=0, for the acoustic mode, the wavelength approaches infinity and in turn the frequency approaches 0. For the optical mode the frequency is non-zero. With this information it is clear that at k=0 the dispersion graph is at symmetry point &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Following the path from &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;, to &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and then to &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; the acoustic modes splits into 3 modes, two transverse modes (TA) and one longitude mode (LA). The two TA are degenerate between &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; until it splits between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Phonon Density of States (DOS)==&lt;br /&gt;
The next part involved calculating the phonon density of states. The DOS is defined as the number of states per energy at a given energy, in this case vibrational frequency. The larger the number of k values considered in reciprocal space the more accurate the DOS. This is achieved by increasing the grid size (nxnxn) to give a better representation of the crystal by sampling more k values in reciprocal space. However, at a certain point the difference between k values is negligible so does not further increase the accuracy of the DOS. Furthermore calculating an infinite number of k values would take an infinite amount of computing time.&lt;br /&gt;
&lt;br /&gt;
The DOS was calculated for a 1x1x1 grid by setting the shrinking value to 1 as shown in figure 5. The grid size was then increased to find the optimum shrinking value that gave a good representation of the DOS without taking too long to calculate as shown by figures 6 through 10. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo Phonon DOS JOH 111.png|thumb|300px|Figure 5. Phonon DOS of MgO using 1x1x1 grid size]]&lt;br /&gt;
|[[File:JOHphononDOS444.png|thumb|300px|Figure 6. Phonon DOS of MgO using 4x4x4 grid size]]&lt;br /&gt;
|[[File:JOHDOS888.png|thumb|300px|Figure 7. Phonon DOS of MgO using 8x8x8 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOHDOS161616.png|thumb|300px|Figure 8. Phonon DOS of MgO using 16x16x16 grid size]]&lt;br /&gt;
|[[File:JOHDOS323232.png|thumb|300px|Figure 9. Phonon DOS of MgO using 32x32x32 grid size]]&lt;br /&gt;
|[[File:JOHDOS50.png|thumb|300px|Figure 10. Phonon DOS of MgO using 50x50x50 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 5 shows the DOS for a 1x1x1 grid size. The four peaks 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; 676 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 819 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; represent the four frequencies at point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The intensity of the peaks around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; is around double that of the peaks around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. This gives further evidence that the acoustic vibrational mode around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; are degenerate. The theorem about using the &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; point in reciprocal space for a 1x1x1 grid is called Baldereschi theorem &amp;lt;ref name = &amp;quot;Ref 3&amp;quot;/&amp;gt;. The idea being that point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is the most representative point in k-space as when you increase from grid size of 1x1x1 to 50x50x50 the main peak remains around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; with a smaller peak still around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The ideal grid size is one that represents the DOS without taking too long to calculate. From figure 8 onwards the shape of the curve does not change much, so it can be concluded that using a grid size of 16 is sufficient enough to gain a good understanding of the DOS without taking too long to calculate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:DOS dispersion JOH.png|thumb|400px|Figure 11. Comparing the dispersion curve with the DOS]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It is important to note the relationship between the dispersion curve and the DOS graph as shown in figure 11. The frequency in the phonon dispersion curve on the y axis is the same as the frequency on the DOS curve in the x-axis. It can be seen visually that the most popular states are around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The relationship between real space and reciprocal space is given by the formula &amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt; - a being the length in real space transformed to a* in reciprocal space. This shows that the larger the lattice constant a, the smaller the reciprocal cell. This is important to consider when assessing the DOS for other structures. Lithium has a lattice constant of 3.490 Å &amp;lt;ref name = &amp;quot;Ref 4&amp;quot;/&amp;gt; which is 0.721 Å lower that the conventional unit cell of MgO that is being modelled. Due to the inverse relationship of real to reciprocal space, lithium will have a larger cell in k space and therefore need a larger grid size to measure the DOS. Conversely Faujasite has a lattice constant of 24.7 Å &amp;lt;ref name = &amp;quot;Ref 5&amp;quot; /&amp;gt; which will give a much smaller cell in reciprocal space meaning that a smaller grid size would give an accurate measurement of the DOS as there are fewer k values needed to measure the cell. CaO has a very similar lattice constant meaning that a similar grid size would be needed to accurately measure the DOS - in this case a grid size of 16x16x16 would be sufficient.&lt;br /&gt;
&lt;br /&gt;
==Computing the Free Energy==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Table 2ː Energy vs Grid size&lt;br /&gt;
! Grid Size nxnxn/n&lt;br /&gt;
! Free Energy/eV&lt;br /&gt;
! Accuracy/ meV&lt;br /&gt;
! Log file&lt;br /&gt;
! rowspan=&amp;quot;9&amp;quot;|[[File:JOH Free energy vs grid size.png|thumb|400px|]]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| -40.930301&lt;br /&gt;
| 4&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/1/12/JOH_fe_MgO_111.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| -40.926609&lt;br /&gt;
| 0.2&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/aa/JOH_fe_MgO_222.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -40.926432&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4d/JOH_fe_MgO_333.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -40.926450&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/40/JOH_fe_MgO_444.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -40.926478&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/7/70/JOH_fe_MgO_888.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -40.926482&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4f/JOH_fe_MgO_16.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/ac/JOH_fe_MgO_32.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 50&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [[Media:JOH_fe_MgO_50.txt.zip|log file]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Table 2 displays the free energies of MgO as a function of grid size n. Similar to finding the ideal grid size to calculate the DOS, the optimal grid size to figure out the free energy can be found in table 2. As the grid size increases from 1 to 3 there is a sharp increase in the free energy from -40.930301 eV to -40.926432 eV, after-which the free energy eventually converges at -40.926483 eV. The degree of accuracy follows this trend, from a grid size of 4 onwards the degree of accuracy is greater that 0.1 meV. There is no change in free energy from a grid size of 32 to 50 suggesting that a grid size of 32 is all that is needed to accurately determine the free energy of MgO. &lt;br /&gt;
&lt;br /&gt;
The graph in table 2 can be rationalized by the equation for the Helmholtz free energy - &amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A is the Helmholtz fee energy, U is the internal energy, T is temperature and S is entropy. As the grid size increases, the volume increases so the internal energy decreases (&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt;). This in turn means that the Helmholtz free energy would decrease.&lt;br /&gt;
&lt;br /&gt;
Furthermore as the number of microstates sampled increases the entropy term will increase according to the relationship &amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt;. This in turn means that the free energy will be lowered. By considering these two factors the decrease in free energy can be rationalised.&lt;br /&gt;
&lt;br /&gt;
==Thermal Expansion of MgO==&lt;br /&gt;
The structure of MgO will be optimised with respect to the free energy at different temperatures (0 - 1000 K in steps of 100 K). The free energy will be computed using the quasi-harmonic approximation (QHA) which uses the following expression: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
*&amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; = frequency of the vibration &lt;br /&gt;
*&amp;lt;math&amp;gt;E_{0}&amp;lt;/math&amp;gt; = zero point energy &lt;br /&gt;
*&amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; = Temperature&lt;br /&gt;
*&amp;lt;math&amp;gt;k_B&amp;lt;/math&amp;gt; = Boltzmann Constant &lt;br /&gt;
*&amp;lt;math&amp;gt;\hbar&amp;lt;/math&amp;gt; = reduced Planck&#039;s constant. &lt;br /&gt;
&lt;br /&gt;
The equations is split into three parts - the zero point energy and the harmonic and entropic contribution.&lt;br /&gt;
&lt;br /&gt;
In addition the coefficients of thermal expansion was calculated. The coefficient of thermal expansion describes how the size of an object changes with temperature. The larger the coefficient the greater the change in size as temperature increases. Several coefficients have been developed and the two that we will look at are the linear and volumetric thermal expansion. The generic equation is as follows:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\alpha_x = \frac{1}{x}\,\left(\frac{\partial x}{\partial T}\right)_p&lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* α&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt; = thermal expansion coefficient&lt;br /&gt;
* x = initial dimension &lt;br /&gt;
* ∂x = the partial derivative of the dimension under study &lt;br /&gt;
* ∂T = partial derivative of temperature (at constant pressure)&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy vs temp.png|thumb|400px|Figure 12. Free Energy dependence on Temperature for the QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH lattice constant vs temp.png|thumb|400px|Figure 13. Lattice Constant dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|[[File:JOH LV temp.png|thumb|400px|Figure 14. Lattice Volume dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 12 shows that as temperature increases the free energy becomes more negative. This can be rationalised with the derivation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; G = H - TS &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;H = U + PV&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G = U + PV - TS&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dG = dU + PdV + VdP - TdS - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = q + w &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dq = TdS &amp;lt;/math&amp;gt; &amp;lt;math&amp;gt; dw = -PdV &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \therefore dG = VdP - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This implies that both the volume and the entropic factor contribute to the free energy. As the temperature increases the volume will increase, however the entropic factor will overcome this due to large change in temperature. This explains the trend observed in figure 12. We would expect a linear negative decrease - &amp;lt;math&amp;gt; \left( \frac{\partial G}{\partial T} \right)_P = -S &amp;lt;/math&amp;gt;. However figure 12 shows that the trend is a curve suggesting that there are limitations to the calculation. &lt;br /&gt;
&lt;br /&gt;
The trend could also be explained using the Helmoholtz free energy equation used in the QHA. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The entropic contribution in the equation has a large dependence on temperature and therefore as temperature increases the entropic contribution becomes more negative resulting in the Helmholtz becoming more negative.  &lt;br /&gt;
&lt;br /&gt;
===Calculating the Thermal expansion coefficients===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Linear Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{1}{L} \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{0.00002342}{2.986563} = 7.7815\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
L = the initial lattice constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 13&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Volumetric Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V} \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{0.00044612}{18.836496} = 2.3684\times 10^{-5}&amp;lt;/math&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
V = the initial volume constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 14&lt;br /&gt;
&lt;br /&gt;
For isotropic materials the volumetric coefficient is three times larger that then linear coefficient - 3&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;. For MgO &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt; is practically three times larger than &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; (3.04&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;) implying that MgO is an isotropic material &amp;lt;ref name=&amp;quot;Ref 6&amp;quot;/&amp;gt;, in other words lattice constants a, b and c expand at equal rates. At 200 K the L value increases to 2.987604 Å resulting in &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;7.839\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; which is close to the literature value of &amp;lt;math&amp;gt;7.39\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The main approximation with the QHA occurs at higher temperatures. This is because at higher temperatures the lattice experiences a larger anharmonic effect due to a larger deviation from bond equilibrium as more energy is put into the bond. Furthermore as anharmonicity comes from scattered phonons interacting due to lattice defect, this effect will be accentuated as lattice vibration gain more energy. The QHA simplifies the anharmonic effect by letting the phonon frequencies become volume dependent so therefore is unable to model the anharmonic effect well. Furthermore the born-oppenheimer approximation would become less valid at larger temperatures as the motion of nuclei becomes more important.&lt;br /&gt;
&lt;br /&gt;
== Molecular Dynamics ==&lt;br /&gt;
The crystal was then studied using Molecular Dynamics. In the previous investigations MgO has been described using a primitive cell containing a single MgO unit. Running an MD would not produce meaningful data as every cell would move perfectly in phase. By increasing the size of the cell the MD would become more accurate but become more computationally expensive so a compromise is reached for a cell containing 32 MgO units. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy temperature QHA MD.png|thumb|400px|Figure 15. Free Energy vs Temperature for MD compared to QHA]]&lt;br /&gt;
|[[File:JOHlatticeQHAMD2.png|thumb|400px|Figure 16. Lattice Constant vs Temperature for MD compared to QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics allows a system to evolve in time according to Newton&#039;s second law F=ma. As the system is treated classically energy can be modelled by the equipartition principle, &amp;lt;math&amp;gt;E = \frac{3}{2} k_B T&amp;lt;/math&amp;gt;, and as such the energy will increase linearly with temperature. In comparison QHA follows the relationship A = U -TS, so the energy should decrease with temperature. This can be seen in figure 15. &lt;br /&gt;
&lt;br /&gt;
Looking at figure 16 the MD and the QHA are similar between 400-1000 K, thus the volumetric expansion coefficients would be similar:&lt;br /&gt;
*MD - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; = 3.06 * 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
*QHA - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;  = 2.89 * 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
This similarity in data strengthens the reliability of the volumetric expansion coefficients between 400 - 1000 K. However, below 400 K the QHA begins to break from a linear trend and curve towards 18.84 Å&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt; whereas the MD follows the linear trend. At lower trends the anharmonic effect is not as prevalent so the QHA is a better model for the lattice constant at lower temperatures. The MD model does not accurately show how the free energy changes at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
===Limitation===&lt;br /&gt;
&lt;br /&gt;
Overall both QHA and MD models have their limitations. &lt;br /&gt;
&lt;br /&gt;
The atoms are modelled using a classical approach or in other words atoms are modelled as hard charged spheres. So the quantum mechanical contributions cannot be taken into account. This will reduced the accuracy of the models &lt;br /&gt;
&lt;br /&gt;
Furthermore, the models do not consider long-range interactions, only interactions of atoms relatively close. In a realistic crystal there will be interactions outside the nearest neighbours albeit small interactions. Thus slight inaccuracy in the models is seen. &lt;br /&gt;
&lt;br /&gt;
For both models it can be assumed that the trends can be extrapolated until the melting point of MgO is reached, as upon melting a change in volume occurs. Furthermore liquid MgO has no structured order so cannot be described by a repeated unit cell. &lt;br /&gt;
&lt;br /&gt;
In the QHA the interactions between atoms of different unit cells was not taken into consideration. The would be an energy increase if there was overlap between atoms in different cells.&lt;br /&gt;
&lt;br /&gt;
For these MD calculations, as only a small number of atoms were considered it was reasonable to use a time step of 1.0 femtoseconds. However, when considering a much larger system, say for example a protein, then this would become computationally expensive&lt;br /&gt;
&lt;br /&gt;
==Conclusion== &lt;br /&gt;
The experiment showed the thermal expansion of MgO, the phonon dispersion and the DOS. Comparisons between the QHA and the MD were made, both approaches giving reasonable thermal expansion coefficients between 400-1000 K. At lower temperatures the QHA was a better model, due to the reduction in anharmonic effects.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 1&amp;quot; &amp;gt; O. Madelung, U. Rössler and M. Schulz, Eds., II-VI and I-VII compounds; Semimagnetic compounds, Springer-Verlag, 1999. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 2&amp;quot; &amp;gt; A. CIMINO, P. PORTA and M. VALIGI, Journal of the American Ceramic Society, 1966, 49, 152–156. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 3&amp;quot;&amp;gt; A. Baldereschi, Physical Review B, 1973, 7, 5212–5215. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 4&amp;quot; &amp;gt; E. J. Covington and D. J. Montgomery, J. Appl. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys, 2010, 27, 1030–53111. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 5&amp;quot; &amp;gt; J. A. Kaduk and J. Faber, The Rigaku journal 14 CRYSTAL STRUCTURE OF ZEOLITE Y AS A FUNCTION OF ION EXCHANGE, 1995. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 6&amp;quot; &amp;gt; J.R. Vinson, Plate and Panel structures of Isotropic, Composite and Piezoelectric Materials, including Sandwich Construction. Delaware; Springer; 2005. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Appendix==&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo phonon DOS 222 JOH.png|thumb|300px|Figure 1. Phonon DOS of MgO using 2x2x2 grid size]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Jo1213</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553347</id>
		<title>Rep:Mod:JOH95MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553347"/>
		<updated>2016-03-11T08:12:04Z</updated>

		<summary type="html">&lt;p&gt;Jo1213: /* Molecular Dynamics */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
The experiment will investigate the properties of an MgO crystal. Firstly the dimensions of the unit cells will be investigates along with the associated energy. Then the phonon dispersion and DOS will be investigated, evaluating the optimal grid size to use. The energies of the crystal will be investigates along with the thermal expansion coefficients. Lastly the quasi-harmonic approximation (QHA) and the molecular dynamics (MD) will be compared. &lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon-based model used to describe volume-dependent thermal effects. The harmonic phonon model assumes that all intermolecular forces are harmonic. This is not sufficient to describe thermal expansion as there is no change to the equilibrium bond length as temperature increases. The QHA takes into account that molecules do have an anharmonic effect at higher temperatures by treating frequencies as volume dependent. &lt;br /&gt;
&lt;br /&gt;
The Molecular Dynamics approach allows a system to evolve in time according to Newton&#039;s second law &amp;lt;math&amp;gt;F=ma&amp;lt;/math&amp;gt;. The initial configurations and velocities are assigned to allow the program to iterate positions and velocities. The atoms follow trajectories and the properties, such as E and T, are computed as time averages of their behaviour.&lt;br /&gt;
&lt;br /&gt;
The programs used were RedHat Linux, DLVisulaize (DLV) and General Utility Lattice Program (GULP), where DLV acted as a graphical interface for the simulations. GULP is used to perform simulations on materials using boundary conditions, in this case on a 3D lattice.&lt;br /&gt;
&lt;br /&gt;
== Internal Energy of MgO ==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:PC 1.png|left|thumb|300px|Figure 1. Primitive Cell of MgO]]&lt;br /&gt;
|[[File:CC .png|left|thumb|300px|Figure 2. Conventional Cell of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
GULP was used to determine the energy per unit cell of MgO. In the [https://wiki.ch.ic.ac.uk/wiki/images/e/e7/MgO_1_james.txt LogFile] GULF describes MgO using a primitive unit cell as shown in figure 1. The primitive unit cell has two atoms Mg and O in the shape of a rhombohedron of side 2.9783 Å and an internal angle a = 60°. It contains one lattice point and is the simplest cell to describe the crystal. It only consists of 2 atoms (Mg and O). The Cartesian lattice vectors of the cell are reported in table 1 and the total lattice energy was -41.07531759 eV which represents the energy to pull all the atom infinitely apart. The GULP calculation correlates with LCAO HF calculations found in literature (2.573 Å &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;). &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|-&lt;br /&gt;
|+ Table 1ː Cell Vector Dimensions/Å&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The conventional cell has four times the volume of the primitive cell as shown in figure 2. The cell has an internal angel a = 90° and a lattice vector of 4.212 Å (which agrees with literature of 4.21 Å &amp;lt;ref name =&amp;quot;Ref 2&amp;quot; /&amp;gt;). The conventional cell is more representative of the crystal so is chosen in the calculations.&lt;br /&gt;
&lt;br /&gt;
==Computing the Phonon Dispersion Curves==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO Phonon Dispersion JOH.png|thumb|300px|Figure 3. Phonon Dispersion Graph of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The phonon dispersion curve was calculated, as shown in figure 3. The phonon frequencies were calculated along a path in k-space. Special points along the path, &amp;lt;math&amp;gt;W, L, \Gamma, X, W, K&amp;lt;/math&amp;gt;, can be seen in figure 3.. There are two phonos modes associated with each axis, acoustic (in-phase) and optical (out-of-phase) phonons. In the 3D model three axis (x,y,z) are taken into consideration meaning there are 6 phonon modes as shown by the six different curves in figure 3. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:K=0 JOH.png|thumb|300px|Figure 4. Acoustic and optical modes at k=0]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The relationship between the wavevector k to the wavelength (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;k= \frac{2\pi}{\lambda}&amp;lt;/math&amp;gt;. Furthermore the relationship between wavelength (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) and frequency is &amp;lt;math&amp;gt; v = \frac{c}{\lambda} &amp;lt;/math&amp;gt;. As shown in figure 4 when k=0, for the acoustic mode, the wavelength approaches infinity and in turn the frequency approaches 0. For the optical mode the frequency is non-zero. With this information it is clear that at k=0 the dispersion graph is at symmetry point &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Following the path from &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;, to &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and then to &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; the acoustic modes splits into 3 modes, two transverse modes (TA) and one longitude mode (LA). The two TA are degenerate between &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; until it splits between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Phonon Density of States (DOS)==&lt;br /&gt;
The next part involved calculating the phonon density of states. The DOS is defined as the number of states per energy at a given energy, in this case vibrational frequency. The larger the number of k values considered in reciprocal space the more accurate the DOS. This is achieved by increasing the grid size (nxnxn) to give a better representation of the crystal by sampling more k values in reciprocal space. However, at a certain point the difference between k values is negligible so does not further increase the accuracy of the DOS. Furthermore calculating an infinite number of k values would take an infinite amount of computing time.&lt;br /&gt;
&lt;br /&gt;
The DOS was calculated for a 1x1x1 grid by setting the shrinking value to 1 as shown in figure 5. The grid size was then increased to find the optimum shrinking value that gave a good representation of the DOS without taking too long to calculate as shown by figures 6 through 10. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo Phonon DOS JOH 111.png|thumb|300px|Figure 5. Phonon DOS of MgO using 1x1x1 grid size]]&lt;br /&gt;
|[[File:JOHphononDOS444.png|thumb|300px|Figure 6. Phonon DOS of MgO using 4x4x4 grid size]]&lt;br /&gt;
|[[File:JOHDOS888.png|thumb|300px|Figure 7. Phonon DOS of MgO using 8x8x8 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOHDOS161616.png|thumb|300px|Figure 8. Phonon DOS of MgO using 16x16x16 grid size]]&lt;br /&gt;
|[[File:JOHDOS323232.png|thumb|300px|Figure 9. Phonon DOS of MgO using 32x32x32 grid size]]&lt;br /&gt;
|[[File:JOHDOS50.png|thumb|300px|Figure 10. Phonon DOS of MgO using 50x50x50 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 5 shows the DOS for a 1x1x1 grid size. The four peaks 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; 676 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 819 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; represent the four frequencies at point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The intensity of the peaks around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; is around double that of the peaks around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. This gives further evidence that the acoustic vibrational mode around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; are degenerate. The theorem about using the &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; point in reciprocal space for a 1x1x1 grid is called Baldereschi theorem &amp;lt;ref name = &amp;quot;Ref 3&amp;quot;/&amp;gt;. The idea being that point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is the most representative point in k-space as when you increase from grid size of 1x1x1 to 50x50x50 the main peak remains around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; with a smaller peak still around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The ideal grid size is one that represents the DOS without taking too long to calculate. From figure 8 onwards the shape of the curve does not change much, so it can be concluded that using a grid size of 16 is sufficient enough to gain a good understanding of the DOS without taking too long to calculate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:DOS dispersion JOH.png|thumb|400px|Figure 11. Comparing the dispersion curve with the DOS]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It is important to note the relationship between the dispersion curve and the DOS graph as shown in figure 11. The frequency in the phonon dispersion curve on the y axis is the same as the frequency on the DOS curve in the x-axis. It can be seen visually that the most popular states are around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The relationship between real space and reciprocal space is given by the formula &amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt; - a being the length in real space transformed to a* in reciprocal space. This shows that the larger the lattice constant a, the smaller the reciprocal cell. This is important to consider when assessing the DOS for other structures. Lithium has a lattice constant of 3.490 Å &amp;lt;ref name = &amp;quot;Ref 4&amp;quot;/&amp;gt; which is 0.721 Å lower that the conventional unit cell of MgO that is being modelled. Due to the inverse relationship of real to reciprocal space, lithium will have a larger cell in k space and therefore need a larger grid size to measure the DOS. Conversely Faujasite has a lattice constant of 24.7 Å &amp;lt;ref name = &amp;quot;Ref 5&amp;quot; /&amp;gt; which will give a much smaller cell in reciprocal space meaning that a smaller grid size would give an accurate measurement of the DOS as there are fewer k values needed to measure the cell. CaO has a very similar lattice constant meaning that a similar grid size would be needed to accurately measure the DOS - in this case a grid size of 16x16x16 would be sufficient.&lt;br /&gt;
&lt;br /&gt;
==Computing the Free Energy==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Table 2ː Energy vs Grid size&lt;br /&gt;
! Grid Size nxnxn/n&lt;br /&gt;
! Free Energy/eV&lt;br /&gt;
! Accuracy/ meV&lt;br /&gt;
! Log file&lt;br /&gt;
! rowspan=&amp;quot;9&amp;quot;|[[File:JOH Free energy vs grid size.png|thumb|400px|]]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| -40.930301&lt;br /&gt;
| 4&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/1/12/JOH_fe_MgO_111.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| -40.926609&lt;br /&gt;
| 0.2&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/aa/JOH_fe_MgO_222.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -40.926432&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4d/JOH_fe_MgO_333.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -40.926450&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/40/JOH_fe_MgO_444.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -40.926478&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/7/70/JOH_fe_MgO_888.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -40.926482&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4f/JOH_fe_MgO_16.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/ac/JOH_fe_MgO_32.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 50&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [[Media:JOH_fe_MgO_50.txt.zip|log file]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Table 2 displays the free energies of MgO as a function of grid size n. Similar to finding the ideal grid size to calculate the DOS, the optimal grid size to figure out the free energy can be found in table 2. As the grid size increases from 1 to 3 there is a sharp increase in the free energy from -40.930301 eV to -40.926432 eV, after-which the free energy eventually converges at -40.926483 eV. The degree of accuracy follows this trend, from a grid size of 4 onwards the degree of accuracy is greater that 0.1 meV. There is no change in free energy from a grid size of 32 to 50 suggesting that a grid size of 32 is all that is needed to accurately determine the free energy of MgO. &lt;br /&gt;
&lt;br /&gt;
The graph in table 2 can be rationalized by the equation for the Helmholtz free energy - &amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A is the Helmholtz fee energy, U is the internal energy, T is temperature and S is entropy. As the grid size increases, the volume increases so the internal energy decreases (&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt;). This in turn means that the Helmholtz free energy would decrease.&lt;br /&gt;
&lt;br /&gt;
Furthermore as the number of microstates sampled increases the entropy term will increase according to the relationship &amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt;. This in turn means that the free energy will be lowered. By considering these two factors the decrease in free energy can be rationalised.&lt;br /&gt;
&lt;br /&gt;
==Thermal Expansion of MgO==&lt;br /&gt;
The structure of MgO will be optimised with respect to the free energy at different temperatures (0 - 1000 K in steps of 100 K). The free energy will be computed using the quasi-harmonic approximation (QHA) which uses the following expression: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
*&amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; = frequency of the vibration &lt;br /&gt;
*&amp;lt;math&amp;gt;E_{0}&amp;lt;/math&amp;gt; = zero point energy &lt;br /&gt;
*&amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; = Temperature&lt;br /&gt;
*&amp;lt;math&amp;gt;k_B&amp;lt;/math&amp;gt; = Boltzmann Constant &lt;br /&gt;
*&amp;lt;math&amp;gt;\hbar&amp;lt;/math&amp;gt; = reduced Planck&#039;s constant. &lt;br /&gt;
&lt;br /&gt;
The equations is split into three parts - the zero point energy and the harmonic and entropic contribution.&lt;br /&gt;
&lt;br /&gt;
In addition the coefficients of thermal expansion was calculated. The coefficient of thermal expansion describes how the size of an object changes with temperature. The larger the coefficient the greater the change in size as temperature increases. Several coefficients have been developed and the two that we will look at are the linear and volumetric thermal expansion. The generic equation is as follows:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\alpha_x = \frac{1}{x}\,\left(\frac{\partial x}{\partial T}\right)_p&lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* α&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt; = thermal expansion coefficient&lt;br /&gt;
* x = initial dimension &lt;br /&gt;
* ∂x = the partial derivative of the dimension under study &lt;br /&gt;
* ∂T = partial derivative of temperature (at constant pressure)&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy vs temp.png|thumb|400px|Figure 12. Free Energy dependence on Temperature for the QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH lattice constant vs temp.png|thumb|400px|Figure 13. Lattice Constant dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|[[File:JOH LV temp.png|thumb|400px|Figure 14. Lattice Volume dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 12 shows that as temperature increases the free energy becomes more negative. This can be rationalised with the derivation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; G = H - TS &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;H = U + PV&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G = U + PV - TS&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dG = dU + PdV + VdP - TdS - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = q + w &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dq = TdS &amp;lt;/math&amp;gt; &amp;lt;math&amp;gt; dw = -PdV &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \therefore dG = VdP - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This implies that both the volume and the entropic factor contribute to the free energy. As the temperature increases the volume will increase, however the entropic factor will overcome this due to large change in temperature. This explains the trend observed in figure 12. We would expect a linear negative decrease - &amp;lt;math&amp;gt; \left( \frac{\partial G}{\partial T} \right)_P = -S &amp;lt;/math&amp;gt;. However figure 12 shows that the trend is a curve suggesting that there are limitations to the calculation. &lt;br /&gt;
&lt;br /&gt;
The trend could also be explained using the Helmoholtz free energy equation used in the QHA. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The entropic contribution in the equation has a large dependence on temperature and therefore as temperature increases the entropic contribution becomes more negative resulting in the Helmholtz becoming more negative.  &lt;br /&gt;
&lt;br /&gt;
===Calculating the Thermal expansion coefficients===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Linear Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{1}{L} \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{0.00002342}{2.986563} = 7.7815\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
L = the initial lattice constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 13&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Volumetric Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V} \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{0.00044612}{18.836496} = 2.3684\times 10^{-5}&amp;lt;/math&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
V = the initial volume constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 14&lt;br /&gt;
&lt;br /&gt;
For isotropic materials the volumetric coefficient is three times larger that then linear coefficient - 3&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;. For MgO &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt; is practically three times larger than &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; (3.04&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;) implying that MgO is an isotropic material &amp;lt;ref name=&amp;quot;Ref 6&amp;quot;/&amp;gt;, in other words lattice constants a, b and c expand at equal rates. At 200 K the L value increases to 2.987604 Å resulting in &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;7.839\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; which is close to the literature value of &amp;lt;math&amp;gt;7.39\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The main approximation with the QHA occurs at higher temperatures. This is because at higher temperatures the lattice experiences a larger anharmonic effect due to a larger deviation from bond equilibrium as more energy is put into the bond. Furthermore as anharmonicity comes from scattered phonons interacting due to lattice defect, this effect will be accentuated as lattice vibration gain more energy. The QHA simplifies the anharmonic effect by letting the phonon frequencies become volume dependent so therefore is unable to model the anharmonic effect well. Furthermore the born-oppenheimer approximation would become less valid at larger temperatures as the motion of nuclei becomes more important.&lt;br /&gt;
&lt;br /&gt;
== Molecular Dynamics ==&lt;br /&gt;
The crystal was then studied using Molecular Dynamics. In the previous investigations MgO has been described using a primitive cell containing a single MgO unit. Running an MD would not produce meaningful data as every cell would move perfectly in phase. By increasing the size of the cell the MD would become more accurate but become more computationally expensive so a compromise is reached for a cell containing 32 MgO units. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy temperature QHA MD.png|thumb|400px|Figure 15. Free Energy vs Temperature for MD compared to QHA]]&lt;br /&gt;
|[[File:JOHlatticeQHAMD2.png|thumb|400px|Figure 16. Lattice Constant vs Temperature for MD compared to QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics allows a system to evolve in time according to Newton&#039;s second law F=ma. As the system is treated classically energy can be modelled by the equipartition principle, &amp;lt;math&amp;gt;E = \frac{3}{2} k_B T&amp;lt;/math&amp;gt;, and as such the energy will increase linearly with temperature. In comparison QHA follows the relationship A = U -TS, so the energy should decrease with temperature. This can be seen in figure 15. &lt;br /&gt;
&lt;br /&gt;
Looking at figure 16 the MD and the QHA are similar between 400-1000 K, thus the volumetric expansion coefficients would be similar:&lt;br /&gt;
*MD - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; = 3.06 * 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
*QHA - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;  = 2.89 * 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
This similarity in data strengthens the reliability of the volumetric expansion coefficients between 400 - 1000 K. However, below 400 K the QHA begins to break from a linear trend and curve towards 18.84 Å&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt; whereas the MD follows the linear trend. At lower trends the anharmonic effect is not as prevalent so the QHA is a better model for the lattice constant at lower temperatures. The MD model does not accurately show how the free energy changes at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
===Limitations&lt;br /&gt;
&lt;br /&gt;
Overall both QHA and MD models have their limitations. &lt;br /&gt;
&lt;br /&gt;
The atoms are modelled using a classical approach or in other words atoms are modelled as hard charged spheres. So the quantum mechanical contributions cannot be taken into account. This will reduced the accuracy of the models &lt;br /&gt;
&lt;br /&gt;
Furthermore, the models do not consider long-range interactions, only interactions of atoms relatively close. In a realistic crystal there will be interactions outside the nearest neighbours albeit small interactions. Thus slight inaccuracy in the models is seen. &lt;br /&gt;
&lt;br /&gt;
For both models it can be assumed that the trends can be extrapolated until the melting point of MgO is reached, as upon melting a change in volume occurs. Furthermore liquid MgO has no structured order so cannot be described by a repeated unit cell. &lt;br /&gt;
&lt;br /&gt;
In the QHA the interactions between atoms of different unit cells was not taken into consideration. The would be an energy increase if there was overlap between atoms in different cells.&lt;br /&gt;
&lt;br /&gt;
For these MD calculations, as only a small number of atoms were considered it was reasonable to use a time step of 1.0 femtoseconds. However, when considering a much larger system, say for example a protein, then this would become computationally expensive&lt;br /&gt;
&lt;br /&gt;
==Conclusion== &lt;br /&gt;
The experiment showed the thermal expansion of MgO, the phonon dispersion and the DOS. Comparisons between the QHA and the MD were made, both approaches giving reasonable thermal expansion coefficients between 400-1000 K. At lower temperatures the QHA was a better model, due to the reduction in anharmonic effects.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 1&amp;quot; &amp;gt; O. Madelung, U. Rössler and M. Schulz, Eds., II-VI and I-VII compounds; Semimagnetic compounds, Springer-Verlag, 1999. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 2&amp;quot; &amp;gt; A. CIMINO, P. PORTA and M. VALIGI, Journal of the American Ceramic Society, 1966, 49, 152–156. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 3&amp;quot;&amp;gt; A. Baldereschi, Physical Review B, 1973, 7, 5212–5215. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 4&amp;quot; &amp;gt; E. J. Covington and D. J. Montgomery, J. Appl. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys, 2010, 27, 1030–53111. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 5&amp;quot; &amp;gt; J. A. Kaduk and J. Faber, The Rigaku journal 14 CRYSTAL STRUCTURE OF ZEOLITE Y AS A FUNCTION OF ION EXCHANGE, 1995. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 6&amp;quot; &amp;gt; J.R. Vinson, Plate and Panel structures of Isotropic, Composite and Piezoelectric Materials, including Sandwich Construction. Delaware; Springer; 2005. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Appendix==&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo phonon DOS 222 JOH.png|thumb|300px|Figure 1. Phonon DOS of MgO using 2x2x2 grid size]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Jo1213</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553307</id>
		<title>Rep:Mod:JOH95MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553307"/>
		<updated>2016-03-11T07:20:40Z</updated>

		<summary type="html">&lt;p&gt;Jo1213: /* Thermal Expansion of MgO */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
The experiment will investigate the properties of an MgO crystal. Firstly the dimensions of the unit cells will be investigates along with the associated energy. Then the phonon dispersion and DOS will be investigated, evaluating the optimal grid size to use. The energies of the crystal will be investigates along with the thermal expansion coefficients. Lastly the quasi-harmonic approximation (QHA) and the molecular dynamics (MD) will be compared. &lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon-based model used to describe volume-dependent thermal effects. The harmonic phonon model assumes that all intermolecular forces are harmonic. This is not sufficient to describe thermal expansion as there is no change to the equilibrium bond length as temperature increases. The QHA takes into account that molecules do have an anharmonic effect at higher temperatures by treating frequencies as volume dependent. &lt;br /&gt;
&lt;br /&gt;
The Molecular Dynamics approach allows a system to evolve in time according to Newton&#039;s second law &amp;lt;math&amp;gt;F=ma&amp;lt;/math&amp;gt;. The initial configurations and velocities are assigned to allow the program to iterate positions and velocities. The atoms follow trajectories and the properties, such as E and T, are computed as time averages of their behaviour.&lt;br /&gt;
&lt;br /&gt;
The programs used were RedHat Linux, DLVisulaize (DLV) and General Utility Lattice Program (GULP), where DLV acted as a graphical interface for the simulations. GULP is used to perform simulations on materials using boundary conditions, in this case on a 3D lattice.&lt;br /&gt;
&lt;br /&gt;
== Internal Energy of MgO ==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:PC 1.png|left|thumb|300px|Figure 1. Primitive Cell of MgO]]&lt;br /&gt;
|[[File:CC .png|left|thumb|300px|Figure 2. Conventional Cell of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
GULP was used to determine the energy per unit cell of MgO. In the [https://wiki.ch.ic.ac.uk/wiki/images/e/e7/MgO_1_james.txt LogFile] GULF describes MgO using a primitive unit cell as shown in figure 1. The primitive unit cell has two atoms Mg and O in the shape of a rhombohedron of side 2.9783 Å and an internal angle a = 60°. It contains one lattice point and is the simplest cell to describe the crystal. It only consists of 2 atoms (Mg and O). The Cartesian lattice vectors of the cell are reported in table 1 and the total lattice energy was -41.07531759 eV which represents the energy to pull all the atom infinitely apart. The GULP calculation correlates with LCAO HF calculations found in literature (2.573 Å &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;). &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|-&lt;br /&gt;
|+ Table 1ː Cell Vector Dimensions/Å&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The conventional cell has four times the volume of the primitive cell as shown in figure 2. The cell has an internal angel a = 90° and a lattice vector of 4.212 Å (which agrees with literature of 4.21 Å &amp;lt;ref name =&amp;quot;Ref 2&amp;quot; /&amp;gt;). The conventional cell is more representative of the crystal so is chosen in the calculations.&lt;br /&gt;
&lt;br /&gt;
==Computing the Phonon Dispersion Curves==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO Phonon Dispersion JOH.png|thumb|300px|Figure 3. Phonon Dispersion Graph of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The phonon dispersion curve was calculated, as shown in figure 3. The phonon frequencies were calculated along a path in k-space. Special points along the path, &amp;lt;math&amp;gt;W, L, \Gamma, X, W, K&amp;lt;/math&amp;gt;, can be seen in figure 3.. There are two phonos modes associated with each axis, acoustic (in-phase) and optical (out-of-phase) phonons. In the 3D model three axis (x,y,z) are taken into consideration meaning there are 6 phonon modes as shown by the six different curves in figure 3. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:K=0 JOH.png|thumb|300px|Figure 4. Acoustic and optical modes at k=0]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The relationship between the wavevector k to the wavelength (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;k= \frac{2\pi}{\lambda}&amp;lt;/math&amp;gt;. Furthermore the relationship between wavelength (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) and frequency is &amp;lt;math&amp;gt; v = \frac{c}{\lambda} &amp;lt;/math&amp;gt;. As shown in figure 4 when k=0, for the acoustic mode, the wavelength approaches infinity and in turn the frequency approaches 0. For the optical mode the frequency is non-zero. With this information it is clear that at k=0 the dispersion graph is at symmetry point &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Following the path from &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;, to &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and then to &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; the acoustic modes splits into 3 modes, two transverse modes (TA) and one longitude mode (LA). The two TA are degenerate between &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; until it splits between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Phonon Density of States (DOS)==&lt;br /&gt;
The next part involved calculating the phonon density of states. The DOS is defined as the number of states per energy at a given energy, in this case vibrational frequency. The larger the number of k values considered in reciprocal space the more accurate the DOS. This is achieved by increasing the grid size (nxnxn) to give a better representation of the crystal by sampling more k values in reciprocal space. However, at a certain point the difference between k values is negligible so does not further increase the accuracy of the DOS. Furthermore calculating an infinite number of k values would take an infinite amount of computing time.&lt;br /&gt;
&lt;br /&gt;
The DOS was calculated for a 1x1x1 grid by setting the shrinking value to 1 as shown in figure 5. The grid size was then increased to find the optimum shrinking value that gave a good representation of the DOS without taking too long to calculate as shown by figures 6 through 10. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo Phonon DOS JOH 111.png|thumb|300px|Figure 5. Phonon DOS of MgO using 1x1x1 grid size]]&lt;br /&gt;
|[[File:JOHphononDOS444.png|thumb|300px|Figure 6. Phonon DOS of MgO using 4x4x4 grid size]]&lt;br /&gt;
|[[File:JOHDOS888.png|thumb|300px|Figure 7. Phonon DOS of MgO using 8x8x8 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOHDOS161616.png|thumb|300px|Figure 8. Phonon DOS of MgO using 16x16x16 grid size]]&lt;br /&gt;
|[[File:JOHDOS323232.png|thumb|300px|Figure 9. Phonon DOS of MgO using 32x32x32 grid size]]&lt;br /&gt;
|[[File:JOHDOS50.png|thumb|300px|Figure 10. Phonon DOS of MgO using 50x50x50 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 5 shows the DOS for a 1x1x1 grid size. The four peaks 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; 676 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 819 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; represent the four frequencies at point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The intensity of the peaks around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; is around double that of the peaks around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. This gives further evidence that the acoustic vibrational mode around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; are degenerate. The theorem about using the &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; point in reciprocal space for a 1x1x1 grid is called Baldereschi theorem &amp;lt;ref name = &amp;quot;Ref 3&amp;quot;/&amp;gt;. The idea being that point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is the most representative point in k-space as when you increase from grid size of 1x1x1 to 50x50x50 the main peak remains around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; with a smaller peak still around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The ideal grid size is one that represents the DOS without taking too long to calculate. From figure 8 onwards the shape of the curve does not change much, so it can be concluded that using a grid size of 16 is sufficient enough to gain a good understanding of the DOS without taking too long to calculate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:DOS dispersion JOH.png|thumb|400px|Figure 11. Comparing the dispersion curve with the DOS]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It is important to note the relationship between the dispersion curve and the DOS graph as shown in figure 11. The frequency in the phonon dispersion curve on the y axis is the same as the frequency on the DOS curve in the x-axis. It can be seen visually that the most popular states are around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The relationship between real space and reciprocal space is given by the formula &amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt; - a being the length in real space transformed to a* in reciprocal space. This shows that the larger the lattice constant a, the smaller the reciprocal cell. This is important to consider when assessing the DOS for other structures. Lithium has a lattice constant of 3.490 Å &amp;lt;ref name = &amp;quot;Ref 4&amp;quot;/&amp;gt; which is 0.721 Å lower that the conventional unit cell of MgO that is being modelled. Due to the inverse relationship of real to reciprocal space, lithium will have a larger cell in k space and therefore need a larger grid size to measure the DOS. Conversely Faujasite has a lattice constant of 24.7 Å &amp;lt;ref name = &amp;quot;Ref 5&amp;quot; /&amp;gt; which will give a much smaller cell in reciprocal space meaning that a smaller grid size would give an accurate measurement of the DOS as there are fewer k values needed to measure the cell. CaO has a very similar lattice constant meaning that a similar grid size would be needed to accurately measure the DOS - in this case a grid size of 16x16x16 would be sufficient.&lt;br /&gt;
&lt;br /&gt;
==Computing the Free Energy==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Table 2ː Energy vs Grid size&lt;br /&gt;
! Grid Size nxnxn/n&lt;br /&gt;
! Free Energy/eV&lt;br /&gt;
! Accuracy/ meV&lt;br /&gt;
! Log file&lt;br /&gt;
! rowspan=&amp;quot;9&amp;quot;|[[File:JOH Free energy vs grid size.png|thumb|400px|]]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| -40.930301&lt;br /&gt;
| 4&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/1/12/JOH_fe_MgO_111.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| -40.926609&lt;br /&gt;
| 0.2&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/aa/JOH_fe_MgO_222.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -40.926432&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4d/JOH_fe_MgO_333.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -40.926450&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/40/JOH_fe_MgO_444.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -40.926478&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/7/70/JOH_fe_MgO_888.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -40.926482&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4f/JOH_fe_MgO_16.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/ac/JOH_fe_MgO_32.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 50&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [[Media:JOH_fe_MgO_50.txt.zip|log file]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Table 2 displays the free energies of MgO as a function of grid size n. Similar to finding the ideal grid size to calculate the DOS, the optimal grid size to figure out the free energy can be found in table 2. As the grid size increases from 1 to 3 there is a sharp increase in the free energy from -40.930301 eV to -40.926432 eV, after-which the free energy eventually converges at -40.926483 eV. The degree of accuracy follows this trend, from a grid size of 4 onwards the degree of accuracy is greater that 0.1 meV. There is no change in free energy from a grid size of 32 to 50 suggesting that a grid size of 32 is all that is needed to accurately determine the free energy of MgO. &lt;br /&gt;
&lt;br /&gt;
The graph in table 2 can be rationalized by the equation for the Helmholtz free energy - &amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A is the Helmholtz fee energy, U is the internal energy, T is temperature and S is entropy. As the grid size increases, the volume increases so the internal energy decreases (&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt;). This in turn means that the Helmholtz free energy would decrease.&lt;br /&gt;
&lt;br /&gt;
Furthermore as the number of microstates sampled increases the entropy term will increase according to the relationship &amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt;. This in turn means that the free energy will be lowered. By considering these two factors the decrease in free energy can be rationalised.&lt;br /&gt;
&lt;br /&gt;
==Thermal Expansion of MgO==&lt;br /&gt;
The structure of MgO will be optimised with respect to the free energy at different temperatures (0 - 1000 K in steps of 100 K). The free energy will be computed using the quasi-harmonic approximation (QHA) which uses the following expression: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
*&amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; = frequency of the vibration &lt;br /&gt;
*&amp;lt;math&amp;gt;E_{0}&amp;lt;/math&amp;gt; = zero point energy &lt;br /&gt;
*&amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; = Temperature&lt;br /&gt;
*&amp;lt;math&amp;gt;k_B&amp;lt;/math&amp;gt; = Boltzmann Constant &lt;br /&gt;
*&amp;lt;math&amp;gt;\hbar&amp;lt;/math&amp;gt; = reduced Planck&#039;s constant. &lt;br /&gt;
&lt;br /&gt;
The equations is split into three parts - the zero point energy and the harmonic and entropic contribution.&lt;br /&gt;
&lt;br /&gt;
In addition the coefficients of thermal expansion was calculated. The coefficient of thermal expansion describes how the size of an object changes with temperature. The larger the coefficient the greater the change in size as temperature increases. Several coefficients have been developed and the two that we will look at are the linear and volumetric thermal expansion. The generic equation is as follows:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\alpha_x = \frac{1}{x}\,\left(\frac{\partial x}{\partial T}\right)_p&lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* α&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt; = thermal expansion coefficient&lt;br /&gt;
* x = initial dimension &lt;br /&gt;
* ∂x = the partial derivative of the dimension under study &lt;br /&gt;
* ∂T = partial derivative of temperature (at constant pressure)&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy vs temp.png|thumb|400px|Figure 12. Free Energy dependence on Temperature for the QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH lattice constant vs temp.png|thumb|400px|Figure 13. Lattice Constant dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|[[File:JOH LV temp.png|thumb|400px|Figure 14. Lattice Volume dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 12 shows that as temperature increases the free energy becomes more negative. This can be rationalised with the derivation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; G = H - TS &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;H = U + PV&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G = U + PV - TS&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dG = dU + PdV + VdP - TdS - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = q + w &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dq = TdS &amp;lt;/math&amp;gt; &amp;lt;math&amp;gt; dw = -PdV &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \therefore dG = VdP - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This implies that both the volume and the entropic factor contribute to the free energy. As the temperature increases the volume will increase, however the entropic factor will overcome this due to large change in temperature. This explains the trend observed in figure 12. We would expect a linear negative decrease - &amp;lt;math&amp;gt; \left( \frac{\partial G}{\partial T} \right)_P = -S &amp;lt;/math&amp;gt;. However figure 12 shows that the trend is a curve suggesting that there are limitations to the calculation. &lt;br /&gt;
&lt;br /&gt;
The trend could also be explained using the Helmoholtz free energy equation used in the QHA. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The entropic contribution in the equation has a large dependence on temperature and therefore as temperature increases the entropic contribution becomes more negative resulting in the Helmholtz becoming more negative.  &lt;br /&gt;
&lt;br /&gt;
===Calculating the Thermal expansion coefficients===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Linear Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{1}{L} \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{0.00002342}{2.986563} = 7.7815\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
L = the initial lattice constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 13&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Volumetric Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V} \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{0.00044612}{18.836496} = 2.3684\times 10^{-5}&amp;lt;/math&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
V = the initial volume constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 14&lt;br /&gt;
&lt;br /&gt;
For isotropic materials the volumetric coefficient is three times larger that then linear coefficient - 3&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;. For MgO &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt; is practically three times larger than &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; (3.04&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;) implying that MgO is an isotropic material &amp;lt;ref name=&amp;quot;Ref 6&amp;quot;/&amp;gt;, in other words lattice constants a, b and c expand at equal rates. At 200 K the L value increases to 2.987604 Å resulting in &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;7.839\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; which is close to the literature value of &amp;lt;math&amp;gt;7.39\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The main approximation with the QHA occurs at higher temperatures. This is because at higher temperatures the lattice experiences a larger anharmonic effect due to a larger deviation from bond equilibrium as more energy is put into the bond. Furthermore as anharmonicity comes from scattered phonons interacting due to lattice defect, this effect will be accentuated as lattice vibration gain more energy. The QHA simplifies the anharmonic effect by letting the phonon frequencies become volume dependent so therefore is unable to model the anharmonic effect well. Furthermore the born-oppenheimer approximation would become less valid at larger temperatures as the motion of nuclei becomes more important.&lt;br /&gt;
&lt;br /&gt;
== Molecular Dynamics ==&lt;br /&gt;
The crystal was then studied using Molecular Dynamics. In the previous investigations MgO has been described using a primitive cell containing a single MgO unit. Running an MD would not produce meaningful data as every cell would move perfectly in phase. By increasing the size of the cell the MD would become more accurate but become more computationally expensive so a compromise is reached for a cell containing 32 MgO units. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy temperature QHA MD.png|thumb|400px|Figure 15. Free Energy vs Temperature for MD compared to QHA]]&lt;br /&gt;
|[[File:JOHlatticeQHAMD2.png|thumb|400px|Figure 16. Lattice Constant vs Temperature for MD compared to QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics allows a system to evolve in time according to Newton&#039;s second law F=ma. As the system is treated classically energy can be modelled by the equipartition principle, &amp;lt;math&amp;gt;E = \frac{3}{2} k_B T&amp;lt;/math&amp;gt;, and as such the energy will increase linearly with temperature. In comparison QHA follows the relationship A = U -TS, so the energy should decrease with temperature. This can be seen in figure 15. &lt;br /&gt;
&lt;br /&gt;
Looking at figure 16 the MD and the QHA are similar between 400-1000 K, thus the volumetric expansion coefficients would be similar:&lt;br /&gt;
*MD - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; = 3.06 * 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
*QHA - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;  = 2.89 * 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
This similarity in data strengthens the reliability of the volumetric expansion coefficients between 400 - 1000 K. However, below 400 K the QHA begins to break from a linear trend and curve towards 18.84 Å&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt; whereas the MD follows the linear trend. At lower trends the anharmonic effect is not as prevalent so the QHA is a better model for the lattice constant at lower temperatures. The MD model does not accurately show how the free energy changes at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
Overall both models do have their limitations. The atoms are modelled using a classical approach, ions as hard spheres, so the quantum mechanical contributions cannot be taken into account. Furthermore, the models do not consider long-range interactions which will reduce the accuracy. Lastly the models do not take into consideration the melting temperature of MgO. The crystal would not be able to be modelled accurately beyond the melting point.&lt;br /&gt;
&lt;br /&gt;
==Conclusion== &lt;br /&gt;
The experiment showed the thermal expansion of MgO, the phonon dispersion and the DOS. Comparisons between the QHA and the MD were made, both approaches giving reasonable thermal expansion coefficients between 400-1000 K. At lower temperatures the QHA was a better model, due to the reduction in anharmonic effects.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 1&amp;quot; &amp;gt; O. Madelung, U. Rössler and M. Schulz, Eds., II-VI and I-VII compounds; Semimagnetic compounds, Springer-Verlag, 1999. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 2&amp;quot; &amp;gt; A. CIMINO, P. PORTA and M. VALIGI, Journal of the American Ceramic Society, 1966, 49, 152–156. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 3&amp;quot;&amp;gt; A. Baldereschi, Physical Review B, 1973, 7, 5212–5215. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 4&amp;quot; &amp;gt; E. J. Covington and D. J. Montgomery, J. Appl. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys, 2010, 27, 1030–53111. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 5&amp;quot; &amp;gt; J. A. Kaduk and J. Faber, The Rigaku journal 14 CRYSTAL STRUCTURE OF ZEOLITE Y AS A FUNCTION OF ION EXCHANGE, 1995. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 6&amp;quot; &amp;gt; J.R. Vinson, Plate and Panel structures of Isotropic, Composite and Piezoelectric Materials, including Sandwich Construction. Delaware; Springer; 2005. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Appendix==&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo phonon DOS 222 JOH.png|thumb|300px|Figure 1. Phonon DOS of MgO using 2x2x2 grid size]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Jo1213</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553144</id>
		<title>Rep:Mod:JOH95MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553144"/>
		<updated>2016-03-11T02:34:18Z</updated>

		<summary type="html">&lt;p&gt;Jo1213: /* Thermal Expansion of MgO */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
The experiment will investigate the properties of an MgO crystal. Firstly the dimensions of the unit cells will be investigates along with the associated energy. Then the phonon dispersion and DOS will be investigated, evaluating the optimal grid size to use. The energies of the crystal will be investigates along with the thermal expansion coefficients. Lastly the quasi-harmonic approximation (QHA) and the molecular dynamics (MD) will be compared. &lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon-based model used to describe volume-dependent thermal effects. The harmonic phonon model assumes that all intermolecular forces are harmonic. This is not sufficient to describe thermal expansion as there is no change to the equilibrium bond length as temperature increases. The QHA takes into account that molecules do have an anharmonic effect at higher temperatures by treating frequencies as volume dependent. &lt;br /&gt;
&lt;br /&gt;
The Molecular Dynamics approach allows a system to evolve in time according to Newton&#039;s second law &amp;lt;math&amp;gt;F=ma&amp;lt;/math&amp;gt;. The initial configurations and velocities are assigned to allow the program to iterate positions and velocities. The atoms follow trajectories and the properties, such as E and T, are computed as time averages of their behaviour.&lt;br /&gt;
&lt;br /&gt;
The programs used were RedHat Linux, DLVisulaize (DLV) and General Utility Lattice Program (GULP), where DLV acted as a graphical interface for the simulations. GULP is used to perform simulations on materials using boundary conditions, in this case on a 3D lattice.&lt;br /&gt;
&lt;br /&gt;
== Internal Energy of MgO ==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:PC 1.png|left|thumb|300px|Figure 1. Primitive Cell of MgO]]&lt;br /&gt;
|[[File:CC .png|left|thumb|300px|Figure 2. Conventional Cell of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
GULP was used to determine the energy per unit cell of MgO. In the [https://wiki.ch.ic.ac.uk/wiki/images/e/e7/MgO_1_james.txt LogFile] GULF describes MgO using a primitive unit cell as shown in figure 1. The primitive unit cell has two atoms Mg and O in the shape of a rhombohedron of side 2.9783 Å and an internal angle a = 60°. It contains one lattice point and is the simplest cell to describe the crystal. It only consists of 2 atoms (Mg and O). The Cartesian lattice vectors of the cell are reported in table 1 and the total lattice energy was -41.07531759 eV which represents the energy to pull all the atom infinitely apart. The GULP calculation correlates with LCAO HF calculations found in literature (2.573 Å &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;). &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|-&lt;br /&gt;
|+ Table 1ː Cell Vector Dimensions/Å&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The conventional cell has four times the volume of the primitive cell as shown in figure 2. The cell has an internal angel a = 90° and a lattice vector of 4.212 Å (which agrees with literature of 4.21 Å &amp;lt;ref name =&amp;quot;Ref 2&amp;quot; /&amp;gt;). The conventional cell is more representative of the crystal so is chosen in the calculations.&lt;br /&gt;
&lt;br /&gt;
==Computing the Phonon Dispersion Curves==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO Phonon Dispersion JOH.png|thumb|300px|Figure 3. Phonon Dispersion Graph of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The phonon dispersion curve was calculated, as shown in figure 3. The phonon frequencies were calculated along a path in k-space. Special points along the path, &amp;lt;math&amp;gt;W, L, \Gamma, X, W, K&amp;lt;/math&amp;gt;, can be seen in figure 3.. There are two phonos modes associated with each axis, acoustic (in-phase) and optical (out-of-phase) phonons. In the 3D model three axis (x,y,z) are taken into consideration meaning there are 6 phonon modes as shown by the six different curves in figure 3. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:K=0 JOH.png|thumb|300px|Figure 4. Acoustic and optical modes at k=0]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The relationship between the wavevector k to the wavelength (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;k= \frac{2\pi}{\lambda}&amp;lt;/math&amp;gt;. Furthermore the relationship between wavelength (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) and frequency is &amp;lt;math&amp;gt; v = \frac{c}{\lambda} &amp;lt;/math&amp;gt;. As shown in figure 4 when k=0, for the acoustic mode, the wavelength approaches infinity and in turn the frequency approaches 0. For the optical mode the frequency is non-zero. With this information it is clear that at k=0 the dispersion graph is at symmetry point &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Following the path from &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;, to &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and then to &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; the acoustic modes splits into 3 modes, two transverse modes (TA) and one longitude mode (LA). The two TA are degenerate between &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; until it splits between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Phonon Density of States (DOS)==&lt;br /&gt;
The next part involved calculating the phonon density of states. The DOS is defined as the number of states per energy at a given energy, in this case vibrational frequency. The larger the number of k values considered in reciprocal space the more accurate the DOS. This is achieved by increasing the grid size (nxnxn) to give a better representation of the crystal by sampling more k values in reciprocal space. However, at a certain point the difference between k values is negligible so does not further increase the accuracy of the DOS. Furthermore calculating an infinite number of k values would take an infinite amount of computing time.&lt;br /&gt;
&lt;br /&gt;
The DOS was calculated for a 1x1x1 grid by setting the shrinking value to 1 as shown in figure 5. The grid size was then increased to find the optimum shrinking value that gave a good representation of the DOS without taking too long to calculate as shown by figures 6 through 10. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo Phonon DOS JOH 111.png|thumb|300px|Figure 5. Phonon DOS of MgO using 1x1x1 grid size]]&lt;br /&gt;
|[[File:JOHphononDOS444.png|thumb|300px|Figure 6. Phonon DOS of MgO using 4x4x4 grid size]]&lt;br /&gt;
|[[File:JOHDOS888.png|thumb|300px|Figure 7. Phonon DOS of MgO using 8x8x8 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOHDOS161616.png|thumb|300px|Figure 8. Phonon DOS of MgO using 16x16x16 grid size]]&lt;br /&gt;
|[[File:JOHDOS323232.png|thumb|300px|Figure 9. Phonon DOS of MgO using 32x32x32 grid size]]&lt;br /&gt;
|[[File:JOHDOS50.png|thumb|300px|Figure 10. Phonon DOS of MgO using 50x50x50 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 5 shows the DOS for a 1x1x1 grid size. The four peaks 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; 676 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 819 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; represent the four frequencies at point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The intensity of the peaks around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; is around double that of the peaks around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. This gives further evidence that the acoustic vibrational mode around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; are degenerate. The theorem about using the &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; point in reciprocal space for a 1x1x1 grid is called Baldereschi theorem &amp;lt;ref name = &amp;quot;Ref 3&amp;quot;/&amp;gt;. The idea being that point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is the most representative point in k-space as when you increase from grid size of 1x1x1 to 50x50x50 the main peak remains around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; with a smaller peak still around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The ideal grid size is one that represents the DOS without taking too long to calculate. From figure 8 onwards the shape of the curve does not change much, so it can be concluded that using a grid size of 16 is sufficient enough to gain a good understanding of the DOS without taking too long to calculate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:DOS dispersion JOH.png|thumb|400px|Figure 11. Comparing the dispersion curve with the DOS]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It is important to note the relationship between the dispersion curve and the DOS graph as shown in figure 11. The frequency in the phonon dispersion curve on the y axis is the same as the frequency on the DOS curve in the x-axis. It can be seen visually that the most popular states are around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The relationship between real space and reciprocal space is given by the formula &amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt; - a being the length in real space transformed to a* in reciprocal space. This shows that the larger the lattice constant a, the smaller the reciprocal cell. This is important to consider when assessing the DOS for other structures. Lithium has a lattice constant of 3.490 Å &amp;lt;ref name = &amp;quot;Ref 4&amp;quot;/&amp;gt; which is 0.721 Å lower that the conventional unit cell of MgO that is being modelled. Due to the inverse relationship of real to reciprocal space, lithium will have a larger cell in k space and therefore need a larger grid size to measure the DOS. Conversely Faujasite has a lattice constant of 24.7 Å &amp;lt;ref name = &amp;quot;Ref 5&amp;quot; /&amp;gt; which will give a much smaller cell in reciprocal space meaning that a smaller grid size would give an accurate measurement of the DOS as there are fewer k values needed to measure the cell. CaO has a very similar lattice constant meaning that a similar grid size would be needed to accurately measure the DOS - in this case a grid size of 16x16x16 would be sufficient.&lt;br /&gt;
&lt;br /&gt;
==Computing the Free Energy==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Table 2ː Energy vs Grid size&lt;br /&gt;
! Grid Size nxnxn/n&lt;br /&gt;
! Free Energy/eV&lt;br /&gt;
! Accuracy/ meV&lt;br /&gt;
! Log file&lt;br /&gt;
! rowspan=&amp;quot;9&amp;quot;|[[File:JOH Free energy vs grid size.png|thumb|400px|]]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| -40.930301&lt;br /&gt;
| 4&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/1/12/JOH_fe_MgO_111.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| -40.926609&lt;br /&gt;
| 0.2&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/aa/JOH_fe_MgO_222.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -40.926432&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4d/JOH_fe_MgO_333.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -40.926450&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/40/JOH_fe_MgO_444.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -40.926478&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/7/70/JOH_fe_MgO_888.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -40.926482&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4f/JOH_fe_MgO_16.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/ac/JOH_fe_MgO_32.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 50&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [[Media:JOH_fe_MgO_50.txt.zip|log file]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Table 2 displays the free energies of MgO as a function of grid size n. Similar to finding the ideal grid size to calculate the DOS, the optimal grid size to figure out the free energy can be found in table 2. As the grid size increases from 1 to 3 there is a sharp increase in the free energy from -40.930301 eV to -40.926432 eV, after-which the free energy eventually converges at -40.926483 eV. The degree of accuracy follows this trend, from a grid size of 4 onwards the degree of accuracy is greater that 0.1 meV. There is no change in free energy from a grid size of 32 to 50 suggesting that a grid size of 32 is all that is needed to accurately determine the free energy of MgO. &lt;br /&gt;
&lt;br /&gt;
The graph in table 2 can be rationalized by the equation for the Helmholtz free energy - &amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A is the Helmholtz fee energy, U is the internal energy, T is temperature and S is entropy. As the grid size increases, the volume increases so the internal energy decreases (&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt;). This in turn means that the Helmholtz free energy would decrease.&lt;br /&gt;
&lt;br /&gt;
Furthermore as the number of microstates sampled increases the entropy term will increase according to the relationship &amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt;. This in turn means that the free energy will be lowered. By considering these two factors the decrease in free energy can be rationalised.&lt;br /&gt;
&lt;br /&gt;
==Thermal Expansion of MgO==&lt;br /&gt;
The structure of MgO will be optimised with respect to the free energy at different temperatures (0 - 1000 K in steps of 100 K). The free energy will be computed using the quasi-harmonic approximation (QHA) which uses the following expression: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
*&amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; = frequency of the vibration &lt;br /&gt;
*&amp;lt;math&amp;gt;E_{0}&amp;lt;/math&amp;gt; = zero point energy &lt;br /&gt;
*&amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; = Temperature&lt;br /&gt;
*&amp;lt;math&amp;gt;k_B&amp;lt;/math&amp;gt; = Boltzmann Constant &lt;br /&gt;
*&amp;lt;math&amp;gt;\hbar&amp;lt;/math&amp;gt; = reduced Planck&#039;s constant. &lt;br /&gt;
&lt;br /&gt;
The equations is split into three parts - the zero point energy and the harmonic and entropic contribution.&lt;br /&gt;
&lt;br /&gt;
In addition the coefficients of thermal expansion was calculated. The coefficient of thermal expansion describes how the size of an object changes with temperature. The larger the coefficient the greater the change in size as temperature increases. Several coefficients have been developed and the two that we will look at are the linear and volumetric thermal expansion. The generic equation is as follows:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\alpha_x = \frac{1}{x}\,\left(\frac{\partial x}{\partial T}\right)_p&lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* α&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt; = thermal expansion coefficient&lt;br /&gt;
* x = initial dimension &lt;br /&gt;
* ∂x is the partial derivative of the dimension under study &lt;br /&gt;
* ∂T = partial derivative of temperature (at constant pressure)&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy vs temp.png|thumb|400px|Figure 12. Free Energy dependence on Temperature for the QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH lattice constant vs temp.png|thumb|400px|Figure 13. Lattice Constant dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|[[File:JOH LV temp.png|thumb|400px|Figure 14. Lattice Volume dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 12 shows that as temperature increases the free energy becomes more negative. This can be rationalised with the derivation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; G = H - TS &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;H = U + PV&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G = U + PV - TS&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dG = dU + PdV + VdP - TdS - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = q + w &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dq = TdS &amp;lt;/math&amp;gt; &amp;lt;math&amp;gt; dw = -PdV &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \therefore dG = VdP - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This implies that both the volume and the entropic factor contribute to the free energy. As the temperature increases the volume will increase, however the entropic factor will overcome this due to large change in temperature. This explains the trend observed in figure 12. We would expect a linear negative decrease - &amp;lt;math&amp;gt; \left( \frac{\partial G}{\partial T} \right)_P = -S &amp;lt;/math&amp;gt;. However figure 12 shows that the trend is a curve suggesting that there are limitations to the calculation. &lt;br /&gt;
&lt;br /&gt;
The trend could also be explained using the Helmoholtz free energy equation used in the QHA. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The entropic contribution in the equation has a large dependence on temperature and therefore as temperature increases the entropic contribution becomes more negative resulting in the Helmholtz becoming more negative.  &lt;br /&gt;
&lt;br /&gt;
===Calculating the Thermal expansion coefficients===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Linear Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{1}{L} \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{0.00002342}{2.986563} = 7.7815\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
L = the initial lattice constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 13&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Volumetric Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V} \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{0.00044612}{18.836496} = 2.3684\times 10^{-5}&amp;lt;/math&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
V = the initial volume constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 14&lt;br /&gt;
&lt;br /&gt;
For isotropic materials the volumetric coefficient is three times larger that then linear coefficient - 3&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;. For MgO &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt; is practically three times larger than &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; (3.04&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;) implying that MgO is an isotropic material &amp;lt;ref name=&amp;quot;Ref 6&amp;quot;/&amp;gt;, in other words lattice constants a, b and c expand at equal rates. At 200 K the L value increases to 2.987604 Å resulting in &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;7.839\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; which is close to the literature value of &amp;lt;math&amp;gt;7.39\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The main approximation with the QHA occurs at higher temperatures. This is because at higher temperatures the lattice experiences a larger anharmonic effect due to a larger deviation from bond equilibrium as more energy is put into the bond. Furthermore as anharmonicity comes from scattered phonons interacting due to lattice defect, this effect will be accentuated as lattice vibration gain more energy. The QHA simplifies the anharmonic effect by letting the phonon frequencies become volume dependent so therefore is unable to model the anharmonic effect well. Furthermore the born-oppenheimer approximation would become less valid at larger temperatures as the motion of nuclei becomes more important.&lt;br /&gt;
&lt;br /&gt;
== Molecular Dynamics ==&lt;br /&gt;
The crystal was then studied using Molecular Dynamics. In the previous investigations MgO has been described using a primitive cell containing a single MgO unit. Running an MD would not produce meaningful data as every cell would move perfectly in phase. By increasing the size of the cell the MD would become more accurate but become more computationally expensive so a compromise is reached for a cell containing 32 MgO units. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy temperature QHA MD.png|thumb|400px|Figure 15. Free Energy vs Temperature for MD compared to QHA]]&lt;br /&gt;
|[[File:JOHlatticeQHAMD2.png|thumb|400px|Figure 16. Lattice Constant vs Temperature for MD compared to QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics allows a system to evolve in time according to Newton&#039;s second law F=ma. As the system is treated classically energy can be modelled by the equipartition principle, &amp;lt;math&amp;gt;E = \frac{3}{2} k_B T&amp;lt;/math&amp;gt;, and as such the energy will increase linearly with temperature. In comparison QHA follows the relationship A = U -TS, so the energy should decrease with temperature. This can be seen in figure 15. &lt;br /&gt;
&lt;br /&gt;
Looking at figure 16 the MD and the QHA are similar between 400-1000 K, thus the volumetric expansion coefficients would be similar:&lt;br /&gt;
*MD - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; = 3.06 * 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
*QHA - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;  = 2.89 * 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
This similarity in data strengthens the reliability of the volumetric expansion coefficients between 400 - 1000 K. However, below 400 K the QHA begins to break from a linear trend and curve towards 18.84 Å&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt; whereas the MD follows the linear trend. At lower trends the anharmonic effect is not as prevalent so the QHA is a better model for the lattice constant at lower temperatures. The MD model does not accurately show how the free energy changes at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
Overall both models do have their limitations. The atoms are modelled using a classical approach, ions as hard spheres, so the quantum mechanical contributions cannot be taken into account. Furthermore, the models do not consider long-range interactions which will reduce the accuracy. Lastly the models do not take into consideration the melting temperature of MgO. The crystal would not be able to be modelled accurately beyond the melting point.&lt;br /&gt;
&lt;br /&gt;
==Conclusion== &lt;br /&gt;
The experiment showed the thermal expansion of MgO, the phonon dispersion and the DOS. Comparisons between the QHA and the MD were made, both approaches giving reasonable thermal expansion coefficients between 400-1000 K. At lower temperatures the QHA was a better model, due to the reduction in anharmonic effects.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 1&amp;quot; &amp;gt; O. Madelung, U. Rössler and M. Schulz, Eds., II-VI and I-VII compounds; Semimagnetic compounds, Springer-Verlag, 1999. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 2&amp;quot; &amp;gt; A. CIMINO, P. PORTA and M. VALIGI, Journal of the American Ceramic Society, 1966, 49, 152–156. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 3&amp;quot;&amp;gt; A. Baldereschi, Physical Review B, 1973, 7, 5212–5215. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 4&amp;quot; &amp;gt; E. J. Covington and D. J. Montgomery, J. Appl. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys, 2010, 27, 1030–53111. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 5&amp;quot; &amp;gt; J. A. Kaduk and J. Faber, The Rigaku journal 14 CRYSTAL STRUCTURE OF ZEOLITE Y AS A FUNCTION OF ION EXCHANGE, 1995. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 6&amp;quot; &amp;gt; J.R. Vinson, Plate and Panel structures of Isotropic, Composite and Piezoelectric Materials, including Sandwich Construction. Delaware; Springer; 2005. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Appendix==&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo phonon DOS 222 JOH.png|thumb|300px|Figure 1. Phonon DOS of MgO using 2x2x2 grid size]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Jo1213</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553126</id>
		<title>Rep:Mod:JOH95MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553126"/>
		<updated>2016-03-11T01:43:46Z</updated>

		<summary type="html">&lt;p&gt;Jo1213: /* Calculating the Thermal expansion coefficients */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
The experiment will investigate the properties of an MgO crystal. Firstly the dimensions of the unit cells will be investigates along with the associated energy. Then the phonon dispersion and DOS will be investigated, evaluating the optimal grid size to use. The energies of the crystal will be investigates along with the thermal expansion coefficients. Lastly the quasi-harmonic approximation (QHA) and the molecular dynamics (MD) will be compared. &lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon-based model used to describe volume-dependent thermal effects. The harmonic phonon model assumes that all intermolecular forces are harmonic. This is not sufficient to describe thermal expansion as there is no change to the equilibrium bond length as temperature increases. The QHA takes into account that molecules do have an anharmonic effect at higher temperatures by treating frequencies as volume dependent. &lt;br /&gt;
&lt;br /&gt;
The Molecular Dynamics approach allows a system to evolve in time according to Newton&#039;s second law &amp;lt;math&amp;gt;F=ma&amp;lt;/math&amp;gt;. The initial configurations and velocities are assigned to allow the program to iterate positions and velocities. The atoms follow trajectories and the properties, such as E and T, are computed as time averages of their behaviour.&lt;br /&gt;
&lt;br /&gt;
The programs used were RedHat Linux, DLVisulaize (DLV) and General Utility Lattice Program (GULP), where DLV acted as a graphical interface for the simulations. GULP is used to perform simulations on materials using boundary conditions, in this case on a 3D lattice.&lt;br /&gt;
&lt;br /&gt;
== Internal Energy of MgO ==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:PC 1.png|left|thumb|300px|Figure 1. Primitive Cell of MgO]]&lt;br /&gt;
|[[File:CC .png|left|thumb|300px|Figure 2. Conventional Cell of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
GULP was used to determine the energy per unit cell of MgO. In the [https://wiki.ch.ic.ac.uk/wiki/images/e/e7/MgO_1_james.txt LogFile] GULF describes MgO using a primitive unit cell as shown in figure 1. The primitive unit cell has two atoms Mg and O in the shape of a rhombohedron of side 2.9783 Å and an internal angle a = 60°. It contains one lattice point and is the simplest cell to describe the crystal. It only consists of 2 atoms (Mg and O). The Cartesian lattice vectors of the cell are reported in table 1 and the total lattice energy was -41.07531759 eV which represents the energy to pull all the atom infinitely apart. The GULP calculation correlates with LCAO HF calculations found in literature (2.573 Å &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;). &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|-&lt;br /&gt;
|+ Table 1ː Cell Vector Dimensions/Å&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The conventional cell has four times the volume of the primitive cell as shown in figure 2. The cell has an internal angel a = 90° and a lattice vector of 4.212 Å (which agrees with literature of 4.21 Å &amp;lt;ref name =&amp;quot;Ref 2&amp;quot; /&amp;gt;). The conventional cell is more representative of the crystal so is chosen in the calculations.&lt;br /&gt;
&lt;br /&gt;
==Computing the Phonon Dispersion Curves==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO Phonon Dispersion JOH.png|thumb|300px|Figure 3. Phonon Dispersion Graph of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The phonon dispersion curve was calculated, as shown in figure 3. The phonon frequencies were calculated along a path in k-space. Special points along the path, &amp;lt;math&amp;gt;W, L, \Gamma, X, W, K&amp;lt;/math&amp;gt;, can be seen in figure 3.. There are two phonos modes associated with each axis, acoustic (in-phase) and optical (out-of-phase) phonons. In the 3D model three axis (x,y,z) are taken into consideration meaning there are 6 phonon modes as shown by the six different curves in figure 3. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:K=0 JOH.png|thumb|300px|Figure 4. Acoustic and optical modes at k=0]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The relationship between the wavevector k to the wavelength (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;k= \frac{2\pi}{\lambda}&amp;lt;/math&amp;gt;. Furthermore the relationship between wavelength (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) and frequency is &amp;lt;math&amp;gt; v = \frac{c}{\lambda} &amp;lt;/math&amp;gt;. As shown in figure 4 when k=0, for the acoustic mode, the wavelength approaches infinity and in turn the frequency approaches 0. For the optical mode the frequency is non-zero. With this information it is clear that at k=0 the dispersion graph is at symmetry point &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Following the path from &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;, to &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and then to &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; the acoustic modes splits into 3 modes, two transverse modes (TA) and one longitude mode (LA). The two TA are degenerate between &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; until it splits between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Phonon Density of States (DOS)==&lt;br /&gt;
The next part involved calculating the phonon density of states. The DOS is defined as the number of states per energy at a given energy, in this case vibrational frequency. The larger the number of k values considered in reciprocal space the more accurate the DOS. This is achieved by increasing the grid size (nxnxn) to give a better representation of the crystal by sampling more k values in reciprocal space. However, at a certain point the difference between k values is negligible so does not further increase the accuracy of the DOS. Furthermore calculating an infinite number of k values would take an infinite amount of computing time.&lt;br /&gt;
&lt;br /&gt;
The DOS was calculated for a 1x1x1 grid by setting the shrinking value to 1 as shown in figure 5. The grid size was then increased to find the optimum shrinking value that gave a good representation of the DOS without taking too long to calculate as shown by figures 6 through 10. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo Phonon DOS JOH 111.png|thumb|300px|Figure 5. Phonon DOS of MgO using 1x1x1 grid size]]&lt;br /&gt;
|[[File:JOHphononDOS444.png|thumb|300px|Figure 6. Phonon DOS of MgO using 4x4x4 grid size]]&lt;br /&gt;
|[[File:JOHDOS888.png|thumb|300px|Figure 7. Phonon DOS of MgO using 8x8x8 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOHDOS161616.png|thumb|300px|Figure 8. Phonon DOS of MgO using 16x16x16 grid size]]&lt;br /&gt;
|[[File:JOHDOS323232.png|thumb|300px|Figure 9. Phonon DOS of MgO using 32x32x32 grid size]]&lt;br /&gt;
|[[File:JOHDOS50.png|thumb|300px|Figure 10. Phonon DOS of MgO using 50x50x50 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 5 shows the DOS for a 1x1x1 grid size. The four peaks 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; 676 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 819 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; represent the four frequencies at point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The intensity of the peaks around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; is around double that of the peaks around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. This gives further evidence that the acoustic vibrational mode around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; are degenerate. The theorem about using the &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; point in reciprocal space for a 1x1x1 grid is called Baldereschi theorem &amp;lt;ref name = &amp;quot;Ref 3&amp;quot;/&amp;gt;. The idea being that point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is the most representative point in k-space as when you increase from grid size of 1x1x1 to 50x50x50 the main peak remains around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; with a smaller peak still around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The ideal grid size is one that represents the DOS without taking too long to calculate. From figure 8 onwards the shape of the curve does not change much, so it can be concluded that using a grid size of 16 is sufficient enough to gain a good understanding of the DOS without taking too long to calculate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:DOS dispersion JOH.png|thumb|400px|Figure 11. Comparing the dispersion curve with the DOS]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It is important to note the relationship between the dispersion curve and the DOS graph as shown in figure 11. The frequency in the phonon dispersion curve on the y axis is the same as the frequency on the DOS curve in the x-axis. It can be seen visually that the most popular states are around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The relationship between real space and reciprocal space is given by the formula &amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt; - a being the length in real space transformed to a* in reciprocal space. This shows that the larger the lattice constant a, the smaller the reciprocal cell. This is important to consider when assessing the DOS for other structures. Lithium has a lattice constant of 3.490 Å &amp;lt;ref name = &amp;quot;Ref 4&amp;quot;/&amp;gt; which is 0.721 Å lower that the conventional unit cell of MgO that is being modelled. Due to the inverse relationship of real to reciprocal space, lithium will have a larger cell in k space and therefore need a larger grid size to measure the DOS. Conversely Faujasite has a lattice constant of 24.7 Å &amp;lt;ref name = &amp;quot;Ref 5&amp;quot; /&amp;gt; which will give a much smaller cell in reciprocal space meaning that a smaller grid size would give an accurate measurement of the DOS as there are fewer k values needed to measure the cell. CaO has a very similar lattice constant meaning that a similar grid size would be needed to accurately measure the DOS - in this case a grid size of 16x16x16 would be sufficient.&lt;br /&gt;
&lt;br /&gt;
==Computing the Free Energy==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Table 2ː Energy vs Grid size&lt;br /&gt;
! Grid Size nxnxn/n&lt;br /&gt;
! Free Energy/eV&lt;br /&gt;
! Accuracy/ meV&lt;br /&gt;
! Log file&lt;br /&gt;
! rowspan=&amp;quot;9&amp;quot;|[[File:JOH Free energy vs grid size.png|thumb|400px|]]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| -40.930301&lt;br /&gt;
| 4&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/1/12/JOH_fe_MgO_111.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| -40.926609&lt;br /&gt;
| 0.2&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/aa/JOH_fe_MgO_222.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -40.926432&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4d/JOH_fe_MgO_333.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -40.926450&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/40/JOH_fe_MgO_444.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -40.926478&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/7/70/JOH_fe_MgO_888.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -40.926482&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4f/JOH_fe_MgO_16.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/ac/JOH_fe_MgO_32.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 50&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [[Media:JOH_fe_MgO_50.txt.zip|log file]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Table 2 displays the free energies of MgO as a function of grid size n. Similar to finding the ideal grid size to calculate the DOS, the optimal grid size to figure out the free energy can be found in table 2. As the grid size increases from 1 to 3 there is a sharp increase in the free energy from -40.930301 eV to -40.926432 eV, after-which the free energy eventually converges at -40.926483 eV. The degree of accuracy follows this trend, from a grid size of 4 onwards the degree of accuracy is greater that 0.1 meV. There is no change in free energy from a grid size of 32 to 50 suggesting that a grid size of 32 is all that is needed to accurately determine the free energy of MgO. &lt;br /&gt;
&lt;br /&gt;
The graph in table 2 can be rationalized by the equation for the Helmholtz free energy - &amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A is the Helmholtz fee energy, U is the internal energy, T is temperature and S is entropy. As the grid size increases, the volume increases so the internal energy decreases (&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt;). This in turn means that the Helmholtz free energy would decrease.&lt;br /&gt;
&lt;br /&gt;
Furthermore as the number of microstates sampled increases the entropy term will increase according to the relationship &amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt;. This in turn means that the free energy will be lowered. By considering these two factors the decrease in free energy can be rationalised.&lt;br /&gt;
&lt;br /&gt;
==Thermal Expansion of MgO==&lt;br /&gt;
The structure of MgO will be optimised with respect to the free energy at different temperatures (0 - 1000 K in steps of 100 K). The free energy will be computed using the quasi-harmonic approximation (QHA) which uses the following expression: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
*&amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; = frequency of the vibration &lt;br /&gt;
*&amp;lt;math&amp;gt;E_{0}&amp;lt;/math&amp;gt; = zero point energy &lt;br /&gt;
*&amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; = Temperature&lt;br /&gt;
*&amp;lt;math&amp;gt;k_B&amp;lt;/math&amp;gt; = Boltzmann Constant &lt;br /&gt;
*&amp;lt;math&amp;gt;\hbar&amp;lt;/math&amp;gt; = reduced Planck&#039;s constant. &lt;br /&gt;
&lt;br /&gt;
The equations is split into three parts - the zero point energy and the harmonic and entropic contribution.&lt;br /&gt;
&lt;br /&gt;
In addition the coefficients of thermal expansion was calculated. The coefficient of thermal expansion describes how the size of an object changes with temperature. The larger the coefficient the greater the change in size as temperature increases. Several coefficients have been developed and the two that we will look at are the linear and volumetric thermal expansion. The generic equation is as follows:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\alpha_x = \frac{1}{x}\,\left(\frac{\partial x}{\partial T}\right)_p&lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* α&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt; = thermal expansion coefficient&lt;br /&gt;
* x = initial dimension &lt;br /&gt;
* ∂x is the partial derivative of the dimension under study &lt;br /&gt;
* ∂T = partial derivative of temperature (at constant pressure)&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy vs temp.png|thumb|400px|Figure 12. Free Energy dependence on Temperature for the QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH lattice constant vs temp.png|thumb|400px|Figure 13. Lattice Constant dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|[[File:JOH LV temp.png|thumb|400px|Figure 14. Lattice Volume dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 12 shows that as temperature increases the free energy becomes more negative. This can be rationalised with the derivation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; G = H - TS &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;H = U + PV&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G = U + PV - TS&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dG = dU + PdV + VdP - TdS - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = q + w &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dq = TdS &amp;lt;/math&amp;gt; &amp;lt;math&amp;gt; dw = -PdV &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \therefore dG = VdP - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This implies that both the volume and the entropic factor contribute to the free energy. As the temperature increases the volume will increase, however the entropic factor will overcome this due to large change in temperature. This explains the trend observed in figure 12. We would expect a linear negative decrease - &amp;lt;math&amp;gt; \left( \frac{\partial G}{\partial T} \right)_P = -S &amp;lt;/math&amp;gt;. However figure 12 shows that the trend is a curve suggesting that there are limitations to the calculation. &lt;br /&gt;
&lt;br /&gt;
The trend could also be explained using the Helmoholtz free energy equation used in the QHA. The entropic contribution in the equation has a large dependence on temperature and therefore as temperature increases the entropic contribution becomes more negative resulting in the Helmholtz becoming more negative.  &lt;br /&gt;
&lt;br /&gt;
===Calculating the Thermal expansion coefficients===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Linear Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{1}{L} \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{0.00002342}{2.986563} = 7.7815\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
L = the initial lattice constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 13&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Volumetric Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V} \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{0.00044612}{18.836496} = 2.3684\times 10^{-5}&amp;lt;/math&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
V = the initial volume constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 14&lt;br /&gt;
&lt;br /&gt;
For isotropic materials the volumetric coefficient is three times larger that then linear coefficient - 3&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;. For MgO &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt; is practically three times larger than &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; (3.04&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;) implying that MgO is an isotropic material &amp;lt;ref name=&amp;quot;Ref 6&amp;quot;/&amp;gt;, in other words lattice constants a, b and c expand at equal rates. At 200 K the L value increases to 2.987604 Å resulting in &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;7.839\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; which is close to the literature value of &amp;lt;math&amp;gt;7.39\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The main approximation with the QHA occurs at higher temperatures. This is because at higher temperatures the lattice experiences a larger anharmonic effect due to a larger deviation from bond equilibrium as more energy is put into the bond. Furthermore as anharmonicity comes from scattered phonons interacting due to lattice defect, this effect will be accentuated as lattice vibration gain more energy. The QHA simplifies the anharmonic effect by letting the phonon frequencies become volume dependent so therefore is unable to model the anharmonic effect well. Furthermore the born-oppenheimer approximation would become less valid at larger temperatures as the motion of nuclei becomes more important.&lt;br /&gt;
&lt;br /&gt;
== Molecular Dynamics ==&lt;br /&gt;
The crystal was then studied using Molecular Dynamics. In the previous investigations MgO has been described using a primitive cell containing a single MgO unit. Running an MD would not produce meaningful data as every cell would move perfectly in phase. By increasing the size of the cell the MD would become more accurate but become more computationally expensive so a compromise is reached for a cell containing 32 MgO units. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy temperature QHA MD.png|thumb|400px|Figure 15. Free Energy vs Temperature for MD compared to QHA]]&lt;br /&gt;
|[[File:JOHlatticeQHAMD2.png|thumb|400px|Figure 16. Lattice Constant vs Temperature for MD compared to QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics allows a system to evolve in time according to Newton&#039;s second law F=ma. As the system is treated classically energy can be modelled by the equipartition principle, &amp;lt;math&amp;gt;E = \frac{3}{2} k_B T&amp;lt;/math&amp;gt;, and as such the energy will increase linearly with temperature. In comparison QHA follows the relationship A = U -TS, so the energy should decrease with temperature. This can be seen in figure 15. &lt;br /&gt;
&lt;br /&gt;
Looking at figure 16 the MD and the QHA are similar between 400-1000 K, thus the volumetric expansion coefficients would be similar:&lt;br /&gt;
*MD - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; = 3.06 * 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
*QHA - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;  = 2.89 * 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
This similarity in data strengthens the reliability of the volumetric expansion coefficients between 400 - 1000 K. However, below 400 K the QHA begins to break from a linear trend and curve towards 18.84 Å&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt; whereas the MD follows the linear trend. At lower trends the anharmonic effect is not as prevalent so the QHA is a better model for the lattice constant at lower temperatures. The MD model does not accurately show how the free energy changes at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
Overall both models do have their limitations. The atoms are modelled using a classical approach, ions as hard spheres, so the quantum mechanical contributions cannot be taken into account. Furthermore, the models do not consider long-range interactions which will reduce the accuracy. Lastly the models do not take into consideration the melting temperature of MgO. The crystal would not be able to be modelled accurately beyond the melting point.&lt;br /&gt;
&lt;br /&gt;
==Conclusion== &lt;br /&gt;
The experiment showed the thermal expansion of MgO, the phonon dispersion and the DOS. Comparisons between the QHA and the MD were made, both approaches giving reasonable thermal expansion coefficients between 400-1000 K. At lower temperatures the QHA was a better model, due to the reduction in anharmonic effects.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 1&amp;quot; &amp;gt; O. Madelung, U. Rössler and M. Schulz, Eds., II-VI and I-VII compounds; Semimagnetic compounds, Springer-Verlag, 1999. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 2&amp;quot; &amp;gt; A. CIMINO, P. PORTA and M. VALIGI, Journal of the American Ceramic Society, 1966, 49, 152–156. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 3&amp;quot;&amp;gt; A. Baldereschi, Physical Review B, 1973, 7, 5212–5215. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 4&amp;quot; &amp;gt; E. J. Covington and D. J. Montgomery, J. Appl. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys, 2010, 27, 1030–53111. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 5&amp;quot; &amp;gt; J. A. Kaduk and J. Faber, The Rigaku journal 14 CRYSTAL STRUCTURE OF ZEOLITE Y AS A FUNCTION OF ION EXCHANGE, 1995. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 6&amp;quot; &amp;gt; J.R. Vinson, Plate and Panel structures of Isotropic, Composite and Piezoelectric Materials, including Sandwich Construction. Delaware; Springer; 2005. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Appendix==&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo phonon DOS 222 JOH.png|thumb|300px|Figure 1. Phonon DOS of MgO using 2x2x2 grid size]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Jo1213</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553123</id>
		<title>Rep:Mod:JOH95MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553123"/>
		<updated>2016-03-11T01:41:06Z</updated>

		<summary type="html">&lt;p&gt;Jo1213: /* Molecular Dynamics */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
The experiment will investigate the properties of an MgO crystal. Firstly the dimensions of the unit cells will be investigates along with the associated energy. Then the phonon dispersion and DOS will be investigated, evaluating the optimal grid size to use. The energies of the crystal will be investigates along with the thermal expansion coefficients. Lastly the quasi-harmonic approximation (QHA) and the molecular dynamics (MD) will be compared. &lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon-based model used to describe volume-dependent thermal effects. The harmonic phonon model assumes that all intermolecular forces are harmonic. This is not sufficient to describe thermal expansion as there is no change to the equilibrium bond length as temperature increases. The QHA takes into account that molecules do have an anharmonic effect at higher temperatures by treating frequencies as volume dependent. &lt;br /&gt;
&lt;br /&gt;
The Molecular Dynamics approach allows a system to evolve in time according to Newton&#039;s second law &amp;lt;math&amp;gt;F=ma&amp;lt;/math&amp;gt;. The initial configurations and velocities are assigned to allow the program to iterate positions and velocities. The atoms follow trajectories and the properties, such as E and T, are computed as time averages of their behaviour.&lt;br /&gt;
&lt;br /&gt;
The programs used were RedHat Linux, DLVisulaize (DLV) and General Utility Lattice Program (GULP), where DLV acted as a graphical interface for the simulations. GULP is used to perform simulations on materials using boundary conditions, in this case on a 3D lattice.&lt;br /&gt;
&lt;br /&gt;
== Internal Energy of MgO ==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:PC 1.png|left|thumb|300px|Figure 1. Primitive Cell of MgO]]&lt;br /&gt;
|[[File:CC .png|left|thumb|300px|Figure 2. Conventional Cell of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
GULP was used to determine the energy per unit cell of MgO. In the [https://wiki.ch.ic.ac.uk/wiki/images/e/e7/MgO_1_james.txt LogFile] GULF describes MgO using a primitive unit cell as shown in figure 1. The primitive unit cell has two atoms Mg and O in the shape of a rhombohedron of side 2.9783 Å and an internal angle a = 60°. It contains one lattice point and is the simplest cell to describe the crystal. It only consists of 2 atoms (Mg and O). The Cartesian lattice vectors of the cell are reported in table 1 and the total lattice energy was -41.07531759 eV which represents the energy to pull all the atom infinitely apart. The GULP calculation correlates with LCAO HF calculations found in literature (2.573 Å &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;). &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|-&lt;br /&gt;
|+ Table 1ː Cell Vector Dimensions/Å&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The conventional cell has four times the volume of the primitive cell as shown in figure 2. The cell has an internal angel a = 90° and a lattice vector of 4.212 Å (which agrees with literature of 4.21 Å &amp;lt;ref name =&amp;quot;Ref 2&amp;quot; /&amp;gt;). The conventional cell is more representative of the crystal so is chosen in the calculations.&lt;br /&gt;
&lt;br /&gt;
==Computing the Phonon Dispersion Curves==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO Phonon Dispersion JOH.png|thumb|300px|Figure 3. Phonon Dispersion Graph of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The phonon dispersion curve was calculated, as shown in figure 3. The phonon frequencies were calculated along a path in k-space. Special points along the path, &amp;lt;math&amp;gt;W, L, \Gamma, X, W, K&amp;lt;/math&amp;gt;, can be seen in figure 3.. There are two phonos modes associated with each axis, acoustic (in-phase) and optical (out-of-phase) phonons. In the 3D model three axis (x,y,z) are taken into consideration meaning there are 6 phonon modes as shown by the six different curves in figure 3. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:K=0 JOH.png|thumb|300px|Figure 4. Acoustic and optical modes at k=0]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The relationship between the wavevector k to the wavelength (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;k= \frac{2\pi}{\lambda}&amp;lt;/math&amp;gt;. Furthermore the relationship between wavelength (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) and frequency is &amp;lt;math&amp;gt; v = \frac{c}{\lambda} &amp;lt;/math&amp;gt;. As shown in figure 4 when k=0, for the acoustic mode, the wavelength approaches infinity and in turn the frequency approaches 0. For the optical mode the frequency is non-zero. With this information it is clear that at k=0 the dispersion graph is at symmetry point &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Following the path from &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;, to &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and then to &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; the acoustic modes splits into 3 modes, two transverse modes (TA) and one longitude mode (LA). The two TA are degenerate between &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; until it splits between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Phonon Density of States (DOS)==&lt;br /&gt;
The next part involved calculating the phonon density of states. The DOS is defined as the number of states per energy at a given energy, in this case vibrational frequency. The larger the number of k values considered in reciprocal space the more accurate the DOS. This is achieved by increasing the grid size (nxnxn) to give a better representation of the crystal by sampling more k values in reciprocal space. However, at a certain point the difference between k values is negligible so does not further increase the accuracy of the DOS. Furthermore calculating an infinite number of k values would take an infinite amount of computing time.&lt;br /&gt;
&lt;br /&gt;
The DOS was calculated for a 1x1x1 grid by setting the shrinking value to 1 as shown in figure 5. The grid size was then increased to find the optimum shrinking value that gave a good representation of the DOS without taking too long to calculate as shown by figures 6 through 10. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo Phonon DOS JOH 111.png|thumb|300px|Figure 5. Phonon DOS of MgO using 1x1x1 grid size]]&lt;br /&gt;
|[[File:JOHphononDOS444.png|thumb|300px|Figure 6. Phonon DOS of MgO using 4x4x4 grid size]]&lt;br /&gt;
|[[File:JOHDOS888.png|thumb|300px|Figure 7. Phonon DOS of MgO using 8x8x8 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOHDOS161616.png|thumb|300px|Figure 8. Phonon DOS of MgO using 16x16x16 grid size]]&lt;br /&gt;
|[[File:JOHDOS323232.png|thumb|300px|Figure 9. Phonon DOS of MgO using 32x32x32 grid size]]&lt;br /&gt;
|[[File:JOHDOS50.png|thumb|300px|Figure 10. Phonon DOS of MgO using 50x50x50 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 5 shows the DOS for a 1x1x1 grid size. The four peaks 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; 676 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 819 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; represent the four frequencies at point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The intensity of the peaks around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; is around double that of the peaks around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. This gives further evidence that the acoustic vibrational mode around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; are degenerate. The theorem about using the &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; point in reciprocal space for a 1x1x1 grid is called Baldereschi theorem &amp;lt;ref name = &amp;quot;Ref 3&amp;quot;/&amp;gt;. The idea being that point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is the most representative point in k-space as when you increase from grid size of 1x1x1 to 50x50x50 the main peak remains around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; with a smaller peak still around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The ideal grid size is one that represents the DOS without taking too long to calculate. From figure 8 onwards the shape of the curve does not change much, so it can be concluded that using a grid size of 16 is sufficient enough to gain a good understanding of the DOS without taking too long to calculate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:DOS dispersion JOH.png|thumb|400px|Figure 11. Comparing the dispersion curve with the DOS]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It is important to note the relationship between the dispersion curve and the DOS graph as shown in figure 11. The frequency in the phonon dispersion curve on the y axis is the same as the frequency on the DOS curve in the x-axis. It can be seen visually that the most popular states are around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The relationship between real space and reciprocal space is given by the formula &amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt; - a being the length in real space transformed to a* in reciprocal space. This shows that the larger the lattice constant a, the smaller the reciprocal cell. This is important to consider when assessing the DOS for other structures. Lithium has a lattice constant of 3.490 Å &amp;lt;ref name = &amp;quot;Ref 4&amp;quot;/&amp;gt; which is 0.721 Å lower that the conventional unit cell of MgO that is being modelled. Due to the inverse relationship of real to reciprocal space, lithium will have a larger cell in k space and therefore need a larger grid size to measure the DOS. Conversely Faujasite has a lattice constant of 24.7 Å &amp;lt;ref name = &amp;quot;Ref 5&amp;quot; /&amp;gt; which will give a much smaller cell in reciprocal space meaning that a smaller grid size would give an accurate measurement of the DOS as there are fewer k values needed to measure the cell. CaO has a very similar lattice constant meaning that a similar grid size would be needed to accurately measure the DOS - in this case a grid size of 16x16x16 would be sufficient.&lt;br /&gt;
&lt;br /&gt;
==Computing the Free Energy==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Table 2ː Energy vs Grid size&lt;br /&gt;
! Grid Size nxnxn/n&lt;br /&gt;
! Free Energy/eV&lt;br /&gt;
! Accuracy/ meV&lt;br /&gt;
! Log file&lt;br /&gt;
! rowspan=&amp;quot;9&amp;quot;|[[File:JOH Free energy vs grid size.png|thumb|400px|]]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| -40.930301&lt;br /&gt;
| 4&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/1/12/JOH_fe_MgO_111.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| -40.926609&lt;br /&gt;
| 0.2&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/aa/JOH_fe_MgO_222.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -40.926432&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4d/JOH_fe_MgO_333.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -40.926450&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/40/JOH_fe_MgO_444.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -40.926478&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/7/70/JOH_fe_MgO_888.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -40.926482&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4f/JOH_fe_MgO_16.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/ac/JOH_fe_MgO_32.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 50&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [[Media:JOH_fe_MgO_50.txt.zip|log file]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Table 2 displays the free energies of MgO as a function of grid size n. Similar to finding the ideal grid size to calculate the DOS, the optimal grid size to figure out the free energy can be found in table 2. As the grid size increases from 1 to 3 there is a sharp increase in the free energy from -40.930301 eV to -40.926432 eV, after-which the free energy eventually converges at -40.926483 eV. The degree of accuracy follows this trend, from a grid size of 4 onwards the degree of accuracy is greater that 0.1 meV. There is no change in free energy from a grid size of 32 to 50 suggesting that a grid size of 32 is all that is needed to accurately determine the free energy of MgO. &lt;br /&gt;
&lt;br /&gt;
The graph in table 2 can be rationalized by the equation for the Helmholtz free energy - &amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A is the Helmholtz fee energy, U is the internal energy, T is temperature and S is entropy. As the grid size increases, the volume increases so the internal energy decreases (&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt;). This in turn means that the Helmholtz free energy would decrease.&lt;br /&gt;
&lt;br /&gt;
Furthermore as the number of microstates sampled increases the entropy term will increase according to the relationship &amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt;. This in turn means that the free energy will be lowered. By considering these two factors the decrease in free energy can be rationalised.&lt;br /&gt;
&lt;br /&gt;
==Thermal Expansion of MgO==&lt;br /&gt;
The structure of MgO will be optimised with respect to the free energy at different temperatures (0 - 1000 K in steps of 100 K). The free energy will be computed using the quasi-harmonic approximation (QHA) which uses the following expression: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
*&amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; = frequency of the vibration &lt;br /&gt;
*&amp;lt;math&amp;gt;E_{0}&amp;lt;/math&amp;gt; = zero point energy &lt;br /&gt;
*&amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; = Temperature&lt;br /&gt;
*&amp;lt;math&amp;gt;k_B&amp;lt;/math&amp;gt; = Boltzmann Constant &lt;br /&gt;
*&amp;lt;math&amp;gt;\hbar&amp;lt;/math&amp;gt; = reduced Planck&#039;s constant. &lt;br /&gt;
&lt;br /&gt;
The equations is split into three parts - the zero point energy and the harmonic and entropic contribution.&lt;br /&gt;
&lt;br /&gt;
In addition the coefficients of thermal expansion was calculated. The coefficient of thermal expansion describes how the size of an object changes with temperature. The larger the coefficient the greater the change in size as temperature increases. Several coefficients have been developed and the two that we will look at are the linear and volumetric thermal expansion. The generic equation is as follows:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\alpha_x = \frac{1}{x}\,\left(\frac{\partial x}{\partial T}\right)_p&lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* α&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt; = thermal expansion coefficient&lt;br /&gt;
* x = initial dimension &lt;br /&gt;
* ∂x is the partial derivative of the dimension under study &lt;br /&gt;
* ∂T = partial derivative of temperature (at constant pressure)&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy vs temp.png|thumb|400px|Figure 12. Free Energy dependence on Temperature for the QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH lattice constant vs temp.png|thumb|400px|Figure 13. Lattice Constant dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|[[File:JOH LV temp.png|thumb|400px|Figure 14. Lattice Volume dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 12 shows that as temperature increases the free energy becomes more negative. This can be rationalised with the derivation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; G = H - TS &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;H = U + PV&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G = U + PV - TS&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dG = dU + PdV + VdP - TdS - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = q + w &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dq = TdS &amp;lt;/math&amp;gt; &amp;lt;math&amp;gt; dw = -PdV &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \therefore dG = VdP - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This implies that both the volume and the entropic factor contribute to the free energy. As the temperature increases the volume will increase, however the entropic factor will overcome this due to large change in temperature. This explains the trend observed in figure 12. We would expect a linear negative decrease - &amp;lt;math&amp;gt; \left( \frac{\partial G}{\partial T} \right)_P = -S &amp;lt;/math&amp;gt;. However figure 12 shows that the trend is a curve suggesting that there are limitations to the calculation. &lt;br /&gt;
&lt;br /&gt;
The trend could also be explained using the Helmoholtz free energy equation used in the QHA. The entropic contribution in the equation has a large dependence on temperature and therefore as temperature increases the entropic contribution becomes more negative resulting in the Helmholtz becoming more negative.  &lt;br /&gt;
&lt;br /&gt;
===Calculating the Thermal expansion coefficients===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Linear Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{1}{L} \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{0.00002342}{2.986563} = 7.7815\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
L = the initial lattice constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 13&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Volumetric Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V} \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{0.00044612}{18.836496} = 2.3684\times 10^{-5}&amp;lt;/math&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
V = the initial volume constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 14&lt;br /&gt;
&lt;br /&gt;
For isotropic materials the volumetric coefficient is three times larger that then linear coefficient - 3&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;. For MgO &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt; is practically three times larger than &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; (3.04&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;) implying that MgO is an isotropic material &amp;lt;ref name=&amp;quot;Ref 6&amp;quot;/&amp;gt;, in other words lattice constants a, b and c expand at equal rates. At 200 K the L value increases to 2.987604 Å resulting in &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;7.839\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; which is close to the literature value of &amp;lt;math&amp;gt;7.39\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The main approximation with the QHA occurs at higher temperatures. This is because at higher temperatures the lattice experiences a larger anharmonic effect due to a larger deviation from bond equilibrium as more energy is put into the bond. Furthermore as anharmonicity comes from scattered phonons interacting due to lattice defect, this effect will be accentuated as the phonons become more energetic. The QHA simplifies the anharmonic effect by letting the phonon frequencies become volume dependent so therefore is unable to model the anharmonic effect well. Furthermore the born-oppenheimer approximation would become less valid at larger temperatures as the motion of nuclei becomes more important.&lt;br /&gt;
&lt;br /&gt;
== Molecular Dynamics ==&lt;br /&gt;
The crystal was then studied using Molecular Dynamics. In the previous investigations MgO has been described using a primitive cell containing a single MgO unit. Running an MD would not produce meaningful data as every cell would move perfectly in phase. By increasing the size of the cell the MD would become more accurate but become more computationally expensive so a compromise is reached for a cell containing 32 MgO units. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy temperature QHA MD.png|thumb|400px|Figure 15. Free Energy vs Temperature for MD compared to QHA]]&lt;br /&gt;
|[[File:JOHlatticeQHAMD2.png|thumb|400px|Figure 16. Lattice Constant vs Temperature for MD compared to QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics allows a system to evolve in time according to Newton&#039;s second law F=ma. As the system is treated classically energy can be modelled by the equipartition principle, &amp;lt;math&amp;gt;E = \frac{3}{2} k_B T&amp;lt;/math&amp;gt;, and as such the energy will increase linearly with temperature. In comparison QHA follows the relationship A = U -TS, so the energy should decrease with temperature. This can be seen in figure 15. &lt;br /&gt;
&lt;br /&gt;
Looking at figure 16 the MD and the QHA are similar between 400-1000 K, thus the volumetric expansion coefficients would be similar:&lt;br /&gt;
*MD - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; = 3.06 * 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
*QHA - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;  = 2.89 * 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
This similarity in data strengthens the reliability of the volumetric expansion coefficients between 400 - 1000 K. However, below 400 K the QHA begins to break from a linear trend and curve towards 18.84 Å&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt; whereas the MD follows the linear trend. At lower trends the anharmonic effect is not as prevalent so the QHA is a better model for the lattice constant at lower temperatures. The MD model does not accurately show how the free energy changes at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
Overall both models do have their limitations. The atoms are modelled using a classical approach, ions as hard spheres, so the quantum mechanical contributions cannot be taken into account. Furthermore, the models do not consider long-range interactions which will reduce the accuracy. Lastly the models do not take into consideration the melting temperature of MgO. The crystal would not be able to be modelled accurately beyond the melting point.&lt;br /&gt;
&lt;br /&gt;
==Conclusion== &lt;br /&gt;
The experiment showed the thermal expansion of MgO, the phonon dispersion and the DOS. Comparisons between the QHA and the MD were made, both approaches giving reasonable thermal expansion coefficients between 400-1000 K. At lower temperatures the QHA was a better model, due to the reduction in anharmonic effects.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 1&amp;quot; &amp;gt; O. Madelung, U. Rössler and M. Schulz, Eds., II-VI and I-VII compounds; Semimagnetic compounds, Springer-Verlag, 1999. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 2&amp;quot; &amp;gt; A. CIMINO, P. PORTA and M. VALIGI, Journal of the American Ceramic Society, 1966, 49, 152–156. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 3&amp;quot;&amp;gt; A. Baldereschi, Physical Review B, 1973, 7, 5212–5215. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 4&amp;quot; &amp;gt; E. J. Covington and D. J. Montgomery, J. Appl. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys, 2010, 27, 1030–53111. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 5&amp;quot; &amp;gt; J. A. Kaduk and J. Faber, The Rigaku journal 14 CRYSTAL STRUCTURE OF ZEOLITE Y AS A FUNCTION OF ION EXCHANGE, 1995. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 6&amp;quot; &amp;gt; J.R. Vinson, Plate and Panel structures of Isotropic, Composite and Piezoelectric Materials, including Sandwich Construction. Delaware; Springer; 2005. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Appendix==&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo phonon DOS 222 JOH.png|thumb|300px|Figure 1. Phonon DOS of MgO using 2x2x2 grid size]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Jo1213</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553122</id>
		<title>Rep:Mod:JOH95MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553122"/>
		<updated>2016-03-11T01:40:45Z</updated>

		<summary type="html">&lt;p&gt;Jo1213: /* Appendix */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
The experiment will investigate the properties of an MgO crystal. Firstly the dimensions of the unit cells will be investigates along with the associated energy. Then the phonon dispersion and DOS will be investigated, evaluating the optimal grid size to use. The energies of the crystal will be investigates along with the thermal expansion coefficients. Lastly the quasi-harmonic approximation (QHA) and the molecular dynamics (MD) will be compared. &lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon-based model used to describe volume-dependent thermal effects. The harmonic phonon model assumes that all intermolecular forces are harmonic. This is not sufficient to describe thermal expansion as there is no change to the equilibrium bond length as temperature increases. The QHA takes into account that molecules do have an anharmonic effect at higher temperatures by treating frequencies as volume dependent. &lt;br /&gt;
&lt;br /&gt;
The Molecular Dynamics approach allows a system to evolve in time according to Newton&#039;s second law &amp;lt;math&amp;gt;F=ma&amp;lt;/math&amp;gt;. The initial configurations and velocities are assigned to allow the program to iterate positions and velocities. The atoms follow trajectories and the properties, such as E and T, are computed as time averages of their behaviour.&lt;br /&gt;
&lt;br /&gt;
The programs used were RedHat Linux, DLVisulaize (DLV) and General Utility Lattice Program (GULP), where DLV acted as a graphical interface for the simulations. GULP is used to perform simulations on materials using boundary conditions, in this case on a 3D lattice.&lt;br /&gt;
&lt;br /&gt;
== Internal Energy of MgO ==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:PC 1.png|left|thumb|300px|Figure 1. Primitive Cell of MgO]]&lt;br /&gt;
|[[File:CC .png|left|thumb|300px|Figure 2. Conventional Cell of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
GULP was used to determine the energy per unit cell of MgO. In the [https://wiki.ch.ic.ac.uk/wiki/images/e/e7/MgO_1_james.txt LogFile] GULF describes MgO using a primitive unit cell as shown in figure 1. The primitive unit cell has two atoms Mg and O in the shape of a rhombohedron of side 2.9783 Å and an internal angle a = 60°. It contains one lattice point and is the simplest cell to describe the crystal. It only consists of 2 atoms (Mg and O). The Cartesian lattice vectors of the cell are reported in table 1 and the total lattice energy was -41.07531759 eV which represents the energy to pull all the atom infinitely apart. The GULP calculation correlates with LCAO HF calculations found in literature (2.573 Å &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;). &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|-&lt;br /&gt;
|+ Table 1ː Cell Vector Dimensions/Å&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The conventional cell has four times the volume of the primitive cell as shown in figure 2. The cell has an internal angel a = 90° and a lattice vector of 4.212 Å (which agrees with literature of 4.21 Å &amp;lt;ref name =&amp;quot;Ref 2&amp;quot; /&amp;gt;). The conventional cell is more representative of the crystal so is chosen in the calculations.&lt;br /&gt;
&lt;br /&gt;
==Computing the Phonon Dispersion Curves==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO Phonon Dispersion JOH.png|thumb|300px|Figure 3. Phonon Dispersion Graph of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The phonon dispersion curve was calculated, as shown in figure 3. The phonon frequencies were calculated along a path in k-space. Special points along the path, &amp;lt;math&amp;gt;W, L, \Gamma, X, W, K&amp;lt;/math&amp;gt;, can be seen in figure 3.. There are two phonos modes associated with each axis, acoustic (in-phase) and optical (out-of-phase) phonons. In the 3D model three axis (x,y,z) are taken into consideration meaning there are 6 phonon modes as shown by the six different curves in figure 3. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:K=0 JOH.png|thumb|300px|Figure 4. Acoustic and optical modes at k=0]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The relationship between the wavevector k to the wavelength (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;k= \frac{2\pi}{\lambda}&amp;lt;/math&amp;gt;. Furthermore the relationship between wavelength (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) and frequency is &amp;lt;math&amp;gt; v = \frac{c}{\lambda} &amp;lt;/math&amp;gt;. As shown in figure 4 when k=0, for the acoustic mode, the wavelength approaches infinity and in turn the frequency approaches 0. For the optical mode the frequency is non-zero. With this information it is clear that at k=0 the dispersion graph is at symmetry point &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Following the path from &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;, to &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and then to &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; the acoustic modes splits into 3 modes, two transverse modes (TA) and one longitude mode (LA). The two TA are degenerate between &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; until it splits between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Phonon Density of States (DOS)==&lt;br /&gt;
The next part involved calculating the phonon density of states. The DOS is defined as the number of states per energy at a given energy, in this case vibrational frequency. The larger the number of k values considered in reciprocal space the more accurate the DOS. This is achieved by increasing the grid size (nxnxn) to give a better representation of the crystal by sampling more k values in reciprocal space. However, at a certain point the difference between k values is negligible so does not further increase the accuracy of the DOS. Furthermore calculating an infinite number of k values would take an infinite amount of computing time.&lt;br /&gt;
&lt;br /&gt;
The DOS was calculated for a 1x1x1 grid by setting the shrinking value to 1 as shown in figure 5. The grid size was then increased to find the optimum shrinking value that gave a good representation of the DOS without taking too long to calculate as shown by figures 6 through 10. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo Phonon DOS JOH 111.png|thumb|300px|Figure 5. Phonon DOS of MgO using 1x1x1 grid size]]&lt;br /&gt;
|[[File:JOHphononDOS444.png|thumb|300px|Figure 6. Phonon DOS of MgO using 4x4x4 grid size]]&lt;br /&gt;
|[[File:JOHDOS888.png|thumb|300px|Figure 7. Phonon DOS of MgO using 8x8x8 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOHDOS161616.png|thumb|300px|Figure 8. Phonon DOS of MgO using 16x16x16 grid size]]&lt;br /&gt;
|[[File:JOHDOS323232.png|thumb|300px|Figure 9. Phonon DOS of MgO using 32x32x32 grid size]]&lt;br /&gt;
|[[File:JOHDOS50.png|thumb|300px|Figure 10. Phonon DOS of MgO using 50x50x50 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 5 shows the DOS for a 1x1x1 grid size. The four peaks 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; 676 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 819 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; represent the four frequencies at point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The intensity of the peaks around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; is around double that of the peaks around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. This gives further evidence that the acoustic vibrational mode around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; are degenerate. The theorem about using the &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; point in reciprocal space for a 1x1x1 grid is called Baldereschi theorem &amp;lt;ref name = &amp;quot;Ref 3&amp;quot;/&amp;gt;. The idea being that point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is the most representative point in k-space as when you increase from grid size of 1x1x1 to 50x50x50 the main peak remains around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; with a smaller peak still around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The ideal grid size is one that represents the DOS without taking too long to calculate. From figure 8 onwards the shape of the curve does not change much, so it can be concluded that using a grid size of 16 is sufficient enough to gain a good understanding of the DOS without taking too long to calculate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:DOS dispersion JOH.png|thumb|400px|Figure 11. Comparing the dispersion curve with the DOS]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It is important to note the relationship between the dispersion curve and the DOS graph as shown in figure 11. The frequency in the phonon dispersion curve on the y axis is the same as the frequency on the DOS curve in the x-axis. It can be seen visually that the most popular states are around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The relationship between real space and reciprocal space is given by the formula &amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt; - a being the length in real space transformed to a* in reciprocal space. This shows that the larger the lattice constant a, the smaller the reciprocal cell. This is important to consider when assessing the DOS for other structures. Lithium has a lattice constant of 3.490 Å &amp;lt;ref name = &amp;quot;Ref 4&amp;quot;/&amp;gt; which is 0.721 Å lower that the conventional unit cell of MgO that is being modelled. Due to the inverse relationship of real to reciprocal space, lithium will have a larger cell in k space and therefore need a larger grid size to measure the DOS. Conversely Faujasite has a lattice constant of 24.7 Å &amp;lt;ref name = &amp;quot;Ref 5&amp;quot; /&amp;gt; which will give a much smaller cell in reciprocal space meaning that a smaller grid size would give an accurate measurement of the DOS as there are fewer k values needed to measure the cell. CaO has a very similar lattice constant meaning that a similar grid size would be needed to accurately measure the DOS - in this case a grid size of 16x16x16 would be sufficient.&lt;br /&gt;
&lt;br /&gt;
==Computing the Free Energy==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Table 2ː Energy vs Grid size&lt;br /&gt;
! Grid Size nxnxn/n&lt;br /&gt;
! Free Energy/eV&lt;br /&gt;
! Accuracy/ meV&lt;br /&gt;
! Log file&lt;br /&gt;
! rowspan=&amp;quot;9&amp;quot;|[[File:JOH Free energy vs grid size.png|thumb|400px|]]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| -40.930301&lt;br /&gt;
| 4&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/1/12/JOH_fe_MgO_111.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| -40.926609&lt;br /&gt;
| 0.2&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/aa/JOH_fe_MgO_222.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -40.926432&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4d/JOH_fe_MgO_333.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -40.926450&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/40/JOH_fe_MgO_444.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -40.926478&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/7/70/JOH_fe_MgO_888.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -40.926482&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4f/JOH_fe_MgO_16.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/ac/JOH_fe_MgO_32.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 50&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [[Media:JOH_fe_MgO_50.txt.zip|log file]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Table 2 displays the free energies of MgO as a function of grid size n. Similar to finding the ideal grid size to calculate the DOS, the optimal grid size to figure out the free energy can be found in table 2. As the grid size increases from 1 to 3 there is a sharp increase in the free energy from -40.930301 eV to -40.926432 eV, after-which the free energy eventually converges at -40.926483 eV. The degree of accuracy follows this trend, from a grid size of 4 onwards the degree of accuracy is greater that 0.1 meV. There is no change in free energy from a grid size of 32 to 50 suggesting that a grid size of 32 is all that is needed to accurately determine the free energy of MgO. &lt;br /&gt;
&lt;br /&gt;
The graph in table 2 can be rationalized by the equation for the Helmholtz free energy - &amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A is the Helmholtz fee energy, U is the internal energy, T is temperature and S is entropy. As the grid size increases, the volume increases so the internal energy decreases (&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt;). This in turn means that the Helmholtz free energy would decrease.&lt;br /&gt;
&lt;br /&gt;
Furthermore as the number of microstates sampled increases the entropy term will increase according to the relationship &amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt;. This in turn means that the free energy will be lowered. By considering these two factors the decrease in free energy can be rationalised.&lt;br /&gt;
&lt;br /&gt;
==Thermal Expansion of MgO==&lt;br /&gt;
The structure of MgO will be optimised with respect to the free energy at different temperatures (0 - 1000 K in steps of 100 K). The free energy will be computed using the quasi-harmonic approximation (QHA) which uses the following expression: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
*&amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; = frequency of the vibration &lt;br /&gt;
*&amp;lt;math&amp;gt;E_{0}&amp;lt;/math&amp;gt; = zero point energy &lt;br /&gt;
*&amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; = Temperature&lt;br /&gt;
*&amp;lt;math&amp;gt;k_B&amp;lt;/math&amp;gt; = Boltzmann Constant &lt;br /&gt;
*&amp;lt;math&amp;gt;\hbar&amp;lt;/math&amp;gt; = reduced Planck&#039;s constant. &lt;br /&gt;
&lt;br /&gt;
The equations is split into three parts - the zero point energy and the harmonic and entropic contribution.&lt;br /&gt;
&lt;br /&gt;
In addition the coefficients of thermal expansion was calculated. The coefficient of thermal expansion describes how the size of an object changes with temperature. The larger the coefficient the greater the change in size as temperature increases. Several coefficients have been developed and the two that we will look at are the linear and volumetric thermal expansion. The generic equation is as follows:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\alpha_x = \frac{1}{x}\,\left(\frac{\partial x}{\partial T}\right)_p&lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* α&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt; = thermal expansion coefficient&lt;br /&gt;
* x = initial dimension &lt;br /&gt;
* ∂x is the partial derivative of the dimension under study &lt;br /&gt;
* ∂T = partial derivative of temperature (at constant pressure)&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy vs temp.png|thumb|400px|Figure 12. Free Energy dependence on Temperature for the QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH lattice constant vs temp.png|thumb|400px|Figure 13. Lattice Constant dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|[[File:JOH LV temp.png|thumb|400px|Figure 14. Lattice Volume dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 12 shows that as temperature increases the free energy becomes more negative. This can be rationalised with the derivation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; G = H - TS &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;H = U + PV&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G = U + PV - TS&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dG = dU + PdV + VdP - TdS - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = q + w &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dq = TdS &amp;lt;/math&amp;gt; &amp;lt;math&amp;gt; dw = -PdV &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \therefore dG = VdP - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This implies that both the volume and the entropic factor contribute to the free energy. As the temperature increases the volume will increase, however the entropic factor will overcome this due to large change in temperature. This explains the trend observed in figure 12. We would expect a linear negative decrease - &amp;lt;math&amp;gt; \left( \frac{\partial G}{\partial T} \right)_P = -S &amp;lt;/math&amp;gt;. However figure 12 shows that the trend is a curve suggesting that there are limitations to the calculation. &lt;br /&gt;
&lt;br /&gt;
The trend could also be explained using the Helmoholtz free energy equation used in the QHA. The entropic contribution in the equation has a large dependence on temperature and therefore as temperature increases the entropic contribution becomes more negative resulting in the Helmholtz becoming more negative.  &lt;br /&gt;
&lt;br /&gt;
===Calculating the Thermal expansion coefficients===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Linear Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{1}{L} \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{0.00002342}{2.986563} = 7.7815\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
L = the initial lattice constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 13&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Volumetric Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V} \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{0.00044612}{18.836496} = 2.3684\times 10^{-5}&amp;lt;/math&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
V = the initial volume constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 14&lt;br /&gt;
&lt;br /&gt;
For isotropic materials the volumetric coefficient is three times larger that then linear coefficient - 3&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;. For MgO &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt; is practically three times larger than &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; (3.04&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;) implying that MgO is an isotropic material &amp;lt;ref name=&amp;quot;Ref 6&amp;quot;/&amp;gt;, in other words lattice constants a, b and c expand at equal rates. At 200 K the L value increases to 2.987604 Å resulting in &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;7.839\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; which is close to the literature value of &amp;lt;math&amp;gt;7.39\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The main approximation with the QHA occurs at higher temperatures. This is because at higher temperatures the lattice experiences a larger anharmonic effect due to a larger deviation from bond equilibrium as more energy is put into the bond. Furthermore as anharmonicity comes from scattered phonons interacting due to lattice defect, this effect will be accentuated as the phonons become more energetic. The QHA simplifies the anharmonic effect by letting the phonon frequencies become volume dependent so therefore is unable to model the anharmonic effect well. Furthermore the born-oppenheimer approximation would become less valid at larger temperatures as the motion of nuclei becomes more important.&lt;br /&gt;
&lt;br /&gt;
== Molecular Dynamics ==&lt;br /&gt;
The crystal was then studied using Molecular Dynamics. In the previous investigations MgO has been described using a primitive cell containing a single MgO unit. Running an MD would not produce meaningful data as every cell would move perfectly in phase. By increasing the size of the cell the MD would become more accurate but become more computationally expensive so a compromise is reached for a cell containing 32 MgO units. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy temperature QHA MD.png|thumb|400px|Figure 15. Free Energy vs Temperature for MD compared to QHA]]&lt;br /&gt;
|[[File:JOHlatticeQHAMD2.png|thumb|400px|Figure 16. Lattice Constant vs Temperature for MD compared to QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics allows a system to evolve in time according to Newton&#039;s second law F=ma. As the system is treated classically energy can be modelled by the equipartition principle, &amp;lt;math&amp;gt;E = \frac{3}{2} k_B T&amp;lt;/math&amp;gt;, and as such the energy will increase linearly with temperature. In comparison QHA follows the relationship A = U -TS, so the energy should decrease with temperature. This can be seen in figure 15. &lt;br /&gt;
&lt;br /&gt;
Looking at figure 16 the MD and the QHA are similar between 400-1000 K, thus the volumetric expansion coefficients would be similar:&lt;br /&gt;
*MD - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; = 3.06 * 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
*QHA - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;  = 2.89 * 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
This similarity in data strengthens the reliability of the volumetric expansion coefficients between 400 - 1000 K. However, below 400 K the QHA begins to break from a linear trend and curve towards 18.84 Å&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt; whereas the MD follows the linear trend. At lower trends the anharmonic effect is not as prevalent so the QHA is a better model for the lattice constant at lower temperatures. The MD model does not accurately show how the free energy changes at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
Overall both models do have their limitations. The atoms are modelled using a classical approach, ions as hard spheres, so the quantum mechanical contributions cannot be taken into account. Furthermore, the models do not consider long-range interactions which will reduce the accuracy. Lastly the models do not take into consideration the melting temperature of MgO. The crystal would not be able to be modelled accurately beyond the melting point.&lt;br /&gt;
&lt;br /&gt;
==Conclusion== &lt;br /&gt;
The experiment showed the thermal expansion of MgO, the phonon dispersion and the DOS. Comparisons between the QHA and the MD were made, both approaches giving reasonable thermal expansion coefficients between 400-1000 K. At lower temperatures the QHA was a better model, due to the reduction in anharmonic effects.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 1&amp;quot; &amp;gt; O. Madelung, U. Rössler and M. Schulz, Eds., II-VI and I-VII compounds; Semimagnetic compounds, Springer-Verlag, 1999. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 2&amp;quot; &amp;gt; A. CIMINO, P. PORTA and M. VALIGI, Journal of the American Ceramic Society, 1966, 49, 152–156. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 3&amp;quot;&amp;gt; A. Baldereschi, Physical Review B, 1973, 7, 5212–5215. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 4&amp;quot; &amp;gt; E. J. Covington and D. J. Montgomery, J. Appl. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys, 2010, 27, 1030–53111. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 5&amp;quot; &amp;gt; J. A. Kaduk and J. Faber, The Rigaku journal 14 CRYSTAL STRUCTURE OF ZEOLITE Y AS A FUNCTION OF ION EXCHANGE, 1995. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 6&amp;quot; &amp;gt; J.R. Vinson, Plate and Panel structures of Isotropic, Composite and Piezoelectric Materials, including Sandwich Construction. Delaware; Springer; 2005. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Appendix==&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo phonon DOS 222 JOH.png|thumb|300px|Figure 1. Phonon DOS of MgO using 2x2x2 grid size]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Jo1213</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553120</id>
		<title>Rep:Mod:JOH95MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553120"/>
		<updated>2016-03-11T01:40:34Z</updated>

		<summary type="html">&lt;p&gt;Jo1213: /* Molecular Dynamics */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
The experiment will investigate the properties of an MgO crystal. Firstly the dimensions of the unit cells will be investigates along with the associated energy. Then the phonon dispersion and DOS will be investigated, evaluating the optimal grid size to use. The energies of the crystal will be investigates along with the thermal expansion coefficients. Lastly the quasi-harmonic approximation (QHA) and the molecular dynamics (MD) will be compared. &lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon-based model used to describe volume-dependent thermal effects. The harmonic phonon model assumes that all intermolecular forces are harmonic. This is not sufficient to describe thermal expansion as there is no change to the equilibrium bond length as temperature increases. The QHA takes into account that molecules do have an anharmonic effect at higher temperatures by treating frequencies as volume dependent. &lt;br /&gt;
&lt;br /&gt;
The Molecular Dynamics approach allows a system to evolve in time according to Newton&#039;s second law &amp;lt;math&amp;gt;F=ma&amp;lt;/math&amp;gt;. The initial configurations and velocities are assigned to allow the program to iterate positions and velocities. The atoms follow trajectories and the properties, such as E and T, are computed as time averages of their behaviour.&lt;br /&gt;
&lt;br /&gt;
The programs used were RedHat Linux, DLVisulaize (DLV) and General Utility Lattice Program (GULP), where DLV acted as a graphical interface for the simulations. GULP is used to perform simulations on materials using boundary conditions, in this case on a 3D lattice.&lt;br /&gt;
&lt;br /&gt;
== Internal Energy of MgO ==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:PC 1.png|left|thumb|300px|Figure 1. Primitive Cell of MgO]]&lt;br /&gt;
|[[File:CC .png|left|thumb|300px|Figure 2. Conventional Cell of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
GULP was used to determine the energy per unit cell of MgO. In the [https://wiki.ch.ic.ac.uk/wiki/images/e/e7/MgO_1_james.txt LogFile] GULF describes MgO using a primitive unit cell as shown in figure 1. The primitive unit cell has two atoms Mg and O in the shape of a rhombohedron of side 2.9783 Å and an internal angle a = 60°. It contains one lattice point and is the simplest cell to describe the crystal. It only consists of 2 atoms (Mg and O). The Cartesian lattice vectors of the cell are reported in table 1 and the total lattice energy was -41.07531759 eV which represents the energy to pull all the atom infinitely apart. The GULP calculation correlates with LCAO HF calculations found in literature (2.573 Å &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;). &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|-&lt;br /&gt;
|+ Table 1ː Cell Vector Dimensions/Å&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The conventional cell has four times the volume of the primitive cell as shown in figure 2. The cell has an internal angel a = 90° and a lattice vector of 4.212 Å (which agrees with literature of 4.21 Å &amp;lt;ref name =&amp;quot;Ref 2&amp;quot; /&amp;gt;). The conventional cell is more representative of the crystal so is chosen in the calculations.&lt;br /&gt;
&lt;br /&gt;
==Computing the Phonon Dispersion Curves==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO Phonon Dispersion JOH.png|thumb|300px|Figure 3. Phonon Dispersion Graph of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The phonon dispersion curve was calculated, as shown in figure 3. The phonon frequencies were calculated along a path in k-space. Special points along the path, &amp;lt;math&amp;gt;W, L, \Gamma, X, W, K&amp;lt;/math&amp;gt;, can be seen in figure 3.. There are two phonos modes associated with each axis, acoustic (in-phase) and optical (out-of-phase) phonons. In the 3D model three axis (x,y,z) are taken into consideration meaning there are 6 phonon modes as shown by the six different curves in figure 3. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:K=0 JOH.png|thumb|300px|Figure 4. Acoustic and optical modes at k=0]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The relationship between the wavevector k to the wavelength (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;k= \frac{2\pi}{\lambda}&amp;lt;/math&amp;gt;. Furthermore the relationship between wavelength (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) and frequency is &amp;lt;math&amp;gt; v = \frac{c}{\lambda} &amp;lt;/math&amp;gt;. As shown in figure 4 when k=0, for the acoustic mode, the wavelength approaches infinity and in turn the frequency approaches 0. For the optical mode the frequency is non-zero. With this information it is clear that at k=0 the dispersion graph is at symmetry point &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Following the path from &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;, to &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and then to &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; the acoustic modes splits into 3 modes, two transverse modes (TA) and one longitude mode (LA). The two TA are degenerate between &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; until it splits between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Phonon Density of States (DOS)==&lt;br /&gt;
The next part involved calculating the phonon density of states. The DOS is defined as the number of states per energy at a given energy, in this case vibrational frequency. The larger the number of k values considered in reciprocal space the more accurate the DOS. This is achieved by increasing the grid size (nxnxn) to give a better representation of the crystal by sampling more k values in reciprocal space. However, at a certain point the difference between k values is negligible so does not further increase the accuracy of the DOS. Furthermore calculating an infinite number of k values would take an infinite amount of computing time.&lt;br /&gt;
&lt;br /&gt;
The DOS was calculated for a 1x1x1 grid by setting the shrinking value to 1 as shown in figure 5. The grid size was then increased to find the optimum shrinking value that gave a good representation of the DOS without taking too long to calculate as shown by figures 6 through 10. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo Phonon DOS JOH 111.png|thumb|300px|Figure 5. Phonon DOS of MgO using 1x1x1 grid size]]&lt;br /&gt;
|[[File:JOHphononDOS444.png|thumb|300px|Figure 6. Phonon DOS of MgO using 4x4x4 grid size]]&lt;br /&gt;
|[[File:JOHDOS888.png|thumb|300px|Figure 7. Phonon DOS of MgO using 8x8x8 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOHDOS161616.png|thumb|300px|Figure 8. Phonon DOS of MgO using 16x16x16 grid size]]&lt;br /&gt;
|[[File:JOHDOS323232.png|thumb|300px|Figure 9. Phonon DOS of MgO using 32x32x32 grid size]]&lt;br /&gt;
|[[File:JOHDOS50.png|thumb|300px|Figure 10. Phonon DOS of MgO using 50x50x50 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 5 shows the DOS for a 1x1x1 grid size. The four peaks 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; 676 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 819 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; represent the four frequencies at point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The intensity of the peaks around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; is around double that of the peaks around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. This gives further evidence that the acoustic vibrational mode around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; are degenerate. The theorem about using the &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; point in reciprocal space for a 1x1x1 grid is called Baldereschi theorem &amp;lt;ref name = &amp;quot;Ref 3&amp;quot;/&amp;gt;. The idea being that point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is the most representative point in k-space as when you increase from grid size of 1x1x1 to 50x50x50 the main peak remains around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; with a smaller peak still around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The ideal grid size is one that represents the DOS without taking too long to calculate. From figure 8 onwards the shape of the curve does not change much, so it can be concluded that using a grid size of 16 is sufficient enough to gain a good understanding of the DOS without taking too long to calculate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:DOS dispersion JOH.png|thumb|400px|Figure 11. Comparing the dispersion curve with the DOS]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It is important to note the relationship between the dispersion curve and the DOS graph as shown in figure 11. The frequency in the phonon dispersion curve on the y axis is the same as the frequency on the DOS curve in the x-axis. It can be seen visually that the most popular states are around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The relationship between real space and reciprocal space is given by the formula &amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt; - a being the length in real space transformed to a* in reciprocal space. This shows that the larger the lattice constant a, the smaller the reciprocal cell. This is important to consider when assessing the DOS for other structures. Lithium has a lattice constant of 3.490 Å &amp;lt;ref name = &amp;quot;Ref 4&amp;quot;/&amp;gt; which is 0.721 Å lower that the conventional unit cell of MgO that is being modelled. Due to the inverse relationship of real to reciprocal space, lithium will have a larger cell in k space and therefore need a larger grid size to measure the DOS. Conversely Faujasite has a lattice constant of 24.7 Å &amp;lt;ref name = &amp;quot;Ref 5&amp;quot; /&amp;gt; which will give a much smaller cell in reciprocal space meaning that a smaller grid size would give an accurate measurement of the DOS as there are fewer k values needed to measure the cell. CaO has a very similar lattice constant meaning that a similar grid size would be needed to accurately measure the DOS - in this case a grid size of 16x16x16 would be sufficient.&lt;br /&gt;
&lt;br /&gt;
==Computing the Free Energy==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Table 2ː Energy vs Grid size&lt;br /&gt;
! Grid Size nxnxn/n&lt;br /&gt;
! Free Energy/eV&lt;br /&gt;
! Accuracy/ meV&lt;br /&gt;
! Log file&lt;br /&gt;
! rowspan=&amp;quot;9&amp;quot;|[[File:JOH Free energy vs grid size.png|thumb|400px|]]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| -40.930301&lt;br /&gt;
| 4&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/1/12/JOH_fe_MgO_111.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| -40.926609&lt;br /&gt;
| 0.2&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/aa/JOH_fe_MgO_222.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -40.926432&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4d/JOH_fe_MgO_333.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -40.926450&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/40/JOH_fe_MgO_444.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -40.926478&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/7/70/JOH_fe_MgO_888.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -40.926482&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4f/JOH_fe_MgO_16.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/ac/JOH_fe_MgO_32.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 50&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [[Media:JOH_fe_MgO_50.txt.zip|log file]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Table 2 displays the free energies of MgO as a function of grid size n. Similar to finding the ideal grid size to calculate the DOS, the optimal grid size to figure out the free energy can be found in table 2. As the grid size increases from 1 to 3 there is a sharp increase in the free energy from -40.930301 eV to -40.926432 eV, after-which the free energy eventually converges at -40.926483 eV. The degree of accuracy follows this trend, from a grid size of 4 onwards the degree of accuracy is greater that 0.1 meV. There is no change in free energy from a grid size of 32 to 50 suggesting that a grid size of 32 is all that is needed to accurately determine the free energy of MgO. &lt;br /&gt;
&lt;br /&gt;
The graph in table 2 can be rationalized by the equation for the Helmholtz free energy - &amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A is the Helmholtz fee energy, U is the internal energy, T is temperature and S is entropy. As the grid size increases, the volume increases so the internal energy decreases (&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt;). This in turn means that the Helmholtz free energy would decrease.&lt;br /&gt;
&lt;br /&gt;
Furthermore as the number of microstates sampled increases the entropy term will increase according to the relationship &amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt;. This in turn means that the free energy will be lowered. By considering these two factors the decrease in free energy can be rationalised.&lt;br /&gt;
&lt;br /&gt;
==Thermal Expansion of MgO==&lt;br /&gt;
The structure of MgO will be optimised with respect to the free energy at different temperatures (0 - 1000 K in steps of 100 K). The free energy will be computed using the quasi-harmonic approximation (QHA) which uses the following expression: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
*&amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; = frequency of the vibration &lt;br /&gt;
*&amp;lt;math&amp;gt;E_{0}&amp;lt;/math&amp;gt; = zero point energy &lt;br /&gt;
*&amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; = Temperature&lt;br /&gt;
*&amp;lt;math&amp;gt;k_B&amp;lt;/math&amp;gt; = Boltzmann Constant &lt;br /&gt;
*&amp;lt;math&amp;gt;\hbar&amp;lt;/math&amp;gt; = reduced Planck&#039;s constant. &lt;br /&gt;
&lt;br /&gt;
The equations is split into three parts - the zero point energy and the harmonic and entropic contribution.&lt;br /&gt;
&lt;br /&gt;
In addition the coefficients of thermal expansion was calculated. The coefficient of thermal expansion describes how the size of an object changes with temperature. The larger the coefficient the greater the change in size as temperature increases. Several coefficients have been developed and the two that we will look at are the linear and volumetric thermal expansion. The generic equation is as follows:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\alpha_x = \frac{1}{x}\,\left(\frac{\partial x}{\partial T}\right)_p&lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* α&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt; = thermal expansion coefficient&lt;br /&gt;
* x = initial dimension &lt;br /&gt;
* ∂x is the partial derivative of the dimension under study &lt;br /&gt;
* ∂T = partial derivative of temperature (at constant pressure)&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy vs temp.png|thumb|400px|Figure 12. Free Energy dependence on Temperature for the QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH lattice constant vs temp.png|thumb|400px|Figure 13. Lattice Constant dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|[[File:JOH LV temp.png|thumb|400px|Figure 14. Lattice Volume dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 12 shows that as temperature increases the free energy becomes more negative. This can be rationalised with the derivation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; G = H - TS &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;H = U + PV&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G = U + PV - TS&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dG = dU + PdV + VdP - TdS - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = q + w &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dq = TdS &amp;lt;/math&amp;gt; &amp;lt;math&amp;gt; dw = -PdV &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \therefore dG = VdP - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This implies that both the volume and the entropic factor contribute to the free energy. As the temperature increases the volume will increase, however the entropic factor will overcome this due to large change in temperature. This explains the trend observed in figure 12. We would expect a linear negative decrease - &amp;lt;math&amp;gt; \left( \frac{\partial G}{\partial T} \right)_P = -S &amp;lt;/math&amp;gt;. However figure 12 shows that the trend is a curve suggesting that there are limitations to the calculation. &lt;br /&gt;
&lt;br /&gt;
The trend could also be explained using the Helmoholtz free energy equation used in the QHA. The entropic contribution in the equation has a large dependence on temperature and therefore as temperature increases the entropic contribution becomes more negative resulting in the Helmholtz becoming more negative.  &lt;br /&gt;
&lt;br /&gt;
===Calculating the Thermal expansion coefficients===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Linear Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{1}{L} \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{0.00002342}{2.986563} = 7.7815\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
L = the initial lattice constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 13&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Volumetric Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V} \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{0.00044612}{18.836496} = 2.3684\times 10^{-5}&amp;lt;/math&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
V = the initial volume constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 14&lt;br /&gt;
&lt;br /&gt;
For isotropic materials the volumetric coefficient is three times larger that then linear coefficient - 3&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;. For MgO &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt; is practically three times larger than &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; (3.04&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;) implying that MgO is an isotropic material &amp;lt;ref name=&amp;quot;Ref 6&amp;quot;/&amp;gt;, in other words lattice constants a, b and c expand at equal rates. At 200 K the L value increases to 2.987604 Å resulting in &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;7.839\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; which is close to the literature value of &amp;lt;math&amp;gt;7.39\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The main approximation with the QHA occurs at higher temperatures. This is because at higher temperatures the lattice experiences a larger anharmonic effect due to a larger deviation from bond equilibrium as more energy is put into the bond. Furthermore as anharmonicity comes from scattered phonons interacting due to lattice defect, this effect will be accentuated as the phonons become more energetic. The QHA simplifies the anharmonic effect by letting the phonon frequencies become volume dependent so therefore is unable to model the anharmonic effect well. Furthermore the born-oppenheimer approximation would become less valid at larger temperatures as the motion of nuclei becomes more important.&lt;br /&gt;
&lt;br /&gt;
== Molecular Dynamics ==&lt;br /&gt;
The crystal was then studied using Molecular Dynamics. In the previous investigations MgO has been described using a primitive cell containing a single MgO unit. Running an MD would not produce meaningful data as every cell would move perfectly in phase. By increasing the size of the cell the MD would become more accurate but become more computationally expensive so a compromise is reached for a cell containing 32 MgO units. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy temperature QHA MD.png|thumb|400px|Figure 15. Free Energy vs Temperature for MD compared to QHA]]&lt;br /&gt;
|[[File:JOHlatticeQHAMD2.png|thumb|400px|Figure 16. Lattice Constant vs Temperature for MD compared to QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics allows a system to evolve in time according to Newton&#039;s second law F=ma. As the system is treated classically energy can be modelled by the equipartition principle, &amp;lt;math&amp;gt;E = \frac{3}{2} k_B T&amp;lt;/math&amp;gt;, and as such the energy will increase linearly with temperature. In comparison QHA follows the relationship A = U -TS, so the energy should decrease with temperature. This can be seen in figure 15. &lt;br /&gt;
&lt;br /&gt;
Looking at figure 16 the MD and the QHA are similar between 400-1000 K, thus the volumetric expansion coefficients would be similar:&lt;br /&gt;
*MD - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; = 3.06 * 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
*QHA - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;  = 2.89 * 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
This similarity in data strengthens the reliability of the volumetric expansion coefficients between 400 - 1000 K. However, below 400 K the QHA begins to break from a linear trend and curve towards 18.84 Å&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt; whereas the MD follows the linear trend. At lower trends the anharmonic effect is not as prevalent so the QHA is a better model for the lattice constant at lower temperatures. The MD model does not accurately show how the free energy changes at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
Overall both models do have their limitations. The atoms are modelled using a classical approach, ions as hard spheres, so the quantum mechanical contributions cannot be taken into account. Furthermore, the models do not consider long-range interactions which will reduce the accuracy. Lastly the models do not take into consideration the melting temperature of MgO. The crystal would not be able to be modelled accurately beyond the melting point.&lt;br /&gt;
&lt;br /&gt;
==Conclusion== &lt;br /&gt;
The experiment showed the thermal expansion of MgO, the phonon dispersion and the DOS. Comparisons between the QHA and the MD were made, both approaches giving reasonable thermal expansion coefficients between 400-1000 K. At lower temperatures the QHA was a better model, due to the reduction in anharmonic effects.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 1&amp;quot; &amp;gt; O. Madelung, U. Rössler and M. Schulz, Eds., II-VI and I-VII compounds; Semimagnetic compounds, Springer-Verlag, 1999. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 2&amp;quot; &amp;gt; A. CIMINO, P. PORTA and M. VALIGI, Journal of the American Ceramic Society, 1966, 49, 152–156. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 3&amp;quot;&amp;gt; A. Baldereschi, Physical Review B, 1973, 7, 5212–5215. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 4&amp;quot; &amp;gt; E. J. Covington and D. J. Montgomery, J. Appl. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys, 2010, 27, 1030–53111. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 5&amp;quot; &amp;gt; J. A. Kaduk and J. Faber, The Rigaku journal 14 CRYSTAL STRUCTURE OF ZEOLITE Y AS A FUNCTION OF ION EXCHANGE, 1995. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 6&amp;quot; &amp;gt; J.R. Vinson, Plate and Panel structures of Isotropic, Composite and Piezoelectric Materials, including Sandwich Construction. Delaware; Springer; 2005. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Appendix==&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo phonon DOS 222 JOH.png|thumb|300px|Figure 6. Phonon DOS of MgO using 2x2x2 grid size]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Jo1213</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553118</id>
		<title>Rep:Mod:JOH95MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:JOH95MgO&amp;diff=553118"/>
		<updated>2016-03-11T01:39:48Z</updated>

		<summary type="html">&lt;p&gt;Jo1213: /* Molecular Dynamics */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
The experiment will investigate the properties of an MgO crystal. Firstly the dimensions of the unit cells will be investigates along with the associated energy. Then the phonon dispersion and DOS will be investigated, evaluating the optimal grid size to use. The energies of the crystal will be investigates along with the thermal expansion coefficients. Lastly the quasi-harmonic approximation (QHA) and the molecular dynamics (MD) will be compared. &lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon-based model used to describe volume-dependent thermal effects. The harmonic phonon model assumes that all intermolecular forces are harmonic. This is not sufficient to describe thermal expansion as there is no change to the equilibrium bond length as temperature increases. The QHA takes into account that molecules do have an anharmonic effect at higher temperatures by treating frequencies as volume dependent. &lt;br /&gt;
&lt;br /&gt;
The Molecular Dynamics approach allows a system to evolve in time according to Newton&#039;s second law &amp;lt;math&amp;gt;F=ma&amp;lt;/math&amp;gt;. The initial configurations and velocities are assigned to allow the program to iterate positions and velocities. The atoms follow trajectories and the properties, such as E and T, are computed as time averages of their behaviour.&lt;br /&gt;
&lt;br /&gt;
The programs used were RedHat Linux, DLVisulaize (DLV) and General Utility Lattice Program (GULP), where DLV acted as a graphical interface for the simulations. GULP is used to perform simulations on materials using boundary conditions, in this case on a 3D lattice.&lt;br /&gt;
&lt;br /&gt;
== Internal Energy of MgO ==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:PC 1.png|left|thumb|300px|Figure 1. Primitive Cell of MgO]]&lt;br /&gt;
|[[File:CC .png|left|thumb|300px|Figure 2. Conventional Cell of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
GULP was used to determine the energy per unit cell of MgO. In the [https://wiki.ch.ic.ac.uk/wiki/images/e/e7/MgO_1_james.txt LogFile] GULF describes MgO using a primitive unit cell as shown in figure 1. The primitive unit cell has two atoms Mg and O in the shape of a rhombohedron of side 2.9783 Å and an internal angle a = 60°. It contains one lattice point and is the simplest cell to describe the crystal. It only consists of 2 atoms (Mg and O). The Cartesian lattice vectors of the cell are reported in table 1 and the total lattice energy was -41.07531759 eV which represents the energy to pull all the atom infinitely apart. The GULP calculation correlates with LCAO HF calculations found in literature (2.573 Å &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;). &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|  2.105970&lt;br /&gt;
|-&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  2.105970&lt;br /&gt;
|  0.000000&lt;br /&gt;
|-&lt;br /&gt;
|+ Table 1ː Cell Vector Dimensions/Å&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The conventional cell has four times the volume of the primitive cell as shown in figure 2. The cell has an internal angel a = 90° and a lattice vector of 4.212 Å (which agrees with literature of 4.21 Å &amp;lt;ref name =&amp;quot;Ref 2&amp;quot; /&amp;gt;). The conventional cell is more representative of the crystal so is chosen in the calculations.&lt;br /&gt;
&lt;br /&gt;
==Computing the Phonon Dispersion Curves==&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO Phonon Dispersion JOH.png|thumb|300px|Figure 3. Phonon Dispersion Graph of MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The phonon dispersion curve was calculated, as shown in figure 3. The phonon frequencies were calculated along a path in k-space. Special points along the path, &amp;lt;math&amp;gt;W, L, \Gamma, X, W, K&amp;lt;/math&amp;gt;, can be seen in figure 3.. There are two phonos modes associated with each axis, acoustic (in-phase) and optical (out-of-phase) phonons. In the 3D model three axis (x,y,z) are taken into consideration meaning there are 6 phonon modes as shown by the six different curves in figure 3. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:K=0 JOH.png|thumb|300px|Figure 4. Acoustic and optical modes at k=0]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The relationship between the wavevector k to the wavelength (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;k= \frac{2\pi}{\lambda}&amp;lt;/math&amp;gt;. Furthermore the relationship between wavelength (cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;) and frequency is &amp;lt;math&amp;gt; v = \frac{c}{\lambda} &amp;lt;/math&amp;gt;. As shown in figure 4 when k=0, for the acoustic mode, the wavelength approaches infinity and in turn the frequency approaches 0. For the optical mode the frequency is non-zero. With this information it is clear that at k=0 the dispersion graph is at symmetry point &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Following the path from &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt;, to &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and then to &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; the acoustic modes splits into 3 modes, two transverse modes (TA) and one longitude mode (LA). The two TA are degenerate between &amp;lt;math&amp;gt;\Gamma&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; until it splits between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Phonon Density of States (DOS)==&lt;br /&gt;
The next part involved calculating the phonon density of states. The DOS is defined as the number of states per energy at a given energy, in this case vibrational frequency. The larger the number of k values considered in reciprocal space the more accurate the DOS. This is achieved by increasing the grid size (nxnxn) to give a better representation of the crystal by sampling more k values in reciprocal space. However, at a certain point the difference between k values is negligible so does not further increase the accuracy of the DOS. Furthermore calculating an infinite number of k values would take an infinite amount of computing time.&lt;br /&gt;
&lt;br /&gt;
The DOS was calculated for a 1x1x1 grid by setting the shrinking value to 1 as shown in figure 5. The grid size was then increased to find the optimum shrinking value that gave a good representation of the DOS without taking too long to calculate as shown by figures 6 through 10. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo Phonon DOS JOH 111.png|thumb|300px|Figure 5. Phonon DOS of MgO using 1x1x1 grid size]]&lt;br /&gt;
|[[File:JOHphononDOS444.png|thumb|300px|Figure 6. Phonon DOS of MgO using 4x4x4 grid size]]&lt;br /&gt;
|[[File:JOHDOS888.png|thumb|300px|Figure 7. Phonon DOS of MgO using 8x8x8 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOHDOS161616.png|thumb|300px|Figure 8. Phonon DOS of MgO using 16x16x16 grid size]]&lt;br /&gt;
|[[File:JOHDOS323232.png|thumb|300px|Figure 9. Phonon DOS of MgO using 32x32x32 grid size]]&lt;br /&gt;
|[[File:JOHDOS50.png|thumb|300px|Figure 10. Phonon DOS of MgO using 50x50x50 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 5 shows the DOS for a 1x1x1 grid size. The four peaks 288 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, 352 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; 676 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 819 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; represent the four frequencies at point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The intensity of the peaks around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; is around double that of the peaks around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. This gives further evidence that the acoustic vibrational mode around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; are degenerate. The theorem about using the &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; point in reciprocal space for a 1x1x1 grid is called Baldereschi theorem &amp;lt;ref name = &amp;quot;Ref 3&amp;quot;/&amp;gt;. The idea being that point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is the most representative point in k-space as when you increase from grid size of 1x1x1 to 50x50x50 the main peak remains around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; with a smaller peak still around 700 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The ideal grid size is one that represents the DOS without taking too long to calculate. From figure 8 onwards the shape of the curve does not change much, so it can be concluded that using a grid size of 16 is sufficient enough to gain a good understanding of the DOS without taking too long to calculate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:DOS dispersion JOH.png|thumb|400px|Figure 11. Comparing the dispersion curve with the DOS]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It is important to note the relationship between the dispersion curve and the DOS graph as shown in figure 11. The frequency in the phonon dispersion curve on the y axis is the same as the frequency on the DOS curve in the x-axis. It can be seen visually that the most popular states are around 300 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The relationship between real space and reciprocal space is given by the formula &amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt; - a being the length in real space transformed to a* in reciprocal space. This shows that the larger the lattice constant a, the smaller the reciprocal cell. This is important to consider when assessing the DOS for other structures. Lithium has a lattice constant of 3.490 Å &amp;lt;ref name = &amp;quot;Ref 4&amp;quot;/&amp;gt; which is 0.721 Å lower that the conventional unit cell of MgO that is being modelled. Due to the inverse relationship of real to reciprocal space, lithium will have a larger cell in k space and therefore need a larger grid size to measure the DOS. Conversely Faujasite has a lattice constant of 24.7 Å &amp;lt;ref name = &amp;quot;Ref 5&amp;quot; /&amp;gt; which will give a much smaller cell in reciprocal space meaning that a smaller grid size would give an accurate measurement of the DOS as there are fewer k values needed to measure the cell. CaO has a very similar lattice constant meaning that a similar grid size would be needed to accurately measure the DOS - in this case a grid size of 16x16x16 would be sufficient.&lt;br /&gt;
&lt;br /&gt;
==Computing the Free Energy==&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Table 2ː Energy vs Grid size&lt;br /&gt;
! Grid Size nxnxn/n&lt;br /&gt;
! Free Energy/eV&lt;br /&gt;
! Accuracy/ meV&lt;br /&gt;
! Log file&lt;br /&gt;
! rowspan=&amp;quot;9&amp;quot;|[[File:JOH Free energy vs grid size.png|thumb|400px|]]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| -40.930301&lt;br /&gt;
| 4&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/1/12/JOH_fe_MgO_111.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| -40.926609&lt;br /&gt;
| 0.2&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/aa/JOH_fe_MgO_222.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -40.926432&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4d/JOH_fe_MgO_333.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -40.926450&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/40/JOH_fe_MgO_444.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -40.926478&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/7/70/JOH_fe_MgO_888.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -40.926482&lt;br /&gt;
| 0.1&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/4/4f/JOH_fe_MgO_16.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [https://wiki.ch.ic.ac.uk/wiki/images/a/ac/JOH_fe_MgO_32.txt log file]&lt;br /&gt;
|-&lt;br /&gt;
| 50&lt;br /&gt;
| -40.926483&lt;br /&gt;
| N/A&lt;br /&gt;
| [[Media:JOH_fe_MgO_50.txt.zip|log file]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Table 2 displays the free energies of MgO as a function of grid size n. Similar to finding the ideal grid size to calculate the DOS, the optimal grid size to figure out the free energy can be found in table 2. As the grid size increases from 1 to 3 there is a sharp increase in the free energy from -40.930301 eV to -40.926432 eV, after-which the free energy eventually converges at -40.926483 eV. The degree of accuracy follows this trend, from a grid size of 4 onwards the degree of accuracy is greater that 0.1 meV. There is no change in free energy from a grid size of 32 to 50 suggesting that a grid size of 32 is all that is needed to accurately determine the free energy of MgO. &lt;br /&gt;
&lt;br /&gt;
The graph in table 2 can be rationalized by the equation for the Helmholtz free energy - &amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A is the Helmholtz fee energy, U is the internal energy, T is temperature and S is entropy. As the grid size increases, the volume increases so the internal energy decreases (&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt;). This in turn means that the Helmholtz free energy would decrease.&lt;br /&gt;
&lt;br /&gt;
Furthermore as the number of microstates sampled increases the entropy term will increase according to the relationship &amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt;. This in turn means that the free energy will be lowered. By considering these two factors the decrease in free energy can be rationalised.&lt;br /&gt;
&lt;br /&gt;
==Thermal Expansion of MgO==&lt;br /&gt;
The structure of MgO will be optimised with respect to the free energy at different temperatures (0 - 1000 K in steps of 100 K). The free energy will be computed using the quasi-harmonic approximation (QHA) which uses the following expression: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; A = E_{0} + \frac{1}{2}\sum_{k,j}^{} \hbar\omega_{j,k} + k_{B}T\sum_{j,k}^{}\ln [1-exp(\frac{-\hbar\omega_{j,k}}{k_{B}T})]&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
*&amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; = frequency of the vibration &lt;br /&gt;
*&amp;lt;math&amp;gt;E_{0}&amp;lt;/math&amp;gt; = zero point energy &lt;br /&gt;
*&amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; = Temperature&lt;br /&gt;
*&amp;lt;math&amp;gt;k_B&amp;lt;/math&amp;gt; = Boltzmann Constant &lt;br /&gt;
*&amp;lt;math&amp;gt;\hbar&amp;lt;/math&amp;gt; = reduced Planck&#039;s constant. &lt;br /&gt;
&lt;br /&gt;
The equations is split into three parts - the zero point energy and the harmonic and entropic contribution.&lt;br /&gt;
&lt;br /&gt;
In addition the coefficients of thermal expansion was calculated. The coefficient of thermal expansion describes how the size of an object changes with temperature. The larger the coefficient the greater the change in size as temperature increases. Several coefficients have been developed and the two that we will look at are the linear and volumetric thermal expansion. The generic equation is as follows:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\alpha_x = \frac{1}{x}\,\left(\frac{\partial x}{\partial T}\right)_p&lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* α&amp;lt;sub&amp;gt;x&amp;lt;/sub&amp;gt; = thermal expansion coefficient&lt;br /&gt;
* x = initial dimension &lt;br /&gt;
* ∂x is the partial derivative of the dimension under study &lt;br /&gt;
* ∂T = partial derivative of temperature (at constant pressure)&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy vs temp.png|thumb|400px|Figure 12. Free Energy dependence on Temperature for the QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH lattice constant vs temp.png|thumb|400px|Figure 13. Lattice Constant dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|[[File:JOH LV temp.png|thumb|400px|Figure 14. Lattice Volume dependence on Temperature for the Quasi-Harmonic Approximation]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figure 12 shows that as temperature increases the free energy becomes more negative. This can be rationalised with the derivation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; G = H - TS &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;H = U + PV&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G = U + PV - TS&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dG = dU + PdV + VdP - TdS - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = q + w &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; dq = TdS &amp;lt;/math&amp;gt; &amp;lt;math&amp;gt; dw = -PdV &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \therefore dG = VdP - SdT &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This implies that both the volume and the entropic factor contribute to the free energy. As the temperature increases the volume will increase, however the entropic factor will overcome this due to large change in temperature. This explains the trend observed in figure 12. We would expect a linear negative decrease - &amp;lt;math&amp;gt; \left( \frac{\partial G}{\partial T} \right)_P = -S &amp;lt;/math&amp;gt;. However figure 12 shows that the trend is a curve suggesting that there are limitations to the calculation. &lt;br /&gt;
&lt;br /&gt;
The trend could also be explained using the Helmoholtz free energy equation used in the QHA. The entropic contribution in the equation has a large dependence on temperature and therefore as temperature increases the entropic contribution becomes more negative resulting in the Helmholtz becoming more negative.  &lt;br /&gt;
&lt;br /&gt;
===Calculating the Thermal expansion coefficients===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Linear Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{1}{L} \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L = \frac{0.00002342}{2.986563} = 7.7815\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
L = the initial lattice constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial L}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 13&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Volumetric Thermal expansion coefficient&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V} \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{0.00044612}{18.836496} = 2.3684\times 10^{-5}&amp;lt;/math&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
V = the initial volume constant at 0 K, and &amp;lt;math&amp;gt; \left(\frac{\partial V}{\partial T}\right)_P&amp;lt;/math&amp;gt; = the gradient of the graph in figure 14&lt;br /&gt;
&lt;br /&gt;
For isotropic materials the volumetric coefficient is three times larger that then linear coefficient - 3&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;. For MgO &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt; is practically three times larger than &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; (3.04&amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;) implying that MgO is an isotropic material &amp;lt;ref name=&amp;quot;Ref 6&amp;quot;/&amp;gt;, in other words lattice constants a, b and c expand at equal rates. At 200 K the L value increases to 2.987604 Å resulting in &amp;lt;math&amp;gt;\alpha_L&amp;lt;/math&amp;gt;=&amp;lt;math&amp;gt;7.839\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; which is close to the literature value of &amp;lt;math&amp;gt;7.39\times 10^{-6} &amp;lt;/math&amp;gt;K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; &amp;lt;ref name=&amp;quot;Ref 1&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The main approximation with the QHA occurs at higher temperatures. This is because at higher temperatures the lattice experiences a larger anharmonic effect due to a larger deviation from bond equilibrium as more energy is put into the bond. Furthermore as anharmonicity comes from scattered phonons interacting due to lattice defect, this effect will be accentuated as the phonons become more energetic. The QHA simplifies the anharmonic effect by letting the phonon frequencies become volume dependent so therefore is unable to model the anharmonic effect well. Furthermore the born-oppenheimer approximation would become less valid at larger temperatures as the motion of nuclei becomes more important.&lt;br /&gt;
&lt;br /&gt;
== Molecular Dynamics ==&lt;br /&gt;
The crystal was then studied using Molecular Dynamics. In the previous investigations MgO has been described using a primitive cell containing a single MgO unit. Running an MD would not produce meaningful data as every cell would move perfectly in phase. By increasing the size of the cell the MD would become more accurate but become more computationally expensive so a compromise is reached for a cell containing 32 MgO units. &lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:JOH free energy temperature QHA MD.png|thumb|400px|Figure 15. Free Energy vs Temperature for MD compared to QHA]]&lt;br /&gt;
|[[File:JOHlatticeQHAMD2.png|thumb|400px|Figure 16. Lattice Constant vs Temperature for MD compared to QHA]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics allows a system to evolve in time according to Newton&#039;s second law F=ma. As the system is treated classically energy can be modelled by the equipartition principle, &amp;lt;math&amp;gt;E = \frac{3}{2} k_B T&amp;lt;/math&amp;gt;, and as such the energy will increase linearly with temperature. In comparison QHA follows the relationship A = U -TS, so the energy should decrease with temperature. This can be seen in figure 15. &lt;br /&gt;
&lt;br /&gt;
Looking at figure 16 the MD and the QHA are similar between 400-1000 K, thus the volumetric expansion coefficients would be similar:&lt;br /&gt;
*MD - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt; = 3.06 * 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt;&lt;br /&gt;
*QHA - &amp;lt;math&amp;gt;\alpha_V&amp;lt;/math&amp;gt;  = 2.89 * 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt;&lt;br /&gt;
This similarity in data strengthens the reliability of the volumetric expansion coefficients between 400 - 1000 K. However, below 400 K the QHA begins to break from a linear trend and curve towards 18.84 Å&amp;lt;sup&amp;gt;-3&amp;lt;/sup&amp;gt; whereas the MD follows the linear trend. At lower trends the anharmonic effect is not as prevalent so the QHA is a better model for the lattice constant at lower temperatures. The MD model does not accurately show how the free energy changes at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
Overall both models do have their limitations. The atoms are modelled using a classical approach, ions as hard spheres, so the quantum mechanical contributions cannot be taken into account. Furthermore, the models do not consider long-range interactions which will reduce the accuracy. Lastly the models do not take into consideration the melting temperature of MgO. The crystal would not be able to be modelled accurately beyond the melting point.&lt;br /&gt;
&lt;br /&gt;
==Conclusion== &lt;br /&gt;
The experiment showed the thermal expansion of MgO, the phonon dispersion and the DOS. Comparisons between the QHA and the MD were made, both approaches giving reasonable thermal expansion coefficients between 400-1000 K. At lower temperatures the QHA was a better model, due to the reduction in anharmonic effects.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 1&amp;quot; &amp;gt; O. Madelung, U. Rössler and M. Schulz, Eds., II-VI and I-VII compounds; Semimagnetic compounds, Springer-Verlag, 1999. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 2&amp;quot; &amp;gt; A. CIMINO, P. PORTA and M. VALIGI, Journal of the American Ceramic Society, 1966, 49, 152–156. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 3&amp;quot;&amp;gt; A. Baldereschi, Physical Review B, 1973, 7, 5212–5215. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 4&amp;quot; &amp;gt; E. J. Covington and D. J. Montgomery, J. Appl. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys. J. Chem. Phys, 2010, 27, 1030–53111. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 5&amp;quot; &amp;gt; J. A. Kaduk and J. Faber, The Rigaku journal 14 CRYSTAL STRUCTURE OF ZEOLITE Y AS A FUNCTION OF ION EXCHANGE, 1995. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Ref 6&amp;quot; &amp;gt; J.R. Vinson, Plate and Panel structures of Isotropic, Composite and Piezoelectric Materials, including Sandwich Construction. Delaware; Springer; 2005. &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Appendix==&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:Mgo phonon DOS 222 JOH.png|thumb|300px|Figure 6. Phonon DOS of MgO using 2x2x2 grid size]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Jo1213</name></author>
	</entry>
</feed>