<?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=Ft1015</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=Ft1015"/>
	<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/wiki/Special:Contributions/Ft1015"/>
	<updated>2026-04-07T19:59:31Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=654293</id>
		<title>Rep:FabianThomasThirdYearMgOSimulation</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=654293"/>
		<updated>2017-12-19T22:58:30Z</updated>

		<summary type="html">&lt;p&gt;Ft1015: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Abstract ==&lt;br /&gt;
Lattice Dynamics (LD) simulations using the quasi-harmonic oscillator approximation (QHA), and Molecular Dynamics (MD) simulations were carried for MgO over a range of temperatures using GULP. The phonon dispersion, density of states and thermal expansion coefficients were investigated in order to understand how a change in temperature affected the volume of MgO. It was found that a 16x16x16 grid was the optimal grid size for carrying out LD simulations. The lattice parameter and volume increased polynomially with temperature for LD simulations, while was more linear with MD simulations. Thermal expansion coefficients were calculated from 50-2900 K for LD and 50-3700 K for MD. MD was found to be better at simulating temperatures less than 700 K, while LD was more accurate above 700 K for calculating the thermal expansion coefficient of MgO. With values for the thermal expansion coefficient of 20.53 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 25.82 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 300 K, and 35.23 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 30.33 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 1200 K for LD and MD respectively.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
One of the earliest uses of thermal expansion in daily life was the mercury thermometer. A change in temperature would lead to the mercury either taking up more or less space depending on if it became hotter or colder, thus allowing the temperature to be measured. Thermal expansion is seen in a variety of sectors in daily life, one major sector being the transportation sector. At high temperatures, train tracks which have not been built with thermal expansion in mind buckle due to the expansion of the metal. This can lead to delays, closing of railways, or in the worst case the derailment of a train due to the sharp angles of the buckled train tracks. Many motorways around the world now have expansion joints made of metal teeth that fit together, which when the temperatures rise the metal teeth in the joints expand to fill the empty space instead of cracking the road. Thus the expansion of materials under a change in temperature is an important aspect of research for many sectors in the world.&lt;br /&gt;
&lt;br /&gt;
Modelling thermal expansion using Lattice Dynamics and Molecular Dynamics and understanding the phonon modes of a material allows for the comparison between two types of simulation and the study of thermal expansion of materials. This means that possibly expensive experiments to determine this property experimentally will not be needed to test the viability of a material for use. Some of the most commonly used materials such as steel or concrete vary in composition depending on what application the material is being used for, and so simulations similar to the ones carried out in this experiment can be used to determine the qualities of the material and what type of composition it needs to have, before production. Even though these simulations are powerful, there are questions still unanswered, how complex a system can these methods accurately simulate and are there any types of material that these simulations cannot compute?&lt;br /&gt;
&lt;br /&gt;
=== Theory ===&lt;br /&gt;
The quasi-harmonic approximation for phonons builds upon the harmonic approximation for phonon dynamics, and therefore to explain the quasi-harmonic approximation we must first discuss the harmonic approximation.&lt;br /&gt;
&lt;br /&gt;
For a regular, linear chain which is composed of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; number of particles, the forces between a pair of atoms can be assumed to be a potential energy function &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; which depends on the distance of the separation between the atoms. The main contributing forces to the potential are described by an electric force, such as electrostatic attractions, covalent bonds or Van der Waals forces. Therefore the potential energy of the entire lattice made up of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; atoms is the sum of the potential energies between each pair of atoms with a separation r from each other shown below in Equation 1.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV(r)&amp;lt;/math&amp;gt;       &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, allowing each atom to deviate slightly from its equilibrium position by a displacement &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;, if the deviations are small in comparison to the distance between each atom &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;, the energy of this chain is able to be calculated via a Taylor expansion summing over all of the atoms in the chain.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV + \sum_{s\ge 1} \frac {1}{s !} \frac {\partial^s V}{\partial u^s} \sum_{n}&lt;br /&gt;
 (u_n - u_{n+1})^s&amp;lt;/math&amp;gt;     &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;u_n&amp;lt;/math&amp;gt; is the displacement of the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;th atom from its equilibrium position.&lt;br /&gt;
&lt;br /&gt;
Two approximations are used in order to reach this equation, which together forms the harmonic approximation and it&#039;s respective equation. The first approximation states that the sum of the pair potential energies is completed over only neighbouring atoms, as although there are electric forces between all atoms, these forces on atoms far away from one another are greatly diminished by screening by the atoms in between. The second approximation is that the potential energies are treated as harmonic potential energies. In this equation, the first derivative is zero, whereas higher order terms are not, and so the first term can be dropped, and the second term is used where &amp;lt;math&amp;gt;s = 2&amp;lt;/math&amp;gt;, with higher order terms being neglected. These higher order terms are ignored as harmonic equations of motion have exact solutions, while anharmonic equations do not have exact solutions to them and require more approximations. Thus the energy of the lattice is the same as the energy of the set of harmonic oscillators. The error in this equation remains small for small values of &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;&lt;br /&gt;
as the value of higher order terms will remain low.&lt;br /&gt;
&amp;lt;ref&amp;gt;M. T. Dove, Introduction to lattice dynamics, Cambridge University Press, Cambridge ; New York, Digitally printed 1st pbk. edn. 2005 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The quasi-harmonic approximation expands upon the harmonic approximation by taking into account some of the true anharmonicity of the interactions between atoms. The quasi-harmonic approximation relates the Hemholtz free energy of a perfect lattice to both its temperature and its volume, in contrast to the harmonic oscillator approximation which only depends on temperature as shown in Equation 3ː&amp;lt;ref&amp;gt;Martin T. Dove, Introduction to Lattice Dynamics (Cambridge Topics in Mineral Physics and Chemistry), Cambridge University Press, Cambridge, 1993&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; F = E_0 + \frac {1}{2}\sum_{k,j}^{} \hbar \omega _k + k_B T \sum_{k,j}^{}ln(1-e^{\frac {-\hbar \omega _k }{k_B T}})&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(3)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;F&amp;lt;/math&amp;gt; is the Hemholtz free energy and &amp;lt;math&amp;gt;E_0&amp;lt;/math&amp;gt; is the lattice energy&lt;br /&gt;
&lt;br /&gt;
As this definition of the free energy also takes into account the volume of the lattice, this allows thermal expansion to be calculated as it allows the harmonic approximation to hold for all temperatures.&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics simulates a lattice of atoms using Newton&#039;s equations of motion and so simulates the cell over a certain period of time, taking a time-average of the cell to obtain physical quantities. In the simulations run in this experiment, an isothermal-isobaric (NPT) ensemble was used to calculate the thermal expansion coefficients and volume of the MgO cell at specific temperatures. As MD is based on Newton&#039;s laws of motion it does not take into account quantum effects such as the zero-point energy of a material in comparison to QHA which does.&lt;br /&gt;
&lt;br /&gt;
== Results and Discussion ==&lt;br /&gt;
&lt;br /&gt;
=== Phonon modes and Free Energy of MgO ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|[[File:Ft1015MgO_phonon_dispersion.PNG|500px|thumb|&#039;&#039;&#039;Figure 1&#039;&#039;&#039;: A phonon dispersion plot for MgO]]&lt;br /&gt;
|[[File:Ft1015MgO_DoS.PNG|500px|thumb|&#039;&#039;&#039;Figure 2&#039;&#039;&#039;: A plot of the density of states for MgO using a 1x1x1 grid size]]&lt;br /&gt;
|[[File:Ft1015MgO_DoS_20x20x20.PNG|500px|thumb|left|&#039;&#039;&#039;Figure 3&#039;&#039;&#039;: The optimised plot of the density of states for MgO using a 16x16x16 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From Figures 1 and 2, we can see the computed phonon dispersion curve and density of states for a 1x1x1 grid size containing one k-point. Correlating the density of states with the dispersion curve via their shared axis of frequency of vibration yields the k-point L on the dispersion curve as the singular k-point used for the calculation. The density of states shows bands at 286 and 351 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 676 and 806 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, with the intensities of the first two bands double that of the final two bands. These bands correspond to three acoustic and three optical branches, with the first two bands of 0.333 intensity corresponding to a k-point where two branches are overlapping and are therefore degenerate states.&lt;br /&gt;
&lt;br /&gt;
Varying the grid size used for the calculation greatly affected the accuracy and precision of the results of calculations through increasing the number of k-points sampled in Equation 4ː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\omega ^{2}(k) = C(\frac{1}{M_{Mg}} + \frac{1}{M_{O}}) \pm \sqrt {(\frac{1}{M_{Mg}} + \frac{1}{M_{O}})^{2} - \frac{4sin^{2}(ka)}{M_{Mg}}}&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(4)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; is the spring force constant, &amp;lt;math&amp;gt;M_{Mg}&amp;lt;/math&amp;gt; is the molar mass of magnesium and &amp;lt;math&amp;gt;M_{O}&amp;lt;/math&amp;gt; is the molar mass of oxygen&lt;br /&gt;
&lt;br /&gt;
As the grid size increases, and thus the more k-points sampled, more and more features become visible, with the increase in number of points sampled along the dispersion curve leading to the increase in number of bands seen in the density of states. Optimising the grid size led to a grid size of 16x16x16 being chosen. As expected, the density of states plot produced from this grid size was smooth, as can be seen in Figure 3. This curve was proved to be a good optimisation through looking at the Hemholtz free energy for each of the simulated grid sizes. As the accuracy of the Helmholtz free energy result directly depends on the number of k-space points sampled in the calculations as can be seen in Equation 2. Similarly to Equation 4, the larger the grid size, and therefore the more k-points sampled, the more accurate the result. Comparing the free energy of the 16x16x16 grid to the 32x32x32 grid; which for higher order grids remained constant and so had converged, the 16x16x16 was accurate to within 0.001 meV or 2.4434 × 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; %.&lt;br /&gt;
&lt;br /&gt;
In comparison to smaller grid sizes, the 16x16x16 grid size curve appears more smooth, and more akin to a single band as seen for macrostructures. Larger grid sizes, while greatly increasing the computation time of the calculation did not largely increase the accuracy of the calculations as stated above, and therefore the 16x16x16 grid size was the optimal choice for these simulations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 1. Calculated Total Difference in Hemholtz Free Energy &lt;br /&gt;
! Grid Size&lt;br /&gt;
! Total Difference in Free Energy&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 3.818&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.126&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -0.051&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -0.033&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -0.001&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| -0.000&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| 0.000&lt;br /&gt;
|-&lt;br /&gt;
| 64&lt;br /&gt;
| 0.000&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Table 1 shows the difference between the calculated free energy for grid size and the final converged free energy. Looking at this, we can see that for grid sizes larger than 24x24x24, there is no change in the free energy of the system and so the free energy has converged to a minima, although it may not be the global minimum. The accuracy of simulations also increase rapidly with grid size, for example for accurate simulated energies to 1, 0.5 and 0.1 meV per cell, grid sizes of 2x2x2, 4x4x4 and 8x8x8 respectively can be used. This rapid increase in the accuracy of the calculation can be attributed to the large increase in k-points sampled over within the summations in Equation 2 with increasing grid size.&lt;br /&gt;
&lt;br /&gt;
However, the optimal grid size dependent on the material used due to the relationship between the lattice parameter, and the size of the first brillouin zone in k-space. For a similar oxide such as CaO, in comparsion to the lattice parameter of MgO of 4.212 Å &amp;lt;ref&amp;gt; A. CIMINO, P. PORTA and M. VALIGI, J. Am. Ceram. Soc, 1966, &#039;&#039;&#039;49&#039;&#039;&#039;, 152–156 &amp;lt;/ref&amp;gt;, the parameter of CaO is 4.864 Å &amp;lt;ref&amp;gt;Mackrodt, W. C., Harrison, N. M., Saunders, V. R., Allan, N. L. and Towler, M. D., Aprà, E., Dovesi, R., Philos. Mag. A, 1993 , &#039;&#039;&#039;68&#039;&#039;&#039;, 653-666 &amp;lt;/ref&amp;gt;, slightly larger than that of MgO. This leads to a slightly smaller grid size being optimal, as the larger lattice parameter leads to a smaller brillouin zone in reciprocal space as if the lattice parameter &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; is larger, then the size of the first brillouin zone &amp;lt;math&amp;gt;a^{*}= \frac {2 \pi}{a} &amp;lt;/math&amp;gt;will be smaller. This in turn allows less points to be sampled inside the region to give the same spacing of points, and therefore accuracy for the density of states as for MgO. Similarly, the zeolite faujsite has an extremely large lattice parameter of 25.132 Å &amp;lt;ref&amp;gt;E. Dempsey, G. H. Kuhl, and D. H. Olson, Phys. Chem., 1969, &#039;&#039;&#039;73&#039;&#039;&#039;, 387–390 &amp;lt;/ref&amp;gt;, in comparison to MgO. This; as with the case of CaO but more exaggerated, leads to a much smaller brillouin zone in reciprocal space, and so allows for a much smaller grid size to give the same accuracy as the MgO calculation due to the extremely small value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; obtained for faujsite.&lt;br /&gt;
Conversely, lithium has a smaller lattice spacing of 3.51 Å &amp;lt;ref&amp;gt;M.R. Nadler and C.P. Kempfer, Anal. Chem., 1959, &#039;&#039;&#039;31&#039;&#039;&#039;, 2109-2111&amp;lt;/ref&amp;gt;. Therefore the value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; for lithium will be larger than for MgO, and so require a larger grid size to obtain the same spacing between sampled k-space points and therefore the accuracy of the calculated density of states.&lt;br /&gt;
&lt;br /&gt;
=== Thermal Expansion of MgO ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
||[[File:Ft1015Latticeparametervskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 4&#039;&#039;&#039;: A plot of lattice parameter against temperature for MgO]]&lt;br /&gt;
|[[File:Ft1015Latticevolumevskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 5&#039;&#039;&#039;: A plot of lattice volume against temperature for MgO, with the magenta line on the graph corresponding to the polynomial fit for the graph, and the red point the points which were not fitted over]]&lt;br /&gt;
|[[File:Ft1015Hemholtzvskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 6&#039;&#039;&#039;: A plot of free energy against temperature for MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The physical origin of thermal expansion for a solid lattice arises from the increase of kinetic energy of a material with an increase in temperature. All atoms within a lattice vibrate and move about their positions within the lattice and with an increase in temperature, each atom in the lattice gains kinetic energy, increasing the strength of its vibrations and the speed at which the atoms move. Due to this, the atoms on average take up more space at higher temperatures than lower temperatures and so averaged out over many atoms in a lattice, this increases the volume of the lattice.&lt;br /&gt;
&lt;br /&gt;
Figures 4 &amp;amp; 5 show the effect of change of temperature on the lattice parameter and volume of MgO in the range of 50-2900 K. As we can seen from the figures, from 50-400 K, a change in temperature does not largely increase the volume, while above 400 K the trend seems to be linear with respect to volume increase through an increase in temperature. This is however not the case at higher temperatures above 2200 K where the trend is more polynomial in nature.&lt;br /&gt;
&lt;br /&gt;
Figure 6 shows the effect of change in temperature on the Hemholtz free energy of MgO. From 50-400 K, the dominating term for the free energy is the zero point energy, and thus a change in temperature does not greatly change the free energy of the lattice and so volume changes at low temperatures are minimal. At temperatures above 2200 K not only is the entropic term completely dominating all other terms for the free energy, but also higher order anharmonic terms for the free energy that were excluded in the harmonic approximation part of the equation begin to play a large role in the free energy. This leads to the gradient no longer being linear. &amp;lt;ref&amp;gt;Masanori Matsui, Geoffrey D. Price and Atul Patel, Geophys. Res. Lett., 1994, &#039;&#039;&#039;21&#039;&#039;&#039;,  1659-1662 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The thermal expansion coefficients for MgO can be calculated through using the gradient &amp;lt;math&amp;gt; (\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt; at a specific value of &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; in the equationː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \alpha = \frac{1}{V_i} (\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt;   &amp;lt;math&amp;gt;(5)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt; \alpha &amp;lt;/math&amp;gt; is the coefficient of thermal expansion, &amp;lt;math&amp;gt;V_i&amp;lt;/math&amp;gt; is the volume of the lattice at 0 K and &amp;lt;math&amp;gt;(\frac{\partial V}{\partial T})_p =6.16898 \times 10^{-7} T + 0.00118&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Table 2 displays thermal expansion coefficients for the polynomial fit of MgO, alongside the temperature range that the fit was made over.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 2. Calculated Linear fit Thermal Expansion Coefficients for MgO&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| 50&lt;br /&gt;
| 16.44&lt;br /&gt;
&lt;br /&gt;
| 1500&lt;br /&gt;
|40.13&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 100 &lt;br /&gt;
| 17.26&lt;br /&gt;
&lt;br /&gt;
| 1600&lt;br /&gt;
| 41.76&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 200 &lt;br /&gt;
| 18.89&lt;br /&gt;
&lt;br /&gt;
| 1700&lt;br /&gt;
|43.40&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 300 &lt;br /&gt;
| 20.53&lt;br /&gt;
&lt;br /&gt;
| 1800&lt;br /&gt;
|45.03&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 400 &lt;br /&gt;
| 22.16&lt;br /&gt;
&lt;br /&gt;
| 1900&lt;br /&gt;
|46.67&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 500 &lt;br /&gt;
| 23.79&lt;br /&gt;
&lt;br /&gt;
| 2000&lt;br /&gt;
|48.30&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 600 &lt;br /&gt;
| 25.43&lt;br /&gt;
&lt;br /&gt;
| 2100&lt;br /&gt;
|49.93&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 700 &lt;br /&gt;
| 27.06&lt;br /&gt;
&lt;br /&gt;
| 2200&lt;br /&gt;
|51.57&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 800 &lt;br /&gt;
| 28.69&lt;br /&gt;
&lt;br /&gt;
| 2300&lt;br /&gt;
|53.20&lt;br /&gt;
|-&lt;br /&gt;
| 900 &lt;br /&gt;
| 30.33&lt;br /&gt;
&lt;br /&gt;
| 2400&lt;br /&gt;
|54.83&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1000&lt;br /&gt;
| 31.96&lt;br /&gt;
&lt;br /&gt;
| 2500&lt;br /&gt;
|56.47&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1100&lt;br /&gt;
| 33.60&lt;br /&gt;
&lt;br /&gt;
| 2600&lt;br /&gt;
|58.10&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1200&lt;br /&gt;
| 35.23&lt;br /&gt;
&lt;br /&gt;
| 2700&lt;br /&gt;
|59.74&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1300&lt;br /&gt;
| 36.86&lt;br /&gt;
&lt;br /&gt;
| 2800&lt;br /&gt;
|61.369&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1400&lt;br /&gt;
| 38.50&lt;br /&gt;
&lt;br /&gt;
| 2900&lt;br /&gt;
|63.00&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As we can see from the table of results, the coefficient of thermal expansion is not independent of temperature, but changes with it. In comparison to literature values&amp;lt;ref&amp;gt;A. S. Madhusudhan Rao and K. Narender, J. Chem. Thermodyn, 2014, &#039;&#039;&#039;2014&#039;&#039;&#039;, 8&amp;lt;/ref&amp;gt;, at 300 K the data obtained through this experiment largely agrees with the literature data of a value for the thermal expansion coefficient of 35.73 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Deviations from the literature values can be attributed to shortcomings of the quasi-harmonic oscillator approximation. The main approximation being that the oscillations of the atoms about their equilibrium positions are small, which for higher energy phonon modes is not representative of those modes. It is seen that the difference in our calculated values to that of literature values decreases as the temperature increases such that for a literature value of 42.51 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 1200 K, our calculated value is 35.23 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
At temperatures above the melting point of MgO - 3125 K &amp;lt;ref&amp;gt; Haynes, William M., CRC Handbook of Chemistry and Physics (92nd ed.), Boca Raton, CRC Press., 2011&amp;lt;/ref&amp;gt; - the phonon modes of MgO are not accurate represented. This is due to the fact that above this temperature MgO melts from a solid to a liquid, and thus the approximation that the solid is a perfect lattice breaks down. This means that for temperatures near to or above 3125 K the data is not representative of the true phonon modes as a solid is being simulated whereas in reality the material is already is a liquid and so solid phonon modes cannot describe the liquid modes.&lt;br /&gt;
&lt;br /&gt;
Although the quasi-harmonic approximation breaks down at higher temperatures, unlike other approximations such as the harmonic approximation, it can be used to model thermal expansion. Consider a diatomic harmonic oscillator, with an increase in temperature the strength of oscillation will increase, but in equal proportions relating to lengthening and contracting of the bond due to the nature of a harmonic potential. This leads to an increase in temperature not changing the equilibrium bond length and thus thermal expansion cannot be modelled. The quasi-harmonic approximation takes into account some of the anharmonic nature of the true bond and so allows thermal expansion to be modelled. This can be visualised through viewing a morse potential. A contraction of bond length in a morse potential require a much larger amount of energy than an increase in bond length, therefore at higher temperatures and so higher energies, while the bond length maximum will largely increase, the minimum bond length will change only slightly, thus on average the bond length will have lengthened. This leads to an increase in equilibrium bond length, and so applying this so a lattice leads to an increase in volume of the lattice.&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamic Simulations ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
||[[File:Ft1015MgO_MD.png|500px|thumb|&#039;&#039;&#039;Figure 7&#039;&#039;&#039;: A plot of cell volume against temperature for the molecular dynamics calculations]]&lt;br /&gt;
|[[File:Ft1015MgO_MDvsLD.png|500px|thumb|&#039;&#039;&#039;Figure 8&#039;&#039;&#039;: A plot of cell volume against temperature comparing the values calculated via Molecular Dynamics and Lattice Dynamics]]&lt;br /&gt;
|[[File:Ft1015MgO_Thermal_Expansion_Coefficient_MDvsLD.png|500px|thumb|&#039;&#039;&#039;Figure 9&#039;&#039;&#039;: A plot of the thermal expansion coefficient for both Molecular Dynamics and Lattice Dynamics simulations]]&lt;br /&gt;
|}&lt;br /&gt;
Molecular dynamics simulations were run using from 50-3700 K as shown in Figure 7. Figures 8&amp;amp;9 compare the results of Molecular dynamics and Lattice Dynamics (quasi-harmonic approximation) simulations. In Figure 8 it is seen that the difference in volume the MD and LD plots for the range 400-1400 K is quite small, while at temperatures lower than 400 K and higher than 1400 K the simulations begin to deviate from each other. Figure 9 compares the calculated coefficient for thermal expansion for MD and LD, taking a value at 300 K of 25.82 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 30.33 at 1200 K, in comparison to the literature values of 35.73 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 300 K and 42.51 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 1200 K, it can be seen that at lower temperatures, the MD approach is more accurate, while at higher temperature LD is more accurate. As MD calculations average the volume of the cell over set intervals - the timestep - for a set period of time, the erractic nature of the MD curve at high temperatures in Figure 8 is due to the large velocities of the ions in the lattice which leads to the timestep being too large to take an accurate snapshot of the system and its variations. Thus a timestep smaller than the 500 fs interval used would reduce the noise in the simulation and provide a more accurate description of the volume at higher temperatures.&lt;br /&gt;
&lt;br /&gt;
LD and MD simulations differ due to the differences between how they calculate their results and the approximations they take into account. MD differs from LD at lower temperatures due to the lack of higher order quantum corrections which LD takes into account, while at higher temperatures MD should be more accurate due to the use of Newton&#039;s classical equations which dominate all quantum effects, while LD should suffer from a lack of higher order anharmonic terms in its approximation. &amp;lt;ref&amp;gt;Masanori Matsui, Geoffrey D. Price and Atul Patel, Geophys. Res. Lett., 1994, &#039;&#039;&#039;21&#039;&#039;&#039;, 1659-1662&amp;lt;/ref&amp;gt;. In spite of this, LD produces more accurate results at higher temperatures, while MD is more accurate at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
As stated above, at temperatures near to or larger than the melting point of MgO, a LD simulation fails to produce accurate results for the volume of the cell due to the fact that a solid is still being simulated rather than a liquid. MD simulations however work through Newton&#039;s laws of motion and so can model phase transitions of materials. This can be seen in Figure 7, where after the melting of MgO at 3125 K the change in volume per 100 K is larger than for temperatures below this point, due to the forces between liquid molecules being weaker than that of solids, and so thermal expansion of liquids  is larger than solid for the same change in temperature.&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
Through modelling of MgO through LD and MD simulations, the phonon distribution and density of states was calculated and a 16x16x16 grid size was found optimal for LD simulations. For LD simulations, lattice volume was found to at first increase linearly, but after 1700 K increase in a more harmonic or polynomial form with temperature. Similarly for the Hemholtz free energy, the increase in free energy was found to be more linear at first, and then become more polynomial in nature above 1700 K. LD thermal expansion coefficents were found to follow a polynomial trend, following a linear trend to 2200 K but diverging after this point to a more polynomial nature. MD simulations for the change in volume of MgO against temperature were linear throughout the temperature range sampled over, but become more erratic at higher temperatures due to the timestep being too large for the simulations. Both LD and MD simulations were found to be accurate at calculating thermal expansion coefficients, but in contrast to literature data &amp;lt;ref&amp;gt;Masanori Matsui, Geoffrey D. Price and Atul Patel, Geophys. Res. Lett., 1994, &#039;&#039;&#039;21&#039;&#039;&#039;, 1659-1662&amp;lt;/ref&amp;gt;, in the range 50-800 K, MD is found to be more accurate than LD, while above this temperature LD is found to be increasingly more accurate with an increase in temperature. Shortcomings of both LD and MD simulations were established and discussed comparatively between the two models.&lt;br /&gt;
&lt;br /&gt;
Improvement of the LD simulations could be done by introducing more anharmonic terms in to the quasi-harmonic oscillator approximation. This would increase the accuracy of the results obtained from the experiment due to those terms playing a large role at higher temperatures, but would greatly increase the time taken to simulate systems. MD could be improved by taking into account quantum effects such as the zero point energy of molecule, which play a large role in the energy at low temperatures where MD should not be as accurate as LD, or by reducing the time step, allowing for more accurate results at very high temperatures. From this experiment it can be seen that both LD and MD simulations have areas where they are better than one-another, and so knowledge on when and where to use each model would greatly increase the accuracy of results obtained. Further investigations include simulating more complex materials such as zeolites or large molecules, simulating similarly simple compounds such as salts to investigate how a change in ion can affect the physical properties of compounds, and an investigation into why the results obtained from this experiment show that MD is more accurate and lower temperatures and LD at high temperatures, when the reverse should be true.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;/div&gt;</summary>
		<author><name>Ft1015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=654217</id>
		<title>Rep:FabianThomasThirdYearMgOSimulation</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=654217"/>
		<updated>2017-12-19T22:07:22Z</updated>

		<summary type="html">&lt;p&gt;Ft1015: /* Abstract */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Abstract ==&lt;br /&gt;
Lattice Dynamics simulations using the quasi-harmonic oscillator approximation, and Molecular Dynamics simulations were carried for MgO over a range of temperatures using GULP. The phonon dispersion, density of states and thermal expansion coefficients were investigated in order to understand how a change in temperature effected the volume of MgO. It was found that a 16x16x16 grid was the optimal grid size for carrying out LD simulations. The lattice parameter and volume increased polynomially with temperature for LD simulations, while was more linear with MD simulations. Thermal expansion coefficients were calculated from 50-2900 K for LD and 50-3700 K for MD. MD was found to be better at simulating temperatures less than 700 K, while LD was more accurate above 700 K for calculating the thermal expansion coefficient of MgO. With values for the thermal expansion coefficient of 20.53 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 25.82 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 300 K, and 35.23 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 30.33 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; 1200 K for LD and MD respectively.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
One of the earliest uses of thermal expansion in daily life was the mercury thermometer. A change in temperature would lead to the mercury either taking up more or less space depending on if it became hotter or colder, thus allowing the temperature the be measured. Nowadays thermal expansion is seen in a variety of sectors in daily life, one major sector being the transportation sector. At high temperatures, train tracks which have not been built with thermal expansion in mind buckle due to the expansion of the metal. This can lead to delays, closing of railways, or in the worst case the derailment of a train due to the sharp angles of the buckled train tracks. Many motorways around the world now have expansion joints made of metal teeth that fit together, which when the temperatures rise the metal teeth in the joints expand to fill the empty space instead of cracking the road. Thus the expansion of materials under a change in temperature is an important aspect of research for many sectors in the world.&lt;br /&gt;
&lt;br /&gt;
Modelling thermal expansion using Lattice Dynamics and Molecular Dynamics and understanding the phonon modes of a material allows for the comparison between two types of simulation and the study of thermal expansion of materials. Modelling these systems using MD and LD provides a fast yet powerful way to understand the thermal expansion of the system, and thus not needing to perform possibly expensive experiments determining this property experimentally to test the viability of a material for use. Some of the most commonly used materials such as steel or concrete vary in composition depending on what application the material is being used for and so simulations similar to the ones carried out in this experiment can be used to determine the qualities of the material and what type of composition it needs to have, before production. Even though these simulations are powerful, there are questions still unanswered, how complex a system can these methods accurately simulate and are there any types of material that these simulations cannot compute?&lt;br /&gt;
&lt;br /&gt;
=== Theory ===&lt;br /&gt;
The quasi-harmonic approximation for phonons builds upon the harmonic approximation for phonon dynamics, and therefore to explain the quasi-harmonic approximation we must first discuss the harmonic approximation&lt;br /&gt;
&lt;br /&gt;
For a regular, linear chain which is composed of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; number of particles, the forces between a pair of atoms can be assumed to be a potential energy function &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; which depends on the distance of the separation between the atoms. The main contributing forces to the potential are described by an electric force, such as electrostatic attractions, covalent bonds or Van der Waals forces. Therefore the potential energy of the entire lattice made up of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; atoms is the sum of the potential energies between each pair of atoms with a separation r from each other shown below in eq 1.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV(r)&amp;lt;/math&amp;gt;       &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, allowing each atom to deviate slightly from its equilibrium position by a displacement &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;, if the deviations are small in comparison to the distance between each atom &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;, the energy of this chain is able to be calculated via a taylor expansion summing over all of the atoms in the chain.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV + \sum_{s\ge 1} \frac {1}{s !} \frac {\partial^s V}{\partial u^s} \sum_{n}&lt;br /&gt;
 (u_n - u_{n+1})^s&amp;lt;/math&amp;gt;     &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;u_n&amp;lt;/math&amp;gt; is the displacement of the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;th atom from its equilibrium postition&lt;br /&gt;
&lt;br /&gt;
Two approximations are used in order to reach this equation, which together forms the harmonic approximation and it&#039;s respective equation. The first approximation states that the sum of the pair potential energies is completed over only neighboring atoms, as although there are electric forces between all atoms, these forces on atoms far away from one another are greatly diminished by screening by the atoms in between, and that the potential energies are treated as harmonic potential energies. In this equation, the first derivative is zero, whereas higher order terms are not, and so the first term can be dropped, and the second term is used where &amp;lt;math&amp;gt;s = 2&amp;lt;/math&amp;gt;, with higher order terms being neglected. These higher order terms are ignored as harmonic equations of motion have exact solutions, while anharmonic equations do not have exact solutions to them and require more approximations. Thus the energy of the lattice is thus the same as the energy of the set of harmonic oscillators. The error in this equation remains small for small values of &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;&lt;br /&gt;
as the value of higher order terms will remain low.&lt;br /&gt;
&amp;lt;ref&amp;gt;M. T. Dove, Introduction to lattice dynamics, Cambridge University Press, Cambridge ; New York, Digitally printed 1st pbk. edn. 2005 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The quasi-harmonic approximation expands upon the harmonic approximation by taking into account some of the true anharmonicity of the interactions between atoms. The quasi-harmonic approximation relates the hemholtz free energy of a perfect lattice to both its temperature and its volume, in contrast to the harmonic oscillator approximation which only depended on temperature, this is shown below in eq. 5&amp;lt;ref&amp;gt;Martin T. Dove, Introduction to Lattice Dynamics (Cambridge Topics in Mineral Physics and Chemistry), Cambridge University Press, Cambridge, 1993&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; F = E_0 + \frac {1}{2}\sum_{k,j}^{} \hbar \omega _k + k_B T \sum_{k,j}^{}ln(1-e^{\frac {-\hbar \omega _k }{k_B T}})&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(5)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;F&amp;lt;/math&amp;gt; is the Hemholtz free energy and &amp;lt;math&amp;gt;E_0&amp;lt;/math&amp;gt; is the lattice energy&lt;br /&gt;
&lt;br /&gt;
As this definition of the free energy also takes into account the volume of the lattice, this allows thermal expansion to be calculated as it allows the harmonic approximation to hold for all temperatures.&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics simulates a lattice of atoms using Newton&#039;s equations of motion and so simulated the cell over a certain period of time, taking a time-average of the cell to obtain physical quantities. In the simulations run in this experiment, an isothermal-isobaric (NPT) ensemble was used to calculate the thermal expansion coefficients and volume of the MgO cell at specific temperatures. As MD is based on Newton&#039;s laws of motion it does not take into account quantum effects such as the zero-point energy of a material in comparison to QHA which does.&lt;br /&gt;
&lt;br /&gt;
== Results and Discussion ==&lt;br /&gt;
&lt;br /&gt;
=== Phonon modes and Free Energy of MgO ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|[[File:Ft1015MgO_phonon_dispersion.PNG|500px|thumb|&#039;&#039;&#039;Figure 1&#039;&#039;&#039;: A phonon dispersion plot for MgO]]&lt;br /&gt;
|[[File:Ft1015MgO_DoS.PNG|500px|thumb|&#039;&#039;&#039;Figure 2&#039;&#039;&#039;: A plot of the density of states for MgO using a 1x1x1 grid size]]&lt;br /&gt;
|[[File:Ft1015MgO_DoS_20x20x20.PNG|500px|thumb|left|&#039;&#039;&#039;Figure 3&#039;&#039;&#039;: The optimised plot of the density of states for MgO using a 16x16x16 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From figures 1 and 2, we can see the computed phonon dispersion curve and density of states for a 1x1x1 grid size containing one k-point. Correlating the density of states with the dispersion curve via their shared axis of frequency of vibration yields the k-point L on the dispersion curve as the singular k-point used for the calculation. The density of states shows bands at 286 and 351 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 676 and 806 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, with the intensities of the first two bands double that of the final two bands. These bands correspond to three acoustic and three optical branches, with the first two bands of 0.333 intensity corresponding to a k-point where two branches are overlapping and are therefore degenerate states.&lt;br /&gt;
&lt;br /&gt;
Varying the grid size used for the calculation greatly affected the accuracy and precision of the results of calculations through increasing the number of k-points sampled in eq. 4ː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\omega ^{2}(k) = C(\frac{1}{M_{Mg}} + \frac{1}{M_{O}}) \pm \sqrt {(\frac{1}{M_{Mg}} + \frac{1}{M_{O}})^{2} - \frac{4sin^{2}(ka)}{M_{Mg}}}&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(4)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; is the spring force constant, &amp;lt;math&amp;gt;M_{Mg}&amp;lt;/math&amp;gt; is the molar mass of magnesium and &amp;lt;math&amp;gt;M_{O}&amp;lt;/math&amp;gt; is the molar mass of oxygen&lt;br /&gt;
&lt;br /&gt;
As the grid size increases, and thus the more k-points sampled, more and more features become visible, with the increase in number of points sampled along the dispersion curve leading to the increase in number of bands seen in the density of states. Optimising the grid size led to a grid size of 16x16x16 being optimal. As expected, the density of states plot produced from this grid size was smooth, as can be seen in figure 3. This curve was proved to be a good optimisation through looking at the Hemholtz free energy for each of the simulated grid sizes. As the accuracy of the Helmholtz free energy result directly depends on the number of k-space points sampled in the calculations as can be seen in eq. 2. Similarly to eq. 4, the larger the grid size, and therefore the more k-points sampled, the more accurate the result. Comparing the free energy of the 16x16x16 grid to the 32x32x32 grid; which for higher order grids remained constant and so had converged, the 16x16x16 was accurate to within 0.001 meV or 2.4434 × 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; %.&lt;br /&gt;
&lt;br /&gt;
In comparison to smaller grid sizes, the 16x16x16 grid size curve appears more smooth, and more akin to a single band as seen for macrostructures. Larger grid sizes, while greatly increasing the computation time of the calculation did not largely increase the accuracy of the calculations as stated above, and therefore the 16x16x16 grid size was the optimal choice for these simulations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 1. Calculated Total Difference in Hemholtz Free Energy &lt;br /&gt;
! Grid Size&lt;br /&gt;
! Total Difference in Free Energy&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 3.818&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.126&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -0.051&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -0.033&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -0.001&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| -0.000&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| 0.000&lt;br /&gt;
|-&lt;br /&gt;
| 64&lt;br /&gt;
| 0.000&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Table 1 shows the difference between the calculated free energy for grid size and the final converged free energy. Looking at this, we can see that for grid sizes larger than 24x24x24, there is no change in the free energy of the system and so the free energy has converged to a minima, although it may not be the global minimum. The accuracy of simulations also increase rapidly with grid size, for example for accurate simulated energies to 1, 0.5 and 0.1 meV per cell, grid sizes of 2x2x2, 4x4x4 and 8x8x8 respectively can be used. This rapid increase in the accuracy of the calculation can be attributed to the large increase in k-points sampled over within the summations in eq. 2 with increasing grid size.&lt;br /&gt;
&lt;br /&gt;
However, the optimal grid size dependent on the material used due to the relationship between the lattice parameter, and the size of the first brillouin zone in k-space. For a similar oxide such as CaO, in comparsion to the lattice parameter of MgO of 4.212 Å &amp;lt;ref&amp;gt; A. CIMINO, P. PORTA and M. VALIGI, J. Am. Ceram. Soc, 1966, &#039;&#039;&#039;49&#039;&#039;&#039;, 152–156 &amp;lt;/ref&amp;gt;, the parameter of CaO is 4.864 Å &amp;lt;ref&amp;gt;Mackrodt, W. C., Harrison, N. M., Saunders, V. R., Allan, N. L. and Towler, M. D., Aprà, E., Dovesi, R., Philos. Mag. A, 1993 , &#039;&#039;&#039;68&#039;&#039;&#039;, 653-666 &amp;lt;/ref&amp;gt;, slightly larger than that of MgO. This leads to a slightly smaller grid size being optimal, as the larger lattice parameter leads to a smaller brillouin zone in reciprocal space as if the lattice parameter &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; is larger, then the size of the first brillouin zone &amp;lt;math&amp;gt;a^{*}= \frac {2 \pi}{a} &amp;lt;/math&amp;gt;will be smaller. This in turn allows less points to be sampled inside the region to give the same spacing of points, and therefore accuracy for the density of states as for MgO. Similarly, the zeolite faujsite has an extremely large lattice parameter of 25.132 Å &amp;lt;ref&amp;gt;E. Dempsey, G. H. Kuhl, and D. H. Olson, Phys. Chem., 1969, &#039;&#039;&#039;73&#039;&#039;&#039;, 387–390 &amp;lt;/ref&amp;gt;, in comparison to MgO. This; as with the case of CaO but more exaggerated, leads to a much smaller brillouin zone in reciprocal space, and so allows for a much smaller grid size to give the same accuracy as the MgO calculation due to the extremely small value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; obtained for faujsite.&lt;br /&gt;
Conversely, lithium has a smaller lattice spacing of 3.51 Å &amp;lt;ref&amp;gt;M.R. Nadler and C.P. Kempfer, Anal. Chem., 1959, &#039;&#039;&#039;31&#039;&#039;&#039;, 2109-2111&amp;lt;/ref&amp;gt;. Therefore the value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; for lithium will be larger than for MgO, and so require a larger grid size to obtain the same spacing between sampled k-space points and therefore accuracy of the calculated density of states.&lt;br /&gt;
&lt;br /&gt;
=== Thermal Expansion of MgO ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
||[[File:Ft1015Latticeparametervskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 4&#039;&#039;&#039;: A plot of lattice parameter against temperature for MgO]]&lt;br /&gt;
|[[File:Ft1015Latticevolumevskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 5&#039;&#039;&#039;: A plot of lattice volume against temperature for MgO, with the magenta line on the graph corresponding to the polynomial fit for the graph, and the red point the points which were not fitted over]]&lt;br /&gt;
|[[File:Ft1015Hemholtzvskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 6&#039;&#039;&#039;: A plot of free energy against temperature for MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The physical origin of thermal expansion for a solid lattice arises from the increase of kinetic energy of a material with an increase in temperature. All atoms within a lattice vibrate and move about their positions within the lattice and with an increase in temperature, each atom in the lattice gains kinetic energy, increasing the strength of its vibrations and the speed at which the atoms move. Due to this, the atoms on average take up more space at higher temperatures than lower temperatures and so averaged out over many atoms in a lattice, this increases the volume of the lattice.&lt;br /&gt;
&lt;br /&gt;
Figures 4 &amp;amp; 5 show the effect of change on temperature on the lattice parameter and volume of MgO in the range of 50-2900 K. As we can seen from the figures, from 50-400 K, a change in temperature does not largely increase the volume, while above 400 K the trend seems to be linear with respect to volume increase through an increase in temperature. This is however not the case at higher temperatures above 2200 K where the trend is more polynomial in nature.&lt;br /&gt;
&lt;br /&gt;
Figure 6 shows the effect of change in temperature on the Hemholtz free energy of MgO. From 50-400 K, the dominating term for the free energy is the zero point energy, and thus a change in temperature does not greatly change the free energy of the lattice and so volume changes at low temperatures are minimal. At temperatures above 2200 K not only is the entropic term completely dominating all other terms for the free energy, but also higher order anharmonic terms for the free energy that were excluded in the harmonic approximation part of the equation begin to play a large role in the free energy. This leads to the gradient no longer being linear. &amp;lt;ref&amp;gt;Masanori Matsui, Geoffrey D. Price and Atul Patel, Geophys. Res. Lett., 1994, &#039;&#039;&#039;21&#039;&#039;&#039;,  1659-1662 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The thermal expansion coefficients for MgO can be calculated through using the gradient &amp;lt;math&amp;gt; (\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt; at a specific value of &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; in the equationː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \alpha = \frac{1}{V_i} (\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt;   &amp;lt;math&amp;gt;(3)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt; \alpha &amp;lt;/math&amp;gt; is the coefficient of thermal expansion and &amp;lt;math&amp;gt;V_i&amp;lt;/math&amp;gt; is the volume of the lattice at 0 K, and &amp;lt;math&amp;gt;(\frac{\partial V}{\partial T})_p =6.16898 \times 10^{-7} T + 0.00118&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Table 2 displays thermal expansion coefficients for the polynomial fit of MgO, alongside the temperature range that the fit was made over.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 2. Calculated Linear fit Thermal Expansion Coefficients for MgO&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| 50 K&lt;br /&gt;
| 16.44&lt;br /&gt;
&lt;br /&gt;
| 1500 K&lt;br /&gt;
|40.13&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 100 K&lt;br /&gt;
| 17.26&lt;br /&gt;
&lt;br /&gt;
| 1600 K&lt;br /&gt;
| 41.76&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 200 K&lt;br /&gt;
| 18.89&lt;br /&gt;
&lt;br /&gt;
| 1700 K&lt;br /&gt;
|43.40&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 300 K&lt;br /&gt;
| 20.53&lt;br /&gt;
&lt;br /&gt;
| 1800 K&lt;br /&gt;
|45.03&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 400 K&lt;br /&gt;
| 22.16&lt;br /&gt;
&lt;br /&gt;
| 1900 K&lt;br /&gt;
|46.67&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 500 K&lt;br /&gt;
| 23.79&lt;br /&gt;
&lt;br /&gt;
| 2000 K&lt;br /&gt;
|48.30&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 600 K&lt;br /&gt;
| 25.43&lt;br /&gt;
&lt;br /&gt;
| 2100 K&lt;br /&gt;
|49.93&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 700 K&lt;br /&gt;
| 27.06&lt;br /&gt;
&lt;br /&gt;
| 2200 K&lt;br /&gt;
|51.57&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 800 K&lt;br /&gt;
| 28.69&lt;br /&gt;
&lt;br /&gt;
| 2300 K&lt;br /&gt;
|53.20&lt;br /&gt;
|-&lt;br /&gt;
| 900 K&lt;br /&gt;
| 30.33&lt;br /&gt;
&lt;br /&gt;
| 2400 K&lt;br /&gt;
|54.83&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1000 K&lt;br /&gt;
| 31.96&lt;br /&gt;
&lt;br /&gt;
| 2500 K&lt;br /&gt;
|56.47&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1100 K&lt;br /&gt;
| 33.60&lt;br /&gt;
&lt;br /&gt;
| 2600 K&lt;br /&gt;
|58.10&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1200 K&lt;br /&gt;
| 35.23&lt;br /&gt;
&lt;br /&gt;
| 2700 K&lt;br /&gt;
|59.74&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1300 K&lt;br /&gt;
| 36.86&lt;br /&gt;
&lt;br /&gt;
| 2800 K&lt;br /&gt;
|61.369&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1400 K&lt;br /&gt;
| 38.50&lt;br /&gt;
&lt;br /&gt;
| 2900 K&lt;br /&gt;
|63.00&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As we can see from the table of results, the coefficient of thermal expansion is not independent of temperature, but changes with it. In comparison to literature values&amp;lt;ref&amp;gt;A. S. Madhusudhan Rao and K. Narender, J. Chem. Thermodyn, 2014, &#039;&#039;&#039;2014&#039;&#039;&#039;, 8&amp;lt;/ref&amp;gt;, at 300 K the data obtained through this experiment largely agrees with the literature data of a value for the thermal expansion coefficient of 35.73 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Deviations from the literature values can be attributed to shortcomings of the quasi-harmonic oscillator approximation. The main approximation being that the oscillations of the atoms about their equilibrium positions are small, which for higher energy phonon modes is not representative of those modes. It is seen that the difference in our calculated values to that of literature values decreases as the temperature increases such that for a literature value of 42.51 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 1200 K, our calculated value is 35.23 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
At temperatures above the melting point of MgO - 2852 °C &amp;lt;ref&amp;gt; Haynes, William M., CRC Handbook of Chemistry and Physics (92nd ed.), Boca Raton, CRC Press., 2011&amp;lt;/ref&amp;gt; - the phonon modes of MgO are not accurate represented. This is due to the fact that above this temperature MgO melts from a solid to a liquid, and thus the approximation that the solid is a perfect lattice breaks down. This means that for temperatures near to or above 2852 °C the data is not representative of the true phonon modes as a solid is being simulated whereas in reality the material is already is a liquid and so solid phonon modes cannot describe the liquid modes.&lt;br /&gt;
&lt;br /&gt;
Although the quasi-harmonic approximation breaks down at higher temperatures, unlike other approximations such as the harmonic approximation, it can be used to model thermal expansion. Consider a diatomic harmonic oscillator, with an increase in temperature the strength of oscillation will increase, but in equal proportions relating to lengthening and contracting of the bond due to the nature of a harmonic potential. This leads to an increase in temperature not changing the equilibrium bond length and thus thermal expansion cannot be modelled. The quasi-harmonic approximation takes into account some of the anharmonic nature of the true bond and so allows thermal expansion to be modelled. This can be visualised through viewing a morse potential. A contraction of bond length in a morse potential require a much larger amount of energy than an increase in bond length, therefore at higher temperatures and so higher energies, while the bond length maximum will largely increase, the minimum bond length will change only slightly, thus on average the bond length will have lengthened. This leads to an increase in equilibrium bond length, and so applying this so a lattice leads to an increase in volume of the lattice.&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamic Simulations ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
||[[File:Ft1015MgO_MD.png|500px|thumb|&#039;&#039;&#039;Figure 7&#039;&#039;&#039;: A plot of cell volume against temperature for the molecular dynamics calculations]]&lt;br /&gt;
|[[File:Ft1015MgO_MDvsLD.png|500px|thumb|&#039;&#039;&#039;Figure 8&#039;&#039;&#039;: A plot of cell volume against temperature comparing the values calculated via Molecular Dynamics and Lattice Dynamics]]&lt;br /&gt;
|[[File:Ft1015MgO_Thermal_Expansion_Coefficient_MDvsLD.png|500px|thumb|&#039;&#039;&#039;Figure 9&#039;&#039;&#039;: A plot of the thermal expansion coefficient for both Molecular Dynamics and Lattice Dynamics simulations]]&lt;br /&gt;
|}&lt;br /&gt;
Molecular dynamics simulations were run using from 50-3700 K as shown in figure 7. Figures 8&amp;amp;9 compares the results of Molecular dynamics and Lattice Dynamics (quasi-harmonic approximation) simulations. In figure 8 it is seen that the difference in volume the MD and LD plots for the range 400-1400 K is quite small, while at temperatures lower than 400 K and higher than 1400 K the simulations begin to deviate from each other. Figure 9 compares the calculated coefficient for thermal expansion for MD and LD, taking a value at 300 K of 25.82 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 30.33 at 1200 K, in comparison to the literature values of 35.73 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 300 K and 42.51 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 1200 K, it can be seen that at lower temperatures, the MD approach is more accurate, while at higher temperature LD is more accurate. As MD calculations average the volume of the cell over set intervals - the timestep - for a set period of time, the erractic nature of the MD curve at high temperatures in figure 8 is due to the large velocites of the ions in the lattice leads to the timestep being to large to take an accurate snapshot of the system and its variations. Thus a timestep smaller than the 500 fs interval used would reduce the noise in the simulation and provide a more accurate description of the volume at higher temperatures.&lt;br /&gt;
&lt;br /&gt;
LD and MD simulations differ due to the differences between how they calculate their results and the approximations they take into account. MD differs from LD at lower temperatures due to the lack of higher order quantum corrections which LD takes into account, while at higher temperatures MD should be more accurate due to the use of Newton&#039;s classical equations which dominate all quantum effects, while LD should suffer from a lack of higher order anharmonic terms in its approximation. &amp;lt;ref&amp;gt;Masanori Matsui, Geoffrey D. Price and Atul Patel, Geophys. Res. Lett., 1994, &#039;&#039;&#039;21&#039;&#039;&#039;, 1659-1662&amp;lt;/ref&amp;gt;. In spite of this, LD produces more accurate results at higher temperatures, while MD is more accurate at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
As stated above, at temperatures near to or larger than the melting point of MgO, a LD simulation fails to produce accurate results for the volume of the cell due to the fact that a solid is still being simulated rather than a liquid. MD simulations however work through Newton&#039;s laws of motion and so can model phase transitions of materials. This can be seen in figure 7, where after the melting of MgO at 2852 K the change in volume per 100 K is larger than for temperatures below this point, due to the forces between liquid molecules being weaker than that of solids, and so thermal expansion of liquids  is larger than solid for the same change in temperature.&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
Through modelling of MgO through LD and MD simulations, the phonon distribution and density of states was calculated and a 16x16x16 grid size was found optimal for LD simulations. For LD simulations, lattice volume was found to at first increase linearly, but after 1700 K increase in a more harmonic or polynomial form with temperature. Similarly for the Hemholtz free energy, the increase in free energy was found to be more linear at first, and then become more polynomial in nature above 1700 K. LD thermal expansion coefficents were found to follow a polynomial trend, following a linear trend to 2200 K but diverging after this point to a more polynomial nature. MD simulations for the change in volume of MgO against temperature were linear throughout the temperature range sampled over, but become more erratic at higher temperatures due to the timestep being too large for the simulations. Both LD and MD simulations were found to be accurate at calculating thermal expansion coefficients, but in contrast to literature data &amp;lt;ref&amp;gt;Masanori Matsui, Geoffrey D. Price and Atul Patel, Geophys. Res. Lett., 1994, &#039;&#039;&#039;21&#039;&#039;&#039;, 1659-1662&amp;lt;/ref&amp;gt;, in the range 50-800 K, MD is found to be more accurate than LD, while above this temperature LD is found to be increasingly more accurate with an increase in temperature. Shortcomings of both LD and MD simulations were established and discussed comparatively between the two models.&lt;br /&gt;
&lt;br /&gt;
Improvement of the LD simulations could be done by introducing more anharmonic terms in to the quasi-harmonic oscillator approximation. This would increase the accuracy of the results obtained from the experiment due to those terms playing a large role at higher temperatures, but would greatly increase the time taken to simulate systems. MD could be improved by taking into account quantum effects such as the zero point energy of molecule, which play a large role in the energy at low temperatures where MD should not be as accurate as LD, or by reducing the time step, allowing for more accurate results at very high temperatures. From this experiment it can be seen that both LD and MD simulations have areas where they are better than one-another, and so knowledge on when and where to use each model would greatly increase the accuracy of results obtained. Further investigations include simulating more complex materials such as zeolites or large molecules, simulating similarly simple compounds such salts to investigate how a change in ion can affect the physical properties of compounds, and an investigation into why the results obtained from this experiment show that MD is more accurate and lower temperatures and LD at high temperatures, when the reverse should be true.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;/div&gt;</summary>
		<author><name>Ft1015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=654209</id>
		<title>Rep:FabianThomasThirdYearMgOSimulation</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=654209"/>
		<updated>2017-12-19T22:05:49Z</updated>

		<summary type="html">&lt;p&gt;Ft1015: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Abstract ==&lt;br /&gt;
Lattice Dynamics simulations using the quasi-harmonic oscillator approximation, and Molecular Dynamics simulations were carried for MgO over a range of temperatures using GULP. The phonon dispersion, density of states and thermal expansion coefficients were investigated in order to understand how a change in temperature effected the volume of MgO. It was found that a 16x16x16 grid was the optimal grid size for carrying out LD simulations. The lattice parameter and volume increased polynomially with temperature for LD simulations, while was more linear with MD simulations. Thermal expansion coefficients were calculated from 50-2900 K for LD and 50-3700 K for MD. LD was found to be better at simulating temperatures less than 700 K, while MD was more accurate above 700 K for calculating the thermal expansion coefficient of MgO. With values for the thermal expansion coefficient of 20.53 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 25.82 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 300 K, and 35.23 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 30.33 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; 1200 K for LD and MD respectively.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
One of the earliest uses of thermal expansion in daily life was the mercury thermometer. A change in temperature would lead to the mercury either taking up more or less space depending on if it became hotter or colder, thus allowing the temperature the be measured. Nowadays thermal expansion is seen in a variety of sectors in daily life, one major sector being the transportation sector. At high temperatures, train tracks which have not been built with thermal expansion in mind buckle due to the expansion of the metal. This can lead to delays, closing of railways, or in the worst case the derailment of a train due to the sharp angles of the buckled train tracks. Many motorways around the world now have expansion joints made of metal teeth that fit together, which when the temperatures rise the metal teeth in the joints expand to fill the empty space instead of cracking the road. Thus the expansion of materials under a change in temperature is an important aspect of research for many sectors in the world.&lt;br /&gt;
&lt;br /&gt;
Modelling thermal expansion using Lattice Dynamics and Molecular Dynamics and understanding the phonon modes of a material allows for the comparison between two types of simulation and the study of thermal expansion of materials. Modelling these systems using MD and LD provides a fast yet powerful way to understand the thermal expansion of the system, and thus not needing to perform possibly expensive experiments determining this property experimentally to test the viability of a material for use. Some of the most commonly used materials such as steel or concrete vary in composition depending on what application the material is being used for and so simulations similar to the ones carried out in this experiment can be used to determine the qualities of the material and what type of composition it needs to have, before production. Even though these simulations are powerful, there are questions still unanswered, how complex a system can these methods accurately simulate and are there any types of material that these simulations cannot compute?&lt;br /&gt;
&lt;br /&gt;
=== Theory ===&lt;br /&gt;
The quasi-harmonic approximation for phonons builds upon the harmonic approximation for phonon dynamics, and therefore to explain the quasi-harmonic approximation we must first discuss the harmonic approximation&lt;br /&gt;
&lt;br /&gt;
For a regular, linear chain which is composed of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; number of particles, the forces between a pair of atoms can be assumed to be a potential energy function &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; which depends on the distance of the separation between the atoms. The main contributing forces to the potential are described by an electric force, such as electrostatic attractions, covalent bonds or Van der Waals forces. Therefore the potential energy of the entire lattice made up of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; atoms is the sum of the potential energies between each pair of atoms with a separation r from each other shown below in eq 1.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV(r)&amp;lt;/math&amp;gt;       &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, allowing each atom to deviate slightly from its equilibrium position by a displacement &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;, if the deviations are small in comparison to the distance between each atom &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;, the energy of this chain is able to be calculated via a taylor expansion summing over all of the atoms in the chain.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV + \sum_{s\ge 1} \frac {1}{s !} \frac {\partial^s V}{\partial u^s} \sum_{n}&lt;br /&gt;
 (u_n - u_{n+1})^s&amp;lt;/math&amp;gt;     &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;u_n&amp;lt;/math&amp;gt; is the displacement of the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;th atom from its equilibrium postition&lt;br /&gt;
&lt;br /&gt;
Two approximations are used in order to reach this equation, which together forms the harmonic approximation and it&#039;s respective equation. The first approximation states that the sum of the pair potential energies is completed over only neighboring atoms, as although there are electric forces between all atoms, these forces on atoms far away from one another are greatly diminished by screening by the atoms in between, and that the potential energies are treated as harmonic potential energies. In this equation, the first derivative is zero, whereas higher order terms are not, and so the first term can be dropped, and the second term is used where &amp;lt;math&amp;gt;s = 2&amp;lt;/math&amp;gt;, with higher order terms being neglected. These higher order terms are ignored as harmonic equations of motion have exact solutions, while anharmonic equations do not have exact solutions to them and require more approximations. Thus the energy of the lattice is thus the same as the energy of the set of harmonic oscillators. The error in this equation remains small for small values of &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;&lt;br /&gt;
as the value of higher order terms will remain low.&lt;br /&gt;
&amp;lt;ref&amp;gt;M. T. Dove, Introduction to lattice dynamics, Cambridge University Press, Cambridge ; New York, Digitally printed 1st pbk. edn. 2005 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The quasi-harmonic approximation expands upon the harmonic approximation by taking into account some of the true anharmonicity of the interactions between atoms. The quasi-harmonic approximation relates the hemholtz free energy of a perfect lattice to both its temperature and its volume, in contrast to the harmonic oscillator approximation which only depended on temperature, this is shown below in eq. 5&amp;lt;ref&amp;gt;Martin T. Dove, Introduction to Lattice Dynamics (Cambridge Topics in Mineral Physics and Chemistry), Cambridge University Press, Cambridge, 1993&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; F = E_0 + \frac {1}{2}\sum_{k,j}^{} \hbar \omega _k + k_B T \sum_{k,j}^{}ln(1-e^{\frac {-\hbar \omega _k }{k_B T}})&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(5)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;F&amp;lt;/math&amp;gt; is the Hemholtz free energy and &amp;lt;math&amp;gt;E_0&amp;lt;/math&amp;gt; is the lattice energy&lt;br /&gt;
&lt;br /&gt;
As this definition of the free energy also takes into account the volume of the lattice, this allows thermal expansion to be calculated as it allows the harmonic approximation to hold for all temperatures.&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics simulates a lattice of atoms using Newton&#039;s equations of motion and so simulated the cell over a certain period of time, taking a time-average of the cell to obtain physical quantities. In the simulations run in this experiment, an isothermal-isobaric (NPT) ensemble was used to calculate the thermal expansion coefficients and volume of the MgO cell at specific temperatures. As MD is based on Newton&#039;s laws of motion it does not take into account quantum effects such as the zero-point energy of a material in comparison to QHA which does.&lt;br /&gt;
&lt;br /&gt;
== Results and Discussion ==&lt;br /&gt;
&lt;br /&gt;
=== Phonon modes and Free Energy of MgO ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|[[File:Ft1015MgO_phonon_dispersion.PNG|500px|thumb|&#039;&#039;&#039;Figure 1&#039;&#039;&#039;: A phonon dispersion plot for MgO]]&lt;br /&gt;
|[[File:Ft1015MgO_DoS.PNG|500px|thumb|&#039;&#039;&#039;Figure 2&#039;&#039;&#039;: A plot of the density of states for MgO using a 1x1x1 grid size]]&lt;br /&gt;
|[[File:Ft1015MgO_DoS_20x20x20.PNG|500px|thumb|left|&#039;&#039;&#039;Figure 3&#039;&#039;&#039;: The optimised plot of the density of states for MgO using a 16x16x16 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From figures 1 and 2, we can see the computed phonon dispersion curve and density of states for a 1x1x1 grid size containing one k-point. Correlating the density of states with the dispersion curve via their shared axis of frequency of vibration yields the k-point L on the dispersion curve as the singular k-point used for the calculation. The density of states shows bands at 286 and 351 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 676 and 806 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, with the intensities of the first two bands double that of the final two bands. These bands correspond to three acoustic and three optical branches, with the first two bands of 0.333 intensity corresponding to a k-point where two branches are overlapping and are therefore degenerate states.&lt;br /&gt;
&lt;br /&gt;
Varying the grid size used for the calculation greatly affected the accuracy and precision of the results of calculations through increasing the number of k-points sampled in eq. 4ː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\omega ^{2}(k) = C(\frac{1}{M_{Mg}} + \frac{1}{M_{O}}) \pm \sqrt {(\frac{1}{M_{Mg}} + \frac{1}{M_{O}})^{2} - \frac{4sin^{2}(ka)}{M_{Mg}}}&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(4)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; is the spring force constant, &amp;lt;math&amp;gt;M_{Mg}&amp;lt;/math&amp;gt; is the molar mass of magnesium and &amp;lt;math&amp;gt;M_{O}&amp;lt;/math&amp;gt; is the molar mass of oxygen&lt;br /&gt;
&lt;br /&gt;
As the grid size increases, and thus the more k-points sampled, more and more features become visible, with the increase in number of points sampled along the dispersion curve leading to the increase in number of bands seen in the density of states. Optimising the grid size led to a grid size of 16x16x16 being optimal. As expected, the density of states plot produced from this grid size was smooth, as can be seen in figure 3. This curve was proved to be a good optimisation through looking at the Hemholtz free energy for each of the simulated grid sizes. As the accuracy of the Helmholtz free energy result directly depends on the number of k-space points sampled in the calculations as can be seen in eq. 2. Similarly to eq. 4, the larger the grid size, and therefore the more k-points sampled, the more accurate the result. Comparing the free energy of the 16x16x16 grid to the 32x32x32 grid; which for higher order grids remained constant and so had converged, the 16x16x16 was accurate to within 0.001 meV or 2.4434 × 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; %.&lt;br /&gt;
&lt;br /&gt;
In comparison to smaller grid sizes, the 16x16x16 grid size curve appears more smooth, and more akin to a single band as seen for macrostructures. Larger grid sizes, while greatly increasing the computation time of the calculation did not largely increase the accuracy of the calculations as stated above, and therefore the 16x16x16 grid size was the optimal choice for these simulations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 1. Calculated Total Difference in Hemholtz Free Energy &lt;br /&gt;
! Grid Size&lt;br /&gt;
! Total Difference in Free Energy&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 3.818&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.126&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -0.051&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -0.033&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -0.001&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| -0.000&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| 0.000&lt;br /&gt;
|-&lt;br /&gt;
| 64&lt;br /&gt;
| 0.000&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Table 1 shows the difference between the calculated free energy for grid size and the final converged free energy. Looking at this, we can see that for grid sizes larger than 24x24x24, there is no change in the free energy of the system and so the free energy has converged to a minima, although it may not be the global minimum. The accuracy of simulations also increase rapidly with grid size, for example for accurate simulated energies to 1, 0.5 and 0.1 meV per cell, grid sizes of 2x2x2, 4x4x4 and 8x8x8 respectively can be used. This rapid increase in the accuracy of the calculation can be attributed to the large increase in k-points sampled over within the summations in eq. 2 with increasing grid size.&lt;br /&gt;
&lt;br /&gt;
However, the optimal grid size dependent on the material used due to the relationship between the lattice parameter, and the size of the first brillouin zone in k-space. For a similar oxide such as CaO, in comparsion to the lattice parameter of MgO of 4.212 Å &amp;lt;ref&amp;gt; A. CIMINO, P. PORTA and M. VALIGI, J. Am. Ceram. Soc, 1966, &#039;&#039;&#039;49&#039;&#039;&#039;, 152–156 &amp;lt;/ref&amp;gt;, the parameter of CaO is 4.864 Å &amp;lt;ref&amp;gt;Mackrodt, W. C., Harrison, N. M., Saunders, V. R., Allan, N. L. and Towler, M. D., Aprà, E., Dovesi, R., Philos. Mag. A, 1993 , &#039;&#039;&#039;68&#039;&#039;&#039;, 653-666 &amp;lt;/ref&amp;gt;, slightly larger than that of MgO. This leads to a slightly smaller grid size being optimal, as the larger lattice parameter leads to a smaller brillouin zone in reciprocal space as if the lattice parameter &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; is larger, then the size of the first brillouin zone &amp;lt;math&amp;gt;a^{*}= \frac {2 \pi}{a} &amp;lt;/math&amp;gt;will be smaller. This in turn allows less points to be sampled inside the region to give the same spacing of points, and therefore accuracy for the density of states as for MgO. Similarly, the zeolite faujsite has an extremely large lattice parameter of 25.132 Å &amp;lt;ref&amp;gt;E. Dempsey, G. H. Kuhl, and D. H. Olson, Phys. Chem., 1969, &#039;&#039;&#039;73&#039;&#039;&#039;, 387–390 &amp;lt;/ref&amp;gt;, in comparison to MgO. This; as with the case of CaO but more exaggerated, leads to a much smaller brillouin zone in reciprocal space, and so allows for a much smaller grid size to give the same accuracy as the MgO calculation due to the extremely small value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; obtained for faujsite.&lt;br /&gt;
Conversely, lithium has a smaller lattice spacing of 3.51 Å &amp;lt;ref&amp;gt;M.R. Nadler and C.P. Kempfer, Anal. Chem., 1959, &#039;&#039;&#039;31&#039;&#039;&#039;, 2109-2111&amp;lt;/ref&amp;gt;. Therefore the value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; for lithium will be larger than for MgO, and so require a larger grid size to obtain the same spacing between sampled k-space points and therefore accuracy of the calculated density of states.&lt;br /&gt;
&lt;br /&gt;
=== Thermal Expansion of MgO ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
||[[File:Ft1015Latticeparametervskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 4&#039;&#039;&#039;: A plot of lattice parameter against temperature for MgO]]&lt;br /&gt;
|[[File:Ft1015Latticevolumevskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 5&#039;&#039;&#039;: A plot of lattice volume against temperature for MgO, with the magenta line on the graph corresponding to the polynomial fit for the graph, and the red point the points which were not fitted over]]&lt;br /&gt;
|[[File:Ft1015Hemholtzvskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 6&#039;&#039;&#039;: A plot of free energy against temperature for MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The physical origin of thermal expansion for a solid lattice arises from the increase of kinetic energy of a material with an increase in temperature. All atoms within a lattice vibrate and move about their positions within the lattice and with an increase in temperature, each atom in the lattice gains kinetic energy, increasing the strength of its vibrations and the speed at which the atoms move. Due to this, the atoms on average take up more space at higher temperatures than lower temperatures and so averaged out over many atoms in a lattice, this increases the volume of the lattice.&lt;br /&gt;
&lt;br /&gt;
Figures 4 &amp;amp; 5 show the effect of change on temperature on the lattice parameter and volume of MgO in the range of 50-2900 K. As we can seen from the figures, from 50-400 K, a change in temperature does not largely increase the volume, while above 400 K the trend seems to be linear with respect to volume increase through an increase in temperature. This is however not the case at higher temperatures above 2200 K where the trend is more polynomial in nature.&lt;br /&gt;
&lt;br /&gt;
Figure 6 shows the effect of change in temperature on the Hemholtz free energy of MgO. From 50-400 K, the dominating term for the free energy is the zero point energy, and thus a change in temperature does not greatly change the free energy of the lattice and so volume changes at low temperatures are minimal. At temperatures above 2200 K not only is the entropic term completely dominating all other terms for the free energy, but also higher order anharmonic terms for the free energy that were excluded in the harmonic approximation part of the equation begin to play a large role in the free energy. This leads to the gradient no longer being linear. &amp;lt;ref&amp;gt;Masanori Matsui, Geoffrey D. Price and Atul Patel, Geophys. Res. Lett., 1994, &#039;&#039;&#039;21&#039;&#039;&#039;,  1659-1662 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The thermal expansion coefficients for MgO can be calculated through using the gradient &amp;lt;math&amp;gt; (\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt; at a specific value of &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; in the equationː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \alpha = \frac{1}{V_i} (\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt;   &amp;lt;math&amp;gt;(3)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt; \alpha &amp;lt;/math&amp;gt; is the coefficient of thermal expansion and &amp;lt;math&amp;gt;V_i&amp;lt;/math&amp;gt; is the volume of the lattice at 0 K, and &amp;lt;math&amp;gt;(\frac{\partial V}{\partial T})_p =6.16898 \times 10^{-7} T + 0.00118&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Table 2 displays thermal expansion coefficients for the polynomial fit of MgO, alongside the temperature range that the fit was made over.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 2. Calculated Linear fit Thermal Expansion Coefficients for MgO&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| 50 K&lt;br /&gt;
| 16.44&lt;br /&gt;
&lt;br /&gt;
| 1500 K&lt;br /&gt;
|40.13&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 100 K&lt;br /&gt;
| 17.26&lt;br /&gt;
&lt;br /&gt;
| 1600 K&lt;br /&gt;
| 41.76&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 200 K&lt;br /&gt;
| 18.89&lt;br /&gt;
&lt;br /&gt;
| 1700 K&lt;br /&gt;
|43.40&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 300 K&lt;br /&gt;
| 20.53&lt;br /&gt;
&lt;br /&gt;
| 1800 K&lt;br /&gt;
|45.03&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 400 K&lt;br /&gt;
| 22.16&lt;br /&gt;
&lt;br /&gt;
| 1900 K&lt;br /&gt;
|46.67&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 500 K&lt;br /&gt;
| 23.79&lt;br /&gt;
&lt;br /&gt;
| 2000 K&lt;br /&gt;
|48.30&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 600 K&lt;br /&gt;
| 25.43&lt;br /&gt;
&lt;br /&gt;
| 2100 K&lt;br /&gt;
|49.93&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 700 K&lt;br /&gt;
| 27.06&lt;br /&gt;
&lt;br /&gt;
| 2200 K&lt;br /&gt;
|51.57&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 800 K&lt;br /&gt;
| 28.69&lt;br /&gt;
&lt;br /&gt;
| 2300 K&lt;br /&gt;
|53.20&lt;br /&gt;
|-&lt;br /&gt;
| 900 K&lt;br /&gt;
| 30.33&lt;br /&gt;
&lt;br /&gt;
| 2400 K&lt;br /&gt;
|54.83&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1000 K&lt;br /&gt;
| 31.96&lt;br /&gt;
&lt;br /&gt;
| 2500 K&lt;br /&gt;
|56.47&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1100 K&lt;br /&gt;
| 33.60&lt;br /&gt;
&lt;br /&gt;
| 2600 K&lt;br /&gt;
|58.10&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1200 K&lt;br /&gt;
| 35.23&lt;br /&gt;
&lt;br /&gt;
| 2700 K&lt;br /&gt;
|59.74&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1300 K&lt;br /&gt;
| 36.86&lt;br /&gt;
&lt;br /&gt;
| 2800 K&lt;br /&gt;
|61.369&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1400 K&lt;br /&gt;
| 38.50&lt;br /&gt;
&lt;br /&gt;
| 2900 K&lt;br /&gt;
|63.00&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As we can see from the table of results, the coefficient of thermal expansion is not independent of temperature, but changes with it. In comparison to literature values&amp;lt;ref&amp;gt;A. S. Madhusudhan Rao and K. Narender, J. Chem. Thermodyn, 2014, &#039;&#039;&#039;2014&#039;&#039;&#039;, 8&amp;lt;/ref&amp;gt;, at 300 K the data obtained through this experiment largely agrees with the literature data of a value for the thermal expansion coefficient of 35.73 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Deviations from the literature values can be attributed to shortcomings of the quasi-harmonic oscillator approximation. The main approximation being that the oscillations of the atoms about their equilibrium positions are small, which for higher energy phonon modes is not representative of those modes. It is seen that the difference in our calculated values to that of literature values decreases as the temperature increases such that for a literature value of 42.51 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 1200 K, our calculated value is 35.23 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
At temperatures above the melting point of MgO - 2852 °C &amp;lt;ref&amp;gt; Haynes, William M., CRC Handbook of Chemistry and Physics (92nd ed.), Boca Raton, CRC Press., 2011&amp;lt;/ref&amp;gt; - the phonon modes of MgO are not accurate represented. This is due to the fact that above this temperature MgO melts from a solid to a liquid, and thus the approximation that the solid is a perfect lattice breaks down. This means that for temperatures near to or above 2852 °C the data is not representative of the true phonon modes as a solid is being simulated whereas in reality the material is already is a liquid and so solid phonon modes cannot describe the liquid modes.&lt;br /&gt;
&lt;br /&gt;
Although the quasi-harmonic approximation breaks down at higher temperatures, unlike other approximations such as the harmonic approximation, it can be used to model thermal expansion. Consider a diatomic harmonic oscillator, with an increase in temperature the strength of oscillation will increase, but in equal proportions relating to lengthening and contracting of the bond due to the nature of a harmonic potential. This leads to an increase in temperature not changing the equilibrium bond length and thus thermal expansion cannot be modelled. The quasi-harmonic approximation takes into account some of the anharmonic nature of the true bond and so allows thermal expansion to be modelled. This can be visualised through viewing a morse potential. A contraction of bond length in a morse potential require a much larger amount of energy than an increase in bond length, therefore at higher temperatures and so higher energies, while the bond length maximum will largely increase, the minimum bond length will change only slightly, thus on average the bond length will have lengthened. This leads to an increase in equilibrium bond length, and so applying this so a lattice leads to an increase in volume of the lattice.&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamic Simulations ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
||[[File:Ft1015MgO_MD.png|500px|thumb|&#039;&#039;&#039;Figure 7&#039;&#039;&#039;: A plot of cell volume against temperature for the molecular dynamics calculations]]&lt;br /&gt;
|[[File:Ft1015MgO_MDvsLD.png|500px|thumb|&#039;&#039;&#039;Figure 8&#039;&#039;&#039;: A plot of cell volume against temperature comparing the values calculated via Molecular Dynamics and Lattice Dynamics]]&lt;br /&gt;
|[[File:Ft1015MgO_Thermal_Expansion_Coefficient_MDvsLD.png|500px|thumb|&#039;&#039;&#039;Figure 9&#039;&#039;&#039;: A plot of the thermal expansion coefficient for both Molecular Dynamics and Lattice Dynamics simulations]]&lt;br /&gt;
|}&lt;br /&gt;
Molecular dynamics simulations were run using from 50-3700 K as shown in figure 7. Figures 8&amp;amp;9 compares the results of Molecular dynamics and Lattice Dynamics (quasi-harmonic approximation) simulations. In figure 8 it is seen that the difference in volume the MD and LD plots for the range 400-1400 K is quite small, while at temperatures lower than 400 K and higher than 1400 K the simulations begin to deviate from each other. Figure 9 compares the calculated coefficient for thermal expansion for MD and LD, taking a value at 300 K of 25.82 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 30.33 at 1200 K, in comparison to the literature values of 35.73 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 300 K and 42.51 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 1200 K, it can be seen that at lower temperatures, the MD approach is more accurate, while at higher temperature LD is more accurate. As MD calculations average the volume of the cell over set intervals - the timestep - for a set period of time, the erractic nature of the MD curve at high temperatures in figure 8 is due to the large velocites of the ions in the lattice leads to the timestep being to large to take an accurate snapshot of the system and its variations. Thus a timestep smaller than the 500 fs interval used would reduce the noise in the simulation and provide a more accurate description of the volume at higher temperatures.&lt;br /&gt;
&lt;br /&gt;
LD and MD simulations differ due to the differences between how they calculate their results and the approximations they take into account. MD differs from LD at lower temperatures due to the lack of higher order quantum corrections which LD takes into account, while at higher temperatures MD should be more accurate due to the use of Newton&#039;s classical equations which dominate all quantum effects, while LD should suffer from a lack of higher order anharmonic terms in its approximation. &amp;lt;ref&amp;gt;Masanori Matsui, Geoffrey D. Price and Atul Patel, Geophys. Res. Lett., 1994, &#039;&#039;&#039;21&#039;&#039;&#039;, 1659-1662&amp;lt;/ref&amp;gt;. In spite of this, LD produces more accurate results at higher temperatures, while MD is more accurate at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
As stated above, at temperatures near to or larger than the melting point of MgO, a LD simulation fails to produce accurate results for the volume of the cell due to the fact that a solid is still being simulated rather than a liquid. MD simulations however work through Newton&#039;s laws of motion and so can model phase transitions of materials. This can be seen in figure 7, where after the melting of MgO at 2852 K the change in volume per 100 K is larger than for temperatures below this point, due to the forces between liquid molecules being weaker than that of solids, and so thermal expansion of liquids  is larger than solid for the same change in temperature.&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
Through modelling of MgO through LD and MD simulations, the phonon distribution and density of states was calculated and a 16x16x16 grid size was found optimal for LD simulations. For LD simulations, lattice volume was found to at first increase linearly, but after 1700 K increase in a more harmonic or polynomial form with temperature. Similarly for the Hemholtz free energy, the increase in free energy was found to be more linear at first, and then become more polynomial in nature above 1700 K. LD thermal expansion coefficents were found to follow a polynomial trend, following a linear trend to 2200 K but diverging after this point to a more polynomial nature. MD simulations for the change in volume of MgO against temperature were linear throughout the temperature range sampled over, but become more erratic at higher temperatures due to the timestep being too large for the simulations. Both LD and MD simulations were found to be accurate at calculating thermal expansion coefficients, but in contrast to literature data &amp;lt;ref&amp;gt;Masanori Matsui, Geoffrey D. Price and Atul Patel, Geophys. Res. Lett., 1994, &#039;&#039;&#039;21&#039;&#039;&#039;, 1659-1662&amp;lt;/ref&amp;gt;, in the range 50-800 K, MD is found to be more accurate than LD, while above this temperature LD is found to be increasingly more accurate with an increase in temperature. Shortcomings of both LD and MD simulations were established and discussed comparatively between the two models.&lt;br /&gt;
&lt;br /&gt;
Improvement of the LD simulations could be done by introducing more anharmonic terms in to the quasi-harmonic oscillator approximation. This would increase the accuracy of the results obtained from the experiment due to those terms playing a large role at higher temperatures, but would greatly increase the time taken to simulate systems. MD could be improved by taking into account quantum effects such as the zero point energy of molecule, which play a large role in the energy at low temperatures where MD should not be as accurate as LD, or by reducing the time step, allowing for more accurate results at very high temperatures. From this experiment it can be seen that both LD and MD simulations have areas where they are better than one-another, and so knowledge on when and where to use each model would greatly increase the accuracy of results obtained. Further investigations include simulating more complex materials such as zeolites or large molecules, simulating similarly simple compounds such salts to investigate how a change in ion can affect the physical properties of compounds, and an investigation into why the results obtained from this experiment show that MD is more accurate and lower temperatures and LD at high temperatures, when the reverse should be true.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;/div&gt;</summary>
		<author><name>Ft1015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=654173</id>
		<title>Rep:FabianThomasThirdYearMgOSimulation</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=654173"/>
		<updated>2017-12-19T21:40:11Z</updated>

		<summary type="html">&lt;p&gt;Ft1015: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Abstract ==&lt;br /&gt;
Lattice Dynamics simulations using the quasi-harmonic oscillator approximation, and Molecular Dynamics simulations were carried for MgO over a range of temperatures using GULP. The phonon dispersion, density of states and thermal expansion coefficients were investigated in order to understand how a change in temperature effected the volume of MgO. It was found that a 16x16x16 grid was the optimal grid size for carrying out LD simulations. The lattice parameter and volume increased polynomially with temperature for LD simulations, while was more linear with MD simulations. Thermal expansion coefficients were calculated from 50-2900 K for LD and 50-3700 K for MD. LD was found to be better at simulating temperatures less than 700 K, while MD was more accurate above 700 K for calculating the thermal expansion coefficient of MgO. With values for the thermal expansion coefficient of 20.53 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 25.82 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 300 K, and 35.23 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 30.33 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; 1200 K for LD and MD respectively.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
One of the earliest uses of thermal expansion in daily life was the mercury thermometer. A change in temperature would lead to the mercury either taking up more or less space depending on if it became hotter or colder, thus allowing the temperature the be measured. Nowadays thermal expansion is seen in a variety of sectors in daily life, one major sector being the transportation sector. At high temperatures, train tracks which have not been built with thermal expansion in mind buckle due to the expansion of the metal. This can lead to delays, closing of railways, or in the worst case the derailment of a train due to the sharp angles of the buckled train tracks. Many motorways around the world now have expansion joints made of metal teeth that fit together, which when the temperatures rise the metal teeth in the joints expand to fill the empty space instead of cracking the road. Thus the expansion of materials under a change in temperature is an important aspect of research for many sectors in the world.&lt;br /&gt;
&lt;br /&gt;
Modelling thermal expansion using Lattice Dynamics and Molecular Dynamics and understanding the phonon modes of a material allows for the comparison between two types of simulation and the study of thermal expansion of materials. Modelling these systems using MD and LD provides a fast yet powerful way to understand the thermal expansion of the system, and thus not needing to perform possibly expensive experiments determining this property experimentally to test the viability of a material for use. Some of the most commonly used materials such as steel or concrete vary in composition depending on what application the material is being used for and so simulations similar to the ones carried out in this experiment can be used to determine the qualities of the material and what type of composition it needs to have, before production. Even though these simulations are powerful, there are questions still unanswered, how complex a system can these methods accurately simulate and are there any types of material that these simulations cannot compute?&lt;br /&gt;
&lt;br /&gt;
=== Theory ===&lt;br /&gt;
The quasi-harmonic approximation for phonons builds upon the harmonic approximation for phonon dynamics, and therefore to explain the quasi-harmonic approximation we must first discuss the harmonic approximation&lt;br /&gt;
&lt;br /&gt;
For a regular, linear chain which is composed of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; number of particles, the forces between a pair of atoms can be assumed to be a potential energy function &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; which depends on the distance of the separation between the atoms. The main contributing forces to the potential are described by an electric force, such as electrostatic attractions, covalent bonds or Van der Waals forces. Therefore the potential energy of the entire lattice made up of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; atoms is the sum of the potential energies between each pair of atoms with a separation r from each other shown below in eq 1.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV(r)&amp;lt;/math&amp;gt;       &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, allowing each atom to deviate slightly from its equilibrium position by a displacement &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;, if the deviations are small in comparison to the distance between each atom &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;, the energy of this chain is able to be calculated via a taylor expansion summing over all of the atoms in the chain.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV + \sum_{s\ge 1} \frac {1}{s !} \frac {\partial^s V}{\partial u^s} \sum_{n}&lt;br /&gt;
 (u_n - u_{n+1})^s&amp;lt;/math&amp;gt;     &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;u_n&amp;lt;/math&amp;gt; is the displacement of the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;th atom from its equilibrium postition&lt;br /&gt;
&lt;br /&gt;
Two approximations are used in order to reach this equation, which together forms the harmonic approximation and it&#039;s respective equation. The first approximation states that the sum of the pair potential energies is completed over only neighboring atoms, as although there are electric forces between all atoms, these forces on atoms far away from one another are greatly diminished by screening by the atoms in between, and that the potential energies are treated as harmonic potential energies. In this equation, the first derivative is zero, whereas higher order terms are not, and so the first term can be dropped, and the second term is used where &amp;lt;math&amp;gt;s = 2&amp;lt;/math&amp;gt;, with higher order terms being neglected. These higher order terms are ignored as harmonic equations of motion have exact solutions, while anharmonic equations do not have exact solutions to them and require more approximations. Thus the energy of the lattice is thus the same as the energy of the set of harmonic oscillators. The error in this equation remains small for small values of &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;&lt;br /&gt;
as the value of higher order terms will remain low.&lt;br /&gt;
&amp;lt;ref&amp;gt;M. T. Dove, Introduction to lattice dynamics, Cambridge University Press, Cambridge ; New York, Digitally printed 1st pbk. edn. 2005 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The quasi-harmonic approximation expands upon the harmonic approximation by taking into account some of the true anharmonicity of the interactions between atoms. The quasi-harmonic approximation relates the hemholtz free energy of a perfect lattice to both its temperature and its volume, in contrast to the harmonic oscillator approximation which only depended on temperature, this is shown below in eq. 5&amp;lt;ref&amp;gt;Martin T. Dove, Introduction to Lattice Dynamics (Cambridge Topics in Mineral Physics and Chemistry), Cambridge University Press, Cambridge, 1993&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; F = E_0 + \frac {1}{2}\sum_{k,j}^{} \hbar \omega _k + k_B T \sum_{k,j}^{}ln(1-e^{\frac {-\hbar \omega _k }{k_B T}})&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(5)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;F&amp;lt;/math&amp;gt; is the Hemholtz free energy and &amp;lt;math&amp;gt;E_0&amp;lt;/math&amp;gt; is the lattice energy&lt;br /&gt;
&lt;br /&gt;
As this definition of the free energy also takes into account the volume of the lattice, this allows thermal expansion to be calculated as it allows the harmonic approximation to hold for all temperatures.&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics simulates a lattice of atoms using Newton&#039;s equations of motion and so simulated the cell over a certain period of time, taking a time-average of the cell to obtain physical quantities. In the simulations run in this experiment, an isothermal-isobaric (NPT) ensemble was used to calculate the thermal expansion coefficients and volume of the MgO cell at specific temperatures. As MD is based on Newton&#039;s laws of motion it does not take into account quantum effects such as the zero-point energy of a material in comparison to QHA which does.&lt;br /&gt;
&lt;br /&gt;
== Results and Discussion ==&lt;br /&gt;
&lt;br /&gt;
=== Phonon modes and Free Energy of MgO ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|[[File:Ft1015MgO_phonon_dispersion.PNG|500px|thumb|&#039;&#039;&#039;Figure 1&#039;&#039;&#039;: A phonon dispersion plot for MgO]]&lt;br /&gt;
|[[File:Ft1015MgO_DoS.PNG|500px|thumb|&#039;&#039;&#039;Figure 2&#039;&#039;&#039;: A plot of the density of states for MgO using a 1x1x1 grid size]]&lt;br /&gt;
|[[File:Ft1015MgO_DoS_20x20x20.PNG|500px|thumb|left|&#039;&#039;&#039;Figure 3&#039;&#039;&#039;: The optimised plot of the density of states for MgO using a 16x16x16 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From figures 1 and 2, we can see the computed phonon dispersion curve and density of states for a 1x1x1 grid size containing one k-point. Correlating the density of states with the dispersion curve via their shared axis of frequency of vibration yields the k-point L on the dispersion curve as the singular k-point used for the calculation. The density of states shows bands at 286 and 351 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 676 and 806 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, with the intensities of the first two bands double that of the final two bands. These bands correspond to three acoustic and three optical branches, with the first two bands of 0.333 intensity corresponding to a k-point where two branches are overlapping and are therefore degenerate states.&lt;br /&gt;
&lt;br /&gt;
Varying the grid size used for the calculation greatly affected the accuracy and precision of the results of calculations through increasing the number of k-points sampled in eq. 4ː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\omega ^{2}(k) = C(\frac{1}{M_{Mg}} + \frac{1}{M_{O}}) \pm \sqrt {(\frac{1}{M_{Mg}} + \frac{1}{M_{O}})^{2} - \frac{4sin^{2}(ka)}{M_{Mg}}}&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(4)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; is the spring force constant, &amp;lt;math&amp;gt;M_{Mg}&amp;lt;/math&amp;gt; is the molar mass of magnesium and &amp;lt;math&amp;gt;M_{O}&amp;lt;/math&amp;gt; is the molar mass of oxygen&lt;br /&gt;
&lt;br /&gt;
As the grid size increases, and thus the more k-points sampled, more and more features become visible, with the increase in number of points sampled along the dispersion curve leading to the increase in number of bands seen in the density of states. Optimising the grid size led to a grid size of 16x16x16 being optimal. As expected, the density of states plot produced from this grid size was smooth, as can be seen in figure 3. This curve was proved to be a good optimisation through looking at the Hemholtz free energy for each of the simulated grid sizes. As the accuracy of the Helmholtz free energy result directly depends on the number of k-space points sampled in the calculations as can be seen in eq. 2. Similarly to eq. 4, the larger the grid size, and therefore the more k-points sampled, the more accurate the result. Comparing the free energy of the 16x16x16 grid to the 32x32x32 grid; which for higher order grids remained constant and so had converged, the 16x16x16 was accurate to within 0.001 meV or 2.4434 × 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; %.&lt;br /&gt;
&lt;br /&gt;
In comparison to smaller grid sizes, the 16x16x16 grid size curve appears more smooth, and more akin to a single band as seen for macrostructures. Larger grid sizes, while greatly increasing the computation time of the calculation did not largely increase the accuracy of the calculations as stated above, and therefore the 16x16x16 grid size was the optimal choice for these simulations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 1. Calculated Total Difference in Hemholtz Free Energy &lt;br /&gt;
! Grid Size&lt;br /&gt;
! Total Difference in Free Energy&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 3.818&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.126&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -0.051&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -0.033&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -0.001&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| -0.000&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| 0.000&lt;br /&gt;
|-&lt;br /&gt;
| 64&lt;br /&gt;
| 0.000&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Table 1 shows the difference between the calculated free energy for grid size and the final converged free energy. Looking at this, we can see that for grid sizes larger than 24x24x24, there is no change in the free energy of the system and so the free energy has converged to a minima, although it may not be the global minimum. The accuracy of simulations also increase rapidly with grid size, for example for accurate simulated energies to 1, 0.5 and 0.1 meV per cell, grid sizes of 2x2x2, 4x4x4 and 8x8x8 respectively can be used. This rapid increase in the accuracy of the calculation can be attributed to the large increase in k-points sampled over within the summations in eq. 2 with increasing grid size.&lt;br /&gt;
&lt;br /&gt;
However, the optimal grid size dependent on the material used due to the relationship between the lattice parameter, and the size of the first brillouin zone in k-space. For a similar oxide such as CaO, in comparsion to the lattice parameter of MgO of 4.212 Å &amp;lt;ref&amp;gt; A. CIMINO, P. PORTA and M. VALIGI, J. Am. Ceram. Soc, 1966, &#039;&#039;&#039;49&#039;&#039;&#039;, 152–156 &amp;lt;/ref&amp;gt;, the parameter of CaO is 4.864 Å &amp;lt;ref&amp;gt;Mackrodt, W. C., Harrison, N. M., Saunders, V. R., Allan, N. L. and Towler, M. D., Aprà, E., Dovesi, R., Philos. Mag. A, 1993 , &#039;&#039;&#039;68&#039;&#039;&#039;, 653-666 &amp;lt;/ref&amp;gt;, slightly larger than that of MgO. This leads to a slightly smaller grid size being optimal, as the larger lattice parameter leads to a smaller brillouin zone in reciprocal space as if the lattice parameter &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; is larger, then the size of the first brillouin zone &amp;lt;math&amp;gt;a^{*}= \frac {2 \pi}{a} &amp;lt;/math&amp;gt;will be smaller. This in turn allows less points to be sampled inside the region to give the same spacing of points, and therefore accuracy for the density of states as for MgO. Similarly, the zeolite faujsite has an extremely large lattice parameter of 25.132 Å &amp;lt;ref&amp;gt;E. Dempsey, G. H. Kuhl, and D. H. Olson, Phys. Chem., 1969, &#039;&#039;&#039;73&#039;&#039;&#039;, 387–390 &amp;lt;/ref&amp;gt;, in comparison to MgO. This; as with the case of CaO but more exaggerated, leads to a much smaller brillouin zone in reciprocal space, and so allows for a much smaller grid size to give the same accuracy as the MgO calculation due to the extremely small value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; obtained for faujsite.&lt;br /&gt;
Conversely, lithium has a smaller lattice spacing of 3.51 Å &amp;lt;ref&amp;gt;M.R. Nadler and C.P. Kempfer, Anal. Chem., 1959, &#039;&#039;&#039;31&#039;&#039;&#039;, 2109-2111&amp;lt;/ref&amp;gt;. Therefore the value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; for lithium will be larger than for MgO, and so require a larger grid size to obtain the same spacing between sampled k-space points and therefore accuracy of the calculated density of states.&lt;br /&gt;
&lt;br /&gt;
=== Thermal Expansion of MgO ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
||[[File:Ft1015Latticeparametervskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 4&#039;&#039;&#039;: A plot of lattice parameter against temperature for MgO]]&lt;br /&gt;
|[[File:Ft1015Latticevolumevskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 5&#039;&#039;&#039;: A plot of lattice volume against temperature for MgO, with the magenta line on the graph corresponding to the polynomial fit for the graph, and the red point the points which were not fitted over]]&lt;br /&gt;
|[[File:Ft1015Hemholtzvskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 6&#039;&#039;&#039;: A plot of free energy against temperature for MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The physical origin of thermal expansion for a solid lattice arises from the increase of kinetic energy of a material with an increase in temperature. All atoms within a lattice vibrate and move about their positions within the lattice and with an increase in temperature, each atom in the lattice gains kinetic energy, increasing the strength of its vibrations and the speed at which the atoms move. Due to this, the atoms on average take up more space at higher temperatures than lower temperatures and so averaged out over many atoms in a lattice, this increases the volume of the lattice.&lt;br /&gt;
&lt;br /&gt;
Figures 4 &amp;amp; 5 show the effect of change on temperature on the lattice parameter and volume of MgO in the range of 50-2900 K. As we can seen from the figures, from 50-400 K, a change in temperature does not largely increase the volume, while above 400 K the trend seems to be linear with respect to volume increase through an increase in temperature. This is however not the case at higher temperatures above 2200 K where the trend is more polynomial in nature.&lt;br /&gt;
&lt;br /&gt;
Figure 6 shows the effect of change in temperature on the Hemholtz free energy of MgO. From 50-400 K, the dominating term for the free energy is the zero point energy, and thus a change in temperature does not greatly change the free energy of the lattice and so volume changes at low temperatures are minimal. At temperatures above 2200 K not only is the entropic term completely dominating all other terms for the free energy, but also higher order anharmonic terms for the free energy that were excluded in the harmonic approximation part of the equation begin to play a large role in the free energy. This leads to the gradient no longer being linear. &amp;lt;ref&amp;gt;Masanori Matsui, Geoffrey D. Price and Atul Patel, Geophys. Res. Lett., 1994, &#039;&#039;&#039;21&#039;&#039;&#039;,  1659-1662 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The thermal expansion coefficients for MgO can be calculated through using the gradient &amp;lt;math&amp;gt; (\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt; at a specific value of &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; in the equationː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \alpha = \frac{1}{V_i} (\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt;   &amp;lt;math&amp;gt;(3)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt; \alpha &amp;lt;/math&amp;gt; is the coefficient of thermal expansion and &amp;lt;math&amp;gt;V_i&amp;lt;/math&amp;gt; is the volume of the lattice at 0 K, and &amp;lt;math&amp;gt;(\frac{\partial V}{\partial T})_p =6.16898 \times 10^{-7} T + 0.00118&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Table 2 displays thermal expansion coefficients for the polynomial fit of MgO, alongside the temperature range that the fit was made over.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 2. Calculated Linear fit Thermal Expansion Coefficients for MgO&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| 50 K&lt;br /&gt;
| 16.44&lt;br /&gt;
&lt;br /&gt;
| 1500 K&lt;br /&gt;
|40.13&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 100 K&lt;br /&gt;
| 17.26&lt;br /&gt;
&lt;br /&gt;
| 1600 K&lt;br /&gt;
| 41.76&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 200 K&lt;br /&gt;
| 18.89&lt;br /&gt;
&lt;br /&gt;
| 1700 K&lt;br /&gt;
|43.40&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 300 K&lt;br /&gt;
| 20.53&lt;br /&gt;
&lt;br /&gt;
| 1800 K&lt;br /&gt;
|45.03&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 400 K&lt;br /&gt;
| 22.16&lt;br /&gt;
&lt;br /&gt;
| 1900 K&lt;br /&gt;
|46.67&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 500 K&lt;br /&gt;
| 23.79&lt;br /&gt;
&lt;br /&gt;
| 2000 K&lt;br /&gt;
|48.30&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 600 K&lt;br /&gt;
| 25.43&lt;br /&gt;
&lt;br /&gt;
| 2100 K&lt;br /&gt;
|49.93&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 700 K&lt;br /&gt;
| 27.06&lt;br /&gt;
&lt;br /&gt;
| 2200 K&lt;br /&gt;
|51.57&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 800 K&lt;br /&gt;
| 28.69&lt;br /&gt;
&lt;br /&gt;
| 2300 K&lt;br /&gt;
|53.20&lt;br /&gt;
|-&lt;br /&gt;
| 900 K&lt;br /&gt;
| 30.33&lt;br /&gt;
&lt;br /&gt;
| 2400 K&lt;br /&gt;
|54.83&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1000 K&lt;br /&gt;
| 31.96&lt;br /&gt;
&lt;br /&gt;
| 2500 K&lt;br /&gt;
|56.47&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1100 K&lt;br /&gt;
| 33.60&lt;br /&gt;
&lt;br /&gt;
| 2600 K&lt;br /&gt;
|58.10&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1200 K&lt;br /&gt;
| 35.23&lt;br /&gt;
&lt;br /&gt;
| 2700 K&lt;br /&gt;
|59.74&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1300 K&lt;br /&gt;
| 36.86&lt;br /&gt;
&lt;br /&gt;
| 2800 K&lt;br /&gt;
|61.369&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1400 K&lt;br /&gt;
| 38.50&lt;br /&gt;
&lt;br /&gt;
| 2900 K&lt;br /&gt;
|63.00&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As we can see from the table of results, the coefficient of thermal expansion is not independent of temperature, but changes with it. In comparison to literature values&amp;lt;ref&amp;gt;A. S. Madhusudhan Rao and K. Narender, J. Chem. Thermodyn, 2014, &#039;&#039;&#039;2014&#039;&#039;&#039;, 8&amp;lt;/ref&amp;gt;, at 300 K the data obtained through this experiment largely agrees with the literature data of a value for the thermal expansion coefficient of 35.73 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Deviations from the literature values can be attributed to shortcomings of the quasi-harmonic oscillator approximation. The main approximation being that the oscillations of the atoms about their equilibrium positions are small, which for higher energy phonon modes is not representative of those modes. Therefore it is seen that the difference in our calculated values to that of literature values increases as the temperature increases such as a literature value of 42.51 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 1200 K, compared to a calculated value of 35.23 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At temperatures above the melting point of MgO - 2852 °C &amp;lt;ref&amp;gt; Haynes, William M., CRC Handbook of Chemistry and Physics (92nd ed.), Boca Raton, CRC Press., 2011&amp;lt;/ref&amp;gt; - the phonon modes of MgO are not accurate represented. This is due to the fact that above this temperature MgO melts from a solid to a liquid, and thus the approximation that the solid is a perfect lattice breaks down. This means that for temperatures near to or above 2852 °C the data is not representative of the true phonon modes as a solid is being simulated whereas in reality the material is already is a liquid and so solid phonon modes cannot describe the liquid modes.&lt;br /&gt;
&lt;br /&gt;
Although the quasi-harmonic approximation breaks down at higher temperatures, unlike other approximations such as the harmonic approximation, it can be used to model thermal expansion. Consider a diatomic harmonic oscillator, with an increase in temperature the strength of oscillation will increase, but in equal proportions relating to lengthening and contracting of the bond due to the nature of a harmonic potential. This leads to an increase in temperature not changing the equilibrium bond length and thus thermal expansion cannot be modelled. The quasi-harmonic approximation takes into account some of the anharmonic nature of the true bond and so allows thermal expansion to be modelled. This can be visualised through viewing a morse potential. A contraction of bond length in a morse potential require a much larger amount of energy than an increase in bond length, therefore at higher temperatures and so higher energies, while the bond length maximum will largely increase, the minimum bond length will change only slightly, thus on average the bond length will have lengthened. This leads to an increase in equilibrium bond length, and so applying this so a lattice leads to an increase in volume of the lattice.&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamic Simulations ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
||[[File:Ft1015MgO_MD.png|500px|thumb|&#039;&#039;&#039;Figure 7&#039;&#039;&#039;: A plot of cell volume against temperature for the molecular dynamics calculations]]&lt;br /&gt;
|[[File:Ft1015MgO_MDvsLD.png|500px|thumb|&#039;&#039;&#039;Figure 8&#039;&#039;&#039;: A plot of cell volume against temperature comparing the values calculated via Molecular Dynamics and Lattice Dynamics]]&lt;br /&gt;
|[[File:Ft1015MgO_Thermal_Expansion_Coefficient_MDvsLD.png|500px|thumb|&#039;&#039;&#039;Figure 9&#039;&#039;&#039;: A plot of the thermal expansion coefficient for both Molecular Dynamics and Lattice Dynamics simulations]]&lt;br /&gt;
|}&lt;br /&gt;
Molecular dynamics simulations were run using from 50-3700 K as shown in figure 7. Figures 8&amp;amp;9 compares the results of Molecular dynamics and Lattice Dynamics (quasi-harmonic approximation) simulations. In figure 8 it is seen that the difference in volume the MD and LD plots for the range 400-1400 K is quite small, while at temperatures lower than 400 K and higher than 1400 K the simulations begin to deviate from each other. Figure 9 compares the calculated coefficient for thermal expansion for MD and LD, taking a value at 300 K of 25.82 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 30.33 at 1200 K, in comparison to the literature values of 35.73 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 300 K and 42.51 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 1200 K, it can be seen that at lower temperatures, the LD approach is more accurate, while at higher temperature MD is more accurate. As MD calculations average the volume of the cell over set intervals - the timestep - for a set period of time, the erractic nature of the MD curve at high temperatures in figure 8 is due to the large velocites of the ions in the lattice leads to the timestep being to large to take an accurate snapshot of the system and its variations. Thus a timestep smaller than the 500 fs interval used would reduce the noise in the simulation and provide a more accurate description of the volume at higher temperatures.&lt;br /&gt;
&lt;br /&gt;
LD and MD simulations differ due to the differences between how they calculate their results and the approximations they take into account. MD differs from LD at lower temperatures due to the lack of higher order quantum corrections which LD takes into account, while at higher temperatures MD is more accurate due to the use of Newton&#039;s classical equations which dominate all quantum effects, while LD suffers from a lack of higher order anharmonic terms in its approximation. &amp;lt;ref&amp;gt;Masanori Matsui, Geoffrey D. Price and Atul Patel, Geophys. Res. Lett., 1994, &#039;&#039;&#039;21&#039;&#039;&#039;, 1659-1662&amp;lt;/ref&amp;gt;. This leads MD producing more accurate results at higher temperatures, while LD is more accurate at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
As stated above, at temperatures near to or larger than the melting point of MgO, a LD simulation fails to produce accurate results for the volume of the cell due to the fact that a solid is still being simulated rather than a liquid. MD simulations however work through Newton&#039;s laws of motion and so can model phase transitions of materials. This can be seen in figure 7, where after the melting of MgO at 2852 K the change in volume per 100 K is larger than for temperatures below this point, due to the forces between liquid molecules being weaker than that of solids, and so thermal expansion of liquids  is larger than solid for the same change in temperature.&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
Through successful modelling of MgO through LD and MD simulations, the phonon distribution and density of states was calculated and a 16x16x16 grid size was found optimal for LD simulations. For LD simulations, lattice volume was found to at first increase linearly, but after 1700 K increase in a more harmonic or polynomial form with temperature. Similarly for the Hemholtz free energy, the increase in free energy was found to be more linear at first, and then become more polynomial in nature above 1700 K. LD thermal expansion coefficents were found to follow a polynomial trend, following a linear trend to 2200 K but diverging after this point to a more polynomial nature. MD simulations for the change in volume of MgO against temperature were linear throughout the temperature range sampled over, but become more erratic at higher temperatures due to the timestep being too large for the simulations. Both LD and MD simulations were found to be accurate at calculating thermal expansion coefficients at from 50-800 K, while above this range MD is increasingly more accurate with an increase in temperature. Shortcomings of both LD and MD simulations were established and discussed comparatively between the two models.&lt;br /&gt;
&lt;br /&gt;
Improvement of the LD simulations could be done by introducing more anharmonic terms in to the quasi-harmonic oscillator approximation. This would increase the accuracy of the results obtained from the experiment and allow it to work at higher temperatures, but would greatly increase the time taken to simulate systems. MD could be improved by taking into account quantum effects such as the zero point energy of molecule, which play a large role in the energy at low temperatures where MD is not as accurate as LD, or by reducing the time step, allowing for more accurate results at very high temperatures. From this experiment it can be seen that both LD and MD simulations have areas where they are better than one-another, and so knowledge on when and where to use each model would greatly increase the accuracy of results obtained. Further investigations include simulating more complex materials such as zeolites or large molecules, or simulating similarly simple compounds such salts to investigate how a change in ion can affect the physical properties of compounds.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;/div&gt;</summary>
		<author><name>Ft1015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=654158</id>
		<title>Rep:FabianThomasThirdYearMgOSimulation</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=654158"/>
		<updated>2017-12-19T21:32:43Z</updated>

		<summary type="html">&lt;p&gt;Ft1015: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Abstract ==&lt;br /&gt;
Lattice Dynamics simulations using the quasi-harmonic oscillator approximation, and Molecular Dynamics simulations were carried for MgO over a range of temperatures using GULP. The phonon dispersion, density of states and thermal expansion coefficients were investigated in order to understand how a change in temperature effected the volume of MgO. It was found that a 16x16x16 grid was the optimal grid size for carrying out LD simulations. The lattice parameter and volume increased polynomially with temperature for LD simulations, while was more linear with MD simulations. Thermal expansion coefficients were calculated from 50-2900 K for LD and 50-3700 K for MD. LD was found to be better at simulating temperatures less than 700 K, while MD was more accurate above 700 K for calculating the thermal expansion coefficient of MgO. With values for the thermal expansion coefficient of 20.53 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 25.82 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 300 K, and 35.23 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 30.33 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; 1200 K for LD and MD respectively.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
One of the earliest uses of thermal expansion in daily life was the mercury thermometer. A change in temperature would lead to the mercury either taking up more or less space depending on if it became hotter or colder, thus allowing the temperature the be measured. Nowadays thermal expansion is seen in a variety of sectors in daily life, one major sector being the transportation sector. At high temperatures, train tracks which have not been built with thermal expansion in mind buckle due to the expansion of the metal. This can lead to delays, closing of railways, or in the worst case the derailment of a train due to the sharp angles of the buckled train tracks. Many motorways around the world now have expansion joints made of metal teeth that fit together, which when the temperatures rise the metal teeth in the joints expand to fill the empty space instead of cracking the road. Thus the expansion of materials under a change in temperature is an important aspect of research for many sectors in the world.&lt;br /&gt;
&lt;br /&gt;
Modelling thermal expansion using Lattice Dynamics and Molecular Dynamics and understanding the phonon modes of a material allows for the comparison between two types of simulation and the study of thermal expansion of materials. Modelling these systems using MD and LD provides a fast yet powerful way to understand the thermal expansion of the system, and thus not needing to perform possibly expensive experiments determining this property experimentally to test the viability of a material for use. Some of the most commonly used materials such as steel or concrete vary in composition depending on what application the material is being used for and so simulations similar to the ones carried out in this experiment can be used to determine the qualities of the material and what type of composition it needs to have, before production. Even though these simulations are powerful, there are questions still unanswered, how complex a system can these methods accurately simulate and are there any types of material that these simulations cannot compute?&lt;br /&gt;
&lt;br /&gt;
=== Theory ===&lt;br /&gt;
The quasi-harmonic approximation for phonons builds upon the harmonic approximation for phonon dynamics, and therefore to explain the quasi-harmonic approximation we must first discuss the harmonic approximation&lt;br /&gt;
&lt;br /&gt;
For a regular, linear chain which is composed of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; number of particles, the forces between a pair of atoms can be assumed to be a potential energy function &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; which depends on the distance of the separation between the atoms. The main contributing forces to the potential are described by an electric force, such as electrostatic attractions, covalent bonds or Van der Waals forces. Therefore the potential energy of the entire lattice made up of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; atoms is the sum of the potential energies between each pair of atoms with a separation r from each other shown below in eq 1.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV(r)&amp;lt;/math&amp;gt;       &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, allowing each atom to deviate slightly from its equilibrium position by a displacement &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;, if the deviations are small in comparison to the distance between each atom &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;, the energy of this chain is able to be calculated via a taylor expansion summing over all of the atoms in the chain.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV + \sum_{s\ge 1} \frac {1}{s !} \frac {\partial^s V}{\partial u^s} \sum_{n}&lt;br /&gt;
 (u_n - u_{n+1})^s&amp;lt;/math&amp;gt;     &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;u_n&amp;lt;/math&amp;gt; is the displacement of the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;th atom from its equilibrium postition&lt;br /&gt;
&lt;br /&gt;
Two approximations are used in order to reach this equation, which together forms the harmonic approximation and it&#039;s respective equation. The first approximation states that the sum of the pair potential energies is completed over only neighboring atoms, as although there are electric forces between all atoms, these forces on atoms far away from one another are greatly diminished by screening by the atoms in between, and that the potential energies are treated as harmonic potential energies. In this equation, the first derivative is zero, whereas higher order terms are not, and so the first term can be dropped, and the second term is used where &amp;lt;math&amp;gt;s = 2&amp;lt;/math&amp;gt;, with higher order terms being neglected. These higher order terms are ignored as harmonic equations of motion have exact solutions, while anharmonic equations do not have exact solutions to them and require more approximations. Thus the energy of the lattice is thus the same as the energy of the set of harmonic oscillators. The error in this equation remains small for small values of &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;&lt;br /&gt;
as the value of higher order terms will remain low.&lt;br /&gt;
CITE BOOK&lt;br /&gt;
&lt;br /&gt;
The quasi-harmonic approximation expands upon the harmonic approximation by taking into account some of the true anharmonicity of the interactions between atoms. The quasi-harmonic approximation relates the hemholtz free energy of a perfect lattice to both its temperature and its volume, in contrast to the harmonic oscillator approximation which only depended on temperature, this is shown below in eq. 3&amp;lt;ref&amp;gt;Martin T. Dove, Introduction to Lattice Dynamics (Cambridge Topics in Mineral Physics and Chemistry), Cambridge University Press, Cambridge, 1993&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; F = E_0 + \frac {1}{2}\sum_{k,j}^{} \hbar \omega _k + k_B T \sum_{k,j}^{}ln(1-e^{\frac {-\hbar \omega _k }{k_B T}})&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;F&amp;lt;/math&amp;gt; is the Hemholtz free energy and &amp;lt;math&amp;gt;E_0&amp;lt;/math&amp;gt; is the lattice energy&lt;br /&gt;
&lt;br /&gt;
As this definition of the free energy also takes into account the volume of the lattice, this allows thermal expansion to be calculated as it allows the harmonic approximation to hold for all temperatures.&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics simulates a lattice of atoms using Newton&#039;s equations of motion and so simulated the cell over a certain period of time, taking a time-average of the cell to obtain physical quantities. In the simulations run in this experiment, an isothermal-isobaric (NPT) ensemble was used to calculate the thermal expansion coefficients and volume of the MgO cell at specific temperatures. As MD is based on Newton&#039;s laws of motion it does not take into account quantum effects such as the zero-point energy of a material in comparison to QHA which does.&lt;br /&gt;
&lt;br /&gt;
== Results and Discussion ==&lt;br /&gt;
&lt;br /&gt;
=== Phonon modes and Free Energy of MgO ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|[[File:Ft1015MgO_phonon_dispersion.PNG|500px|thumb|&#039;&#039;&#039;Figure 1&#039;&#039;&#039;: A phonon dispersion plot for MgO]]&lt;br /&gt;
|[[File:Ft1015MgO_DoS.PNG|500px|thumb|&#039;&#039;&#039;Figure 2&#039;&#039;&#039;: A plot of the density of states for MgO using a 1x1x1 grid size]]&lt;br /&gt;
|[[File:Ft1015MgO_DoS_20x20x20.PNG|500px|thumb|left|&#039;&#039;&#039;Figure 3&#039;&#039;&#039;: The optimised plot of the density of states for MgO using a 16x16x16 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From figures 1 and 2, we can see the computed phonon dispersion curve and density of states for a 1x1x1 grid size containing one k-point. Correlating the density of states with the dispersion curve via their shared axis of frequency of vibration yields the k-point L on the dispersion curve as the singular k-point used for the calculation. The density of states shows bands at 286 and 351 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 676 and 806 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, with the intensities of the first two bands double that of the final two bands. These bands correspond to three acoustic and three optical branches, with the first two bands of 0.333 intensity corresponding to a k-point where two branches are overlapping and are therefore degenerate states.&lt;br /&gt;
&lt;br /&gt;
Varying the grid size used for the calculation greatly affected the accuracy and precision of the results of calculations through increasing the number of k-points sampled in eq. 1ː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\omega ^{2}(k) = C(\frac{1}{M_{Mg}} + \frac{1}{M_{O}}) \pm \sqrt {(\frac{1}{M_{Mg}} + \frac{1}{M_{O}})^{2} - \frac{4sin^{2}(ka)}{M_{Mg}}}&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; is the spring force constant, &amp;lt;math&amp;gt;M_{Mg}&amp;lt;/math&amp;gt; is the molar mass of magnesium and &amp;lt;math&amp;gt;M_{O}&amp;lt;/math&amp;gt; is the molar mass of oxygen&lt;br /&gt;
&lt;br /&gt;
As the grid size increases, and thus the more k-points sampled, more and more features become visible, with the increase in number of points sampled along the dispersion curve leading to the increase in number of bands seen in the density of states. Optimising the grid size led to a grid size of 16x16x16 being optimal. As expected, the density of states plot produced from this grid size was smooth, as can be seen in figure 3. This curve was proved to be a good optimisation through looking at the Hemholtz free energy for each of the simulated grid sizes. As the accuracy of the Helmholtz free energy result directly depends on the number of k-space points sampled in the calculations as can be seen in eq. 2. Similarly to eq. 1, the larger the grid size, and therefore the more k-points sampled, the more accurate the result. Comparing the free energy of the 16x16x16 grid to the 32x32x32 grid; which for higher order grids remained constant and so had converged, the 16x16x16 was accurate to within 0.001 meV or 2.4434 × 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; %.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; F = E_0 + \frac {1}{2}\sum_{k,j}^{} \hbar \omega _k + k_B T \sum_{k,j}^{}ln(1-e^{\frac {-\hbar \omega _k }{k_B T}})&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;F&amp;lt;/math&amp;gt; is the Hemholtz free energy and &amp;lt;math&amp;gt;E_0&amp;lt;/math&amp;gt; is the lattice energy&lt;br /&gt;
&lt;br /&gt;
In comparison to smaller grid sizes, the 16x16x16 grid size curve appears more smooth, and more akin to a single band as seen for macrostructures. Larger grid sizes, while greatly increasing the computation time of the calculation did not largely increase the accuracy of the calculations as stated above, and therefore the 16x16x16 grid size was the optimal choice for these simulations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 1. Calculated Total Difference in Hemholtz Free Energy &lt;br /&gt;
! Grid Size&lt;br /&gt;
! Total Difference in Free Energy&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 3.818&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.126&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -0.051&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -0.033&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -0.001&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| -0.000&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| 0.000&lt;br /&gt;
|-&lt;br /&gt;
| 64&lt;br /&gt;
| 0.000&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Table 1 shows the difference between the calculated free energy for grid size and the final converged free energy. Looking at this, we can see that for grid sizes larger than 24x24x24, there is no change in the free energy of the system and so the free energy has converged to a minima, although it may not be the global minimum. The accuracy of simulations also increase rapidly with grid size, for example for accurate simulated energies to 1, 0.5 and 0.1 meV per cell, grid sizes of 2x2x2, 4x4x4 and 8x8x8 respectively can be used. This rapid increase in the accuracy of the calculation can be attributed to the large increase in k-points sampled over within the summations in eq. 2 with increasing grid size.&lt;br /&gt;
&lt;br /&gt;
However, the optimal grid size dependent on the material used due to the relationship between the lattice parameter, and the size of the first brillouin zone in k-space. For a similar oxide such as CaO, in comparsion to the lattice parameter of MgO of 4.212 Å &amp;lt;ref&amp;gt; A. CIMINO, P. PORTA and M. VALIGI, J. Am. Ceram. Soc, 1966, &#039;&#039;&#039;49&#039;&#039;&#039;, 152–156 &amp;lt;/ref&amp;gt;, the parameter of CaO is 4.864 Å &amp;lt;ref&amp;gt;Mackrodt, W. C., Harrison, N. M., Saunders, V. R., Allan, N. L. and Towler, M. D., Aprà, E., Dovesi, R., Philos. Mag. A, 1993 , &#039;&#039;&#039;68&#039;&#039;&#039;, 653-666 &amp;lt;/ref&amp;gt;, slightly larger than that of MgO. This leads to a slightly smaller grid size being optimal, as the larger lattice parameter leads to a smaller brillouin zone in reciprocal space as if the lattice parameter &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; is larger, then the size of the first brillouin zone &amp;lt;math&amp;gt;a^{*}= \frac {2 \pi}{a} &amp;lt;/math&amp;gt;will be smaller. This in turn allows less points to be sampled inside the region to give the same spacing of points, and therefore accuracy for the density of states as for MgO. Similarly, the zeolite faujsite has an extremely large lattice parameter of 25.132 Å &amp;lt;ref&amp;gt;E. Dempsey, G. H. Kuhl, and D. H. Olson, Phys. Chem., 1969, &#039;&#039;&#039;73&#039;&#039;&#039;, 387–390 &amp;lt;/ref&amp;gt;, in comparison to MgO. This; as with the case of CaO but more exaggerated, leads to a much smaller brillouin zone in reciprocal space, and so allows for a much smaller grid size to give the same accuracy as the MgO calculation due to the extremely small value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; obtained for faujsite.&lt;br /&gt;
Conversely, lithium has a smaller lattice spacing of 3.51 Å &amp;lt;ref&amp;gt;M.R. Nadler and C.P. Kempfer, Anal. Chem., 1959, &#039;&#039;&#039;31&#039;&#039;&#039;, 2109-2111&amp;lt;/ref&amp;gt;. Therefore the value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; for lithium will be larger than for MgO, and so require a larger grid size to obtain the same spacing between sampled k-space points and therefore accuracy of the calculated density of states.&lt;br /&gt;
&lt;br /&gt;
=== Thermal Expansion of MgO ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
||[[File:Ft1015Latticeparametervskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 4&#039;&#039;&#039;: A plot of lattice parameter against temperature for MgO]]&lt;br /&gt;
|[[File:Ft1015Latticevolumevskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 5&#039;&#039;&#039;: A plot of lattice volume against temperature for MgO, with the magenta line on the graph corresponding to the polynomial fit for the graph, and the red point the points which were not fitted over]]&lt;br /&gt;
|[[File:Ft1015Hemholtzvskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 6&#039;&#039;&#039;: A plot of free energy against temperature for MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The physical origin of thermal expansion for a solid lattice arises from the increase of kinetic energy of a material with an increase in temperature. All atoms within a lattice vibrate and move about their positions within the lattice and with an increase in temperature, each atom in the lattice gains kinetic energy, increasing the strength of its vibrations and the speed at which the atoms move. Due to this, the atoms on average take up more space at higher temperatures than lower temperatures and so averaged out over many atoms in a lattice, this increases the volume of the lattice.&lt;br /&gt;
&lt;br /&gt;
Figures 4 &amp;amp; 5 show the effect of change on temperature on the lattice parameter and volume of MgO in the range of 50-2900 K. As we can seen from the figures, from 50-400 K, a change in temperature does not largely increase the volume, while above 400 K the trend seems to be linear with respect to volume increase through an increase in temperature. This is however not the case at higher temperatures above 2200 K where the trend is more polynomial in nature.&lt;br /&gt;
&lt;br /&gt;
Figure 6 shows the effect of change in temperature on the Hemholtz free energy of MgO. From 50-400 K, the dominating term for the free energy is the zero point energy, and thus a change in temperature does not greatly change the free energy of the lattice and so volume changes at low temperatures are minimal. At temperatures above 2200 K not only is the entropic term completely dominating all other terms for the free energy, but also higher order anharmonic terms for the free energy that were excluded in the harmonic approximation part of the equation begin to play a large role in the free energy. This leads to the gradient no longer being linear. &amp;lt;ref&amp;gt;Masanori Matsui, Geoffrey D. Price and Atul Patel, Geophys. Res. Lett., 1994, &#039;&#039;&#039;21&#039;&#039;&#039;,  1659-1662 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The thermal expansion coefficients for MgO can be calculated through using the gradient &amp;lt;math&amp;gt; (\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt; at a specific value of &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; in the equationː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \alpha = \frac{1}{V_i} (\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt;   &amp;lt;math&amp;gt;(3)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt; \alpha &amp;lt;/math&amp;gt; is the coefficient of thermal expansion and &amp;lt;math&amp;gt;V_i&amp;lt;/math&amp;gt; is the volume of the lattice at 0 K, and &amp;lt;math&amp;gt;(\frac{\partial V}{\partial T})_p =6.16898 \times 10^{-7} T + 0.00118&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Table 2 displays thermal expansion coefficients for the polynomial fit of MgO, alongside the temperature range that the fit was made over.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 2. Calculated Linear fit Thermal Expansion Coefficients for MgO&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| 50 K&lt;br /&gt;
| 16.44&lt;br /&gt;
&lt;br /&gt;
| 1500 K&lt;br /&gt;
|40.13&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 100 K&lt;br /&gt;
| 17.26&lt;br /&gt;
&lt;br /&gt;
| 1600 K&lt;br /&gt;
| 41.76&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 200 K&lt;br /&gt;
| 18.89&lt;br /&gt;
&lt;br /&gt;
| 1700 K&lt;br /&gt;
|43.40&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 300 K&lt;br /&gt;
| 20.53&lt;br /&gt;
&lt;br /&gt;
| 1800 K&lt;br /&gt;
|45.03&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 400 K&lt;br /&gt;
| 22.16&lt;br /&gt;
&lt;br /&gt;
| 1900 K&lt;br /&gt;
|46.67&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 500 K&lt;br /&gt;
| 23.79&lt;br /&gt;
&lt;br /&gt;
| 2000 K&lt;br /&gt;
|48.30&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 600 K&lt;br /&gt;
| 25.43&lt;br /&gt;
&lt;br /&gt;
| 2100 K&lt;br /&gt;
|49.93&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 700 K&lt;br /&gt;
| 27.06&lt;br /&gt;
&lt;br /&gt;
| 2200 K&lt;br /&gt;
|51.57&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 800 K&lt;br /&gt;
| 28.69&lt;br /&gt;
&lt;br /&gt;
| 2300 K&lt;br /&gt;
|53.20&lt;br /&gt;
|-&lt;br /&gt;
| 900 K&lt;br /&gt;
| 30.33&lt;br /&gt;
&lt;br /&gt;
| 2400 K&lt;br /&gt;
|54.83&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1000 K&lt;br /&gt;
| 31.96&lt;br /&gt;
&lt;br /&gt;
| 2500 K&lt;br /&gt;
|56.47&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1100 K&lt;br /&gt;
| 33.60&lt;br /&gt;
&lt;br /&gt;
| 2600 K&lt;br /&gt;
|58.10&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1200 K&lt;br /&gt;
| 35.23&lt;br /&gt;
&lt;br /&gt;
| 2700 K&lt;br /&gt;
|59.74&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1300 K&lt;br /&gt;
| 36.86&lt;br /&gt;
&lt;br /&gt;
| 2800 K&lt;br /&gt;
|61.369&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1400 K&lt;br /&gt;
| 38.50&lt;br /&gt;
&lt;br /&gt;
| 2900 K&lt;br /&gt;
|63.00&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As we can see from the table of results, the coefficient of thermal expansion is not independent of temperature, but changes with it. In comparison to literature values&amp;lt;ref&amp;gt;A. S. Madhusudhan Rao and K. Narender, J. Chem. Thermodyn, 2014, &#039;&#039;&#039;2014&#039;&#039;&#039;, 8&amp;lt;/ref&amp;gt;, at 300 K the data obtained through this experiment largely agrees with the literature data of a value for the thermal expansion coefficient of 11.91 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Deviations from the literature values can be attributed to shortcomings of the quasi-harmonic oscillator approximation. The main approximation being that the oscillations of the atoms about their equilibrium positions are small, which for higher energy phonon modes is not representative of those modes. Therefore it is seen that the difference in our calculated values to that of literature values increases as the temperature increases such as a literature value of 14.17 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 1200 K, compared to a calculated value of 35.23 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At temperatures above the melting point of MgO - 2852 °C &amp;lt;ref&amp;gt; Haynes, William M., CRC Handbook of Chemistry and Physics (92nd ed.), Boca Raton, CRC Press., 2011&amp;lt;/ref&amp;gt; - the phonon modes of MgO are not accurate represented. This is due to the fact that above this temperature MgO melts from a solid to a liquid, and thus the approximation that the solid is a perfect lattice breaks down. This means that for temperatures near to or above 2852 °C the data is not representative of the true phonon modes as a solid is being simulated whereas in reality the material is already is a liquid and so solid phonon modes cannot describe the liquid modes.&lt;br /&gt;
&lt;br /&gt;
Although the quasi-harmonic approximation breaks down at higher temperatures, unlike other approximations such as the harmonic approximation, it can be used to model thermal expansion. Consider a diatomic harmonic oscillator, with an increase in temperature the strength of oscillation will increase, but in equal proportions relating to lengthening and contracting of the bond due to the nature of a harmonic potential. This leads to an increase in temperature not changing the equilibrium bond length and thus thermal expansion cannot be modelled. The quasi-harmonic approximation takes into account some of the anharmonic nature of the true bond and so allows thermal expansion to be modelled. This can be visualised through viewing a morse potential. A contraction of bond length in a morse potential require a much larger amount of energy than an increase in bond length, therefore at higher temperatures and so higher energies, while the bond length maximum will largely increase, the minimum bond length will change only slightly, thus on average the bond length will have lengthened. This leads to an increase in equilibrium bond length, and so applying this so a lattice leads to an increase in volume of the lattice.&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamic Simulations ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
||[[File:Ft1015MgO_MD.png|500px|thumb|&#039;&#039;&#039;Figure 7&#039;&#039;&#039;: A plot of cell volume against temperature for the molecular dynamics calculations]]&lt;br /&gt;
|[[File:Ft1015MgO_MDvsLD.png|500px|thumb|&#039;&#039;&#039;Figure 8&#039;&#039;&#039;: A plot of cell volume against temperature comparing the values calculated via Molecular Dynamics and Lattice Dynamics]]&lt;br /&gt;
|[[File:Ft1015MgO_Thermal_Expansion_Coefficient_MDvsLD.png|500px|thumb|&#039;&#039;&#039;Figure 9&#039;&#039;&#039;: A plot of the thermal expansion coefficient for both Molecular Dynamics and Lattice Dynamics simulations]]&lt;br /&gt;
|}&lt;br /&gt;
Molecular dynamics simulations were run using from 50-3700 K as shown in figure 7. Figures 8&amp;amp;9 compares the results of Molecular dynamics and Lattice Dynamics (quasi-harmonic approximation) simulations. In figure 8 it is seen that the difference in volume the MD and LD plots for the range 400-1400 K is quite small, while at temperatures lower than 400 K and higher than 1400 K the simulations begin to deviate from each other. Figure 9 compares the calculated coefficient for thermal expansion for MD and LD, taking a value at 300 K of 25.82 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 30.33 at 1200 K, in comparison to the literature values of 11.91 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 300 K and 14.17 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 1200 K, it can be seen that at lower temperatures, the LD approach is more accurate, while at higher temperature MD is more accurate. As MD calculations average the volume of the cell over set intervals - the timestep - for a set period of time, the erractic nature of the MD curve at high temperatures in figure 8 is due to the large velocites of the ions in the lattice leads to the timestep being to large to take an accurate snapshot of the system and its variations. Thus a timestep smaller than the 500 fs interval used would reduce the noise in the simulation and provide a more accurate description of the volume at higher temperatures.&lt;br /&gt;
&lt;br /&gt;
LD and MD simulations differ due to the differences between how they calculate their results and the approximations they take into account. MD differs from LD at lower temperatures due to the lack of higher order quantum corrections which LD takes into account, while at higher temperatures MD is more accurate due to the use of Newton&#039;s classical equations which dominate all quantum effects, while LD suffers from a lack of higher order anharmonic terms in its approximation. &amp;lt;ref&amp;gt;Masanori Matsui, Geoffrey D. Price and Atul Patel, Geophys. Res. Lett., 1994, &#039;&#039;&#039;21&#039;&#039;&#039;, 1659-1662&amp;lt;/ref&amp;gt;. This leads MD producing more accurate results at higher temperatures, while LD is more accurate at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
As stated above, at temperatures near to or larger than the melting point of MgO, a LD simulation fails to produce accurate results for the volume of the cell due to the fact that a solid is still being simulated rather than a liquid. MD simulations however work through Newton&#039;s laws of motion and so can model phase transitions of materials. This can be seen in figure 7, where after the melting of MgO at 2852 K the change in volume per 100 K is larger than for temperatures below this point, due to the forces between liquid molecules being weaker than that of solids, and so thermal expansion of liquids  is larger than solid for the same change in temperature.&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
Through successful modelling of MgO through LD and MD simulations, the phonon distribution and density of states was calculated and a 16x16x16 grid size was found optimal for LD simulations. For LD simulations, lattice volume was found to at first increase linearly, but after 1700 K increase in a more harmonic or polynomial form with temperature. Similarly for the Hemholtz free energy, the increase in free energy was found to be more linear at first, and then become more polynomial in nature above 1700 K. LD thermal expansion coefficents were found to follow a polynomial trend, following a linear trend to 2200 K but diverging after this point to a more polynomial nature. MD simulations for the change in volume of MgO against temperature were linear throughout the temperature range sampled over, but become more erratic at higher temperatures due to the timestep being too large for the simulations. Both LD and MD simulations were found to be accurate at calculating thermal expansion coefficients at from 50-800 K, while above this range MD is increasingly more accurate with an increase in temperature. Shortcomings of both LD and MD simulations were established and discussed comparatively between the two models.&lt;br /&gt;
&lt;br /&gt;
Improvement of the LD simulations could be done by introducing more anharmonic terms in to the quasi-harmonic oscillator approximation. This would increase the accuracy of the results obtained from the experiment and allow it to work at higher temperatures, but would greatly increase the time taken to simulate systems. MD could be improved by taking into account quantum effects such as the zero point energy of molecule, which play a large role in the energy at low temperatures where MD is not as accurate as LD, or by reducing the time step, allowing for more accurate results at very high temperatures. From this experiment it can be seen that both LD and MD simulations have areas where they are better than one-another, and so knowledge on when and where to use each model would greatly increase the accuracy of results obtained. Further investigations include simulating more complex materials such as zeolites or large molecules, or simulating similarly simple compounds such salts to investigate how a change in ion can affect the physical properties of compounds.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;/div&gt;</summary>
		<author><name>Ft1015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=652418</id>
		<title>Rep:FabianThomasThirdYearMgOSimulation</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=652418"/>
		<updated>2017-12-18T01:48:06Z</updated>

		<summary type="html">&lt;p&gt;Ft1015: /* Conclusion */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Abstract ==&lt;br /&gt;
Lattice Dynamics simulations using the quasi-harmonic oscillator approximation, and Molecular Dynamics simulations were carried for MgO over a range of temperatures using GULP. The phonon dispersion, density of states and thermal expansion coefficients were investigated in order to understand how a change in temperature effected the volume of MgO. It was found that a 16x16x16 grid was the optimal grid size for carrying out LD simulations. The lattice parameter and volume increased polynomially with temperature for LD simulations, while was more linear with MD simulations. Thermal expansion coefficients were calculated from 50-2900 K for LD and 50-3700 K for MD. LD was found to be better at simulating temperatures less than 700 K, while MD was more accurate above 700 K for calculating the thermal expansion coefficient of MgO. With values for the thermal expansion coefficient of 20.53 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 25.82 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 300 K, and 35.23 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 30.33 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; 1200 K for LD and MD respectively.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
One of the earliest uses of thermal expansion in daily life was the mercury thermometer. A change in temperature would lead to the mercury either taking up more or less space if it became hotter or colder, thus allowing the temperature the be measured. Nowadays thermal expansion is seen in a variety of sectors in daily life, one major sector being the transportation sector. At high temperatures, train tracks which have not been built with thermal expansion in mind buckle due to the expansion of the metal. This can lead to delays, closing of railways, or in the worst case the derailment of a train due to the sharp angles of the buckled train tracks. Many motorways around the world now have expansion joints made of metal teeth that fit together, which when the temperatures rise allow the metal teeth in the joint to expand to fill the empty space instead of cracking the road, or small lines cut into the road so that it has room to expand when the temperature increases. Thus the expansion of materials under a change in temperature is an important aspect of research for many sectors in the world.&lt;br /&gt;
&lt;br /&gt;
Modelling thermal expansion using Lattice Dynamics and Molecular Dynamics and understanding the phonon modes of a material allows for the comparison between two types of simulation and the study of thermal expansion of materials. Modelling these systems using MD and LD provides a fast and powerful way to understand the thermal expansion of the system, and thus not needing to perform possibly expensive experiments determining this property experimentally to check if the material is viable. Some of the most commonly used materials such as steel or concrete vary in composition depending on what application the material is being used for and so simulations similar to the ones carried out in this experiment can be used to determine the qualities of the material and what type of composition it should have, before production. Even though these simulations are powerful, there are questions still unanswered, how complex a system can these methods accurately simulate and are there any types of material that these simulations cannot compute?&lt;br /&gt;
&lt;br /&gt;
=== Theory ===&lt;br /&gt;
The quasi-harmonic approximation for phonons builds upon the harmonic approximation for phonon dynamics, and therefore to explain the quasi-harmonic approximation we must first discuss the harmonic approximation&lt;br /&gt;
&lt;br /&gt;
For a regular, linear chain which is composed of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; number of particles, the forces between a pair of atoms can be assumed to be a potential energy function &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; which depends on the distance of the separation between the atoms. The main contributing forces to the potential are described by an electric force, such as electrostatic attractions, covalent bonds or Van der Waals forces. Therefore the potential energy of the entire lattice made up of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; atoms is the sum of the potential energies between each pair of atoms with a separation r from each other shown below in eq 1.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV(r)&amp;lt;/math&amp;gt;       &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, allowing each atom to deviate slightly from its equilibrium position by a displacement &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;, if the deviations are small in comparison to the distance between each atom &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;, the energy of this chain is able to be calculated via a taylor expansion summing over all of the atoms in the chain.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV + \sum_{s\ge 1} \frac {1}{s !} \frac {\partial^s V}{\partial u^s} \sum_{n}&lt;br /&gt;
 (u_n - u_{n+1})^s&amp;lt;/math&amp;gt;     &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;u_n&amp;lt;/math&amp;gt; is the displacement of the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;th atom from its equilibrium postition&lt;br /&gt;
&lt;br /&gt;
Two approximations are used in order to reach this equation, which together forms the harmonic approximation and it&#039;s respective equation. The first approximation states that the sum of the pair potential energies is completed over only neighboring atoms, as although there are electric forces between all atoms, these forces on atoms far away from one another are greatly diminished by screening by the atoms in between, and that the potential energies are treated as harmonic potential energies. In this equation, as the expansion was done around the equilibrium point, therefore the first derivative is zero, whereas higher order terms are not, and so the first term can be dropped, and the second term is used where &amp;lt;math&amp;gt;s = 2&amp;lt;/math&amp;gt;, with higher order terms being neglected. These higher order terms are ignored as harmonic equations of motion have exact solutions, while anharmonic equations do not have exact solutions to them and require more approximations. Thus the energy of the lattice is thus the same as the energy of the set of harmonic oscillators. The error in this equation remains small for small values of &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;&lt;br /&gt;
as the value of higher order terms will remain low.&lt;br /&gt;
CITE BOOK&lt;br /&gt;
&lt;br /&gt;
The quasi-harmonic approximation expands upon the harmonic approximation by taking into account some of the true anharmonicity of the interactions between atoms. The quasi-harmonic approximation relates the hemholtz free energy of a perfect lattice to both its temperature and its volume, in contrast to the harmonic oscillator that only depended on temperature, this is shown below in eq. 3&amp;lt;ref&amp;gt;Martin T. Dove, Introduction to Lattice Dynamics (Cambridge Topics in Mineral Physics and Chemistry), Cambridge University Press, Cambridge, 1993&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; F = E_0 + \frac {1}{2}\sum_{k,j}^{} \hbar \omega _k + k_B T \sum_{k,j}^{}ln(1-e^{\frac {-\hbar \omega _k }{k_B T}})&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;F&amp;lt;/math&amp;gt; is the Hemholtz free energy and &amp;lt;math&amp;gt;E_0&amp;lt;/math&amp;gt; is the lattice energy&lt;br /&gt;
&lt;br /&gt;
As this definition of the free energy also takes into account the volume of the lattice, this allows thermal expansion to be calculated as it allows the harmonic approximation to hold for all temperatures.&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics simulates a lattice of atoms using Newton&#039;s equations of motion and so simulated the cell over a certain period of time, taking a time-average of the cell to obtain physical quantities. In the simulations run in this experiment, an isothermal-isobaric (NPT) ensemble was used to calculate the thermal expansion coefficients and volume of the MgO cell at specific temperatures. As MD is based on Newton&#039;s laws of motion it does not take into account quantum effects such as the zero-point energy of a material in comparison to QHA which does.&lt;br /&gt;
&lt;br /&gt;
== Results and Discussion ==&lt;br /&gt;
&lt;br /&gt;
=== Phonon modes and Free Energy of MgO ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|[[File:Ft1015MgO_phonon_dispersion.PNG|500px|thumb|&#039;&#039;&#039;Figure 1&#039;&#039;&#039;: A phonon dispersion plot for MgO]]&lt;br /&gt;
|[[File:Ft1015MgO_DoS.PNG|500px|thumb|&#039;&#039;&#039;Figure 2&#039;&#039;&#039;: A plot of the density of states for MgO using a 1x1x1 grid size]]&lt;br /&gt;
|[[File:Ft1015MgO_DoS_20x20x20.PNG|500px|thumb|left|&#039;&#039;&#039;Figure 3&#039;&#039;&#039;: The optimised plot of the density of states for MgO using a 16x16x16 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From figures 1 and 2, we can see the computed phonon dispersion curve and density of states for a 1x1x1 grid size containing one k-point. Correlating the density of states with the dispersion curve via their shared axis of frequency of vibration yields the k-point L on the dispersion curve as the singular k-point used for the calculation. The density of states shows bands at 286 and 351 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 676 and 806 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, with the intensities of the first two bands double that of the final two bands. These bands correspond to three acoustic and three optical branches, with the first two bands of 0.333 intensity corresponding to a k-point where two branches are overlapping and are therefore degenerate states.&lt;br /&gt;
&lt;br /&gt;
Varying the grid size used for the calculation greatly affected the accuracy and precision of the results of calculations through increasing the number of k-points sampled in eq. 1ː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\omega ^{2}(k) = C(\frac{1}{M_{Mg}} + \frac{1}{M_{O}}) \pm \sqrt {(\frac{1}{M_{Mg}} + \frac{1}{M_{O}})^{2} - \frac{4sin^{2}(ka)}{M_{Mg}}}&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; is the spring force constant, &amp;lt;math&amp;gt;M_{Mg}&amp;lt;/math&amp;gt; is the molar mass of magnesium and &amp;lt;math&amp;gt;M_{O}&amp;lt;/math&amp;gt; is the molar mass of oxygen&lt;br /&gt;
&lt;br /&gt;
As the grid size increases, and thus the more k-points sampled, more and more features become visible, with the increase in number of points sampled along the dispersion curve leading to the increase in number of bands seen in the density of states. Optimising the grid size led to a grid size of 16x16x16 being optimal. As expected, the density of states plot produced from this grid size was smooth, as can be seen in figure 3. This curve was proved to be a good optimisation through looking at the Hemholtz free energy for each of the simulated grid sizes. As the accuracy of the Helmholtz free energy result directly depends on the number of k-space points sampled in the calculations as can be seen in eq. 2. Similarly to eq. 1, the larger the grid size, and therefore the more k-points sampled, the more accurate the result. Comparing the free energy of the 16x16x16 grid to the 32x32x32 grid; which for higher order grids remained constant and so had converged, the 16x16x16 was accurate to within 0.001 meV or 2.4434 × 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; %.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; F = E_0 + \frac {1}{2}\sum_{k,j}^{} \hbar \omega _k + k_B T \sum_{k,j}^{}ln(1-e^{\frac {-\hbar \omega _k }{k_B T}})&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;F&amp;lt;/math&amp;gt; is the Hemholtz free energy and &amp;lt;math&amp;gt;E_0&amp;lt;/math&amp;gt; is the lattice energy&lt;br /&gt;
&lt;br /&gt;
In comparison to smaller grid sizes, the 16x16x16 grid size curve appears more smooth, and more akin to a single band as seen for macrostructures. Larger grid sizes, while greatly increasing the computation time of the calculation did not largely increase the accuracy of the calculations as stated above, and therefore the 16x16x16 grid size was the optimal choice for these simulations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 1. Calculated Total Difference in Hemholtz Free Energy &lt;br /&gt;
! Grid Size&lt;br /&gt;
! Total Difference in Free Energy&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 3.818&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.126&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -0.051&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -0.033&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -0.001&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| -0.000&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| 0.000&lt;br /&gt;
|-&lt;br /&gt;
| 64&lt;br /&gt;
| 0.000&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Table 1 shows the difference between the calculated free energy for grid size and the final converged free energy. Looking at this, we can see that for grid sizes larger than 24x24x24, there is no change in the free energy of the system and so the free energy has converged to a minima, although it may not be the global minimum. The accuracy of simulations also increase rapidly with grid size, for example for accurate simulated energies to 1, 0.5 and 0.1 meV per cell, grid sizes of 2x2x2, 4x4x4 and 8x8x8 respectively can be used. This rapid increase in the accuracy of the calculation can be attributed to the large increase in k-points sampled over within the summations in eq. 2 with increasing grid size.&lt;br /&gt;
&lt;br /&gt;
However, the optimal grid size dependent on the material used due to the relationship between the lattice parameter, and the size of the first brillouin zone in k-space. For a similar oxide such as CaO, in comparsion to the lattice parameter of MgO of 4.212 Å &amp;lt;ref&amp;gt; A. CIMINO, P. PORTA and M. VALIGI, J. Am. Ceram. Soc, 1966, &#039;&#039;&#039;49&#039;&#039;&#039;, 152–156 &amp;lt;/ref&amp;gt;, the parameter of CaO is 4.864 Å &amp;lt;ref&amp;gt;Mackrodt, W. C., Harrison, N. M., Saunders, V. R., Allan, N. L. and Towler, M. D., Aprà, E., Dovesi, R., Philos. Mag. A, 1993 , &#039;&#039;&#039;68&#039;&#039;&#039;, 653-666 &amp;lt;/ref&amp;gt;, slightly larger than that of MgO. This leads to a slightly smaller grid size being optimal, as the larger lattice parameter leads to a smaller brillouin zone in reciprocal space as if the lattice parameter &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; is larger, then the size of the first brillouin zone &amp;lt;math&amp;gt;a^{*}= \frac {2 \pi}{a} &amp;lt;/math&amp;gt;will be smaller. This in turn allows less points to be sampled inside the region to give the same spacing of points, and therefore accuracy for the density of states as for MgO. Similarly, the zeolite faujsite has an extremely large lattice parameter of 25.132 Å &amp;lt;ref&amp;gt;E. Dempsey, G. H. Kuhl, and D. H. Olson, Phys. Chem., 1969, &#039;&#039;&#039;73&#039;&#039;&#039;, 387–390 &amp;lt;/ref&amp;gt;, in comparison to MgO. This; as with the case of CaO but more exaggerated, leads to a much smaller brillouin zone in reciprocal space, and so allows for a much smaller grid size to give the same accuracy as the MgO calculation due to the extremely small value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; obtained for faujsite.&lt;br /&gt;
Conversely, lithium has a smaller lattice spacing of 3.51 Å &amp;lt;ref&amp;gt;M.R. Nadler and C.P. Kempfer, Anal. Chem., 1959, &#039;&#039;&#039;31&#039;&#039;&#039;, 2109-2111&amp;lt;/ref&amp;gt;. Therefore the value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; for lithium will be larger than for MgO, and so require a larger grid size to obtain the same spacing between sampled k-space points and therefore accuracy of the calculated density of states.&lt;br /&gt;
&lt;br /&gt;
=== Thermal Expansion of MgO ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
||[[File:Ft1015Latticeparametervskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 4&#039;&#039;&#039;: A plot of lattice parameter against temperature for MgO]]&lt;br /&gt;
|[[File:Ft1015Latticevolumevskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 5&#039;&#039;&#039;: A plot of lattice volume against temperature for MgO, with the magenta line on the graph corresponding to the polynomial fit for the graph, and the red point the points which were not fitted over]]&lt;br /&gt;
|[[File:Ft1015Hemholtzvskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 6&#039;&#039;&#039;: A plot of free energy against temperature for MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The physical origin of thermal expansion for a solid lattice arises from the increase of kinetic energy of a material with an increase in temperature. All atoms within a lattice vibrate and move about their positions within the lattice and with an increase in temperature, each atom in the lattice gains kinetic energy, increasing the strength of its vibrations and the speed at which the atoms move. Due to this, the atoms on average take up more space at higher temperatures than lower temperatures and so averaged out over many atoms in a lattice, this increases the volume of the lattice.&lt;br /&gt;
&lt;br /&gt;
Figures 4 &amp;amp; 5 show the effect of change on temperature on the lattice parameter and volume of MgO in the range of 50-2900 K. As we can seen from the figures, from 50-400 K, a change in temperature does not largely increase the volume, while above 400 K the trend seems to be linear with respect to volume increase through an increase in temperature. This is however not the case at higher temperatures above 2200 K where the trend is more polynomial in nature.&lt;br /&gt;
&lt;br /&gt;
Figure 6 shows the effect of change in temperature on the Hemholtz free energy of MgO. From 50-400 K, the dominating term for the free energy is the zero point energy, and thus a change in temperature does not greatly change the free energy of the lattice and so volume changes at low temperatures are minimal. At temperatures above 2200 K not only is the entropic term completely dominating all other terms for the free energy, but also higher order anharmonic terms for the free energy that were excluded in the harmonic approximation part of the equation begin to play a large role in the free energy. This leads to the gradient no longer being linear. &amp;lt;ref&amp;gt;Masanori Matsui, Geoffrey D. Price and Atul Patel, Geophys. Res. Lett., 1994, &#039;&#039;&#039;21&#039;&#039;&#039;,  1659-1662 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The thermal expansion coefficients for MgO can be calculated through using the gradient &amp;lt;math&amp;gt; (\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt; at a specific value of &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; in the equationː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \alpha = \frac{1}{V_i} (\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt;   &amp;lt;math&amp;gt;(3)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt; \alpha &amp;lt;/math&amp;gt; is the coefficient of thermal expansion and &amp;lt;math&amp;gt;V_i&amp;lt;/math&amp;gt; is the volume of the lattice at 0 K, and &amp;lt;math&amp;gt;(\frac{\partial V}{\partial T})_p =6.16898 \times 10^{-7} T + 0.00118&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Table 2 displays thermal expansion coefficients for the polynomial fit of MgO, alongside the temperature range that the fit was made over.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 2. Calculated Linear fit Thermal Expansion Coefficients for MgO&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| 50 K&lt;br /&gt;
| 16.44&lt;br /&gt;
&lt;br /&gt;
| 1500 K&lt;br /&gt;
|40.13&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 100 K&lt;br /&gt;
| 17.26&lt;br /&gt;
&lt;br /&gt;
| 1600 K&lt;br /&gt;
| 41.76&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 200 K&lt;br /&gt;
| 18.89&lt;br /&gt;
&lt;br /&gt;
| 1700 K&lt;br /&gt;
|43.40&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 300 K&lt;br /&gt;
| 20.53&lt;br /&gt;
&lt;br /&gt;
| 1800 K&lt;br /&gt;
|45.03&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 400 K&lt;br /&gt;
| 22.16&lt;br /&gt;
&lt;br /&gt;
| 1900 K&lt;br /&gt;
|46.67&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 500 K&lt;br /&gt;
| 23.79&lt;br /&gt;
&lt;br /&gt;
| 2000 K&lt;br /&gt;
|48.30&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 600 K&lt;br /&gt;
| 25.43&lt;br /&gt;
&lt;br /&gt;
| 2100 K&lt;br /&gt;
|49.93&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 700 K&lt;br /&gt;
| 27.06&lt;br /&gt;
&lt;br /&gt;
| 2200 K&lt;br /&gt;
|51.57&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 800 K&lt;br /&gt;
| 28.69&lt;br /&gt;
&lt;br /&gt;
| 2300 K&lt;br /&gt;
|53.20&lt;br /&gt;
|-&lt;br /&gt;
| 900 K&lt;br /&gt;
| 30.33&lt;br /&gt;
&lt;br /&gt;
| 2400 K&lt;br /&gt;
|54.83&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1000 K&lt;br /&gt;
| 31.96&lt;br /&gt;
&lt;br /&gt;
| 2500 K&lt;br /&gt;
|56.47&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1100 K&lt;br /&gt;
| 33.60&lt;br /&gt;
&lt;br /&gt;
| 2600 K&lt;br /&gt;
|58.10&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1200 K&lt;br /&gt;
| 35.23&lt;br /&gt;
&lt;br /&gt;
| 2700 K&lt;br /&gt;
|59.74&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1300 K&lt;br /&gt;
| 36.86&lt;br /&gt;
&lt;br /&gt;
| 2800 K&lt;br /&gt;
|61.369&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1400 K&lt;br /&gt;
| 38.50&lt;br /&gt;
&lt;br /&gt;
| 2900 K&lt;br /&gt;
|63.00&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As we can see from the table of results, the coefficient of thermal expansion is not independent of temperature, but changes with it. In comparison to literature values&amp;lt;ref&amp;gt;A. S. Madhusudhan Rao and K. Narender, J. Chem. Thermodyn, 2014, &#039;&#039;&#039;2014&#039;&#039;&#039;, 8&amp;lt;/ref&amp;gt;, at 300 K the data obtained through this experiment largely agrees with the literature data of a value for the thermal expansion coefficient of 11.91 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Deviations from the literature values can be attributed to shortcomings of the quasi-harmonic oscillator approximation. The main approximation being that the oscillations of the atoms about their equilibrium positions are small, which for higher energy phonon modes is not representative of those modes. Therefore it is seen that the difference in our calculated values to that of literature values increases as the temperature increases such as a literature value of 14.17 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 1200 K, compared to a calculated value of 35.23 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At temperatures above the melting point of MgO - 2852 °C &amp;lt;ref&amp;gt; Haynes, William M., CRC Handbook of Chemistry and Physics (92nd ed.), Boca Raton, CRC Press., 2011&amp;lt;/ref&amp;gt; - the phonon modes of MgO are not accurate represented. This is due to the fact that above this temperature MgO melts from a solid to a liquid, and thus the approximation that the solid is a perfect lattice breaks down. This means that for temperatures near to or above 2852 °C the data is not representative of the true phonon modes as a solid is being simulated whereas in reality the material is already is a liquid and so solid phonon modes cannot describe the liquid modes.&lt;br /&gt;
&lt;br /&gt;
Although the quasi-harmonic approximation breaks down at higher temperatures, unlike other approximations such as the harmonic approximation, it can be used to model thermal expansion. Consider a diatomic harmonic oscillator, with an increase in temperature the strength of oscillation will increase, but in equal proportions relating to lengthening and contracting of the bond due to the nature of a harmonic potential. This leads to an increase in temperature not changing the equilibrium bond length and thus thermal expansion cannot be modelled. The quasi-harmonic approximation takes into account some of the anharmonic nature of the true bond and so allows thermal expansion to be modelled. This can be visualised through viewing a morse potential. A contraction of bond length in a morse potential require a much larger amount of energy than an increase in bond length, therefore at higher temperatures and so higher energies, while the bond length maximum will largely increase, the minimum bond length will change only slightly, thus on average the bond length will have lengthened. This leads to an increase in equilibrium bond length, and so applying this so a lattice leads to an increase in volume of the lattice.&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamic Simulations ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
||[[File:Ft1015MgO_MD.png|500px|thumb|&#039;&#039;&#039;Figure 7&#039;&#039;&#039;: A plot of cell volume against temperature for the molecular dynamics calculations]]&lt;br /&gt;
|[[File:Ft1015MgO_MDvsLD.png|500px|thumb|&#039;&#039;&#039;Figure 8&#039;&#039;&#039;: A plot of cell volume against temperature comparing the values calculated via Molecular Dynamics and Lattice Dynamics]]&lt;br /&gt;
|[[File:Ft1015MgO_Thermal_Expansion_Coefficient_MDvsLD.png|500px|thumb|&#039;&#039;&#039;Figure 9&#039;&#039;&#039;: A plot of the thermal expansion coefficient for both Molecular Dynamics and Lattice Dynamics simulations]]&lt;br /&gt;
|}&lt;br /&gt;
Molecular dynamics simulations were run using from 50-3700 K as shown in figure 7. Figures 8&amp;amp;9 compares the results of Molecular dynamics and Lattice Dynamics (quasi-harmonic approximation) simulations. In figure 8 it is seen that the difference in volume the MD and LD plots for the range 400-1400 K is quite small, while at temperatures lower than 400 K and higher than 1400 K the simulations begin to deviate from each other. Figure 9 compares the calculated coefficient for thermal expansion for MD and LD, taking a value at 300 K of 25.82 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 30.33 at 1200 K, in comparison to the literature values of 11.91 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 300 K and 14.17 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 1200 K, it can be seen that at lower temperatures, the LD approach is more accurate, while at higher temperature MD is more accurate. As MD calculations average the volume of the cell over set intervals - the timestep - for a set period of time, the erractic nature of the MD curve at high temperatures in figure 8 is due to the large velocites of the ions in the lattice leads to the timestep being to large to take an accurate snapshot of the system and its variations. Thus a timestep smaller than the 500 fs interval used would reduce the noise in the simulation and provide a more accurate description of the volume at higher temperatures.&lt;br /&gt;
&lt;br /&gt;
LD and MD simulations differ due to the differences between how they calculate their results and the approximations they take into account. MD differs from LD at lower temperatures due to the lack of higher order quantum corrections which LD takes into account, while at higher temperatures MD is more accurate due to the use of Newton&#039;s classical equations which dominate all quantum effects, while LD suffers from a lack of higher order anharmonic terms in its approximation. &amp;lt;ref&amp;gt;Masanori Matsui, Geoffrey D. Price and Atul Patel, Geophys. Res. Lett., 1994, &#039;&#039;&#039;21&#039;&#039;&#039;, 1659-1662&amp;lt;/ref&amp;gt;. This leads MD producing more accurate results at higher temperatures, while LD is more accurate at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
As stated above, at temperatures near to or larger than the melting point of MgO, a LD simulation fails to produce accurate results for the volume of the cell due to the fact that a solid is still being simulated rather than a liquid. MD simulations however work through Newton&#039;s laws of motion and so can model phase transitions of materials. This can be seen in figure 7, where after the melting of MgO at 2852 K the change in volume per 100 K is larger than for temperatures below this point, due to the forces between liquid molecules being weaker than that of solids, and so thermal expansion of liquids  is larger than solid for the same change in temperature.&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
Through successful modelling of MgO through LD and MD simulations, the phonon distribution and density of states was calculated and a 16x16x16 grid size was found optimal for LD simulations. For LD simulations, lattice volume was found to at first increase linearly, but after 1700 K increase in a more harmonic or polynomial form with temperature. Similarly for the Hemholtz free energy, the increase in free energy was found to be more linear at first, and then become more polynomial in nature above 1700 K. LD thermal expansion coefficents were found to follow a polynomial trend, following a linear trend to 2200 K but diverging after this point to a more polynomial nature. MD simulations for the change in volume of MgO against temperature were linear throughout the temperature range sampled over, but become more erratic at higher temperatures due to the timestep being too large for the simulations. Both LD and MD simulations were found to be accurate at calculating thermal expansion coefficients at from 50-800 K, while above this range MD is increasingly more accurate with an increase in temperature. Shortcomings of both LD and MD simulations were established and discussed comparatively between the two models.&lt;br /&gt;
&lt;br /&gt;
Improvement of the LD simulations could be done by introducing more anharmonic terms in to the quasi-harmonic oscillator approximation. This would increase the accuracy of the results obtained from the experiment and allow it to work at higher temperatures, but would greatly increase the time taken to simulate systems. MD could be improved by taking into account quantum effects such as the zero point energy of molecule, which play a large role in the energy at low temperatures where MD is not as accurate as LD, or by reducing the time step, allowing for more accurate results at very high temperatures. From this experiment it can be seen that both LD and MD simulations have areas where they are better than one-another, and so knowledge on when and where to use each model would greatly increase the accuracy of results obtained. Further investigations include simulating more complex materials such as zeolites or large molecules, or simulating similarly simple compounds such salts to investigate how a change in ion can affect the physical properties of compounds.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;/div&gt;</summary>
		<author><name>Ft1015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=652417</id>
		<title>Rep:FabianThomasThirdYearMgOSimulation</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=652417"/>
		<updated>2017-12-18T01:40:24Z</updated>

		<summary type="html">&lt;p&gt;Ft1015: /* Conclusion */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Abstract ==&lt;br /&gt;
Lattice Dynamics simulations using the quasi-harmonic oscillator approximation, and Molecular Dynamics simulations were carried for MgO over a range of temperatures using GULP. The phonon dispersion, density of states and thermal expansion coefficients were investigated in order to understand how a change in temperature effected the volume of MgO. It was found that a 16x16x16 grid was the optimal grid size for carrying out LD simulations. The lattice parameter and volume increased polynomially with temperature for LD simulations, while was more linear with MD simulations. Thermal expansion coefficients were calculated from 50-2900 K for LD and 50-3700 K for MD. LD was found to be better at simulating temperatures less than 700 K, while MD was more accurate above 700 K for calculating the thermal expansion coefficient of MgO. With values for the thermal expansion coefficient of 20.53 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 25.82 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 300 K, and 35.23 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 30.33 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; 1200 K for LD and MD respectively.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
One of the earliest uses of thermal expansion in daily life was the mercury thermometer. A change in temperature would lead to the mercury either taking up more or less space if it became hotter or colder, thus allowing the temperature the be measured. Nowadays thermal expansion is seen in a variety of sectors in daily life, one major sector being the transportation sector. At high temperatures, train tracks which have not been built with thermal expansion in mind buckle due to the expansion of the metal. This can lead to delays, closing of railways, or in the worst case the derailment of a train due to the sharp angles of the buckled train tracks. Many motorways around the world now have expansion joints made of metal teeth that fit together, which when the temperatures rise allow the metal teeth in the joint to expand to fill the empty space instead of cracking the road, or small lines cut into the road so that it has room to expand when the temperature increases. Thus the expansion of materials under a change in temperature is an important aspect of research for many sectors in the world.&lt;br /&gt;
&lt;br /&gt;
Modelling thermal expansion using Lattice Dynamics and Molecular Dynamics and understanding the phonon modes of a material allows for the comparison between two types of simulation and the study of thermal expansion of materials. Modelling these systems using MD and LD provides a fast and powerful way to understand the thermal expansion of the system, and thus not needing to perform possibly expensive experiments determining this property experimentally to check if the material is viable. Some of the most commonly used materials such as steel or concrete vary in composition depending on what application the material is being used for and so simulations similar to the ones carried out in this experiment can be used to determine the qualities of the material and what type of composition it should have, before production. Even though these simulations are powerful, there are questions still unanswered, how complex a system can these methods accurately simulate and are there any types of material that these simulations cannot compute?&lt;br /&gt;
&lt;br /&gt;
=== Theory ===&lt;br /&gt;
The quasi-harmonic approximation for phonons builds upon the harmonic approximation for phonon dynamics, and therefore to explain the quasi-harmonic approximation we must first discuss the harmonic approximation&lt;br /&gt;
&lt;br /&gt;
For a regular, linear chain which is composed of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; number of particles, the forces between a pair of atoms can be assumed to be a potential energy function &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; which depends on the distance of the separation between the atoms. The main contributing forces to the potential are described by an electric force, such as electrostatic attractions, covalent bonds or Van der Waals forces. Therefore the potential energy of the entire lattice made up of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; atoms is the sum of the potential energies between each pair of atoms with a separation r from each other shown below in eq 1.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV(r)&amp;lt;/math&amp;gt;       &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, allowing each atom to deviate slightly from its equilibrium position by a displacement &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;, if the deviations are small in comparison to the distance between each atom &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;, the energy of this chain is able to be calculated via a taylor expansion summing over all of the atoms in the chain.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV + \sum_{s\ge 1} \frac {1}{s !} \frac {\partial^s V}{\partial u^s} \sum_{n}&lt;br /&gt;
 (u_n - u_{n+1})^s&amp;lt;/math&amp;gt;     &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;u_n&amp;lt;/math&amp;gt; is the displacement of the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;th atom from its equilibrium postition&lt;br /&gt;
&lt;br /&gt;
Two approximations are used in order to reach this equation, which together forms the harmonic approximation and it&#039;s respective equation. The first approximation states that the sum of the pair potential energies is completed over only neighboring atoms, as although there are electric forces between all atoms, these forces on atoms far away from one another are greatly diminished by screening by the atoms in between, and that the potential energies are treated as harmonic potential energies. In this equation, as the expansion was done around the equilibrium point, therefore the first derivative is zero, whereas higher order terms are not, and so the first term can be dropped, and the second term is used where &amp;lt;math&amp;gt;s = 2&amp;lt;/math&amp;gt;, with higher order terms being neglected. These higher order terms are ignored as harmonic equations of motion have exact solutions, while anharmonic equations do not have exact solutions to them and require more approximations. Thus the energy of the lattice is thus the same as the energy of the set of harmonic oscillators. The error in this equation remains small for small values of &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;&lt;br /&gt;
as the value of higher order terms will remain low.&lt;br /&gt;
CITE BOOK&lt;br /&gt;
&lt;br /&gt;
The quasi-harmonic approximation expands upon the harmonic approximation by taking into account some of the true anharmonicity of the interactions between atoms. The quasi-harmonic approximation relates the hemholtz free energy of a perfect lattice to both its temperature and its volume, in contrast to the harmonic oscillator that only depended on temperature, this is shown below in eq. 3&amp;lt;ref&amp;gt;Martin T. Dove, Introduction to Lattice Dynamics (Cambridge Topics in Mineral Physics and Chemistry), Cambridge University Press, Cambridge, 1993&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; F = E_0 + \frac {1}{2}\sum_{k,j}^{} \hbar \omega _k + k_B T \sum_{k,j}^{}ln(1-e^{\frac {-\hbar \omega _k }{k_B T}})&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;F&amp;lt;/math&amp;gt; is the Hemholtz free energy and &amp;lt;math&amp;gt;E_0&amp;lt;/math&amp;gt; is the lattice energy&lt;br /&gt;
&lt;br /&gt;
As this definition of the free energy also takes into account the volume of the lattice, this allows thermal expansion to be calculated as it allows the harmonic approximation to hold for all temperatures.&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics simulates a lattice of atoms using Newton&#039;s equations of motion and so simulated the cell over a certain period of time, taking a time-average of the cell to obtain physical quantities. In the simulations run in this experiment, an isothermal-isobaric (NPT) ensemble was used to calculate the thermal expansion coefficients and volume of the MgO cell at specific temperatures. As MD is based on Newton&#039;s laws of motion it does not take into account quantum effects such as the zero-point energy of a material in comparison to QHA which does.&lt;br /&gt;
&lt;br /&gt;
== Results and Discussion ==&lt;br /&gt;
&lt;br /&gt;
=== Phonon modes and Free Energy of MgO ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|[[File:Ft1015MgO_phonon_dispersion.PNG|500px|thumb|&#039;&#039;&#039;Figure 1&#039;&#039;&#039;: A phonon dispersion plot for MgO]]&lt;br /&gt;
|[[File:Ft1015MgO_DoS.PNG|500px|thumb|&#039;&#039;&#039;Figure 2&#039;&#039;&#039;: A plot of the density of states for MgO using a 1x1x1 grid size]]&lt;br /&gt;
|[[File:Ft1015MgO_DoS_20x20x20.PNG|500px|thumb|left|&#039;&#039;&#039;Figure 3&#039;&#039;&#039;: The optimised plot of the density of states for MgO using a 16x16x16 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From figures 1 and 2, we can see the computed phonon dispersion curve and density of states for a 1x1x1 grid size containing one k-point. Correlating the density of states with the dispersion curve via their shared axis of frequency of vibration yields the k-point L on the dispersion curve as the singular k-point used for the calculation. The density of states shows bands at 286 and 351 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 676 and 806 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, with the intensities of the first two bands double that of the final two bands. These bands correspond to three acoustic and three optical branches, with the first two bands of 0.333 intensity corresponding to a k-point where two branches are overlapping and are therefore degenerate states.&lt;br /&gt;
&lt;br /&gt;
Varying the grid size used for the calculation greatly affected the accuracy and precision of the results of calculations through increasing the number of k-points sampled in eq. 1ː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\omega ^{2}(k) = C(\frac{1}{M_{Mg}} + \frac{1}{M_{O}}) \pm \sqrt {(\frac{1}{M_{Mg}} + \frac{1}{M_{O}})^{2} - \frac{4sin^{2}(ka)}{M_{Mg}}}&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; is the spring force constant, &amp;lt;math&amp;gt;M_{Mg}&amp;lt;/math&amp;gt; is the molar mass of magnesium and &amp;lt;math&amp;gt;M_{O}&amp;lt;/math&amp;gt; is the molar mass of oxygen&lt;br /&gt;
&lt;br /&gt;
As the grid size increases, and thus the more k-points sampled, more and more features become visible, with the increase in number of points sampled along the dispersion curve leading to the increase in number of bands seen in the density of states. Optimising the grid size led to a grid size of 16x16x16 being optimal. As expected, the density of states plot produced from this grid size was smooth, as can be seen in figure 3. This curve was proved to be a good optimisation through looking at the Hemholtz free energy for each of the simulated grid sizes. As the accuracy of the Helmholtz free energy result directly depends on the number of k-space points sampled in the calculations as can be seen in eq. 2. Similarly to eq. 1, the larger the grid size, and therefore the more k-points sampled, the more accurate the result. Comparing the free energy of the 16x16x16 grid to the 32x32x32 grid; which for higher order grids remained constant and so had converged, the 16x16x16 was accurate to within 0.001 meV or 2.4434 × 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; %.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; F = E_0 + \frac {1}{2}\sum_{k,j}^{} \hbar \omega _k + k_B T \sum_{k,j}^{}ln(1-e^{\frac {-\hbar \omega _k }{k_B T}})&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;F&amp;lt;/math&amp;gt; is the Hemholtz free energy and &amp;lt;math&amp;gt;E_0&amp;lt;/math&amp;gt; is the lattice energy&lt;br /&gt;
&lt;br /&gt;
In comparison to smaller grid sizes, the 16x16x16 grid size curve appears more smooth, and more akin to a single band as seen for macrostructures. Larger grid sizes, while greatly increasing the computation time of the calculation did not largely increase the accuracy of the calculations as stated above, and therefore the 16x16x16 grid size was the optimal choice for these simulations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 1. Calculated Total Difference in Hemholtz Free Energy &lt;br /&gt;
! Grid Size&lt;br /&gt;
! Total Difference in Free Energy&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 3.818&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.126&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -0.051&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -0.033&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -0.001&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| -0.000&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| 0.000&lt;br /&gt;
|-&lt;br /&gt;
| 64&lt;br /&gt;
| 0.000&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Table 1 shows the difference between the calculated free energy for grid size and the final converged free energy. Looking at this, we can see that for grid sizes larger than 24x24x24, there is no change in the free energy of the system and so the free energy has converged to a minima, although it may not be the global minimum. The accuracy of simulations also increase rapidly with grid size, for example for accurate simulated energies to 1, 0.5 and 0.1 meV per cell, grid sizes of 2x2x2, 4x4x4 and 8x8x8 respectively can be used. This rapid increase in the accuracy of the calculation can be attributed to the large increase in k-points sampled over within the summations in eq. 2 with increasing grid size.&lt;br /&gt;
&lt;br /&gt;
However, the optimal grid size dependent on the material used due to the relationship between the lattice parameter, and the size of the first brillouin zone in k-space. For a similar oxide such as CaO, in comparsion to the lattice parameter of MgO of 4.212 Å &amp;lt;ref&amp;gt; A. CIMINO, P. PORTA and M. VALIGI, J. Am. Ceram. Soc, 1966, &#039;&#039;&#039;49&#039;&#039;&#039;, 152–156 &amp;lt;/ref&amp;gt;, the parameter of CaO is 4.864 Å &amp;lt;ref&amp;gt;Mackrodt, W. C., Harrison, N. M., Saunders, V. R., Allan, N. L. and Towler, M. D., Aprà, E., Dovesi, R., Philos. Mag. A, 1993 , &#039;&#039;&#039;68&#039;&#039;&#039;, 653-666 &amp;lt;/ref&amp;gt;, slightly larger than that of MgO. This leads to a slightly smaller grid size being optimal, as the larger lattice parameter leads to a smaller brillouin zone in reciprocal space as if the lattice parameter &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; is larger, then the size of the first brillouin zone &amp;lt;math&amp;gt;a^{*}= \frac {2 \pi}{a} &amp;lt;/math&amp;gt;will be smaller. This in turn allows less points to be sampled inside the region to give the same spacing of points, and therefore accuracy for the density of states as for MgO. Similarly, the zeolite faujsite has an extremely large lattice parameter of 25.132 Å &amp;lt;ref&amp;gt;E. Dempsey, G. H. Kuhl, and D. H. Olson, Phys. Chem., 1969, &#039;&#039;&#039;73&#039;&#039;&#039;, 387–390 &amp;lt;/ref&amp;gt;, in comparison to MgO. This; as with the case of CaO but more exaggerated, leads to a much smaller brillouin zone in reciprocal space, and so allows for a much smaller grid size to give the same accuracy as the MgO calculation due to the extremely small value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; obtained for faujsite.&lt;br /&gt;
Conversely, lithium has a smaller lattice spacing of 3.51 Å &amp;lt;ref&amp;gt;M.R. Nadler and C.P. Kempfer, Anal. Chem., 1959, &#039;&#039;&#039;31&#039;&#039;&#039;, 2109-2111&amp;lt;/ref&amp;gt;. Therefore the value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; for lithium will be larger than for MgO, and so require a larger grid size to obtain the same spacing between sampled k-space points and therefore accuracy of the calculated density of states.&lt;br /&gt;
&lt;br /&gt;
=== Thermal Expansion of MgO ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
||[[File:Ft1015Latticeparametervskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 4&#039;&#039;&#039;: A plot of lattice parameter against temperature for MgO]]&lt;br /&gt;
|[[File:Ft1015Latticevolumevskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 5&#039;&#039;&#039;: A plot of lattice volume against temperature for MgO, with the magenta line on the graph corresponding to the polynomial fit for the graph, and the red point the points which were not fitted over]]&lt;br /&gt;
|[[File:Ft1015Hemholtzvskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 6&#039;&#039;&#039;: A plot of free energy against temperature for MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The physical origin of thermal expansion for a solid lattice arises from the increase of kinetic energy of a material with an increase in temperature. All atoms within a lattice vibrate and move about their positions within the lattice and with an increase in temperature, each atom in the lattice gains kinetic energy, increasing the strength of its vibrations and the speed at which the atoms move. Due to this, the atoms on average take up more space at higher temperatures than lower temperatures and so averaged out over many atoms in a lattice, this increases the volume of the lattice.&lt;br /&gt;
&lt;br /&gt;
Figures 4 &amp;amp; 5 show the effect of change on temperature on the lattice parameter and volume of MgO in the range of 50-2900 K. As we can seen from the figures, from 50-400 K, a change in temperature does not largely increase the volume, while above 400 K the trend seems to be linear with respect to volume increase through an increase in temperature. This is however not the case at higher temperatures above 2200 K where the trend is more polynomial in nature.&lt;br /&gt;
&lt;br /&gt;
Figure 6 shows the effect of change in temperature on the Hemholtz free energy of MgO. From 50-400 K, the dominating term for the free energy is the zero point energy, and thus a change in temperature does not greatly change the free energy of the lattice and so volume changes at low temperatures are minimal. At temperatures above 2200 K not only is the entropic term completely dominating all other terms for the free energy, but also higher order anharmonic terms for the free energy that were excluded in the harmonic approximation part of the equation begin to play a large role in the free energy. This leads to the gradient no longer being linear. &amp;lt;ref&amp;gt;Masanori Matsui, Geoffrey D. Price and Atul Patel, Geophys. Res. Lett., 1994, &#039;&#039;&#039;21&#039;&#039;&#039;,  1659-1662 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The thermal expansion coefficients for MgO can be calculated through using the gradient &amp;lt;math&amp;gt; (\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt; at a specific value of &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; in the equationː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \alpha = \frac{1}{V_i} (\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt;   &amp;lt;math&amp;gt;(3)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt; \alpha &amp;lt;/math&amp;gt; is the coefficient of thermal expansion and &amp;lt;math&amp;gt;V_i&amp;lt;/math&amp;gt; is the volume of the lattice at 0 K, and &amp;lt;math&amp;gt;(\frac{\partial V}{\partial T})_p =6.16898 \times 10^{-7} T + 0.00118&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Table 2 displays thermal expansion coefficients for the polynomial fit of MgO, alongside the temperature range that the fit was made over.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 2. Calculated Linear fit Thermal Expansion Coefficients for MgO&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| 50 K&lt;br /&gt;
| 16.44&lt;br /&gt;
&lt;br /&gt;
| 1500 K&lt;br /&gt;
|40.13&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 100 K&lt;br /&gt;
| 17.26&lt;br /&gt;
&lt;br /&gt;
| 1600 K&lt;br /&gt;
| 41.76&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 200 K&lt;br /&gt;
| 18.89&lt;br /&gt;
&lt;br /&gt;
| 1700 K&lt;br /&gt;
|43.40&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 300 K&lt;br /&gt;
| 20.53&lt;br /&gt;
&lt;br /&gt;
| 1800 K&lt;br /&gt;
|45.03&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 400 K&lt;br /&gt;
| 22.16&lt;br /&gt;
&lt;br /&gt;
| 1900 K&lt;br /&gt;
|46.67&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 500 K&lt;br /&gt;
| 23.79&lt;br /&gt;
&lt;br /&gt;
| 2000 K&lt;br /&gt;
|48.30&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 600 K&lt;br /&gt;
| 25.43&lt;br /&gt;
&lt;br /&gt;
| 2100 K&lt;br /&gt;
|49.93&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 700 K&lt;br /&gt;
| 27.06&lt;br /&gt;
&lt;br /&gt;
| 2200 K&lt;br /&gt;
|51.57&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 800 K&lt;br /&gt;
| 28.69&lt;br /&gt;
&lt;br /&gt;
| 2300 K&lt;br /&gt;
|53.20&lt;br /&gt;
|-&lt;br /&gt;
| 900 K&lt;br /&gt;
| 30.33&lt;br /&gt;
&lt;br /&gt;
| 2400 K&lt;br /&gt;
|54.83&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1000 K&lt;br /&gt;
| 31.96&lt;br /&gt;
&lt;br /&gt;
| 2500 K&lt;br /&gt;
|56.47&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1100 K&lt;br /&gt;
| 33.60&lt;br /&gt;
&lt;br /&gt;
| 2600 K&lt;br /&gt;
|58.10&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1200 K&lt;br /&gt;
| 35.23&lt;br /&gt;
&lt;br /&gt;
| 2700 K&lt;br /&gt;
|59.74&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1300 K&lt;br /&gt;
| 36.86&lt;br /&gt;
&lt;br /&gt;
| 2800 K&lt;br /&gt;
|61.369&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1400 K&lt;br /&gt;
| 38.50&lt;br /&gt;
&lt;br /&gt;
| 2900 K&lt;br /&gt;
|63.00&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As we can see from the table of results, the coefficient of thermal expansion is not independent of temperature, but changes with it. In comparison to literature values&amp;lt;ref&amp;gt;A. S. Madhusudhan Rao and K. Narender, J. Chem. Thermodyn, 2014, &#039;&#039;&#039;2014&#039;&#039;&#039;, 8&amp;lt;/ref&amp;gt;, at 300 K the data obtained through this experiment largely agrees with the literature data of a value for the thermal expansion coefficient of 11.91 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Deviations from the literature values can be attributed to shortcomings of the quasi-harmonic oscillator approximation. The main approximation being that the oscillations of the atoms about their equilibrium positions are small, which for higher energy phonon modes is not representative of those modes. Therefore it is seen that the difference in our calculated values to that of literature values increases as the temperature increases such as a literature value of 14.17 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 1200 K, compared to a calculated value of 35.23 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At temperatures above the melting point of MgO - 2852 °C &amp;lt;ref&amp;gt; Haynes, William M., CRC Handbook of Chemistry and Physics (92nd ed.), Boca Raton, CRC Press., 2011&amp;lt;/ref&amp;gt; - the phonon modes of MgO are not accurate represented. This is due to the fact that above this temperature MgO melts from a solid to a liquid, and thus the approximation that the solid is a perfect lattice breaks down. This means that for temperatures near to or above 2852 °C the data is not representative of the true phonon modes as a solid is being simulated whereas in reality the material is already is a liquid and so solid phonon modes cannot describe the liquid modes.&lt;br /&gt;
&lt;br /&gt;
Although the quasi-harmonic approximation breaks down at higher temperatures, unlike other approximations such as the harmonic approximation, it can be used to model thermal expansion. Consider a diatomic harmonic oscillator, with an increase in temperature the strength of oscillation will increase, but in equal proportions relating to lengthening and contracting of the bond due to the nature of a harmonic potential. This leads to an increase in temperature not changing the equilibrium bond length and thus thermal expansion cannot be modelled. The quasi-harmonic approximation takes into account some of the anharmonic nature of the true bond and so allows thermal expansion to be modelled. This can be visualised through viewing a morse potential. A contraction of bond length in a morse potential require a much larger amount of energy than an increase in bond length, therefore at higher temperatures and so higher energies, while the bond length maximum will largely increase, the minimum bond length will change only slightly, thus on average the bond length will have lengthened. This leads to an increase in equilibrium bond length, and so applying this so a lattice leads to an increase in volume of the lattice.&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamic Simulations ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
||[[File:Ft1015MgO_MD.png|500px|thumb|&#039;&#039;&#039;Figure 7&#039;&#039;&#039;: A plot of cell volume against temperature for the molecular dynamics calculations]]&lt;br /&gt;
|[[File:Ft1015MgO_MDvsLD.png|500px|thumb|&#039;&#039;&#039;Figure 8&#039;&#039;&#039;: A plot of cell volume against temperature comparing the values calculated via Molecular Dynamics and Lattice Dynamics]]&lt;br /&gt;
|[[File:Ft1015MgO_Thermal_Expansion_Coefficient_MDvsLD.png|500px|thumb|&#039;&#039;&#039;Figure 9&#039;&#039;&#039;: A plot of the thermal expansion coefficient for both Molecular Dynamics and Lattice Dynamics simulations]]&lt;br /&gt;
|}&lt;br /&gt;
Molecular dynamics simulations were run using from 50-3700 K as shown in figure 7. Figures 8&amp;amp;9 compares the results of Molecular dynamics and Lattice Dynamics (quasi-harmonic approximation) simulations. In figure 8 it is seen that the difference in volume the MD and LD plots for the range 400-1400 K is quite small, while at temperatures lower than 400 K and higher than 1400 K the simulations begin to deviate from each other. Figure 9 compares the calculated coefficient for thermal expansion for MD and LD, taking a value at 300 K of 25.82 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 30.33 at 1200 K, in comparison to the literature values of 11.91 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 300 K and 14.17 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 1200 K, it can be seen that at lower temperatures, the LD approach is more accurate, while at higher temperature MD is more accurate. As MD calculations average the volume of the cell over set intervals - the timestep - for a set period of time, the erractic nature of the MD curve at high temperatures in figure 8 is due to the large velocites of the ions in the lattice leads to the timestep being to large to take an accurate snapshot of the system and its variations. Thus a timestep smaller than the 500 fs interval used would reduce the noise in the simulation and provide a more accurate description of the volume at higher temperatures.&lt;br /&gt;
&lt;br /&gt;
LD and MD simulations differ due to the differences between how they calculate their results and the approximations they take into account. MD differs from LD at lower temperatures due to the lack of higher order quantum corrections which LD takes into account, while at higher temperatures MD is more accurate due to the use of Newton&#039;s classical equations which dominate all quantum effects, while LD suffers from a lack of higher order anharmonic terms in its approximation. &amp;lt;ref&amp;gt;Masanori Matsui, Geoffrey D. Price and Atul Patel, Geophys. Res. Lett., 1994, &#039;&#039;&#039;21&#039;&#039;&#039;, 1659-1662&amp;lt;/ref&amp;gt;. This leads MD producing more accurate results at higher temperatures, while LD is more accurate at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
As stated above, at temperatures near to or larger than the melting point of MgO, a LD simulation fails to produce accurate results for the volume of the cell due to the fact that a solid is still being simulated rather than a liquid. MD simulations however work through Newton&#039;s laws of motion and so can model phase transitions of materials. This can be seen in figure 7, where after the melting of MgO at 2852 K the change in volume per 100 K is larger than for temperatures below this point, due to the forces between liquid molecules being weaker than that of solids, and so thermal expansion of liquids  is larger than solid for the same change in temperature.&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
Through successful modelling of MgO through LD and MD simulations, the phonon distribution and density of states was calculated and a 16x16x16 grid size was found optimal for LD simulations. For LD simulations, lattice volume was found to at first increase linearly, but after 1700 K increase in a more harmonic or polynomial form with temperature. Similarly for the Hemholtz free energy, the increase in free energy was found to be more linear at first, and then become more polynomial in nature above 1700 K. LD thermal expansion coefficents were found to follow a polynomial trend, following a linear trend to 2200 K but diverging after this point to a more polynomial nature. MD simulations for the change in volume of MgO against temperature were linear throughout the temperature range sampled over, but become more erratic at higher temperatures due to the timestep being too large for the simulations. Both LD and MD simulations were found to be accurate at calculating thermal expansion coefficients at from 50-800 K, while above this range MD is increasingly more accurate with an increase in temperature. Shortcomings of both LD and MD simulations were established and discussed comparatively between the two models.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;/div&gt;</summary>
		<author><name>Ft1015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=652414</id>
		<title>Rep:FabianThomasThirdYearMgOSimulation</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=652414"/>
		<updated>2017-12-18T01:02:53Z</updated>

		<summary type="html">&lt;p&gt;Ft1015: /* Abstract */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Abstract ==&lt;br /&gt;
Lattice Dynamics simulations using the quasi-harmonic oscillator approximation, and Molecular Dynamics simulations were carried for MgO over a range of temperatures using GULP. The phonon dispersion, density of states and thermal expansion coefficients were investigated in order to understand how a change in temperature effected the volume of MgO. It was found that a 16x16x16 grid was the optimal grid size for carrying out LD simulations. The lattice parameter and volume increased polynomially with temperature for LD simulations, while was more linear with MD simulations. Thermal expansion coefficients were calculated from 50-2900 K for LD and 50-3700 K for MD. LD was found to be better at simulating temperatures less than 700 K, while MD was more accurate above 700 K for calculating the thermal expansion coefficient of MgO. With values for the thermal expansion coefficient of 20.53 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 25.82 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 300 K, and 35.23 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 30.33 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; 1200 K for LD and MD respectively.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
One of the earliest uses of thermal expansion in daily life was the mercury thermometer. A change in temperature would lead to the mercury either taking up more or less space if it became hotter or colder, thus allowing the temperature the be measured. Nowadays thermal expansion is seen in a variety of sectors in daily life, one major sector being the transportation sector. At high temperatures, train tracks which have not been built with thermal expansion in mind buckle due to the expansion of the metal. This can lead to delays, closing of railways, or in the worst case the derailment of a train due to the sharp angles of the buckled train tracks. Many motorways around the world now have expansion joints made of metal teeth that fit together, which when the temperatures rise allow the metal teeth in the joint to expand to fill the empty space instead of cracking the road, or small lines cut into the road so that it has room to expand when the temperature increases. Thus the expansion of materials under a change in temperature is an important aspect of research for many sectors in the world.&lt;br /&gt;
&lt;br /&gt;
Modelling thermal expansion using Lattice Dynamics and Molecular Dynamics and understanding the phonon modes of a material allows for the comparison between two types of simulation and the study of thermal expansion of materials. Modelling these systems using MD and LD provides a fast and powerful way to understand the thermal expansion of the system, and thus not needing to perform possibly expensive experiments determining this property experimentally to check if the material is viable. Some of the most commonly used materials such as steel or concrete vary in composition depending on what application the material is being used for and so simulations similar to the ones carried out in this experiment can be used to determine the qualities of the material and what type of composition it should have, before production. Even though these simulations are powerful, there are questions still unanswered, how complex a system can these methods accurately simulate and are there any types of material that these simulations cannot compute?&lt;br /&gt;
&lt;br /&gt;
=== Theory ===&lt;br /&gt;
The quasi-harmonic approximation for phonons builds upon the harmonic approximation for phonon dynamics, and therefore to explain the quasi-harmonic approximation we must first discuss the harmonic approximation&lt;br /&gt;
&lt;br /&gt;
For a regular, linear chain which is composed of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; number of particles, the forces between a pair of atoms can be assumed to be a potential energy function &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; which depends on the distance of the separation between the atoms. The main contributing forces to the potential are described by an electric force, such as electrostatic attractions, covalent bonds or Van der Waals forces. Therefore the potential energy of the entire lattice made up of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; atoms is the sum of the potential energies between each pair of atoms with a separation r from each other shown below in eq 1.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV(r)&amp;lt;/math&amp;gt;       &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, allowing each atom to deviate slightly from its equilibrium position by a displacement &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;, if the deviations are small in comparison to the distance between each atom &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;, the energy of this chain is able to be calculated via a taylor expansion summing over all of the atoms in the chain.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV + \sum_{s\ge 1} \frac {1}{s !} \frac {\partial^s V}{\partial u^s} \sum_{n}&lt;br /&gt;
 (u_n - u_{n+1})^s&amp;lt;/math&amp;gt;     &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;u_n&amp;lt;/math&amp;gt; is the displacement of the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;th atom from its equilibrium postition&lt;br /&gt;
&lt;br /&gt;
Two approximations are used in order to reach this equation, which together forms the harmonic approximation and it&#039;s respective equation. The first approximation states that the sum of the pair potential energies is completed over only neighboring atoms, as although there are electric forces between all atoms, these forces on atoms far away from one another are greatly diminished by screening by the atoms in between, and that the potential energies are treated as harmonic potential energies. In this equation, as the expansion was done around the equilibrium point, therefore the first derivative is zero, whereas higher order terms are not, and so the first term can be dropped, and the second term is used where &amp;lt;math&amp;gt;s = 2&amp;lt;/math&amp;gt;, with higher order terms being neglected. These higher order terms are ignored as harmonic equations of motion have exact solutions, while anharmonic equations do not have exact solutions to them and require more approximations. Thus the energy of the lattice is thus the same as the energy of the set of harmonic oscillators. The error in this equation remains small for small values of &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;&lt;br /&gt;
as the value of higher order terms will remain low.&lt;br /&gt;
CITE BOOK&lt;br /&gt;
&lt;br /&gt;
The quasi-harmonic approximation expands upon the harmonic approximation by taking into account some of the true anharmonicity of the interactions between atoms. The quasi-harmonic approximation relates the hemholtz free energy of a perfect lattice to both its temperature and its volume, in contrast to the harmonic oscillator that only depended on temperature, this is shown below in eq. 3&amp;lt;ref&amp;gt;Martin T. Dove, Introduction to Lattice Dynamics (Cambridge Topics in Mineral Physics and Chemistry), Cambridge University Press, Cambridge, 1993&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; F = E_0 + \frac {1}{2}\sum_{k,j}^{} \hbar \omega _k + k_B T \sum_{k,j}^{}ln(1-e^{\frac {-\hbar \omega _k }{k_B T}})&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;F&amp;lt;/math&amp;gt; is the Hemholtz free energy and &amp;lt;math&amp;gt;E_0&amp;lt;/math&amp;gt; is the lattice energy&lt;br /&gt;
&lt;br /&gt;
As this definition of the free energy also takes into account the volume of the lattice, this allows thermal expansion to be calculated as it allows the harmonic approximation to hold for all temperatures.&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics simulates a lattice of atoms using Newton&#039;s equations of motion and so simulated the cell over a certain period of time, taking a time-average of the cell to obtain physical quantities. In the simulations run in this experiment, an isothermal-isobaric (NPT) ensemble was used to calculate the thermal expansion coefficients and volume of the MgO cell at specific temperatures. As MD is based on Newton&#039;s laws of motion it does not take into account quantum effects such as the zero-point energy of a material in comparison to QHA which does.&lt;br /&gt;
&lt;br /&gt;
== Results and Discussion ==&lt;br /&gt;
&lt;br /&gt;
=== Phonon modes and Free Energy of MgO ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|[[File:Ft1015MgO_phonon_dispersion.PNG|500px|thumb|&#039;&#039;&#039;Figure 1&#039;&#039;&#039;: A phonon dispersion plot for MgO]]&lt;br /&gt;
|[[File:Ft1015MgO_DoS.PNG|500px|thumb|&#039;&#039;&#039;Figure 2&#039;&#039;&#039;: A plot of the density of states for MgO using a 1x1x1 grid size]]&lt;br /&gt;
|[[File:Ft1015MgO_DoS_20x20x20.PNG|500px|thumb|left|&#039;&#039;&#039;Figure 3&#039;&#039;&#039;: The optimised plot of the density of states for MgO using a 16x16x16 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From figures 1 and 2, we can see the computed phonon dispersion curve and density of states for a 1x1x1 grid size containing one k-point. Correlating the density of states with the dispersion curve via their shared axis of frequency of vibration yields the k-point L on the dispersion curve as the singular k-point used for the calculation. The density of states shows bands at 286 and 351 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 676 and 806 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, with the intensities of the first two bands double that of the final two bands. These bands correspond to three acoustic and three optical branches, with the first two bands of 0.333 intensity corresponding to a k-point where two branches are overlapping and are therefore degenerate states.&lt;br /&gt;
&lt;br /&gt;
Varying the grid size used for the calculation greatly affected the accuracy and precision of the results of calculations through increasing the number of k-points sampled in eq. 1ː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\omega ^{2}(k) = C(\frac{1}{M_{Mg}} + \frac{1}{M_{O}}) \pm \sqrt {(\frac{1}{M_{Mg}} + \frac{1}{M_{O}})^{2} - \frac{4sin^{2}(ka)}{M_{Mg}}}&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; is the spring force constant, &amp;lt;math&amp;gt;M_{Mg}&amp;lt;/math&amp;gt; is the molar mass of magnesium and &amp;lt;math&amp;gt;M_{O}&amp;lt;/math&amp;gt; is the molar mass of oxygen&lt;br /&gt;
&lt;br /&gt;
As the grid size increases, and thus the more k-points sampled, more and more features become visible, with the increase in number of points sampled along the dispersion curve leading to the increase in number of bands seen in the density of states. Optimising the grid size led to a grid size of 16x16x16 being optimal. As expected, the density of states plot produced from this grid size was smooth, as can be seen in figure 3. This curve was proved to be a good optimisation through looking at the Hemholtz free energy for each of the simulated grid sizes. As the accuracy of the Helmholtz free energy result directly depends on the number of k-space points sampled in the calculations as can be seen in eq. 2. Similarly to eq. 1, the larger the grid size, and therefore the more k-points sampled, the more accurate the result. Comparing the free energy of the 16x16x16 grid to the 32x32x32 grid; which for higher order grids remained constant and so had converged, the 16x16x16 was accurate to within 0.001 meV or 2.4434 × 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; %.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; F = E_0 + \frac {1}{2}\sum_{k,j}^{} \hbar \omega _k + k_B T \sum_{k,j}^{}ln(1-e^{\frac {-\hbar \omega _k }{k_B T}})&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;F&amp;lt;/math&amp;gt; is the Hemholtz free energy and &amp;lt;math&amp;gt;E_0&amp;lt;/math&amp;gt; is the lattice energy&lt;br /&gt;
&lt;br /&gt;
In comparison to smaller grid sizes, the 16x16x16 grid size curve appears more smooth, and more akin to a single band as seen for macrostructures. Larger grid sizes, while greatly increasing the computation time of the calculation did not largely increase the accuracy of the calculations as stated above, and therefore the 16x16x16 grid size was the optimal choice for these simulations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 1. Calculated Total Difference in Hemholtz Free Energy &lt;br /&gt;
! Grid Size&lt;br /&gt;
! Total Difference in Free Energy&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 3.818&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.126&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -0.051&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -0.033&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -0.001&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| -0.000&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| 0.000&lt;br /&gt;
|-&lt;br /&gt;
| 64&lt;br /&gt;
| 0.000&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Table 1 shows the difference between the calculated free energy for grid size and the final converged free energy. Looking at this, we can see that for grid sizes larger than 24x24x24, there is no change in the free energy of the system and so the free energy has converged to a minima, although it may not be the global minimum. The accuracy of simulations also increase rapidly with grid size, for example for accurate simulated energies to 1, 0.5 and 0.1 meV per cell, grid sizes of 2x2x2, 4x4x4 and 8x8x8 respectively can be used. This rapid increase in the accuracy of the calculation can be attributed to the large increase in k-points sampled over within the summations in eq. 2 with increasing grid size.&lt;br /&gt;
&lt;br /&gt;
However, the optimal grid size dependent on the material used due to the relationship between the lattice parameter, and the size of the first brillouin zone in k-space. For a similar oxide such as CaO, in comparsion to the lattice parameter of MgO of 4.212 Å &amp;lt;ref&amp;gt; A. CIMINO, P. PORTA and M. VALIGI, J. Am. Ceram. Soc, 1966, &#039;&#039;&#039;49&#039;&#039;&#039;, 152–156 &amp;lt;/ref&amp;gt;, the parameter of CaO is 4.864 Å &amp;lt;ref&amp;gt;Mackrodt, W. C., Harrison, N. M., Saunders, V. R., Allan, N. L. and Towler, M. D., Aprà, E., Dovesi, R., Philos. Mag. A, 1993 , &#039;&#039;&#039;68&#039;&#039;&#039;, 653-666 &amp;lt;/ref&amp;gt;, slightly larger than that of MgO. This leads to a slightly smaller grid size being optimal, as the larger lattice parameter leads to a smaller brillouin zone in reciprocal space as if the lattice parameter &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; is larger, then the size of the first brillouin zone &amp;lt;math&amp;gt;a^{*}= \frac {2 \pi}{a} &amp;lt;/math&amp;gt;will be smaller. This in turn allows less points to be sampled inside the region to give the same spacing of points, and therefore accuracy for the density of states as for MgO. Similarly, the zeolite faujsite has an extremely large lattice parameter of 25.132 Å &amp;lt;ref&amp;gt;E. Dempsey, G. H. Kuhl, and D. H. Olson, Phys. Chem., 1969, &#039;&#039;&#039;73&#039;&#039;&#039;, 387–390 &amp;lt;/ref&amp;gt;, in comparison to MgO. This; as with the case of CaO but more exaggerated, leads to a much smaller brillouin zone in reciprocal space, and so allows for a much smaller grid size to give the same accuracy as the MgO calculation due to the extremely small value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; obtained for faujsite.&lt;br /&gt;
Conversely, lithium has a smaller lattice spacing of 3.51 Å &amp;lt;ref&amp;gt;M.R. Nadler and C.P. Kempfer, Anal. Chem., 1959, &#039;&#039;&#039;31&#039;&#039;&#039;, 2109-2111&amp;lt;/ref&amp;gt;. Therefore the value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; for lithium will be larger than for MgO, and so require a larger grid size to obtain the same spacing between sampled k-space points and therefore accuracy of the calculated density of states.&lt;br /&gt;
&lt;br /&gt;
=== Thermal Expansion of MgO ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
||[[File:Ft1015Latticeparametervskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 4&#039;&#039;&#039;: A plot of lattice parameter against temperature for MgO]]&lt;br /&gt;
|[[File:Ft1015Latticevolumevskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 5&#039;&#039;&#039;: A plot of lattice volume against temperature for MgO, with the magenta line on the graph corresponding to the polynomial fit for the graph, and the red point the points which were not fitted over]]&lt;br /&gt;
|[[File:Ft1015Hemholtzvskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 6&#039;&#039;&#039;: A plot of free energy against temperature for MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The physical origin of thermal expansion for a solid lattice arises from the increase of kinetic energy of a material with an increase in temperature. All atoms within a lattice vibrate and move about their positions within the lattice and with an increase in temperature, each atom in the lattice gains kinetic energy, increasing the strength of its vibrations and the speed at which the atoms move. Due to this, the atoms on average take up more space at higher temperatures than lower temperatures and so averaged out over many atoms in a lattice, this increases the volume of the lattice.&lt;br /&gt;
&lt;br /&gt;
Figures 4 &amp;amp; 5 show the effect of change on temperature on the lattice parameter and volume of MgO in the range of 50-2900 K. As we can seen from the figures, from 50-400 K, a change in temperature does not largely increase the volume, while above 400 K the trend seems to be linear with respect to volume increase through an increase in temperature. This is however not the case at higher temperatures above 2200 K where the trend is more polynomial in nature.&lt;br /&gt;
&lt;br /&gt;
Figure 6 shows the effect of change in temperature on the Hemholtz free energy of MgO. From 50-400 K, the dominating term for the free energy is the zero point energy, and thus a change in temperature does not greatly change the free energy of the lattice and so volume changes at low temperatures are minimal. At temperatures above 2200 K not only is the entropic term completely dominating all other terms for the free energy, but also higher order anharmonic terms for the free energy that were excluded in the harmonic approximation part of the equation begin to play a large role in the free energy. This leads to the gradient no longer being linear. &amp;lt;ref&amp;gt;Masanori Matsui, Geoffrey D. Price and Atul Patel, Geophys. Res. Lett., 1994, &#039;&#039;&#039;21&#039;&#039;&#039;,  1659-1662 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The thermal expansion coefficients for MgO can be calculated through using the gradient &amp;lt;math&amp;gt; (\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt; at a specific value of &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; in the equationː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \alpha = \frac{1}{V_i} (\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt;   &amp;lt;math&amp;gt;(3)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt; \alpha &amp;lt;/math&amp;gt; is the coefficient of thermal expansion and &amp;lt;math&amp;gt;V_i&amp;lt;/math&amp;gt; is the volume of the lattice at 0 K, and &amp;lt;math&amp;gt;(\frac{\partial V}{\partial T})_p =6.16898 \times 10^{-7} T + 0.00118&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Table 2 displays thermal expansion coefficients for the polynomial fit of MgO, alongside the temperature range that the fit was made over.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 2. Calculated Linear fit Thermal Expansion Coefficients for MgO&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| 50 K&lt;br /&gt;
| 16.44&lt;br /&gt;
&lt;br /&gt;
| 1500 K&lt;br /&gt;
|40.13&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 100 K&lt;br /&gt;
| 17.26&lt;br /&gt;
&lt;br /&gt;
| 1600 K&lt;br /&gt;
| 41.76&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 200 K&lt;br /&gt;
| 18.89&lt;br /&gt;
&lt;br /&gt;
| 1700 K&lt;br /&gt;
|43.40&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 300 K&lt;br /&gt;
| 20.53&lt;br /&gt;
&lt;br /&gt;
| 1800 K&lt;br /&gt;
|45.03&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 400 K&lt;br /&gt;
| 22.16&lt;br /&gt;
&lt;br /&gt;
| 1900 K&lt;br /&gt;
|46.67&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 500 K&lt;br /&gt;
| 23.79&lt;br /&gt;
&lt;br /&gt;
| 2000 K&lt;br /&gt;
|48.30&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 600 K&lt;br /&gt;
| 25.43&lt;br /&gt;
&lt;br /&gt;
| 2100 K&lt;br /&gt;
|49.93&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 700 K&lt;br /&gt;
| 27.06&lt;br /&gt;
&lt;br /&gt;
| 2200 K&lt;br /&gt;
|51.57&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 800 K&lt;br /&gt;
| 28.69&lt;br /&gt;
&lt;br /&gt;
| 2300 K&lt;br /&gt;
|53.20&lt;br /&gt;
|-&lt;br /&gt;
| 900 K&lt;br /&gt;
| 30.33&lt;br /&gt;
&lt;br /&gt;
| 2400 K&lt;br /&gt;
|54.83&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1000 K&lt;br /&gt;
| 31.96&lt;br /&gt;
&lt;br /&gt;
| 2500 K&lt;br /&gt;
|56.47&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1100 K&lt;br /&gt;
| 33.60&lt;br /&gt;
&lt;br /&gt;
| 2600 K&lt;br /&gt;
|58.10&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1200 K&lt;br /&gt;
| 35.23&lt;br /&gt;
&lt;br /&gt;
| 2700 K&lt;br /&gt;
|59.74&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1300 K&lt;br /&gt;
| 36.86&lt;br /&gt;
&lt;br /&gt;
| 2800 K&lt;br /&gt;
|61.369&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1400 K&lt;br /&gt;
| 38.50&lt;br /&gt;
&lt;br /&gt;
| 2900 K&lt;br /&gt;
|63.00&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As we can see from the table of results, the coefficient of thermal expansion is not independent of temperature, but changes with it. In comparison to literature values&amp;lt;ref&amp;gt;A. S. Madhusudhan Rao and K. Narender, J. Chem. Thermodyn, 2014, &#039;&#039;&#039;2014&#039;&#039;&#039;, 8&amp;lt;/ref&amp;gt;, at 300 K the data obtained through this experiment largely agrees with the literature data of a value for the thermal expansion coefficient of 11.91 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Deviations from the literature values can be attributed to shortcomings of the quasi-harmonic oscillator approximation. The main approximation being that the oscillations of the atoms about their equilibrium positions are small, which for higher energy phonon modes is not representative of those modes. Therefore it is seen that the difference in our calculated values to that of literature values increases as the temperature increases such as a literature value of 14.17 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 1200 K, compared to a calculated value of 35.23 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At temperatures above the melting point of MgO - 2852 °C &amp;lt;ref&amp;gt; Haynes, William M., CRC Handbook of Chemistry and Physics (92nd ed.), Boca Raton, CRC Press., 2011&amp;lt;/ref&amp;gt; - the phonon modes of MgO are not accurate represented. This is due to the fact that above this temperature MgO melts from a solid to a liquid, and thus the approximation that the solid is a perfect lattice breaks down. This means that for temperatures near to or above 2852 °C the data is not representative of the true phonon modes as a solid is being simulated whereas in reality the material is already is a liquid and so solid phonon modes cannot describe the liquid modes.&lt;br /&gt;
&lt;br /&gt;
Although the quasi-harmonic approximation breaks down at higher temperatures, unlike other approximations such as the harmonic approximation, it can be used to model thermal expansion. Consider a diatomic harmonic oscillator, with an increase in temperature the strength of oscillation will increase, but in equal proportions relating to lengthening and contracting of the bond due to the nature of a harmonic potential. This leads to an increase in temperature not changing the equilibrium bond length and thus thermal expansion cannot be modelled. The quasi-harmonic approximation takes into account some of the anharmonic nature of the true bond and so allows thermal expansion to be modelled. This can be visualised through viewing a morse potential. A contraction of bond length in a morse potential require a much larger amount of energy than an increase in bond length, therefore at higher temperatures and so higher energies, while the bond length maximum will largely increase, the minimum bond length will change only slightly, thus on average the bond length will have lengthened. This leads to an increase in equilibrium bond length, and so applying this so a lattice leads to an increase in volume of the lattice.&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamic Simulations ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
||[[File:Ft1015MgO_MD.png|500px|thumb|&#039;&#039;&#039;Figure 7&#039;&#039;&#039;: A plot of cell volume against temperature for the molecular dynamics calculations]]&lt;br /&gt;
|[[File:Ft1015MgO_MDvsLD.png|500px|thumb|&#039;&#039;&#039;Figure 8&#039;&#039;&#039;: A plot of cell volume against temperature comparing the values calculated via Molecular Dynamics and Lattice Dynamics]]&lt;br /&gt;
|[[File:Ft1015MgO_Thermal_Expansion_Coefficient_MDvsLD.png|500px|thumb|&#039;&#039;&#039;Figure 9&#039;&#039;&#039;: A plot of the thermal expansion coefficient for both Molecular Dynamics and Lattice Dynamics simulations]]&lt;br /&gt;
|}&lt;br /&gt;
Molecular dynamics simulations were run using from 50-3700 K as shown in figure 7. Figures 8&amp;amp;9 compares the results of Molecular dynamics and Lattice Dynamics (quasi-harmonic approximation) simulations. In figure 8 it is seen that the difference in volume the MD and LD plots for the range 400-1400 K is quite small, while at temperatures lower than 400 K and higher than 1400 K the simulations begin to deviate from each other. Figure 9 compares the calculated coefficient for thermal expansion for MD and LD, taking a value at 300 K of 25.82 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 30.33 at 1200 K, in comparison to the literature values of 11.91 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 300 K and 14.17 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 1200 K, it can be seen that at lower temperatures, the LD approach is more accurate, while at higher temperature MD is more accurate. As MD calculations average the volume of the cell over set intervals - the timestep - for a set period of time, the erractic nature of the MD curve at high temperatures in figure 8 is due to the large velocites of the ions in the lattice leads to the timestep being to large to take an accurate snapshot of the system and its variations. Thus a timestep smaller than the 500 fs interval used would reduce the noise in the simulation and provide a more accurate description of the volume at higher temperatures.&lt;br /&gt;
&lt;br /&gt;
LD and MD simulations differ due to the differences between how they calculate their results and the approximations they take into account. MD differs from LD at lower temperatures due to the lack of higher order quantum corrections which LD takes into account, while at higher temperatures MD is more accurate due to the use of Newton&#039;s classical equations which dominate all quantum effects, while LD suffers from a lack of higher order anharmonic terms in its approximation. &amp;lt;ref&amp;gt;Masanori Matsui, Geoffrey D. Price and Atul Patel, Geophys. Res. Lett., 1994, &#039;&#039;&#039;21&#039;&#039;&#039;, 1659-1662&amp;lt;/ref&amp;gt;. This leads MD producing more accurate results at higher temperatures, while LD is more accurate at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
As stated above, at temperatures near to or larger than the melting point of MgO, a LD simulation fails to produce accurate results for the volume of the cell due to the fact that a solid is still being simulated rather than a liquid. MD simulations however work through Newton&#039;s laws of motion and so can model phase transitions of materials. This can be seen in figure 7, where after the melting of MgO at 2852 K the change in volume per 100 K is larger than for temperatures below this point, due to the forces between liquid molecules being weaker than that of solids, and so thermal expansion of liquids  is larger than solid for the same change in temperature.&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
== References ==&lt;/div&gt;</summary>
		<author><name>Ft1015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=652409</id>
		<title>Rep:FabianThomasThirdYearMgOSimulation</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=652409"/>
		<updated>2017-12-18T00:51:40Z</updated>

		<summary type="html">&lt;p&gt;Ft1015: /* Introduction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Abstract ==&lt;br /&gt;
== Introduction ==&lt;br /&gt;
One of the earliest uses of thermal expansion in daily life was the mercury thermometer. A change in temperature would lead to the mercury either taking up more or less space if it became hotter or colder, thus allowing the temperature the be measured. Nowadays thermal expansion is seen in a variety of sectors in daily life, one major sector being the transportation sector. At high temperatures, train tracks which have not been built with thermal expansion in mind buckle due to the expansion of the metal. This can lead to delays, closing of railways, or in the worst case the derailment of a train due to the sharp angles of the buckled train tracks. Many motorways around the world now have expansion joints made of metal teeth that fit together, which when the temperatures rise allow the metal teeth in the joint to expand to fill the empty space instead of cracking the road, or small lines cut into the road so that it has room to expand when the temperature increases. Thus the expansion of materials under a change in temperature is an important aspect of research for many sectors in the world.&lt;br /&gt;
&lt;br /&gt;
Modelling thermal expansion using Lattice Dynamics and Molecular Dynamics and understanding the phonon modes of a material allows for the comparison between two types of simulation and the study of thermal expansion of materials. Modelling these systems using MD and LD provides a fast and powerful way to understand the thermal expansion of the system, and thus not needing to perform possibly expensive experiments determining this property experimentally to check if the material is viable. Some of the most commonly used materials such as steel or concrete vary in composition depending on what application the material is being used for and so simulations similar to the ones carried out in this experiment can be used to determine the qualities of the material and what type of composition it should have, before production. Even though these simulations are powerful, there are questions still unanswered, how complex a system can these methods accurately simulate and are there any types of material that these simulations cannot compute?&lt;br /&gt;
&lt;br /&gt;
=== Theory ===&lt;br /&gt;
The quasi-harmonic approximation for phonons builds upon the harmonic approximation for phonon dynamics, and therefore to explain the quasi-harmonic approximation we must first discuss the harmonic approximation&lt;br /&gt;
&lt;br /&gt;
For a regular, linear chain which is composed of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; number of particles, the forces between a pair of atoms can be assumed to be a potential energy function &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; which depends on the distance of the separation between the atoms. The main contributing forces to the potential are described by an electric force, such as electrostatic attractions, covalent bonds or Van der Waals forces. Therefore the potential energy of the entire lattice made up of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; atoms is the sum of the potential energies between each pair of atoms with a separation r from each other shown below in eq 1.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV(r)&amp;lt;/math&amp;gt;       &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, allowing each atom to deviate slightly from its equilibrium position by a displacement &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;, if the deviations are small in comparison to the distance between each atom &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;, the energy of this chain is able to be calculated via a taylor expansion summing over all of the atoms in the chain.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV + \sum_{s\ge 1} \frac {1}{s !} \frac {\partial^s V}{\partial u^s} \sum_{n}&lt;br /&gt;
 (u_n - u_{n+1})^s&amp;lt;/math&amp;gt;     &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;u_n&amp;lt;/math&amp;gt; is the displacement of the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;th atom from its equilibrium postition&lt;br /&gt;
&lt;br /&gt;
Two approximations are used in order to reach this equation, which together forms the harmonic approximation and it&#039;s respective equation. The first approximation states that the sum of the pair potential energies is completed over only neighboring atoms, as although there are electric forces between all atoms, these forces on atoms far away from one another are greatly diminished by screening by the atoms in between, and that the potential energies are treated as harmonic potential energies. In this equation, as the expansion was done around the equilibrium point, therefore the first derivative is zero, whereas higher order terms are not, and so the first term can be dropped, and the second term is used where &amp;lt;math&amp;gt;s = 2&amp;lt;/math&amp;gt;, with higher order terms being neglected. These higher order terms are ignored as harmonic equations of motion have exact solutions, while anharmonic equations do not have exact solutions to them and require more approximations. Thus the energy of the lattice is thus the same as the energy of the set of harmonic oscillators. The error in this equation remains small for small values of &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;&lt;br /&gt;
as the value of higher order terms will remain low.&lt;br /&gt;
CITE BOOK&lt;br /&gt;
&lt;br /&gt;
The quasi-harmonic approximation expands upon the harmonic approximation by taking into account some of the true anharmonicity of the interactions between atoms. The quasi-harmonic approximation relates the hemholtz free energy of a perfect lattice to both its temperature and its volume, in contrast to the harmonic oscillator that only depended on temperature, this is shown below in eq. 3&amp;lt;ref&amp;gt;Martin T. Dove, Introduction to Lattice Dynamics (Cambridge Topics in Mineral Physics and Chemistry), Cambridge University Press, Cambridge, 1993&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; F = E_0 + \frac {1}{2}\sum_{k,j}^{} \hbar \omega _k + k_B T \sum_{k,j}^{}ln(1-e^{\frac {-\hbar \omega _k }{k_B T}})&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;F&amp;lt;/math&amp;gt; is the Hemholtz free energy and &amp;lt;math&amp;gt;E_0&amp;lt;/math&amp;gt; is the lattice energy&lt;br /&gt;
&lt;br /&gt;
As this definition of the free energy also takes into account the volume of the lattice, this allows thermal expansion to be calculated as it allows the harmonic approximation to hold for all temperatures.&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics simulates a lattice of atoms using Newton&#039;s equations of motion and so simulated the cell over a certain period of time, taking a time-average of the cell to obtain physical quantities. In the simulations run in this experiment, an isothermal-isobaric (NPT) ensemble was used to calculate the thermal expansion coefficients and volume of the MgO cell at specific temperatures. As MD is based on Newton&#039;s laws of motion it does not take into account quantum effects such as the zero-point energy of a material in comparison to QHA which does.&lt;br /&gt;
&lt;br /&gt;
== Results and Discussion ==&lt;br /&gt;
&lt;br /&gt;
=== Phonon modes and Free Energy of MgO ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|[[File:Ft1015MgO_phonon_dispersion.PNG|500px|thumb|&#039;&#039;&#039;Figure 1&#039;&#039;&#039;: A phonon dispersion plot for MgO]]&lt;br /&gt;
|[[File:Ft1015MgO_DoS.PNG|500px|thumb|&#039;&#039;&#039;Figure 2&#039;&#039;&#039;: A plot of the density of states for MgO using a 1x1x1 grid size]]&lt;br /&gt;
|[[File:Ft1015MgO_DoS_20x20x20.PNG|500px|thumb|left|&#039;&#039;&#039;Figure 3&#039;&#039;&#039;: The optimised plot of the density of states for MgO using a 16x16x16 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From figures 1 and 2, we can see the computed phonon dispersion curve and density of states for a 1x1x1 grid size containing one k-point. Correlating the density of states with the dispersion curve via their shared axis of frequency of vibration yields the k-point L on the dispersion curve as the singular k-point used for the calculation. The density of states shows bands at 286 and 351 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 676 and 806 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, with the intensities of the first two bands double that of the final two bands. These bands correspond to three acoustic and three optical branches, with the first two bands of 0.333 intensity corresponding to a k-point where two branches are overlapping and are therefore degenerate states.&lt;br /&gt;
&lt;br /&gt;
Varying the grid size used for the calculation greatly affected the accuracy and precision of the results of calculations through increasing the number of k-points sampled in eq. 1ː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\omega ^{2}(k) = C(\frac{1}{M_{Mg}} + \frac{1}{M_{O}}) \pm \sqrt {(\frac{1}{M_{Mg}} + \frac{1}{M_{O}})^{2} - \frac{4sin^{2}(ka)}{M_{Mg}}}&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; is the spring force constant, &amp;lt;math&amp;gt;M_{Mg}&amp;lt;/math&amp;gt; is the molar mass of magnesium and &amp;lt;math&amp;gt;M_{O}&amp;lt;/math&amp;gt; is the molar mass of oxygen&lt;br /&gt;
&lt;br /&gt;
As the grid size increases, and thus the more k-points sampled, more and more features become visible, with the increase in number of points sampled along the dispersion curve leading to the increase in number of bands seen in the density of states. Optimising the grid size led to a grid size of 16x16x16 being optimal. As expected, the density of states plot produced from this grid size was smooth, as can be seen in figure 3. This curve was proved to be a good optimisation through looking at the Hemholtz free energy for each of the simulated grid sizes. As the accuracy of the Helmholtz free energy result directly depends on the number of k-space points sampled in the calculations as can be seen in eq. 2. Similarly to eq. 1, the larger the grid size, and therefore the more k-points sampled, the more accurate the result. Comparing the free energy of the 16x16x16 grid to the 32x32x32 grid; which for higher order grids remained constant and so had converged, the 16x16x16 was accurate to within 0.001 meV or 2.4434 × 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; %.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; F = E_0 + \frac {1}{2}\sum_{k,j}^{} \hbar \omega _k + k_B T \sum_{k,j}^{}ln(1-e^{\frac {-\hbar \omega _k }{k_B T}})&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;F&amp;lt;/math&amp;gt; is the Hemholtz free energy and &amp;lt;math&amp;gt;E_0&amp;lt;/math&amp;gt; is the lattice energy&lt;br /&gt;
&lt;br /&gt;
In comparison to smaller grid sizes, the 16x16x16 grid size curve appears more smooth, and more akin to a single band as seen for macrostructures. Larger grid sizes, while greatly increasing the computation time of the calculation did not largely increase the accuracy of the calculations as stated above, and therefore the 16x16x16 grid size was the optimal choice for these simulations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 1. Calculated Total Difference in Hemholtz Free Energy &lt;br /&gt;
! Grid Size&lt;br /&gt;
! Total Difference in Free Energy&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 3.818&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.126&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -0.051&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -0.033&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -0.001&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| -0.000&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| 0.000&lt;br /&gt;
|-&lt;br /&gt;
| 64&lt;br /&gt;
| 0.000&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Table 1 shows the difference between the calculated free energy for grid size and the final converged free energy. Looking at this, we can see that for grid sizes larger than 24x24x24, there is no change in the free energy of the system and so the free energy has converged to a minima, although it may not be the global minimum. The accuracy of simulations also increase rapidly with grid size, for example for accurate simulated energies to 1, 0.5 and 0.1 meV per cell, grid sizes of 2x2x2, 4x4x4 and 8x8x8 respectively can be used. This rapid increase in the accuracy of the calculation can be attributed to the large increase in k-points sampled over within the summations in eq. 2 with increasing grid size.&lt;br /&gt;
&lt;br /&gt;
However, the optimal grid size dependent on the material used due to the relationship between the lattice parameter, and the size of the first brillouin zone in k-space. For a similar oxide such as CaO, in comparsion to the lattice parameter of MgO of 4.212 Å &amp;lt;ref&amp;gt; A. CIMINO, P. PORTA and M. VALIGI, J. Am. Ceram. Soc, 1966, &#039;&#039;&#039;49&#039;&#039;&#039;, 152–156 &amp;lt;/ref&amp;gt;, the parameter of CaO is 4.864 Å &amp;lt;ref&amp;gt;Mackrodt, W. C., Harrison, N. M., Saunders, V. R., Allan, N. L. and Towler, M. D., Aprà, E., Dovesi, R., Philos. Mag. A, 1993 , &#039;&#039;&#039;68&#039;&#039;&#039;, 653-666 &amp;lt;/ref&amp;gt;, slightly larger than that of MgO. This leads to a slightly smaller grid size being optimal, as the larger lattice parameter leads to a smaller brillouin zone in reciprocal space as if the lattice parameter &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; is larger, then the size of the first brillouin zone &amp;lt;math&amp;gt;a^{*}= \frac {2 \pi}{a} &amp;lt;/math&amp;gt;will be smaller. This in turn allows less points to be sampled inside the region to give the same spacing of points, and therefore accuracy for the density of states as for MgO. Similarly, the zeolite faujsite has an extremely large lattice parameter of 25.132 Å &amp;lt;ref&amp;gt;E. Dempsey, G. H. Kuhl, and D. H. Olson, Phys. Chem., 1969, &#039;&#039;&#039;73&#039;&#039;&#039;, 387–390 &amp;lt;/ref&amp;gt;, in comparison to MgO. This; as with the case of CaO but more exaggerated, leads to a much smaller brillouin zone in reciprocal space, and so allows for a much smaller grid size to give the same accuracy as the MgO calculation due to the extremely small value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; obtained for faujsite.&lt;br /&gt;
Conversely, lithium has a smaller lattice spacing of 3.51 Å &amp;lt;ref&amp;gt;M.R. Nadler and C.P. Kempfer, Anal. Chem., 1959, &#039;&#039;&#039;31&#039;&#039;&#039;, 2109-2111&amp;lt;/ref&amp;gt;. Therefore the value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; for lithium will be larger than for MgO, and so require a larger grid size to obtain the same spacing between sampled k-space points and therefore accuracy of the calculated density of states.&lt;br /&gt;
&lt;br /&gt;
=== Thermal Expansion of MgO ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
||[[File:Ft1015Latticeparametervskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 4&#039;&#039;&#039;: A plot of lattice parameter against temperature for MgO]]&lt;br /&gt;
|[[File:Ft1015Latticevolumevskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 5&#039;&#039;&#039;: A plot of lattice volume against temperature for MgO, with the magenta line on the graph corresponding to the polynomial fit for the graph, and the red point the points which were not fitted over]]&lt;br /&gt;
|[[File:Ft1015Hemholtzvskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 6&#039;&#039;&#039;: A plot of free energy against temperature for MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The physical origin of thermal expansion for a solid lattice arises from the increase of kinetic energy of a material with an increase in temperature. All atoms within a lattice vibrate and move about their positions within the lattice and with an increase in temperature, each atom in the lattice gains kinetic energy, increasing the strength of its vibrations and the speed at which the atoms move. Due to this, the atoms on average take up more space at higher temperatures than lower temperatures and so averaged out over many atoms in a lattice, this increases the volume of the lattice.&lt;br /&gt;
&lt;br /&gt;
Figures 4 &amp;amp; 5 show the effect of change on temperature on the lattice parameter and volume of MgO in the range of 50-2900 K. As we can seen from the figures, from 50-400 K, a change in temperature does not largely increase the volume, while above 400 K the trend seems to be linear with respect to volume increase through an increase in temperature. This is however not the case at higher temperatures above 2200 K where the trend is more polynomial in nature.&lt;br /&gt;
&lt;br /&gt;
Figure 6 shows the effect of change in temperature on the Hemholtz free energy of MgO. From 50-400 K, the dominating term for the free energy is the zero point energy, and thus a change in temperature does not greatly change the free energy of the lattice and so volume changes at low temperatures are minimal. At temperatures above 2200 K not only is the entropic term completely dominating all other terms for the free energy, but also higher order anharmonic terms for the free energy that were excluded in the harmonic approximation part of the equation begin to play a large role in the free energy. This leads to the gradient no longer being linear. &amp;lt;ref&amp;gt;Masanori Matsui, Geoffrey D. Price and Atul Patel, Geophys. Res. Lett., 1994, &#039;&#039;&#039;21&#039;&#039;&#039;,  1659-1662 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The thermal expansion coefficients for MgO can be calculated through using the gradient &amp;lt;math&amp;gt; (\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt; at a specific value of &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; in the equationː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \alpha = \frac{1}{V_i} (\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt;   &amp;lt;math&amp;gt;(3)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt; \alpha &amp;lt;/math&amp;gt; is the coefficient of thermal expansion and &amp;lt;math&amp;gt;V_i&amp;lt;/math&amp;gt; is the volume of the lattice at 0 K, and &amp;lt;math&amp;gt;(\frac{\partial V}{\partial T})_p =6.16898 \times 10^{-7} T + 0.00118&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Table 2 displays thermal expansion coefficients for the polynomial fit of MgO, alongside the temperature range that the fit was made over.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 2. Calculated Linear fit Thermal Expansion Coefficients for MgO&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| 50 K&lt;br /&gt;
| 16.44&lt;br /&gt;
&lt;br /&gt;
| 1500 K&lt;br /&gt;
|40.13&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 100 K&lt;br /&gt;
| 17.26&lt;br /&gt;
&lt;br /&gt;
| 1600 K&lt;br /&gt;
| 41.76&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 200 K&lt;br /&gt;
| 18.89&lt;br /&gt;
&lt;br /&gt;
| 1700 K&lt;br /&gt;
|43.40&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 300 K&lt;br /&gt;
| 20.53&lt;br /&gt;
&lt;br /&gt;
| 1800 K&lt;br /&gt;
|45.03&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 400 K&lt;br /&gt;
| 22.16&lt;br /&gt;
&lt;br /&gt;
| 1900 K&lt;br /&gt;
|46.67&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 500 K&lt;br /&gt;
| 23.79&lt;br /&gt;
&lt;br /&gt;
| 2000 K&lt;br /&gt;
|48.30&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 600 K&lt;br /&gt;
| 25.43&lt;br /&gt;
&lt;br /&gt;
| 2100 K&lt;br /&gt;
|49.93&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 700 K&lt;br /&gt;
| 27.06&lt;br /&gt;
&lt;br /&gt;
| 2200 K&lt;br /&gt;
|51.57&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 800 K&lt;br /&gt;
| 28.69&lt;br /&gt;
&lt;br /&gt;
| 2300 K&lt;br /&gt;
|53.20&lt;br /&gt;
|-&lt;br /&gt;
| 900 K&lt;br /&gt;
| 30.33&lt;br /&gt;
&lt;br /&gt;
| 2400 K&lt;br /&gt;
|54.83&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1000 K&lt;br /&gt;
| 31.96&lt;br /&gt;
&lt;br /&gt;
| 2500 K&lt;br /&gt;
|56.47&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1100 K&lt;br /&gt;
| 33.60&lt;br /&gt;
&lt;br /&gt;
| 2600 K&lt;br /&gt;
|58.10&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1200 K&lt;br /&gt;
| 35.23&lt;br /&gt;
&lt;br /&gt;
| 2700 K&lt;br /&gt;
|59.74&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1300 K&lt;br /&gt;
| 36.86&lt;br /&gt;
&lt;br /&gt;
| 2800 K&lt;br /&gt;
|61.369&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1400 K&lt;br /&gt;
| 38.50&lt;br /&gt;
&lt;br /&gt;
| 2900 K&lt;br /&gt;
|63.00&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As we can see from the table of results, the coefficient of thermal expansion is not independent of temperature, but changes with it. In comparison to literature values&amp;lt;ref&amp;gt;A. S. Madhusudhan Rao and K. Narender, J. Chem. Thermodyn, 2014, &#039;&#039;&#039;2014&#039;&#039;&#039;, 8&amp;lt;/ref&amp;gt;, at 300 K the data obtained through this experiment largely agrees with the literature data of a value for the thermal expansion coefficient of 11.91 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Deviations from the literature values can be attributed to shortcomings of the quasi-harmonic oscillator approximation. The main approximation being that the oscillations of the atoms about their equilibrium positions are small, which for higher energy phonon modes is not representative of those modes. Therefore it is seen that the difference in our calculated values to that of literature values increases as the temperature increases such as a literature value of 14.17 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 1200 K, compared to a calculated value of 35.23 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At temperatures above the melting point of MgO - 2852 °C &amp;lt;ref&amp;gt; Haynes, William M., CRC Handbook of Chemistry and Physics (92nd ed.), Boca Raton, CRC Press., 2011&amp;lt;/ref&amp;gt; - the phonon modes of MgO are not accurate represented. This is due to the fact that above this temperature MgO melts from a solid to a liquid, and thus the approximation that the solid is a perfect lattice breaks down. This means that for temperatures near to or above 2852 °C the data is not representative of the true phonon modes as a solid is being simulated whereas in reality the material is already is a liquid and so solid phonon modes cannot describe the liquid modes.&lt;br /&gt;
&lt;br /&gt;
Although the quasi-harmonic approximation breaks down at higher temperatures, unlike other approximations such as the harmonic approximation, it can be used to model thermal expansion. Consider a diatomic harmonic oscillator, with an increase in temperature the strength of oscillation will increase, but in equal proportions relating to lengthening and contracting of the bond due to the nature of a harmonic potential. This leads to an increase in temperature not changing the equilibrium bond length and thus thermal expansion cannot be modelled. The quasi-harmonic approximation takes into account some of the anharmonic nature of the true bond and so allows thermal expansion to be modelled. This can be visualised through viewing a morse potential. A contraction of bond length in a morse potential require a much larger amount of energy than an increase in bond length, therefore at higher temperatures and so higher energies, while the bond length maximum will largely increase, the minimum bond length will change only slightly, thus on average the bond length will have lengthened. This leads to an increase in equilibrium bond length, and so applying this so a lattice leads to an increase in volume of the lattice.&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamic Simulations ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
||[[File:Ft1015MgO_MD.png|500px|thumb|&#039;&#039;&#039;Figure 7&#039;&#039;&#039;: A plot of cell volume against temperature for the molecular dynamics calculations]]&lt;br /&gt;
|[[File:Ft1015MgO_MDvsLD.png|500px|thumb|&#039;&#039;&#039;Figure 8&#039;&#039;&#039;: A plot of cell volume against temperature comparing the values calculated via Molecular Dynamics and Lattice Dynamics]]&lt;br /&gt;
|[[File:Ft1015MgO_Thermal_Expansion_Coefficient_MDvsLD.png|500px|thumb|&#039;&#039;&#039;Figure 9&#039;&#039;&#039;: A plot of the thermal expansion coefficient for both Molecular Dynamics and Lattice Dynamics simulations]]&lt;br /&gt;
|}&lt;br /&gt;
Molecular dynamics simulations were run using from 50-3700 K as shown in figure 7. Figures 8&amp;amp;9 compares the results of Molecular dynamics and Lattice Dynamics (quasi-harmonic approximation) simulations. In figure 8 it is seen that the difference in volume the MD and LD plots for the range 400-1400 K is quite small, while at temperatures lower than 400 K and higher than 1400 K the simulations begin to deviate from each other. Figure 9 compares the calculated coefficient for thermal expansion for MD and LD, taking a value at 300 K of 25.82 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 30.33 at 1200 K, in comparison to the literature values of 11.91 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 300 K and 14.17 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 1200 K, it can be seen that at lower temperatures, the LD approach is more accurate, while at higher temperature MD is more accurate. As MD calculations average the volume of the cell over set intervals - the timestep - for a set period of time, the erractic nature of the MD curve at high temperatures in figure 8 is due to the large velocites of the ions in the lattice leads to the timestep being to large to take an accurate snapshot of the system and its variations. Thus a timestep smaller than the 500 fs interval used would reduce the noise in the simulation and provide a more accurate description of the volume at higher temperatures.&lt;br /&gt;
&lt;br /&gt;
LD and MD simulations differ due to the differences between how they calculate their results and the approximations they take into account. MD differs from LD at lower temperatures due to the lack of higher order quantum corrections which LD takes into account, while at higher temperatures MD is more accurate due to the use of Newton&#039;s classical equations which dominate all quantum effects, while LD suffers from a lack of higher order anharmonic terms in its approximation. &amp;lt;ref&amp;gt;Masanori Matsui, Geoffrey D. Price and Atul Patel, Geophys. Res. Lett., 1994, &#039;&#039;&#039;21&#039;&#039;&#039;, 1659-1662&amp;lt;/ref&amp;gt;. This leads MD producing more accurate results at higher temperatures, while LD is more accurate at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
As stated above, at temperatures near to or larger than the melting point of MgO, a LD simulation fails to produce accurate results for the volume of the cell due to the fact that a solid is still being simulated rather than a liquid. MD simulations however work through Newton&#039;s laws of motion and so can model phase transitions of materials. This can be seen in figure 7, where after the melting of MgO at 2852 K the change in volume per 100 K is larger than for temperatures below this point, due to the forces between liquid molecules being weaker than that of solids, and so thermal expansion of liquids  is larger than solid for the same change in temperature.&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
== References ==&lt;/div&gt;</summary>
		<author><name>Ft1015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=652319</id>
		<title>Rep:FabianThomasThirdYearMgOSimulation</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=652319"/>
		<updated>2017-12-17T22:30:32Z</updated>

		<summary type="html">&lt;p&gt;Ft1015: /* Introduction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Abstract ==&lt;br /&gt;
== Introduction ==&lt;br /&gt;
One of the earliest uses of thermal expansion in daily life was the mercury thermometer. A change in temperature would lead to the mercury either taking up more or less space if it became hotter or colder, thus allowing the temperature the be measured. Nowadays thermal expansion is seen in a variety of sectors in daily life, one major sector being the transportation sector. At high temperatures, train tracks which have not been built with thermal expansion in mind buckle due to the expansion of the metal. This can lead to delays, closing of railways, or in the worst case the derailment of a train due to the sharp angles of the buckled train tracks. Many motorways around the world now have expansion joints made of metal teeth that fit together, which when the temperatures rise allow the metal teeth in the joint to expand to fill the empty space instead of cracking the road, or small cut lines in the road so that has room to expand so that when the temperature increases.  &lt;br /&gt;
&lt;br /&gt;
=== Theory ===&lt;br /&gt;
The aims of the exercise - To compare the to predict how the material expands when heated, to calculate the thermal expansion coefficient for MgO, to compute vibrational energy levels of MgO, to understand the phonon dispersion of a material, the vibrational density of state, to simulate the vibrations as random motions of atoms inside a cell, to compare QUASI-HARMONIC APPROXIMATION with MOLECULAR DYNAMICS results.&lt;br /&gt;
&lt;br /&gt;
The tools/programs in use - DLV&lt;br /&gt;
&lt;br /&gt;
The quasi-harmonic approximation for phonons builds upon the harmonic approximation for phonon dynamics, and therefore to explain the quasi-harmonic approximation we must first discuss the harmonic approximation&lt;br /&gt;
&lt;br /&gt;
For a regular, linear chain which is composed of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; number of particles, the forces between a pair of atoms can be assumed to be a potential energy function &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; which depends on the distance of the separation between the atoms. The main contributing forces to the potential are described by an electric force, such as electrostatic attractions, covalent bonds or Van der Waals forces. Therefore the potential energy of the entire lattice made up of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; atoms is the sum of the potential energies between each pair of atoms with a separation r from each other shown below in eq 1.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV(r)&amp;lt;/math&amp;gt;       &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, allowing each atom to deviate slightly from its equilibrium position by a displacement &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;, if the deviations are small in comparison to the distance between each atom &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;, the energy of this chain is able to be calculated via a taylor expansion summing over all of the atoms in the chain.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV + \sum_{s\ge 1} \frac {1}{s !} \frac {\partial^s V}{\partial u^s} \sum_{n}&lt;br /&gt;
 (u_n - u_{n+1})^s&amp;lt;/math&amp;gt;     &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;u_n&amp;lt;/math&amp;gt; is the displacement of the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;th atom from its equilibrium postition&lt;br /&gt;
&lt;br /&gt;
Two approximations are used in order to reach this equation, which together forms the harmonic approximation and it&#039;s respective equation. The first approximation states that the sum of the pair potential energies is completed over only neighboring atoms, as although there are electric forces between all atoms, these forces on atoms far away from one another are greatly diminished by screening by the atoms in between, and that the potential energies are treated as harmonic potential energies. In this equation, as the expansion was done around the equilibrium point, therefore the first derivative is zero, whereas higher order terms are not, and so the first term can be dropped, and the second term is used where &amp;lt;math&amp;gt;s = 2&amp;lt;/math&amp;gt;, with higher order terms being neglected. These higher order terms are ignored as harmonic equations of motion have exact solutions, while anharmonic equations do not have exact solutions to them and require more approximations. Thus the energy of the lattice is thus the same as the energy of the set of harmonic oscillators. The error in this equation remains small for small values of &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;&lt;br /&gt;
as the value of higher order terms will remain low.&lt;br /&gt;
CITE BOOK&lt;br /&gt;
&lt;br /&gt;
The quasi-harmonic approximation expands upon the harmonic approximation by taking into account some of the true anharmonicity of the interactions between atoms. The quasi-harmonic approximation relates the hemholtz free energy of a perfect lattice to both its temperature and its volume, in contrast to the harmonic oscillator that only depended on temperature, this is shown below in eq. 3&amp;lt;ref&amp;gt;Martin T. Dove, Introduction to Lattice Dynamics (Cambridge Topics in Mineral Physics and Chemistry), Cambridge University Press, Cambridge, 1993&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; F = E_0 + \frac {1}{2}\sum_{k,j}^{} \hbar \omega _k + k_B T \sum_{k,j}^{}ln(1-e^{\frac {-\hbar \omega _k }{k_B T}})&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;F&amp;lt;/math&amp;gt; is the Hemholtz free energy and &amp;lt;math&amp;gt;E_0&amp;lt;/math&amp;gt; is the lattice energy&lt;br /&gt;
&lt;br /&gt;
As this definition of the free energy also takes into account the volume of the lattice, this allows thermal expansion to be calculated as it allows the harmonic approximation to hold for all temperatures.&lt;br /&gt;
&lt;br /&gt;
Molecular Dynamics simulates a lattice of atoms using Newton&#039;s equations of motion and so simulated the cell over a certain period of time, taking a time-average of the cell to obtain physical quantities. In the simulations run in this experiment, an isothermal-isobaric (NPT) ensemble was used to calculate the thermal expansion coefficients and volume of the MgO cell at specific temperatures. As MD is based on Newton&#039;s laws of motion it does not take into account quantum effects such as the zero-point energy of a material in comparison to QHA which does.&lt;br /&gt;
&lt;br /&gt;
== Results and Discussion ==&lt;br /&gt;
&lt;br /&gt;
=== Phonon modes and Free Energy of MgO ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|[[File:Ft1015MgO_phonon_dispersion.PNG|500px|thumb|&#039;&#039;&#039;Figure 1&#039;&#039;&#039;: A phonon dispersion plot for MgO]]&lt;br /&gt;
|[[File:Ft1015MgO_DoS.PNG|500px|thumb|&#039;&#039;&#039;Figure 2&#039;&#039;&#039;: A plot of the density of states for MgO using a 1x1x1 grid size]]&lt;br /&gt;
|[[File:Ft1015MgO_DoS_20x20x20.PNG|500px|thumb|left|&#039;&#039;&#039;Figure 3&#039;&#039;&#039;: The optimised plot of the density of states for MgO using a 16x16x16 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From figures 1 and 2, we can see the computed phonon dispersion curve and density of states for a 1x1x1 grid size containing one k-point. Correlating the density of states with the dispersion curve via their shared axis of frequency of vibration yields the k-point L on the dispersion curve as the singular k-point used for the calculation. The density of states shows bands at 286 and 351 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 676 and 806 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, with the intensities of the first two bands double that of the final two bands. These bands correspond to three acoustic and three optical branches, with the first two bands of 0.333 intensity corresponding to a k-point where two branches are overlapping and are therefore degenerate states.&lt;br /&gt;
&lt;br /&gt;
Varying the grid size used for the calculation greatly affected the accuracy and precision of the results of calculations through increasing the number of k-points sampled in eq. 1ː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\omega ^{2}(k) = C(\frac{1}{M_{Mg}} + \frac{1}{M_{O}}) \pm \sqrt {(\frac{1}{M_{Mg}} + \frac{1}{M_{O}})^{2} - \frac{4sin^{2}(ka)}{M_{Mg}}}&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; is the spring force constant, &amp;lt;math&amp;gt;M_{Mg}&amp;lt;/math&amp;gt; is the molar mass of magnesium and &amp;lt;math&amp;gt;M_{O}&amp;lt;/math&amp;gt; is the molar mass of oxygen&lt;br /&gt;
&lt;br /&gt;
As the grid size increases, and thus the more k-points sampled, more and more features become visible, with the increase in number of points sampled along the dispersion curve leading to the increase in number of bands seen in the density of states. Optimising the grid size led to a grid size of 16x16x16 being optimal. As expected, the density of states plot produced from this grid size was smooth, as can be seen in figure 3. This curve was proved to be a good optimisation through looking at the Hemholtz free energy for each of the simulated grid sizes. As the accuracy of the Helmholtz free energy result directly depends on the number of k-space points sampled in the calculations as can be seen in eq. 2. Similarly to eq. 1, the larger the grid size, and therefore the more k-points sampled, the more accurate the result. Comparing the free energy of the 16x16x16 grid to the 32x32x32 grid; which for higher order grids remained constant and so had converged, the 16x16x16 was accurate to within 0.001 meV or 2.4434 × 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; %.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; F = E_0 + \frac {1}{2}\sum_{k,j}^{} \hbar \omega _k + k_B T \sum_{k,j}^{}ln(1-e^{\frac {-\hbar \omega _k }{k_B T}})&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;F&amp;lt;/math&amp;gt; is the Hemholtz free energy and &amp;lt;math&amp;gt;E_0&amp;lt;/math&amp;gt; is the lattice energy&lt;br /&gt;
&lt;br /&gt;
In comparison to smaller grid sizes, the 16x16x16 grid size curve appears more smooth, and more akin to a single band as seen for macrostructures. Larger grid sizes, while greatly increasing the computation time of the calculation did not largely increase the accuracy of the calculations as stated above, and therefore the 16x16x16 grid size was the optimal choice for these simulations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 1. Calculated Total Difference in Hemholtz Free Energy &lt;br /&gt;
! Grid Size&lt;br /&gt;
! Total Difference in Free Energy&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 3.818&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.126&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -0.051&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -0.033&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -0.001&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| -0.000&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| 0.000&lt;br /&gt;
|-&lt;br /&gt;
| 64&lt;br /&gt;
| 0.000&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Table 1 shows the difference between the calculated free energy for grid size and the final converged free energy. Looking at this, we can see that for grid sizes larger than 24x24x24, there is no change in the free energy of the system and so the free energy has converged to a minima, although it may not be the global minimum. The accuracy of simulations also increase rapidly with grid size, for example for accurate simulated energies to 1, 0.5 and 0.1 meV per cell, grid sizes of 2x2x2, 4x4x4 and 8x8x8 respectively can be used. This rapid increase in the accuracy of the calculation can be attributed to the large increase in k-points sampled over within the summations in eq. 2 with increasing grid size.&lt;br /&gt;
&lt;br /&gt;
However, the optimal grid size dependent on the material used due to the relationship between the lattice parameter, and the size of the first brillouin zone in k-space. For a similar oxide such as CaO, in comparsion to the lattice parameter of MgO of 4.212 Å &amp;lt;ref&amp;gt; A. CIMINO, P. PORTA and M. VALIGI, J. Am. Ceram. Soc, 1966, &#039;&#039;&#039;49&#039;&#039;&#039;, 152–156 &amp;lt;/ref&amp;gt;, the parameter of CaO is 4.864 Å &amp;lt;ref&amp;gt;Mackrodt, W. C., Harrison, N. M., Saunders, V. R., Allan, N. L. and Towler, M. D., Aprà, E., Dovesi, R., Philos. Mag. A, 1993 , &#039;&#039;&#039;68&#039;&#039;&#039;, 653-666 &amp;lt;/ref&amp;gt;, slightly larger than that of MgO. This leads to a slightly smaller grid size being optimal, as the larger lattice parameter leads to a smaller brillouin zone in reciprocal space as if the lattice parameter &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; is larger, then the size of the first brillouin zone &amp;lt;math&amp;gt;a^{*}= \frac {2 \pi}{a} &amp;lt;/math&amp;gt;will be smaller. This in turn allows less points to be sampled inside the region to give the same spacing of points, and therefore accuracy for the density of states as for MgO. Similarly, the zeolite faujsite has an extremely large lattice parameter of 25.132 Å &amp;lt;ref&amp;gt;E. Dempsey, G. H. Kuhl, and D. H. Olson, Phys. Chem., 1969, &#039;&#039;&#039;73&#039;&#039;&#039;, 387–390 &amp;lt;/ref&amp;gt;, in comparison to MgO. This; as with the case of CaO but more exaggerated, leads to a much smaller brillouin zone in reciprocal space, and so allows for a much smaller grid size to give the same accuracy as the MgO calculation due to the extremely small value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; obtained for faujsite.&lt;br /&gt;
Conversely, lithium has a smaller lattice spacing of 3.51 Å &amp;lt;ref&amp;gt;M.R. Nadler and C.P. Kempfer, Anal. Chem., 1959, &#039;&#039;&#039;31&#039;&#039;&#039;, 2109-2111&amp;lt;/ref&amp;gt;. Therefore the value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; for lithium will be larger than for MgO, and so require a larger grid size to obtain the same spacing between sampled k-space points and therefore accuracy of the calculated density of states.&lt;br /&gt;
&lt;br /&gt;
=== Thermal Expansion of MgO ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
||[[File:Ft1015Latticeparametervskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 4&#039;&#039;&#039;: A plot of lattice parameter against temperature for MgO]]&lt;br /&gt;
|[[File:Ft1015Latticevolumevskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 5&#039;&#039;&#039;: A plot of lattice volume against temperature for MgO, with the magenta line on the graph corresponding to the polynomial fit for the graph, and the red point the points which were not fitted over]]&lt;br /&gt;
|[[File:Ft1015Hemholtzvskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 6&#039;&#039;&#039;: A plot of free energy against temperature for MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The physical origin of thermal expansion for a solid lattice arises from the increase of kinetic energy of a material with an increase in temperature. All atoms within a lattice vibrate and move about their positions within the lattice and with an increase in temperature, each atom in the lattice gains kinetic energy, increasing the strength of its vibrations and the speed at which the atoms move. Due to this, the atoms on average take up more space at higher temperatures than lower temperatures and so averaged out over many atoms in a lattice, this increases the volume of the lattice.&lt;br /&gt;
&lt;br /&gt;
Figures 4 &amp;amp; 5 show the effect of change on temperature on the lattice parameter and volume of MgO in the range of 50-2900 K. As we can seen from the figures, from 50-400 K, a change in temperature does not largely increase the volume, while above 400 K the trend seems to be linear with respect to volume increase through an increase in temperature. This is however not the case at higher temperatures above 2200 K where the trend is more polynomial in nature.&lt;br /&gt;
&lt;br /&gt;
Figure 6 shows the effect of change in temperature on the Hemholtz free energy of MgO. From 50-400 K, the dominating term for the free energy is the zero point energy, and thus a change in temperature does not greatly change the free energy of the lattice and so volume changes at low temperatures are minimal. At temperatures above 2200 K not only is the entropic term completely dominating all other terms for the free energy, but also higher order anharmonic terms for the free energy that were excluded in the harmonic approximation part of the equation begin to play a large role in the free energy. This leads to the gradient no longer being linear. &amp;lt;ref&amp;gt;Masanori Matsui, Geoffrey D. Price and Atul Patel, Geophys. Res. Lett., 1994, &#039;&#039;&#039;21&#039;&#039;&#039;,  1659-1662 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The thermal expansion coefficients for MgO can be calculated through using the gradient &amp;lt;math&amp;gt; (\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt; at a specific value of &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; in the equationː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \alpha = \frac{1}{V_i} (\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt;   &amp;lt;math&amp;gt;(3)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt; \alpha &amp;lt;/math&amp;gt; is the coefficient of thermal expansion and &amp;lt;math&amp;gt;V_i&amp;lt;/math&amp;gt; is the volume of the lattice at 0 K, and &amp;lt;math&amp;gt;(\frac{\partial V}{\partial T})_p =6.16898 \times 10^{-7} T + 0.00118&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Table 2 displays thermal expansion coefficients for the polynomial fit of MgO, alongside the temperature range that the fit was made over.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 2. Calculated Linear fit Thermal Expansion Coefficients for MgO&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| 50 K&lt;br /&gt;
| 16.44&lt;br /&gt;
&lt;br /&gt;
| 1500 K&lt;br /&gt;
|40.13&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 100 K&lt;br /&gt;
| 17.26&lt;br /&gt;
&lt;br /&gt;
| 1600 K&lt;br /&gt;
| 41.76&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 200 K&lt;br /&gt;
| 18.89&lt;br /&gt;
&lt;br /&gt;
| 1700 K&lt;br /&gt;
|43.40&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 300 K&lt;br /&gt;
| 20.53&lt;br /&gt;
&lt;br /&gt;
| 1800 K&lt;br /&gt;
|45.03&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 400 K&lt;br /&gt;
| 22.16&lt;br /&gt;
&lt;br /&gt;
| 1900 K&lt;br /&gt;
|46.67&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 500 K&lt;br /&gt;
| 23.79&lt;br /&gt;
&lt;br /&gt;
| 2000 K&lt;br /&gt;
|48.30&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 600 K&lt;br /&gt;
| 25.43&lt;br /&gt;
&lt;br /&gt;
| 2100 K&lt;br /&gt;
|49.93&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 700 K&lt;br /&gt;
| 27.06&lt;br /&gt;
&lt;br /&gt;
| 2200 K&lt;br /&gt;
|51.57&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 800 K&lt;br /&gt;
| 28.69&lt;br /&gt;
&lt;br /&gt;
| 2300 K&lt;br /&gt;
|53.20&lt;br /&gt;
|-&lt;br /&gt;
| 900 K&lt;br /&gt;
| 30.33&lt;br /&gt;
&lt;br /&gt;
| 2400 K&lt;br /&gt;
|54.83&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1000 K&lt;br /&gt;
| 31.96&lt;br /&gt;
&lt;br /&gt;
| 2500 K&lt;br /&gt;
|56.47&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1100 K&lt;br /&gt;
| 33.60&lt;br /&gt;
&lt;br /&gt;
| 2600 K&lt;br /&gt;
|58.10&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1200 K&lt;br /&gt;
| 35.23&lt;br /&gt;
&lt;br /&gt;
| 2700 K&lt;br /&gt;
|59.74&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1300 K&lt;br /&gt;
| 36.86&lt;br /&gt;
&lt;br /&gt;
| 2800 K&lt;br /&gt;
|61.369&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1400 K&lt;br /&gt;
| 38.50&lt;br /&gt;
&lt;br /&gt;
| 2900 K&lt;br /&gt;
|63.00&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As we can see from the table of results, the coefficient of thermal expansion is not independent of temperature, but changes with it. In comparison to literature values&amp;lt;ref&amp;gt;A. S. Madhusudhan Rao and K. Narender, J. Chem. Thermodyn, 2014, &#039;&#039;&#039;2014&#039;&#039;&#039;, 8&amp;lt;/ref&amp;gt;, at 300 K the data obtained through this experiment largely agrees with the literature data of a value for the thermal expansion coefficient of 11.91 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Deviations from the literature values can be attributed to shortcomings of the quasi-harmonic oscillator approximation. The main approximation being that the oscillations of the atoms about their equilibrium positions are small, which for higher energy phonon modes is not representative of those modes. Therefore it is seen that the difference in our calculated values to that of literature values increases as the temperature increases such as a literature value of 14.17 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 1200 K, compared to a calculated value of 35.23 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At temperatures above the melting point of MgO - 2852 °C &amp;lt;ref&amp;gt; Haynes, William M., CRC Handbook of Chemistry and Physics (92nd ed.), Boca Raton, CRC Press., 2011&amp;lt;/ref&amp;gt; - the phonon modes of MgO are not accurate represented. This is due to the fact that above this temperature MgO melts from a solid to a liquid, and thus the approximation that the solid is a perfect lattice breaks down. This means that for temperatures near to or above 2852 °C the data is not representative of the true phonon modes as a solid is being simulated whereas in reality the material is already is a liquid and so solid phonon modes cannot describe the liquid modes.&lt;br /&gt;
&lt;br /&gt;
Although the quasi-harmonic approximation breaks down at higher temperatures, unlike other approximations such as the harmonic approximation, it can be used to model thermal expansion. Consider a diatomic harmonic oscillator, with an increase in temperature the strength of oscillation will increase, but in equal proportions relating to lengthening and contracting of the bond due to the nature of a harmonic potential. This leads to an increase in temperature not changing the equilibrium bond length and thus thermal expansion cannot be modelled. The quasi-harmonic approximation takes into account some of the anharmonic nature of the true bond and so allows thermal expansion to be modelled. This can be visualised through viewing a morse potential. A contraction of bond length in a morse potential require a much larger amount of energy than an increase in bond length, therefore at higher temperatures and so higher energies, while the bond length maximum will largely increase, the minimum bond length will change only slightly, thus on average the bond length will have lengthened. This leads to an increase in equilibrium bond length, and so applying this so a lattice leads to an increase in volume of the lattice.&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamic Simulations ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
||[[File:Ft1015MgO_MD.png|500px|thumb|&#039;&#039;&#039;Figure 7&#039;&#039;&#039;: A plot of cell volume against temperature for the molecular dynamics calculations]]&lt;br /&gt;
|[[File:Ft1015MgO_MDvsLD.png|500px|thumb|&#039;&#039;&#039;Figure 8&#039;&#039;&#039;: A plot of cell volume against temperature comparing the values calculated via Molecular Dynamics and Lattice Dynamics]]&lt;br /&gt;
|[[File:Ft1015MgO_Thermal_Expansion_Coefficient_MDvsLD.png|500px|thumb|&#039;&#039;&#039;Figure 9&#039;&#039;&#039;: A plot of the thermal expansion coefficient for both Molecular Dynamics and Lattice Dynamics simulations]]&lt;br /&gt;
|}&lt;br /&gt;
Molecular dynamics simulations were run using from 50-3700 K as shown in figure 7. Figures 8&amp;amp;9 compares the results of Molecular dynamics and Lattice Dynamics (quasi-harmonic approximation) simulations. In figure 8 it is seen that the difference in volume the MD and LD plots for the range 400-1400 K is quite small, while at temperatures lower than 400 K and higher than 1400 K the simulations begin to deviate from each other. Figure 9 compares the calculated coefficient for thermal expansion for MD and LD, taking a value at 300 K of 25.82 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 30.33 at 1200 K, in comparison to the literature values of 11.91 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 300 K and 14.17 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 1200 K, it can be seen that at lower temperatures, the LD approach is more accurate, while at higher temperature MD is more accurate. As MD calculations average the volume of the cell over set intervals - the timestep - for a set period of time, the erractic nature of the MD curve at high temperatures in figure 8 is due to the large velocites of the ions in the lattice leads to the timestep being to large to take an accurate snapshot of the system and its variations. Thus a timestep smaller than the 500 fs interval used would reduce the noise in the simulation and provide a more accurate description of the volume at higher temperatures.&lt;br /&gt;
&lt;br /&gt;
LD and MD simulations differ due to the differences between how they calculate their results and the approximations they take into account. MD differs from LD at lower temperatures due to the lack of higher order quantum corrections which LD takes into account, while at higher temperatures MD is more accurate due to the use of Newton&#039;s classical equations which dominate all quantum effects, while LD suffers from a lack of higher order anharmonic terms in its approximation. &amp;lt;ref&amp;gt;Masanori Matsui, Geoffrey D. Price and Atul Patel, Geophys. Res. Lett., 1994, &#039;&#039;&#039;21&#039;&#039;&#039;, 1659-1662&amp;lt;/ref&amp;gt;. This leads MD producing more accurate results at higher temperatures, while LD is more accurate at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
As stated above, at temperatures near to or larger than the melting point of MgO, a LD simulation fails to produce accurate results for the volume of the cell due to the fact that a solid is still being simulated rather than a liquid. MD simulations however work through Newton&#039;s laws of motion and so can model phase transitions of materials. This can be seen in figure 7, where after the melting of MgO at 2852 K the change in volume per 100 K is larger than for temperatures below this point, due to the forces between liquid molecules being weaker than that of solids, and so thermal expansion of liquids  is larger than solid for the same change in temperature.&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
== References ==&lt;/div&gt;</summary>
		<author><name>Ft1015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=652299</id>
		<title>Rep:FabianThomasThirdYearMgOSimulation</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=652299"/>
		<updated>2017-12-17T22:03:02Z</updated>

		<summary type="html">&lt;p&gt;Ft1015: /* Theory */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Abstract ==&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Theory ===&lt;br /&gt;
The quasi-harmonic approximation expands upon the harmonic [[phonon]] model of lattice dynamics. The harmonic phonon model states that all interatomic forces are purely [[Harmonic Oscillator|harmonic]], but such a model is inadequate to explain [[thermal expansion]], as the equilibrium distance between atoms in such a model is independent of temperature.&lt;br /&gt;
&lt;br /&gt;
Thus in the quasi-harmonic model, from a phonon point of view, phonon frequencies become volume-dependent in the quasi-harmonic approximation, such that for each volume, the harmonic approximation holds.&lt;br /&gt;
&lt;br /&gt;
For a lattice, the Helmholtz free energy &#039;&#039;F&#039;&#039; in the quasi-harmonic approximation is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;F(T,V) = U(V) + E_{ZP}(V) - T S(T,V)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;U&#039;&#039; is the internal [[lattice energy]], &#039;&#039;E&amp;lt;sub&amp;gt;ZP&amp;lt;/sub&amp;gt;&#039;&#039; is the vibrational [[zero-point energy]] of the lattice, &#039;&#039;T&#039;&#039; is the absolute temperature, &#039;&#039;V&#039;&#039; is the volume and &#039;&#039;S&#039;&#039; is the [[entropy]] due to the vibrational degrees of freedom. The specific definition of the volume is of no particular importance, as long as the definition is used consistently throughout. It can be the volume per primitive unit cell, volume per conventional unit cell, or even molar volume. This choice does not affect the following in any way.&lt;br /&gt;
&lt;br /&gt;
The zero-point energy term equals&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; E_{ZP}(V) = \frac{1}{N} \sum_{\mathbf{k}, i} \frac{1}{2} h \nu_{\mathbf{k},i}(V) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;N&#039;&#039; is the number of terms in the sum, &#039;&#039;&#039;k&#039;&#039;&#039; is a [[wave vector]], &#039;&#039;i&#039;&#039; denotes a phonon band, &#039;&#039;h&#039;&#039; is [[Planck&#039;s constant]] and ν&amp;lt;sub&amp;gt;&#039;&#039;&#039;k&#039;&#039;&#039;,&#039;&#039;i&#039;&#039;&amp;lt;/sub&amp;gt;(V) is the frequency of a phonon with wave vector &#039;&#039;&#039;k&#039;&#039;&#039; in the &#039;&#039;i&#039;&#039;-th band at volume &#039;&#039;V&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
The entropy term equals&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S(V) = -\frac{1}{N} \sum_{\mathbf{k}, i} k_B \ln \left[ 1 - \exp\left( -\frac{h \nu_{\mathbf{k},i}(V)}{ k_BT }\right) \right] + \frac{1}{N} \sum_{\mathbf{k},i} k_B \frac{h \nu_{\mathbf{k},i}(V)}{k_B T} \left[ \exp\left( \frac{h \nu_{\mathbf{k},i}(V)}{ k_BT } \right) - 1 \right]^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;k&#039;&#039;&amp;lt;sub&amp;gt;B&amp;lt;/sub&amp;gt; is the [[Boltzmann constant]]. The frequency ν as a function of &#039;&#039;&#039;k&#039;&#039;&#039; is the [[dispersion relation]].  Note that for a constant value of &#039;&#039;V&#039;&#039;, these equations corresponds to that of the harmonic approximation.&lt;br /&gt;
&lt;br /&gt;
By applying a [[Legendre transform]], it is possible to obtain the [[Gibbs free energy]] &#039;&#039;G&#039;&#039; of the system as a function of temperature and pressure.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G(T,P) = \min_V \left[ U(V) + E_{ZP}(V) - T S(T,V) + P V \right]&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &#039;&#039;P&#039;&#039; is the pressure. The minimal value for &#039;&#039;G&#039;&#039; is found at the equilibrium volume for a given &#039;&#039;T&#039;&#039; and &#039;&#039;P&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The system used&lt;br /&gt;
&lt;br /&gt;
The methodology/theory used MOLECULAR DYNAMICS (MD) - Brillouin zones&lt;br /&gt;
&lt;br /&gt;
The aims of the exercise - To compare the to predict how the material expands when heated, to calculate the thermal expansion coefficient for MgO, to compute vibrational energy levels of MgO, to understand the phonon dispersion of a material, the vibrational density of state, to simulate the vibrations as random motions of atoms inside a cell, to compare QUASI-HARMONIC APPROXIMATION with MOLECULAR DYNAMICS results.&lt;br /&gt;
&lt;br /&gt;
The tools/programs in use - DLV&lt;br /&gt;
&lt;br /&gt;
The quasi-harmonic approximation for phonons builds upon the harmonic approximation for phonon dynamics, and therefore to explain the quasi-harmonic approximation we must first discuss the harmonic approximation&lt;br /&gt;
&lt;br /&gt;
For a regular, linear chain which is composed of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; number of particles, the forces between a pair of atoms can be assumed to be a potential energy function &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; which depends on the distance of the separation between the atoms. The main contributing forces to the potential are described by an electric force, such as electrostatic attractions, covalent bonds or Van der Waals forces. Therefore the potential energy of the entire lattice made up of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; atoms is the sum of the potential energies between each pair of atoms with a separation r from each other shown below in eq 1.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV(r)&amp;lt;/math&amp;gt;       &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, allowing each atom to deviate slightly from its equilibrium position by a displacement &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;, if the deviations are small in comparison to the distance between each atom &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;, the energy of this chain is able to be calculated via a taylor expansion summing over all of the atoms in the chain.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV + \sum_{s\ge 1} \frac {1}{s !} \frac {\partial^s V}{\partial u^s} \sum_{n}&lt;br /&gt;
 (u_n - u_{n+1})^s&amp;lt;/math&amp;gt;     &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;u_n&amp;lt;/math&amp;gt; is the displacement of the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;th atom from its equilibrium postition&lt;br /&gt;
&lt;br /&gt;
Two approximations are used in order to reach this equation, which together forms the harmonic approximation and it&#039;s respective equation. The first approximation states that the sum of the pair potential energies is completed over only neighboring atoms, as although there are electric forces between all atoms, these forces on atoms far away from one another are greatly diminished by screening by the atoms in between, and that the potential energies are treated as harmonic potential energies. In this equation, as the expansion was done around the equilibrium point, therefore the first derivative is zero, whereas higher order terms are not, and so the first term can be dropped, and the second term is used where &amp;lt;math&amp;gt;s = 2&amp;lt;/math&amp;gt;, with higher order terms being neglected. These higher order terms are ignored as harmonic equations of motion have exact solutions, while anharmonic equations do not have exact solutions to them and require more approximations. Thus the energy of the lattice is thus the same as the energy of the set of harmonic oscillators. The error in this equation remains small for small values of &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;&lt;br /&gt;
as the value of higher order terms will remain low.&lt;br /&gt;
CITE BOOK&lt;br /&gt;
&lt;br /&gt;
The quasi-harmonic approximation expands upon the harmonic approximation by taking into account some of the true anharmonicity of the interactions between atoms. The quasi-harmonic approximation relates the hemholtz free energy of a perfect lattice to both its temperature and its volume, in contrast to the harmonic oscillator that only depended on temperature, this is shown below in eq. 3ː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; F = E_0 + \frac {1}{2}\sum_{k,j}^{} \hbar \omega _k + k_B T \sum_{k,j}^{}ln(1-e^{\frac {-\hbar \omega _k }{k_B T}})&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;F&amp;lt;/math&amp;gt; is the Hemholtz free energy and &amp;lt;math&amp;gt;E_0&amp;lt;/math&amp;gt; is the lattice energy&lt;br /&gt;
&lt;br /&gt;
== Results and Discussion ==&lt;br /&gt;
&lt;br /&gt;
=== Phonon modes and Free Energy of MgO ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|[[File:Ft1015MgO_phonon_dispersion.PNG|500px|thumb|&#039;&#039;&#039;Figure 1&#039;&#039;&#039;: A phonon dispersion plot for MgO]]&lt;br /&gt;
|[[File:Ft1015MgO_DoS.PNG|500px|thumb|&#039;&#039;&#039;Figure 2&#039;&#039;&#039;: A plot of the density of states for MgO using a 1x1x1 grid size]]&lt;br /&gt;
|[[File:Ft1015MgO_DoS_20x20x20.PNG|500px|thumb|left|&#039;&#039;&#039;Figure 3&#039;&#039;&#039;: The optimised plot of the density of states for MgO using a 16x16x16 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From figures 1 and 2, we can see the computed phonon dispersion curve and density of states for a 1x1x1 grid size containing one k-point. Correlating the density of states with the dispersion curve via their shared axis of frequency of vibration yields the k-point L on the dispersion curve as the singular k-point used for the calculation. The density of states shows bands at 286 and 351 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 676 and 806 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, with the intensities of the first two bands double that of the final two bands. These bands correspond to three acoustic and three optical branches, with the first two bands of 0.333 intensity corresponding to a k-point where two branches are overlapping and are therefore degenerate states.&lt;br /&gt;
&lt;br /&gt;
Varying the grid size used for the calculation greatly affected the accuracy and precision of the results of calculations through increasing the number of k-points sampled in eq. 1ː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\omega ^{2}(k) = C(\frac{1}{M_{Mg}} + \frac{1}{M_{O}}) \pm \sqrt {(\frac{1}{M_{Mg}} + \frac{1}{M_{O}})^{2} - \frac{4sin^{2}(ka)}{M_{Mg}}}&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; is the spring force constant, &amp;lt;math&amp;gt;M_{Mg}&amp;lt;/math&amp;gt; is the molar mass of magnesium and &amp;lt;math&amp;gt;M_{O}&amp;lt;/math&amp;gt; is the molar mass of oxygen&lt;br /&gt;
&lt;br /&gt;
As the grid size increases, and thus the more k-points sampled, more and more features become visible, with the increase in number of points sampled along the dispersion curve leading to the increase in number of bands seen in the density of states. Optimising the grid size led to a grid size of 16x16x16 being optimal. As expected, the density of states plot produced from this grid size was smooth, as can be seen in figure 3. This curve was proved to be a good optimisation through looking at the Hemholtz free energy for each of the simulated grid sizes. As the accuracy of the Helmholtz free energy result directly depends on the number of k-space points sampled in the calculations as can be seen in eq. 2. Similarly to eq. 1, the larger the grid size, and therefore the more k-points sampled, the more accurate the result. Comparing the free energy of the 16x16x16 grid to the 32x32x32 grid; which for higher order grids remained constant and so had converged, the 16x16x16 was accurate to within 0.001 meV or 2.4434 × 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; %.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; F = E_0 + \frac {1}{2}\sum_{k,j}^{} \hbar \omega _k + k_B T \sum_{k,j}^{}ln(1-e^{\frac {-\hbar \omega _k }{k_B T}})&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;F&amp;lt;/math&amp;gt; is the Hemholtz free energy and &amp;lt;math&amp;gt;E_0&amp;lt;/math&amp;gt; is the lattice energy&lt;br /&gt;
&lt;br /&gt;
In comparison to smaller grid sizes, the 16x16x16 grid size curve appears more smooth, and more akin to a single band as seen for macrostructures. Larger grid sizes, while greatly increasing the computation time of the calculation did not largely increase the accuracy of the calculations as stated above, and therefore the 16x16x16 grid size was the optimal choice for these simulations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 1. Calculated Total Difference in Hemholtz Free Energy &lt;br /&gt;
! Grid Size&lt;br /&gt;
! Total Difference in Free Energy&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 3.818&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.126&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -0.051&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -0.033&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -0.001&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| -0.000&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| 0.000&lt;br /&gt;
|-&lt;br /&gt;
| 64&lt;br /&gt;
| 0.000&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Table 1 shows the difference between the calculated free energy for grid size and the final converged free energy. Looking at this, we can see that for grid sizes larger than 24x24x24, there is no change in the free energy of the system and so the free energy has converged to a minima, although it may not be the global minimum. The accuracy of simulations also increase rapidly with grid size, for example for accurate simulated energies to 1, 0.5 and 0.1 meV per cell, grid sizes of 2x2x2, 4x4x4 and 8x8x8 respectively can be used. This rapid increase in the accuracy of the calculation can be attributed to the large increase in k-points sampled over within the summations in eq. 2 with increasing grid size.&lt;br /&gt;
&lt;br /&gt;
However, the optimal grid size dependent on the material used due to the relationship between the lattice parameter, and the size of the first brillouin zone in k-space. For a similar oxide such as CaO, in comparsion to the lattice parameter of MgO of 4.212 Å &amp;lt;ref&amp;gt; A. CIMINO, P. PORTA and M. VALIGI, J. Am. Ceram. Soc, 1966, &#039;&#039;&#039;49&#039;&#039;&#039;, 152–156 &amp;lt;/ref&amp;gt;, the parameter of CaO is 4.864 Å &amp;lt;ref&amp;gt;Mackrodt, W. C., Harrison, N. M., Saunders, V. R., Allan, N. L. and Towler, M. D., Aprà, E., Dovesi, R., Philos. Mag. A, 1993 , &#039;&#039;&#039;68&#039;&#039;&#039;, 653-666 &amp;lt;/ref&amp;gt;, slightly larger than that of MgO. This leads to a slightly smaller grid size being optimal, as the larger lattice parameter leads to a smaller brillouin zone in reciprocal space as if the lattice parameter &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; is larger, then the size of the first brillouin zone &amp;lt;math&amp;gt;a^{*}= \frac {2 \pi}{a} &amp;lt;/math&amp;gt;will be smaller. This in turn allows less points to be sampled inside the region to give the same spacing of points, and therefore accuracy for the density of states as for MgO. Similarly, the zeolite faujsite has an extremely large lattice parameter of 25.132 Å &amp;lt;ref&amp;gt;E. Dempsey, G. H. Kuhl, and D. H. Olson, Phys. Chem., 1969, &#039;&#039;&#039;73&#039;&#039;&#039;, 387–390 &amp;lt;/ref&amp;gt;, in comparison to MgO. This; as with the case of CaO but more exaggerated, leads to a much smaller brillouin zone in reciprocal space, and so allows for a much smaller grid size to give the same accuracy as the MgO calculation due to the extremely small value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; obtained for faujsite.&lt;br /&gt;
Conversely, lithium has a smaller lattice spacing of 3.51 Å &amp;lt;ref&amp;gt;M.R. Nadler and C.P. Kempfer, Anal. Chem., 1959, &#039;&#039;&#039;31&#039;&#039;&#039;, 2109-2111&amp;lt;/ref&amp;gt;. Therefore the value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; for lithium will be larger than for MgO, and so require a larger grid size to obtain the same spacing between sampled k-space points and therefore accuracy of the calculated density of states.&lt;br /&gt;
&lt;br /&gt;
=== Thermal Expansion of MgO ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
||[[File:Ft1015Latticeparametervskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 4&#039;&#039;&#039;: A plot of lattice parameter against temperature for MgO]]&lt;br /&gt;
|[[File:Ft1015Latticevolumevskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 5&#039;&#039;&#039;: A plot of lattice volume against temperature for MgO, with the magenta line on the graph corresponding to the polynomial fit for the graph, and the red point the points which were not fitted over]]&lt;br /&gt;
|[[File:Ft1015Hemholtzvskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 6&#039;&#039;&#039;: A plot of free energy against temperature for MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The physical origin of thermal expansion for a solid lattice arises from the increase of kinetic energy of a material with an increase in temperature. All atoms within a lattice vibrate and move about their positions within the lattice and with an increase in temperature, each atom in the lattice gains kinetic energy, increasing the strength of its vibrations and the speed at which the atoms move. Due to this, the atoms on average take up more space at higher temperatures than lower temperatures and so averaged out over many atoms in a lattice, this increases the volume of the lattice.&lt;br /&gt;
&lt;br /&gt;
Figures 4 &amp;amp; 5 show the effect of change on temperature on the lattice parameter and volume of MgO in the range of 50-2900 K. As we can seen from the figures, from 50-400 K, a change in temperature does not largely increase the volume, while above 400 K the trend seems to be linear with respect to volume increase through an increase in temperature. This is however not the case at higher temperatures above 2200 K where the trend is more polynomial in nature.&lt;br /&gt;
&lt;br /&gt;
Figure 6 shows the effect of change in temperature on the Hemholtz free energy of MgO. From 50-400 K, the dominating term for the free energy is the zero point energy, and thus a change in temperature does not greatly change the free energy of the lattice and so volume changes at low temperatures are minimal. At temperatures above 2200 K not only is the entropic term completely dominating all other terms for the free energy, but also higher order anharmonic terms for the free energy that were excluded in the harmonic approximation part of the equation begin to play a large role in the free energy. This leads to the gradient no longer being linear. &amp;lt;ref&amp;gt;Masanori Matsui, Geoffrey D. Price and Atul Patel, Geophys. Res. Lett., 1994, &#039;&#039;&#039;21&#039;&#039;&#039;,  1659-1662 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The thermal expansion coefficients for MgO can be calculated through using the gradient &amp;lt;math&amp;gt; (\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt; at a specific value of &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; in the equationː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \alpha = \frac{1}{V_i} (\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt;   &amp;lt;math&amp;gt;(3)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt; \alpha &amp;lt;/math&amp;gt; is the coefficient of thermal expansion and &amp;lt;math&amp;gt;V_i&amp;lt;/math&amp;gt; is the volume of the lattice at 0 K, and &amp;lt;math&amp;gt;(\frac{\partial V}{\partial T})_p =6.16898 \times 10^{-7} T + 0.00118&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Table 2 displays thermal expansion coefficients for the polynomial fit of MgO, alongside the temperature range that the fit was made over.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 2. Calculated Linear fit Thermal Expansion Coefficients for MgO&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| 50 K&lt;br /&gt;
| 16.44&lt;br /&gt;
&lt;br /&gt;
| 1500 K&lt;br /&gt;
|40.13&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 100 K&lt;br /&gt;
| 17.26&lt;br /&gt;
&lt;br /&gt;
| 1600 K&lt;br /&gt;
| 41.76&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 200 K&lt;br /&gt;
| 18.89&lt;br /&gt;
&lt;br /&gt;
| 1700 K&lt;br /&gt;
|43.40&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 300 K&lt;br /&gt;
| 20.53&lt;br /&gt;
&lt;br /&gt;
| 1800 K&lt;br /&gt;
|45.03&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 400 K&lt;br /&gt;
| 22.16&lt;br /&gt;
&lt;br /&gt;
| 1900 K&lt;br /&gt;
|46.67&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 500 K&lt;br /&gt;
| 23.79&lt;br /&gt;
&lt;br /&gt;
| 2000 K&lt;br /&gt;
|48.30&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 600 K&lt;br /&gt;
| 25.43&lt;br /&gt;
&lt;br /&gt;
| 2100 K&lt;br /&gt;
|49.93&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 700 K&lt;br /&gt;
| 27.06&lt;br /&gt;
&lt;br /&gt;
| 2200 K&lt;br /&gt;
|51.57&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 800 K&lt;br /&gt;
| 28.69&lt;br /&gt;
&lt;br /&gt;
| 2300 K&lt;br /&gt;
|53.20&lt;br /&gt;
|-&lt;br /&gt;
| 900 K&lt;br /&gt;
| 30.33&lt;br /&gt;
&lt;br /&gt;
| 2400 K&lt;br /&gt;
|54.83&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1000 K&lt;br /&gt;
| 31.96&lt;br /&gt;
&lt;br /&gt;
| 2500 K&lt;br /&gt;
|56.47&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1100 K&lt;br /&gt;
| 33.60&lt;br /&gt;
&lt;br /&gt;
| 2600 K&lt;br /&gt;
|58.10&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1200 K&lt;br /&gt;
| 35.23&lt;br /&gt;
&lt;br /&gt;
| 2700 K&lt;br /&gt;
|59.74&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1300 K&lt;br /&gt;
| 36.86&lt;br /&gt;
&lt;br /&gt;
| 2800 K&lt;br /&gt;
|61.369&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1400 K&lt;br /&gt;
| 38.50&lt;br /&gt;
&lt;br /&gt;
| 2900 K&lt;br /&gt;
|63.00&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As we can see from the table of results, the coefficient of thermal expansion is not independent of temperature, but changes with it. In comparison to literature values&amp;lt;ref&amp;gt;A. S. Madhusudhan Rao and K. Narender, J. Chem. Thermodyn, 2014, &#039;&#039;&#039;2014&#039;&#039;&#039;, 8&amp;lt;/ref&amp;gt;, at 300 K the data obtained through this experiment largely agrees with the literature data of a value for the thermal expansion coefficient of 11.91 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Deviations from the literature values can be attributed to shortcomings of the quasi-harmonic oscillator approximation. The main approximation being that the oscillations of the atoms about their equilibrium positions are small, which for higher energy phonon modes is not representative of those modes. Therefore it is seen that the difference in our calculated values to that of literature values increases as the temperature increases such as a literature value of 14.17 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 1200 K, compared to a calculated value of 35.23 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At temperatures above the melting point of MgO - 2852 °C &amp;lt;ref&amp;gt; Haynes, William M., CRC Handbook of Chemistry and Physics (92nd ed.), Boca Raton, CRC Press., 2011&amp;lt;/ref&amp;gt; - the phonon modes of MgO are not accurate represented. This is due to the fact that above this temperature MgO melts from a solid to a liquid, and thus the approximation that the solid is a perfect lattice breaks down. This means that for temperatures near to or above 2852 °C the data is not representative of the true phonon modes as a solid is being simulated whereas in reality the material is already is a liquid and so solid phonon modes cannot describe the liquid modes.&lt;br /&gt;
&lt;br /&gt;
Although the quasi-harmonic approximation breaks down at higher temperatures, unlike other approximations such as the harmonic approximation, it can be used to model thermal expansion. Consider a diatomic harmonic oscillator, with an increase in temperature the strength of oscillation will increase, but in equal proportions relating to lengthening and contracting of the bond due to the nature of a harmonic potential. This leads to an increase in temperature not changing the equilibrium bond length and thus thermal expansion cannot be modelled. The quasi-harmonic approximation takes into account some of the anharmonic nature of the true bond and so allows thermal expansion to be modelled. This can be visualised through viewing a morse potential. A contraction of bond length in a morse potential require a much larger amount of energy than an increase in bond length, therefore at higher temperatures and so higher energies, while the bond length maximum will largely increase, the minimum bond length will change only slightly, thus on average the bond length will have lengthened. This leads to an increase in equilibrium bond length, and so applying this so a lattice leads to an increase in volume of the lattice.&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamic Simulations ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
||[[File:Ft1015MgO_MD.png|500px|thumb|&#039;&#039;&#039;Figure 7&#039;&#039;&#039;: A plot of cell volume against temperature for the molecular dynamics calculations]]&lt;br /&gt;
|[[File:Ft1015MgO_MDvsLD.png|500px|thumb|&#039;&#039;&#039;Figure 8&#039;&#039;&#039;: A plot of cell volume against temperature comparing the values calculated via Molecular Dynamics and Lattice Dynamics]]&lt;br /&gt;
|[[File:Ft1015MgO_Thermal_Expansion_Coefficient_MDvsLD.png|500px|thumb|&#039;&#039;&#039;Figure 9&#039;&#039;&#039;: A plot of the thermal expansion coefficient for both Molecular Dynamics and Lattice Dynamics simulations]]&lt;br /&gt;
|}&lt;br /&gt;
Molecular dynamics simulations were run using from 50-3700 K as shown in figure 7. Figures 8&amp;amp;9 compares the results of Molecular dynamics and Lattice Dynamics (quasi-harmonic approximation) simulations. In figure 8 it is seen that the difference in volume the MD and LD plots for the range 400-1400 K is quite small, while at temperatures lower than 400 K and higher than 1400 K the simulations begin to deviate from each other. Figure 9 compares the calculated coefficient for thermal expansion for MD and LD, taking a value at 300 K of 25.82 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 30.33 at 1200 K, in comparison to the literature values of 11.91 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 300 K and 14.17 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 1200 K, it can be seen that at lower temperatures, the LD approach is more accurate, while at higher temperature MD is more accurate. As MD calculations average the volume of the cell over set intervals - the timestep - for a set period of time, the erractic nature of the MD curve at high temperatures in figure 8 is due to the large velocites of the ions in the lattice leads to the timestep being to large to take an accurate snapshot of the system and its variations. Thus a timestep smaller than the 500 fs interval used would reduce the noise in the simulation and provide a more accurate description of the volume at higher temperatures.&lt;br /&gt;
&lt;br /&gt;
LD and MD simulations differ due to the differences between how they calculate their results and the approximations they take into account. MD differs from LD at lower temperatures due to the lack of higher order quantum corrections which LD takes into account, while at higher temperatures MD is more accurate due to the use of Newton&#039;s classical equations which dominate all quantum effects, while LD suffers from a lack of higher order anharmonic terms in its approximation. &amp;lt;ref&amp;gt;Masanori Matsui, Geoffrey D. Price and Atul Patel, Geophys. Res. Lett., 1994, &#039;&#039;&#039;21&#039;&#039;&#039;, 1659-1662&amp;lt;/ref&amp;gt;. This leads MD producing more accurate results at higher temperatures, while LD is more accurate at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
As stated above, at temperatures near to or larger than the melting point of MgO, a LD simulation fails to produce accurate results for the volume of the cell due to the fact that a solid is still being simulated rather than a liquid. MD simulations however work through Newton&#039;s laws of motion and so can model phase transitions of materials. This can be seen in figure 7, where after the melting of MgO at 2852 K the change in volume per 100 K is larger than for temperatures below this point, due to the forces between liquid molecules being weaker than that of solids, and so thermal expansion of liquids  is larger than solid for the same change in temperature.&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
== References ==&lt;/div&gt;</summary>
		<author><name>Ft1015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=652296</id>
		<title>Rep:FabianThomasThirdYearMgOSimulation</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=652296"/>
		<updated>2017-12-17T21:56:20Z</updated>

		<summary type="html">&lt;p&gt;Ft1015: /* Molecular Dynamic Simulations */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Abstract ==&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Theory ===&lt;br /&gt;
The quasi-harmonic approximation expands upon the harmonic [[phonon]] model of lattice dynamics. The harmonic phonon model states that all interatomic forces are purely [[Harmonic Oscillator|harmonic]], but such a model is inadequate to explain [[thermal expansion]], as the equilibrium distance between atoms in such a model is independent of temperature.&lt;br /&gt;
&lt;br /&gt;
Thus in the quasi-harmonic model, from a phonon point of view, phonon frequencies become volume-dependent in the quasi-harmonic approximation, such that for each volume, the harmonic approximation holds.&lt;br /&gt;
&lt;br /&gt;
For a lattice, the Helmholtz free energy &#039;&#039;F&#039;&#039; in the quasi-harmonic approximation is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;F(T,V) = U(V) + E_{ZP}(V) - T S(T,V)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;U&#039;&#039; is the internal [[lattice energy]], &#039;&#039;E&amp;lt;sub&amp;gt;ZP&amp;lt;/sub&amp;gt;&#039;&#039; is the vibrational [[zero-point energy]] of the lattice, &#039;&#039;T&#039;&#039; is the absolute temperature, &#039;&#039;V&#039;&#039; is the volume and &#039;&#039;S&#039;&#039; is the [[entropy]] due to the vibrational degrees of freedom. The specific definition of the volume is of no particular importance, as long as the definition is used consistently throughout. It can be the volume per primitive unit cell, volume per conventional unit cell, or even molar volume. This choice does not affect the following in any way.&lt;br /&gt;
&lt;br /&gt;
The zero-point energy term equals&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; E_{ZP}(V) = \frac{1}{N} \sum_{\mathbf{k}, i} \frac{1}{2} h \nu_{\mathbf{k},i}(V) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;N&#039;&#039; is the number of terms in the sum, &#039;&#039;&#039;k&#039;&#039;&#039; is a [[wave vector]], &#039;&#039;i&#039;&#039; denotes a phonon band, &#039;&#039;h&#039;&#039; is [[Planck&#039;s constant]] and ν&amp;lt;sub&amp;gt;&#039;&#039;&#039;k&#039;&#039;&#039;,&#039;&#039;i&#039;&#039;&amp;lt;/sub&amp;gt;(V) is the frequency of a phonon with wave vector &#039;&#039;&#039;k&#039;&#039;&#039; in the &#039;&#039;i&#039;&#039;-th band at volume &#039;&#039;V&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
The entropy term equals&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S(V) = -\frac{1}{N} \sum_{\mathbf{k}, i} k_B \ln \left[ 1 - \exp\left( -\frac{h \nu_{\mathbf{k},i}(V)}{ k_BT }\right) \right] + \frac{1}{N} \sum_{\mathbf{k},i} k_B \frac{h \nu_{\mathbf{k},i}(V)}{k_B T} \left[ \exp\left( \frac{h \nu_{\mathbf{k},i}(V)}{ k_BT } \right) - 1 \right]^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;k&#039;&#039;&amp;lt;sub&amp;gt;B&amp;lt;/sub&amp;gt; is the [[Boltzmann constant]]. The frequency ν as a function of &#039;&#039;&#039;k&#039;&#039;&#039; is the [[dispersion relation]].  Note that for a constant value of &#039;&#039;V&#039;&#039;, these equations corresponds to that of the harmonic approximation.&lt;br /&gt;
&lt;br /&gt;
By applying a [[Legendre transform]], it is possible to obtain the [[Gibbs free energy]] &#039;&#039;G&#039;&#039; of the system as a function of temperature and pressure.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G(T,P) = \min_V \left[ U(V) + E_{ZP}(V) - T S(T,V) + P V \right]&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &#039;&#039;P&#039;&#039; is the pressure. The minimal value for &#039;&#039;G&#039;&#039; is found at the equilibrium volume for a given &#039;&#039;T&#039;&#039; and &#039;&#039;P&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The system used&lt;br /&gt;
&lt;br /&gt;
The methodology/theory used MOLECULAR DYNAMICS (MD) - Brillouin zones&lt;br /&gt;
&lt;br /&gt;
The aims of the exercise - To compare the to predict how the material expands when heated, to calculate the thermal expansion coefficient for MgO, to compute vibrational energy levels of MgO, to understand the phonon dispersion of a material, the vibrational density of state, to simulate the vibrations as random motions of atoms inside a cell, to compare QUASI-HARMONIC APPROXIMATION with MOLECULAR DYNAMICS results.&lt;br /&gt;
&lt;br /&gt;
The tools/programs in use - DLV&lt;br /&gt;
&lt;br /&gt;
The quasi-harmonic approximation for phonons builds upon the harmonic approximation for phonon dynamics, and therefore to explain the quasi-harmonic approximation we must first discuss the harmonic approximation&lt;br /&gt;
&lt;br /&gt;
For a regular, linear chain which is composed of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; number of particles, the forces between a pair of atoms can be assumed to be a potential energy function &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; which depends on the distance of the separation between the atoms. The main contributing forces to the potential are described by an electric force, such as electrostatic attractions, covalent bonds or Van der Waals forces. Therefore the potential energy of the entire lattice made up of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; atoms is the sum of the potential energies between each pair of atoms with a separation r from each other shown below in eq 1.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV(r)&amp;lt;/math&amp;gt;       &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, allowing each atom to deviate slightly from its equilibrium position by a displacement &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;, if the deviations are small in comparison to the distance between each atom &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;, the energy of this chain is able to be calculated via a taylor expansion summing over all of the atoms in the chain.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV + \sum_{s\ge 1} \frac {1}{s !} \frac {\partial^s V}{\partial u^s} \sum_{n}&lt;br /&gt;
 (u_n - u_{n+1})^s&amp;lt;/math&amp;gt;     &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;u_n&amp;lt;/math&amp;gt; is the displacement of the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;th atom from its equilibrium postition&lt;br /&gt;
&lt;br /&gt;
Two approximations are used in order to reach this equation, which together forms the harmonic approximation and it&#039;s respective equation. The first approximation states that the sum of the pair potential energies is completed over only neighboring atoms, as although there are electric forces between all atoms, these forces on atoms far away from one another are greatly diminished by screening by the atoms in between, and that the potential energies are treated as harmonic potential energies. In this equation, as the expansion was done around the equilibrium point, therefore the first derivative is zero, whereas higher order terms are not, and so the first term can be dropped, and the second term is used where &amp;lt;math&amp;gt;s = 2&amp;lt;/math&amp;gt;, with higher order terms being neglected. These higher order terms are ignored as harmonic equations of motion have exact solutions, while anharmonic equations do not have exact solutions to them and require more approximations. Thus the energy of the lattice is thus the same as the energy of the set of harmonic oscillators. The error in this equation remains small for small values of &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;&lt;br /&gt;
as the value of higher order terms will remain low.&lt;br /&gt;
CITE BOOK&lt;br /&gt;
&lt;br /&gt;
== Results and Discussion ==&lt;br /&gt;
&lt;br /&gt;
=== Phonon modes and Free Energy of MgO ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|[[File:Ft1015MgO_phonon_dispersion.PNG|500px|thumb|&#039;&#039;&#039;Figure 1&#039;&#039;&#039;: A phonon dispersion plot for MgO]]&lt;br /&gt;
|[[File:Ft1015MgO_DoS.PNG|500px|thumb|&#039;&#039;&#039;Figure 2&#039;&#039;&#039;: A plot of the density of states for MgO using a 1x1x1 grid size]]&lt;br /&gt;
|[[File:Ft1015MgO_DoS_20x20x20.PNG|500px|thumb|left|&#039;&#039;&#039;Figure 3&#039;&#039;&#039;: The optimised plot of the density of states for MgO using a 16x16x16 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From figures 1 and 2, we can see the computed phonon dispersion curve and density of states for a 1x1x1 grid size containing one k-point. Correlating the density of states with the dispersion curve via their shared axis of frequency of vibration yields the k-point L on the dispersion curve as the singular k-point used for the calculation. The density of states shows bands at 286 and 351 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 676 and 806 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, with the intensities of the first two bands double that of the final two bands. These bands correspond to three acoustic and three optical branches, with the first two bands of 0.333 intensity corresponding to a k-point where two branches are overlapping and are therefore degenerate states.&lt;br /&gt;
&lt;br /&gt;
Varying the grid size used for the calculation greatly affected the accuracy and precision of the results of calculations through increasing the number of k-points sampled in eq. 1ː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\omega ^{2}(k) = C(\frac{1}{M_{Mg}} + \frac{1}{M_{O}}) \pm \sqrt {(\frac{1}{M_{Mg}} + \frac{1}{M_{O}})^{2} - \frac{4sin^{2}(ka)}{M_{Mg}}}&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; is the spring force constant, &amp;lt;math&amp;gt;M_{Mg}&amp;lt;/math&amp;gt; is the molar mass of magnesium and &amp;lt;math&amp;gt;M_{O}&amp;lt;/math&amp;gt; is the molar mass of oxygen&lt;br /&gt;
&lt;br /&gt;
As the grid size increases, and thus the more k-points sampled, more and more features become visible, with the increase in number of points sampled along the dispersion curve leading to the increase in number of bands seen in the density of states. Optimising the grid size led to a grid size of 16x16x16 being optimal. As expected, the density of states plot produced from this grid size was smooth, as can be seen in figure 3. This curve was proved to be a good optimisation through looking at the Hemholtz free energy for each of the simulated grid sizes. As the accuracy of the Helmholtz free energy result directly depends on the number of k-space points sampled in the calculations as can be seen in eq. 2. Similarly to eq. 1, the larger the grid size, and therefore the more k-points sampled, the more accurate the result. Comparing the free energy of the 16x16x16 grid to the 32x32x32 grid; which for higher order grids remained constant and so had converged, the 16x16x16 was accurate to within 0.001 meV or 2.4434 × 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; %.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; F = E_0 + \frac {1}{2}\sum_{k,j}^{} \hbar \omega _k + k_B T \sum_{k,j}^{}ln(1-e^{\frac {-\hbar \omega _k }{k_B T}})&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;F&amp;lt;/math&amp;gt; is the Hemholtz free energy and &amp;lt;math&amp;gt;E_0&amp;lt;/math&amp;gt; is the lattice energy&lt;br /&gt;
&lt;br /&gt;
In comparison to smaller grid sizes, the 16x16x16 grid size curve appears more smooth, and more akin to a single band as seen for macrostructures. Larger grid sizes, while greatly increasing the computation time of the calculation did not largely increase the accuracy of the calculations as stated above, and therefore the 16x16x16 grid size was the optimal choice for these simulations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 1. Calculated Total Difference in Hemholtz Free Energy &lt;br /&gt;
! Grid Size&lt;br /&gt;
! Total Difference in Free Energy&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 3.818&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.126&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -0.051&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -0.033&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -0.001&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| -0.000&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| 0.000&lt;br /&gt;
|-&lt;br /&gt;
| 64&lt;br /&gt;
| 0.000&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Table 1 shows the difference between the calculated free energy for grid size and the final converged free energy. Looking at this, we can see that for grid sizes larger than 24x24x24, there is no change in the free energy of the system and so the free energy has converged to a minima, although it may not be the global minimum. The accuracy of simulations also increase rapidly with grid size, for example for accurate simulated energies to 1, 0.5 and 0.1 meV per cell, grid sizes of 2x2x2, 4x4x4 and 8x8x8 respectively can be used. This rapid increase in the accuracy of the calculation can be attributed to the large increase in k-points sampled over within the summations in eq. 2 with increasing grid size.&lt;br /&gt;
&lt;br /&gt;
However, the optimal grid size dependent on the material used due to the relationship between the lattice parameter, and the size of the first brillouin zone in k-space. For a similar oxide such as CaO, in comparsion to the lattice parameter of MgO of 4.212 Å &amp;lt;ref&amp;gt; A. CIMINO, P. PORTA and M. VALIGI, J. Am. Ceram. Soc, 1966, &#039;&#039;&#039;49&#039;&#039;&#039;, 152–156 &amp;lt;/ref&amp;gt;, the parameter of CaO is 4.864 Å &amp;lt;ref&amp;gt;Mackrodt, W. C., Harrison, N. M., Saunders, V. R., Allan, N. L. and Towler, M. D., Aprà, E., Dovesi, R., Philos. Mag. A, 1993 , &#039;&#039;&#039;68&#039;&#039;&#039;, 653-666 &amp;lt;/ref&amp;gt;, slightly larger than that of MgO. This leads to a slightly smaller grid size being optimal, as the larger lattice parameter leads to a smaller brillouin zone in reciprocal space as if the lattice parameter &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; is larger, then the size of the first brillouin zone &amp;lt;math&amp;gt;a^{*}= \frac {2 \pi}{a} &amp;lt;/math&amp;gt;will be smaller. This in turn allows less points to be sampled inside the region to give the same spacing of points, and therefore accuracy for the density of states as for MgO. Similarly, the zeolite faujsite has an extremely large lattice parameter of 25.132 Å &amp;lt;ref&amp;gt;E. Dempsey, G. H. Kuhl, and D. H. Olson, Phys. Chem., 1969, &#039;&#039;&#039;73&#039;&#039;&#039;, 387–390 &amp;lt;/ref&amp;gt;, in comparison to MgO. This; as with the case of CaO but more exaggerated, leads to a much smaller brillouin zone in reciprocal space, and so allows for a much smaller grid size to give the same accuracy as the MgO calculation due to the extremely small value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; obtained for faujsite.&lt;br /&gt;
Conversely, lithium has a smaller lattice spacing of 3.51 Å &amp;lt;ref&amp;gt;M.R. Nadler and C.P. Kempfer, Anal. Chem., 1959, &#039;&#039;&#039;31&#039;&#039;&#039;, 2109-2111&amp;lt;/ref&amp;gt;. Therefore the value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; for lithium will be larger than for MgO, and so require a larger grid size to obtain the same spacing between sampled k-space points and therefore accuracy of the calculated density of states.&lt;br /&gt;
&lt;br /&gt;
=== Thermal Expansion of MgO ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
||[[File:Ft1015Latticeparametervskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 4&#039;&#039;&#039;: A plot of lattice parameter against temperature for MgO]]&lt;br /&gt;
|[[File:Ft1015Latticevolumevskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 5&#039;&#039;&#039;: A plot of lattice volume against temperature for MgO, with the magenta line on the graph corresponding to the polynomial fit for the graph, and the red point the points which were not fitted over]]&lt;br /&gt;
|[[File:Ft1015Hemholtzvskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 6&#039;&#039;&#039;: A plot of free energy against temperature for MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The physical origin of thermal expansion for a solid lattice arises from the increase of kinetic energy of a material with an increase in temperature. All atoms within a lattice vibrate and move about their positions within the lattice and with an increase in temperature, each atom in the lattice gains kinetic energy, increasing the strength of its vibrations and the speed at which the atoms move. Due to this, the atoms on average take up more space at higher temperatures than lower temperatures and so averaged out over many atoms in a lattice, this increases the volume of the lattice.&lt;br /&gt;
&lt;br /&gt;
Figures 4 &amp;amp; 5 show the effect of change on temperature on the lattice parameter and volume of MgO in the range of 50-2900 K. As we can seen from the figures, from 50-400 K, a change in temperature does not largely increase the volume, while above 400 K the trend seems to be linear with respect to volume increase through an increase in temperature. This is however not the case at higher temperatures above 2200 K where the trend is more polynomial in nature.&lt;br /&gt;
&lt;br /&gt;
Figure 6 shows the effect of change in temperature on the Hemholtz free energy of MgO. From 50-400 K, the dominating term for the free energy is the zero point energy, and thus a change in temperature does not greatly change the free energy of the lattice and so volume changes at low temperatures are minimal. At temperatures above 2200 K not only is the entropic term completely dominating all other terms for the free energy, but also higher order anharmonic terms for the free energy that were excluded in the harmonic approximation part of the equation begin to play a large role in the free energy. This leads to the gradient no longer being linear. &amp;lt;ref&amp;gt;Masanori Matsui, Geoffrey D. Price and Atul Patel, Geophys. Res. Lett., 1994, &#039;&#039;&#039;21&#039;&#039;&#039;,  1659-1662 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The thermal expansion coefficients for MgO can be calculated through using the gradient &amp;lt;math&amp;gt; (\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt; at a specific value of &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; in the equationː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \alpha = \frac{1}{V_i} (\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt;   &amp;lt;math&amp;gt;(3)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt; \alpha &amp;lt;/math&amp;gt; is the coefficient of thermal expansion and &amp;lt;math&amp;gt;V_i&amp;lt;/math&amp;gt; is the volume of the lattice at 0 K, and &amp;lt;math&amp;gt;(\frac{\partial V}{\partial T})_p =6.16898 \times 10^{-7} T + 0.00118&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Table 2 displays thermal expansion coefficients for the polynomial fit of MgO, alongside the temperature range that the fit was made over.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 2. Calculated Linear fit Thermal Expansion Coefficients for MgO&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| 50 K&lt;br /&gt;
| 16.44&lt;br /&gt;
&lt;br /&gt;
| 1500 K&lt;br /&gt;
|40.13&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 100 K&lt;br /&gt;
| 17.26&lt;br /&gt;
&lt;br /&gt;
| 1600 K&lt;br /&gt;
| 41.76&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 200 K&lt;br /&gt;
| 18.89&lt;br /&gt;
&lt;br /&gt;
| 1700 K&lt;br /&gt;
|43.40&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 300 K&lt;br /&gt;
| 20.53&lt;br /&gt;
&lt;br /&gt;
| 1800 K&lt;br /&gt;
|45.03&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 400 K&lt;br /&gt;
| 22.16&lt;br /&gt;
&lt;br /&gt;
| 1900 K&lt;br /&gt;
|46.67&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 500 K&lt;br /&gt;
| 23.79&lt;br /&gt;
&lt;br /&gt;
| 2000 K&lt;br /&gt;
|48.30&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 600 K&lt;br /&gt;
| 25.43&lt;br /&gt;
&lt;br /&gt;
| 2100 K&lt;br /&gt;
|49.93&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 700 K&lt;br /&gt;
| 27.06&lt;br /&gt;
&lt;br /&gt;
| 2200 K&lt;br /&gt;
|51.57&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 800 K&lt;br /&gt;
| 28.69&lt;br /&gt;
&lt;br /&gt;
| 2300 K&lt;br /&gt;
|53.20&lt;br /&gt;
|-&lt;br /&gt;
| 900 K&lt;br /&gt;
| 30.33&lt;br /&gt;
&lt;br /&gt;
| 2400 K&lt;br /&gt;
|54.83&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1000 K&lt;br /&gt;
| 31.96&lt;br /&gt;
&lt;br /&gt;
| 2500 K&lt;br /&gt;
|56.47&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1100 K&lt;br /&gt;
| 33.60&lt;br /&gt;
&lt;br /&gt;
| 2600 K&lt;br /&gt;
|58.10&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1200 K&lt;br /&gt;
| 35.23&lt;br /&gt;
&lt;br /&gt;
| 2700 K&lt;br /&gt;
|59.74&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1300 K&lt;br /&gt;
| 36.86&lt;br /&gt;
&lt;br /&gt;
| 2800 K&lt;br /&gt;
|61.369&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1400 K&lt;br /&gt;
| 38.50&lt;br /&gt;
&lt;br /&gt;
| 2900 K&lt;br /&gt;
|63.00&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As we can see from the table of results, the coefficient of thermal expansion is not independent of temperature, but changes with it. In comparison to literature values&amp;lt;ref&amp;gt;A. S. Madhusudhan Rao and K. Narender, J. Chem. Thermodyn, 2014, &#039;&#039;&#039;2014&#039;&#039;&#039;, 8&amp;lt;/ref&amp;gt;, at 300 K the data obtained through this experiment largely agrees with the literature data of a value for the thermal expansion coefficient of 11.91 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Deviations from the literature values can be attributed to shortcomings of the quasi-harmonic oscillator approximation. The main approximation being that the oscillations of the atoms about their equilibrium positions are small, which for higher energy phonon modes is not representative of those modes. Therefore it is seen that the difference in our calculated values to that of literature values increases as the temperature increases such as a literature value of 14.17 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 1200 K, compared to a calculated value of 35.23 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At temperatures above the melting point of MgO - 2852 °C &amp;lt;ref&amp;gt; Haynes, William M., CRC Handbook of Chemistry and Physics (92nd ed.), Boca Raton, CRC Press., 2011&amp;lt;/ref&amp;gt; - the phonon modes of MgO are not accurate represented. This is due to the fact that above this temperature MgO melts from a solid to a liquid, and thus the approximation that the solid is a perfect lattice breaks down. This means that for temperatures near to or above 2852 °C the data is not representative of the true phonon modes as a solid is being simulated whereas in reality the material is already is a liquid and so solid phonon modes cannot describe the liquid modes.&lt;br /&gt;
&lt;br /&gt;
Although the quasi-harmonic approximation breaks down at higher temperatures, unlike other approximations such as the harmonic approximation, it can be used to model thermal expansion. Consider a diatomic harmonic oscillator, with an increase in temperature the strength of oscillation will increase, but in equal proportions relating to lengthening and contracting of the bond due to the nature of a harmonic potential. This leads to an increase in temperature not changing the equilibrium bond length and thus thermal expansion cannot be modelled. The quasi-harmonic approximation takes into account some of the anharmonic nature of the true bond and so allows thermal expansion to be modelled. This can be visualised through viewing a morse potential. A contraction of bond length in a morse potential require a much larger amount of energy than an increase in bond length, therefore at higher temperatures and so higher energies, while the bond length maximum will largely increase, the minimum bond length will change only slightly, thus on average the bond length will have lengthened. This leads to an increase in equilibrium bond length, and so applying this so a lattice leads to an increase in volume of the lattice.&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamic Simulations ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
||[[File:Ft1015MgO_MD.png|500px|thumb|&#039;&#039;&#039;Figure 7&#039;&#039;&#039;: A plot of cell volume against temperature for the molecular dynamics calculations]]&lt;br /&gt;
|[[File:Ft1015MgO_MDvsLD.png|500px|thumb|&#039;&#039;&#039;Figure 8&#039;&#039;&#039;: A plot of cell volume against temperature comparing the values calculated via Molecular Dynamics and Lattice Dynamics]]&lt;br /&gt;
|[[File:Ft1015MgO_Thermal_Expansion_Coefficient_MDvsLD.png|500px|thumb|&#039;&#039;&#039;Figure 9&#039;&#039;&#039;: A plot of the thermal expansion coefficient for both Molecular Dynamics and Lattice Dynamics simulations]]&lt;br /&gt;
|}&lt;br /&gt;
Molecular dynamics simulations were run using from 50-3700 K as shown in figure 7. Figures 8&amp;amp;9 compares the results of Molecular dynamics and Lattice Dynamics (quasi-harmonic approximation) simulations. In figure 8 it is seen that the difference in volume the MD and LD plots for the range 400-1400 K is quite small, while at temperatures lower than 400 K and higher than 1400 K the simulations begin to deviate from each other. Figure 9 compares the calculated coefficient for thermal expansion for MD and LD, taking a value at 300 K of 25.82 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 30.33 at 1200 K, in comparison to the literature values of 11.91 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 300 K and 14.17 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 1200 K, it can be seen that at lower temperatures, the LD approach is more accurate, while at higher temperature MD is more accurate. As MD calculations average the volume of the cell over set intervals - the timestep - for a set period of time, the erractic nature of the MD curve at high temperatures in figure 8 is due to the large velocites of the ions in the lattice leads to the timestep being to large to take an accurate snapshot of the system and its variations. Thus a timestep smaller than the 500 fs interval used would reduce the noise in the simulation and provide a more accurate description of the volume at higher temperatures.&lt;br /&gt;
&lt;br /&gt;
LD and MD simulations differ due to the differences between how they calculate their results and the approximations they take into account. MD differs from LD at lower temperatures due to the lack of higher order quantum corrections which LD takes into account, while at higher temperatures MD is more accurate due to the use of Newton&#039;s classical equations which dominate all quantum effects, while LD suffers from a lack of higher order anharmonic terms in its approximation. &amp;lt;ref&amp;gt;Masanori Matsui, Geoffrey D. Price and Atul Patel, Geophys. Res. Lett., 1994, &#039;&#039;&#039;21&#039;&#039;&#039;, 1659-1662&amp;lt;/ref&amp;gt;. This leads MD producing more accurate results at higher temperatures, while LD is more accurate at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
As stated above, at temperatures near to or larger than the melting point of MgO, a LD simulation fails to produce accurate results for the volume of the cell due to the fact that a solid is still being simulated rather than a liquid. MD simulations however work through Newton&#039;s laws of motion and so can model phase transitions of materials. This can be seen in figure 7, where after the melting of MgO at 2852 K the change in volume per 100 K is larger than for temperatures below this point, due to the forces between liquid molecules being weaker than that of solids, and so thermal expansion of liquids  is larger than solid for the same change in temperature.&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
== References ==&lt;/div&gt;</summary>
		<author><name>Ft1015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=652287</id>
		<title>Rep:FabianThomasThirdYearMgOSimulation</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=652287"/>
		<updated>2017-12-17T21:52:51Z</updated>

		<summary type="html">&lt;p&gt;Ft1015: /* Thermal Expansion of MgO */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Abstract ==&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Theory ===&lt;br /&gt;
The quasi-harmonic approximation expands upon the harmonic [[phonon]] model of lattice dynamics. The harmonic phonon model states that all interatomic forces are purely [[Harmonic Oscillator|harmonic]], but such a model is inadequate to explain [[thermal expansion]], as the equilibrium distance between atoms in such a model is independent of temperature.&lt;br /&gt;
&lt;br /&gt;
Thus in the quasi-harmonic model, from a phonon point of view, phonon frequencies become volume-dependent in the quasi-harmonic approximation, such that for each volume, the harmonic approximation holds.&lt;br /&gt;
&lt;br /&gt;
For a lattice, the Helmholtz free energy &#039;&#039;F&#039;&#039; in the quasi-harmonic approximation is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;F(T,V) = U(V) + E_{ZP}(V) - T S(T,V)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;U&#039;&#039; is the internal [[lattice energy]], &#039;&#039;E&amp;lt;sub&amp;gt;ZP&amp;lt;/sub&amp;gt;&#039;&#039; is the vibrational [[zero-point energy]] of the lattice, &#039;&#039;T&#039;&#039; is the absolute temperature, &#039;&#039;V&#039;&#039; is the volume and &#039;&#039;S&#039;&#039; is the [[entropy]] due to the vibrational degrees of freedom. The specific definition of the volume is of no particular importance, as long as the definition is used consistently throughout. It can be the volume per primitive unit cell, volume per conventional unit cell, or even molar volume. This choice does not affect the following in any way.&lt;br /&gt;
&lt;br /&gt;
The zero-point energy term equals&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; E_{ZP}(V) = \frac{1}{N} \sum_{\mathbf{k}, i} \frac{1}{2} h \nu_{\mathbf{k},i}(V) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;N&#039;&#039; is the number of terms in the sum, &#039;&#039;&#039;k&#039;&#039;&#039; is a [[wave vector]], &#039;&#039;i&#039;&#039; denotes a phonon band, &#039;&#039;h&#039;&#039; is [[Planck&#039;s constant]] and ν&amp;lt;sub&amp;gt;&#039;&#039;&#039;k&#039;&#039;&#039;,&#039;&#039;i&#039;&#039;&amp;lt;/sub&amp;gt;(V) is the frequency of a phonon with wave vector &#039;&#039;&#039;k&#039;&#039;&#039; in the &#039;&#039;i&#039;&#039;-th band at volume &#039;&#039;V&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
The entropy term equals&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S(V) = -\frac{1}{N} \sum_{\mathbf{k}, i} k_B \ln \left[ 1 - \exp\left( -\frac{h \nu_{\mathbf{k},i}(V)}{ k_BT }\right) \right] + \frac{1}{N} \sum_{\mathbf{k},i} k_B \frac{h \nu_{\mathbf{k},i}(V)}{k_B T} \left[ \exp\left( \frac{h \nu_{\mathbf{k},i}(V)}{ k_BT } \right) - 1 \right]^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;k&#039;&#039;&amp;lt;sub&amp;gt;B&amp;lt;/sub&amp;gt; is the [[Boltzmann constant]]. The frequency ν as a function of &#039;&#039;&#039;k&#039;&#039;&#039; is the [[dispersion relation]].  Note that for a constant value of &#039;&#039;V&#039;&#039;, these equations corresponds to that of the harmonic approximation.&lt;br /&gt;
&lt;br /&gt;
By applying a [[Legendre transform]], it is possible to obtain the [[Gibbs free energy]] &#039;&#039;G&#039;&#039; of the system as a function of temperature and pressure.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G(T,P) = \min_V \left[ U(V) + E_{ZP}(V) - T S(T,V) + P V \right]&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &#039;&#039;P&#039;&#039; is the pressure. The minimal value for &#039;&#039;G&#039;&#039; is found at the equilibrium volume for a given &#039;&#039;T&#039;&#039; and &#039;&#039;P&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The system used&lt;br /&gt;
&lt;br /&gt;
The methodology/theory used MOLECULAR DYNAMICS (MD) - Brillouin zones&lt;br /&gt;
&lt;br /&gt;
The aims of the exercise - To compare the to predict how the material expands when heated, to calculate the thermal expansion coefficient for MgO, to compute vibrational energy levels of MgO, to understand the phonon dispersion of a material, the vibrational density of state, to simulate the vibrations as random motions of atoms inside a cell, to compare QUASI-HARMONIC APPROXIMATION with MOLECULAR DYNAMICS results.&lt;br /&gt;
&lt;br /&gt;
The tools/programs in use - DLV&lt;br /&gt;
&lt;br /&gt;
The quasi-harmonic approximation for phonons builds upon the harmonic approximation for phonon dynamics, and therefore to explain the quasi-harmonic approximation we must first discuss the harmonic approximation&lt;br /&gt;
&lt;br /&gt;
For a regular, linear chain which is composed of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; number of particles, the forces between a pair of atoms can be assumed to be a potential energy function &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; which depends on the distance of the separation between the atoms. The main contributing forces to the potential are described by an electric force, such as electrostatic attractions, covalent bonds or Van der Waals forces. Therefore the potential energy of the entire lattice made up of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; atoms is the sum of the potential energies between each pair of atoms with a separation r from each other shown below in eq 1.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV(r)&amp;lt;/math&amp;gt;       &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, allowing each atom to deviate slightly from its equilibrium position by a displacement &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;, if the deviations are small in comparison to the distance between each atom &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;, the energy of this chain is able to be calculated via a taylor expansion summing over all of the atoms in the chain.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV + \sum_{s\ge 1} \frac {1}{s !} \frac {\partial^s V}{\partial u^s} \sum_{n}&lt;br /&gt;
 (u_n - u_{n+1})^s&amp;lt;/math&amp;gt;     &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;u_n&amp;lt;/math&amp;gt; is the displacement of the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;th atom from its equilibrium postition&lt;br /&gt;
&lt;br /&gt;
Two approximations are used in order to reach this equation, which together forms the harmonic approximation and it&#039;s respective equation. The first approximation states that the sum of the pair potential energies is completed over only neighboring atoms, as although there are electric forces between all atoms, these forces on atoms far away from one another are greatly diminished by screening by the atoms in between, and that the potential energies are treated as harmonic potential energies. In this equation, as the expansion was done around the equilibrium point, therefore the first derivative is zero, whereas higher order terms are not, and so the first term can be dropped, and the second term is used where &amp;lt;math&amp;gt;s = 2&amp;lt;/math&amp;gt;, with higher order terms being neglected. These higher order terms are ignored as harmonic equations of motion have exact solutions, while anharmonic equations do not have exact solutions to them and require more approximations. Thus the energy of the lattice is thus the same as the energy of the set of harmonic oscillators. The error in this equation remains small for small values of &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;&lt;br /&gt;
as the value of higher order terms will remain low.&lt;br /&gt;
CITE BOOK&lt;br /&gt;
&lt;br /&gt;
== Results and Discussion ==&lt;br /&gt;
&lt;br /&gt;
=== Phonon modes and Free Energy of MgO ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|[[File:Ft1015MgO_phonon_dispersion.PNG|500px|thumb|&#039;&#039;&#039;Figure 1&#039;&#039;&#039;: A phonon dispersion plot for MgO]]&lt;br /&gt;
|[[File:Ft1015MgO_DoS.PNG|500px|thumb|&#039;&#039;&#039;Figure 2&#039;&#039;&#039;: A plot of the density of states for MgO using a 1x1x1 grid size]]&lt;br /&gt;
|[[File:Ft1015MgO_DoS_20x20x20.PNG|500px|thumb|left|&#039;&#039;&#039;Figure 3&#039;&#039;&#039;: The optimised plot of the density of states for MgO using a 16x16x16 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From figures 1 and 2, we can see the computed phonon dispersion curve and density of states for a 1x1x1 grid size containing one k-point. Correlating the density of states with the dispersion curve via their shared axis of frequency of vibration yields the k-point L on the dispersion curve as the singular k-point used for the calculation. The density of states shows bands at 286 and 351 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 676 and 806 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, with the intensities of the first two bands double that of the final two bands. These bands correspond to three acoustic and three optical branches, with the first two bands of 0.333 intensity corresponding to a k-point where two branches are overlapping and are therefore degenerate states.&lt;br /&gt;
&lt;br /&gt;
Varying the grid size used for the calculation greatly affected the accuracy and precision of the results of calculations through increasing the number of k-points sampled in eq. 1ː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\omega ^{2}(k) = C(\frac{1}{M_{Mg}} + \frac{1}{M_{O}}) \pm \sqrt {(\frac{1}{M_{Mg}} + \frac{1}{M_{O}})^{2} - \frac{4sin^{2}(ka)}{M_{Mg}}}&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; is the spring force constant, &amp;lt;math&amp;gt;M_{Mg}&amp;lt;/math&amp;gt; is the molar mass of magnesium and &amp;lt;math&amp;gt;M_{O}&amp;lt;/math&amp;gt; is the molar mass of oxygen&lt;br /&gt;
&lt;br /&gt;
As the grid size increases, and thus the more k-points sampled, more and more features become visible, with the increase in number of points sampled along the dispersion curve leading to the increase in number of bands seen in the density of states. Optimising the grid size led to a grid size of 16x16x16 being optimal. As expected, the density of states plot produced from this grid size was smooth, as can be seen in figure 3. This curve was proved to be a good optimisation through looking at the Hemholtz free energy for each of the simulated grid sizes. As the accuracy of the Helmholtz free energy result directly depends on the number of k-space points sampled in the calculations as can be seen in eq. 2. Similarly to eq. 1, the larger the grid size, and therefore the more k-points sampled, the more accurate the result. Comparing the free energy of the 16x16x16 grid to the 32x32x32 grid; which for higher order grids remained constant and so had converged, the 16x16x16 was accurate to within 0.001 meV or 2.4434 × 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; %.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; F = E_0 + \frac {1}{2}\sum_{k,j}^{} \hbar \omega _k + k_B T \sum_{k,j}^{}ln(1-e^{\frac {-\hbar \omega _k }{k_B T}})&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;F&amp;lt;/math&amp;gt; is the Hemholtz free energy and &amp;lt;math&amp;gt;E_0&amp;lt;/math&amp;gt; is the lattice energy&lt;br /&gt;
&lt;br /&gt;
In comparison to smaller grid sizes, the 16x16x16 grid size curve appears more smooth, and more akin to a single band as seen for macrostructures. Larger grid sizes, while greatly increasing the computation time of the calculation did not largely increase the accuracy of the calculations as stated above, and therefore the 16x16x16 grid size was the optimal choice for these simulations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 1. Calculated Total Difference in Hemholtz Free Energy &lt;br /&gt;
! Grid Size&lt;br /&gt;
! Total Difference in Free Energy&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 3.818&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.126&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -0.051&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -0.033&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -0.001&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| -0.000&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| 0.000&lt;br /&gt;
|-&lt;br /&gt;
| 64&lt;br /&gt;
| 0.000&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Table 1 shows the difference between the calculated free energy for grid size and the final converged free energy. Looking at this, we can see that for grid sizes larger than 24x24x24, there is no change in the free energy of the system and so the free energy has converged to a minima, although it may not be the global minimum. The accuracy of simulations also increase rapidly with grid size, for example for accurate simulated energies to 1, 0.5 and 0.1 meV per cell, grid sizes of 2x2x2, 4x4x4 and 8x8x8 respectively can be used. This rapid increase in the accuracy of the calculation can be attributed to the large increase in k-points sampled over within the summations in eq. 2 with increasing grid size.&lt;br /&gt;
&lt;br /&gt;
However, the optimal grid size dependent on the material used due to the relationship between the lattice parameter, and the size of the first brillouin zone in k-space. For a similar oxide such as CaO, in comparsion to the lattice parameter of MgO of 4.212 Å &amp;lt;ref&amp;gt; A. CIMINO, P. PORTA and M. VALIGI, J. Am. Ceram. Soc, 1966, &#039;&#039;&#039;49&#039;&#039;&#039;, 152–156 &amp;lt;/ref&amp;gt;, the parameter of CaO is 4.864 Å &amp;lt;ref&amp;gt;Mackrodt, W. C., Harrison, N. M., Saunders, V. R., Allan, N. L. and Towler, M. D., Aprà, E., Dovesi, R., Philos. Mag. A, 1993 , &#039;&#039;&#039;68&#039;&#039;&#039;, 653-666 &amp;lt;/ref&amp;gt;, slightly larger than that of MgO. This leads to a slightly smaller grid size being optimal, as the larger lattice parameter leads to a smaller brillouin zone in reciprocal space as if the lattice parameter &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; is larger, then the size of the first brillouin zone &amp;lt;math&amp;gt;a^{*}= \frac {2 \pi}{a} &amp;lt;/math&amp;gt;will be smaller. This in turn allows less points to be sampled inside the region to give the same spacing of points, and therefore accuracy for the density of states as for MgO. Similarly, the zeolite faujsite has an extremely large lattice parameter of 25.132 Å &amp;lt;ref&amp;gt;E. Dempsey, G. H. Kuhl, and D. H. Olson, Phys. Chem., 1969, &#039;&#039;&#039;73&#039;&#039;&#039;, 387–390 &amp;lt;/ref&amp;gt;, in comparison to MgO. This; as with the case of CaO but more exaggerated, leads to a much smaller brillouin zone in reciprocal space, and so allows for a much smaller grid size to give the same accuracy as the MgO calculation due to the extremely small value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; obtained for faujsite.&lt;br /&gt;
Conversely, lithium has a smaller lattice spacing of 3.51 Å &amp;lt;ref&amp;gt;M.R. Nadler and C.P. Kempfer, Anal. Chem., 1959, &#039;&#039;&#039;31&#039;&#039;&#039;, 2109-2111&amp;lt;/ref&amp;gt;. Therefore the value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; for lithium will be larger than for MgO, and so require a larger grid size to obtain the same spacing between sampled k-space points and therefore accuracy of the calculated density of states.&lt;br /&gt;
&lt;br /&gt;
=== Thermal Expansion of MgO ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
||[[File:Ft1015Latticeparametervskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 4&#039;&#039;&#039;: A plot of lattice parameter against temperature for MgO]]&lt;br /&gt;
|[[File:Ft1015Latticevolumevskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 5&#039;&#039;&#039;: A plot of lattice volume against temperature for MgO, with the magenta line on the graph corresponding to the polynomial fit for the graph, and the red point the points which were not fitted over]]&lt;br /&gt;
|[[File:Ft1015Hemholtzvskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 6&#039;&#039;&#039;: A plot of free energy against temperature for MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The physical origin of thermal expansion for a solid lattice arises from the increase of kinetic energy of a material with an increase in temperature. All atoms within a lattice vibrate and move about their positions within the lattice and with an increase in temperature, each atom in the lattice gains kinetic energy, increasing the strength of its vibrations and the speed at which the atoms move. Due to this, the atoms on average take up more space at higher temperatures than lower temperatures and so averaged out over many atoms in a lattice, this increases the volume of the lattice.&lt;br /&gt;
&lt;br /&gt;
Figures 4 &amp;amp; 5 show the effect of change on temperature on the lattice parameter and volume of MgO in the range of 50-2900 K. As we can seen from the figures, from 50-400 K, a change in temperature does not largely increase the volume, while above 400 K the trend seems to be linear with respect to volume increase through an increase in temperature. This is however not the case at higher temperatures above 2200 K where the trend is more polynomial in nature.&lt;br /&gt;
&lt;br /&gt;
Figure 6 shows the effect of change in temperature on the Hemholtz free energy of MgO. From 50-400 K, the dominating term for the free energy is the zero point energy, and thus a change in temperature does not greatly change the free energy of the lattice and so volume changes at low temperatures are minimal. At temperatures above 2200 K not only is the entropic term completely dominating all other terms for the free energy, but also higher order anharmonic terms for the free energy that were excluded in the harmonic approximation part of the equation begin to play a large role in the free energy. This leads to the gradient no longer being linear. &amp;lt;ref&amp;gt;Masanori Matsui, Geoffrey D. Price and Atul Patel, Geophys. Res. Lett., 1994, &#039;&#039;&#039;21&#039;&#039;&#039;,  1659-1662 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The thermal expansion coefficients for MgO can be calculated through using the gradient &amp;lt;math&amp;gt; (\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt; at a specific value of &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; in the equationː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \alpha = \frac{1}{V_i} (\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt;   &amp;lt;math&amp;gt;(3)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt; \alpha &amp;lt;/math&amp;gt; is the coefficient of thermal expansion and &amp;lt;math&amp;gt;V_i&amp;lt;/math&amp;gt; is the volume of the lattice at 0 K, and &amp;lt;math&amp;gt;(\frac{\partial V}{\partial T})_p =6.16898 \times 10^{-7} T + 0.00118&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Table 2 displays thermal expansion coefficients for the polynomial fit of MgO, alongside the temperature range that the fit was made over.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 2. Calculated Linear fit Thermal Expansion Coefficients for MgO&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| 50 K&lt;br /&gt;
| 16.44&lt;br /&gt;
&lt;br /&gt;
| 1500 K&lt;br /&gt;
|40.13&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 100 K&lt;br /&gt;
| 17.26&lt;br /&gt;
&lt;br /&gt;
| 1600 K&lt;br /&gt;
| 41.76&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 200 K&lt;br /&gt;
| 18.89&lt;br /&gt;
&lt;br /&gt;
| 1700 K&lt;br /&gt;
|43.40&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 300 K&lt;br /&gt;
| 20.53&lt;br /&gt;
&lt;br /&gt;
| 1800 K&lt;br /&gt;
|45.03&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 400 K&lt;br /&gt;
| 22.16&lt;br /&gt;
&lt;br /&gt;
| 1900 K&lt;br /&gt;
|46.67&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 500 K&lt;br /&gt;
| 23.79&lt;br /&gt;
&lt;br /&gt;
| 2000 K&lt;br /&gt;
|48.30&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 600 K&lt;br /&gt;
| 25.43&lt;br /&gt;
&lt;br /&gt;
| 2100 K&lt;br /&gt;
|49.93&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 700 K&lt;br /&gt;
| 27.06&lt;br /&gt;
&lt;br /&gt;
| 2200 K&lt;br /&gt;
|51.57&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 800 K&lt;br /&gt;
| 28.69&lt;br /&gt;
&lt;br /&gt;
| 2300 K&lt;br /&gt;
|53.20&lt;br /&gt;
|-&lt;br /&gt;
| 900 K&lt;br /&gt;
| 30.33&lt;br /&gt;
&lt;br /&gt;
| 2400 K&lt;br /&gt;
|54.83&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1000 K&lt;br /&gt;
| 31.96&lt;br /&gt;
&lt;br /&gt;
| 2500 K&lt;br /&gt;
|56.47&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1100 K&lt;br /&gt;
| 33.60&lt;br /&gt;
&lt;br /&gt;
| 2600 K&lt;br /&gt;
|58.10&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1200 K&lt;br /&gt;
| 35.23&lt;br /&gt;
&lt;br /&gt;
| 2700 K&lt;br /&gt;
|59.74&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1300 K&lt;br /&gt;
| 36.86&lt;br /&gt;
&lt;br /&gt;
| 2800 K&lt;br /&gt;
|61.369&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1400 K&lt;br /&gt;
| 38.50&lt;br /&gt;
&lt;br /&gt;
| 2900 K&lt;br /&gt;
|63.00&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As we can see from the table of results, the coefficient of thermal expansion is not independent of temperature, but changes with it. In comparison to literature values&amp;lt;ref&amp;gt;A. S. Madhusudhan Rao and K. Narender, J. Chem. Thermodyn, 2014, &#039;&#039;&#039;2014&#039;&#039;&#039;, 8&amp;lt;/ref&amp;gt;, at 300 K the data obtained through this experiment largely agrees with the literature data of a value for the thermal expansion coefficient of 11.91 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Deviations from the literature values can be attributed to shortcomings of the quasi-harmonic oscillator approximation. The main approximation being that the oscillations of the atoms about their equilibrium positions are small, which for higher energy phonon modes is not representative of those modes. Therefore it is seen that the difference in our calculated values to that of literature values increases as the temperature increases such as a literature value of 14.17 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 1200 K, compared to a calculated value of 35.23 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At temperatures above the melting point of MgO - 2852 °C &amp;lt;ref&amp;gt; Haynes, William M., CRC Handbook of Chemistry and Physics (92nd ed.), Boca Raton, CRC Press., 2011&amp;lt;/ref&amp;gt; - the phonon modes of MgO are not accurate represented. This is due to the fact that above this temperature MgO melts from a solid to a liquid, and thus the approximation that the solid is a perfect lattice breaks down. This means that for temperatures near to or above 2852 °C the data is not representative of the true phonon modes as a solid is being simulated whereas in reality the material is already is a liquid and so solid phonon modes cannot describe the liquid modes.&lt;br /&gt;
&lt;br /&gt;
Although the quasi-harmonic approximation breaks down at higher temperatures, unlike other approximations such as the harmonic approximation, it can be used to model thermal expansion. Consider a diatomic harmonic oscillator, with an increase in temperature the strength of oscillation will increase, but in equal proportions relating to lengthening and contracting of the bond due to the nature of a harmonic potential. This leads to an increase in temperature not changing the equilibrium bond length and thus thermal expansion cannot be modelled. The quasi-harmonic approximation takes into account some of the anharmonic nature of the true bond and so allows thermal expansion to be modelled. This can be visualised through viewing a morse potential. A contraction of bond length in a morse potential require a much larger amount of energy than an increase in bond length, therefore at higher temperatures and so higher energies, while the bond length maximum will largely increase, the minimum bond length will change only slightly, thus on average the bond length will have lengthened. This leads to an increase in equilibrium bond length, and so applying this so a lattice leads to an increase in volume of the lattice.&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamic Simulations ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
||[[File:Ft1015MgO_MD.png|500px|thumb|&#039;&#039;&#039;Figure 7&#039;&#039;&#039;: A plot of cell volume against temperature for the molecular dynamics calculations]]&lt;br /&gt;
|[[File:Ft1015MgO_MDvsLD.png|500px|thumb|&#039;&#039;&#039;Figure 8&#039;&#039;&#039;: A plot of cell volume against temperature comparing the values calculated via Molecular Dynamics and Lattice Dynamics]]&lt;br /&gt;
|[[File:Ft1015MgO_Thermal_Expansion_Coefficient_MDvsLD.png|500px|thumb|&#039;&#039;&#039;Figure 9&#039;&#039;&#039;: A plot of the thermal expansion coefficient for both Molecular Dynamics and Lattice Dynamics simulations]]&lt;br /&gt;
|}&lt;br /&gt;
Molecular dynamics simulations were run using from 50-3700 K as shown in figure 7. Figures 8&amp;amp;9 compares the results of Molecular dynamics and Lattice Dynamics (quasi-harmonic approximation) simulations. In figure 8 it is seen that the difference in volume the MD and LD plots for the range 400-1400 K is quite small, while at temperatures lower than 400 K and higher than 1400 K the simulations begin to deviate from each other. Figure 9 compares the calculated coefficient for thermal expansion for MD and LD, taking a value at 300 K of 25.82 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 30.33 at 1200 K, in comparison to the literature values of 11.91 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 300 K and 14.17 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 1200 K, it can be seen that at lower temperatures, the LD approach is more accurate, while at higher temperature MD is more accurate. As MD calculations average the volume of the cell over set intervals - the timestep - for a set period of time, the erractic nature of the MD curve at high temperatures in figure 8 is due to the large velocites of the ions in the lattice leads to the timestep being to large to take an accurate snapshot of the system and its variations. Thus a timestep smaller than the 500 fs interval used would reduce the noise in the simulation and provide a more accurate description of the volume at higher temperatures.&lt;br /&gt;
&lt;br /&gt;
LD and MD simulations differ due to the differences between how they calculate their results and the approximations they take into account. MD differs from LD at lower temperatures due to the lack of higher order quantum corrections which LD takes into account, while at higher temperatures MD is more accurate due to the use of Newton&#039;s classical equations which dominate all quantum effects, while LD suffers from a lack of higher order anharmonic terms in its approximation. &amp;lt;ref&amp;gt;Masanori Matsui, Geoffrey D. Price and Atul Patel, Geophys. Res. Lett., 1994, &#039;&#039;&#039;21&#039;&#039;&#039;, 1659-1662&amp;lt;/ref&amp;gt;. This leads MD producing more accurate results at higher temperatures, while LD is more accurate at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
As stated above, at temperatures near to or larger than the melting point of MgO, a LD simulation fails to produce accurate results for the volume of the cell due to the fact that a solid is still being simulated rather than a liquid. MD simulations however work through Newton&#039;s laws of motion and so can model phase transitions of materials. This can be seen in figure 7, where after the melting of MgO at 2852 K&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
== References ==&lt;/div&gt;</summary>
		<author><name>Ft1015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=652282</id>
		<title>Rep:FabianThomasThirdYearMgOSimulation</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=652282"/>
		<updated>2017-12-17T21:51:54Z</updated>

		<summary type="html">&lt;p&gt;Ft1015: /* Molecular Dynamic Simulations */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Abstract ==&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Theory ===&lt;br /&gt;
The quasi-harmonic approximation expands upon the harmonic [[phonon]] model of lattice dynamics. The harmonic phonon model states that all interatomic forces are purely [[Harmonic Oscillator|harmonic]], but such a model is inadequate to explain [[thermal expansion]], as the equilibrium distance between atoms in such a model is independent of temperature.&lt;br /&gt;
&lt;br /&gt;
Thus in the quasi-harmonic model, from a phonon point of view, phonon frequencies become volume-dependent in the quasi-harmonic approximation, such that for each volume, the harmonic approximation holds.&lt;br /&gt;
&lt;br /&gt;
For a lattice, the Helmholtz free energy &#039;&#039;F&#039;&#039; in the quasi-harmonic approximation is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;F(T,V) = U(V) + E_{ZP}(V) - T S(T,V)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;U&#039;&#039; is the internal [[lattice energy]], &#039;&#039;E&amp;lt;sub&amp;gt;ZP&amp;lt;/sub&amp;gt;&#039;&#039; is the vibrational [[zero-point energy]] of the lattice, &#039;&#039;T&#039;&#039; is the absolute temperature, &#039;&#039;V&#039;&#039; is the volume and &#039;&#039;S&#039;&#039; is the [[entropy]] due to the vibrational degrees of freedom. The specific definition of the volume is of no particular importance, as long as the definition is used consistently throughout. It can be the volume per primitive unit cell, volume per conventional unit cell, or even molar volume. This choice does not affect the following in any way.&lt;br /&gt;
&lt;br /&gt;
The zero-point energy term equals&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; E_{ZP}(V) = \frac{1}{N} \sum_{\mathbf{k}, i} \frac{1}{2} h \nu_{\mathbf{k},i}(V) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;N&#039;&#039; is the number of terms in the sum, &#039;&#039;&#039;k&#039;&#039;&#039; is a [[wave vector]], &#039;&#039;i&#039;&#039; denotes a phonon band, &#039;&#039;h&#039;&#039; is [[Planck&#039;s constant]] and ν&amp;lt;sub&amp;gt;&#039;&#039;&#039;k&#039;&#039;&#039;,&#039;&#039;i&#039;&#039;&amp;lt;/sub&amp;gt;(V) is the frequency of a phonon with wave vector &#039;&#039;&#039;k&#039;&#039;&#039; in the &#039;&#039;i&#039;&#039;-th band at volume &#039;&#039;V&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
The entropy term equals&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S(V) = -\frac{1}{N} \sum_{\mathbf{k}, i} k_B \ln \left[ 1 - \exp\left( -\frac{h \nu_{\mathbf{k},i}(V)}{ k_BT }\right) \right] + \frac{1}{N} \sum_{\mathbf{k},i} k_B \frac{h \nu_{\mathbf{k},i}(V)}{k_B T} \left[ \exp\left( \frac{h \nu_{\mathbf{k},i}(V)}{ k_BT } \right) - 1 \right]^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;k&#039;&#039;&amp;lt;sub&amp;gt;B&amp;lt;/sub&amp;gt; is the [[Boltzmann constant]]. The frequency ν as a function of &#039;&#039;&#039;k&#039;&#039;&#039; is the [[dispersion relation]].  Note that for a constant value of &#039;&#039;V&#039;&#039;, these equations corresponds to that of the harmonic approximation.&lt;br /&gt;
&lt;br /&gt;
By applying a [[Legendre transform]], it is possible to obtain the [[Gibbs free energy]] &#039;&#039;G&#039;&#039; of the system as a function of temperature and pressure.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G(T,P) = \min_V \left[ U(V) + E_{ZP}(V) - T S(T,V) + P V \right]&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &#039;&#039;P&#039;&#039; is the pressure. The minimal value for &#039;&#039;G&#039;&#039; is found at the equilibrium volume for a given &#039;&#039;T&#039;&#039; and &#039;&#039;P&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The system used&lt;br /&gt;
&lt;br /&gt;
The methodology/theory used MOLECULAR DYNAMICS (MD) - Brillouin zones&lt;br /&gt;
&lt;br /&gt;
The aims of the exercise - To compare the to predict how the material expands when heated, to calculate the thermal expansion coefficient for MgO, to compute vibrational energy levels of MgO, to understand the phonon dispersion of a material, the vibrational density of state, to simulate the vibrations as random motions of atoms inside a cell, to compare QUASI-HARMONIC APPROXIMATION with MOLECULAR DYNAMICS results.&lt;br /&gt;
&lt;br /&gt;
The tools/programs in use - DLV&lt;br /&gt;
&lt;br /&gt;
The quasi-harmonic approximation for phonons builds upon the harmonic approximation for phonon dynamics, and therefore to explain the quasi-harmonic approximation we must first discuss the harmonic approximation&lt;br /&gt;
&lt;br /&gt;
For a regular, linear chain which is composed of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; number of particles, the forces between a pair of atoms can be assumed to be a potential energy function &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; which depends on the distance of the separation between the atoms. The main contributing forces to the potential are described by an electric force, such as electrostatic attractions, covalent bonds or Van der Waals forces. Therefore the potential energy of the entire lattice made up of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; atoms is the sum of the potential energies between each pair of atoms with a separation r from each other shown below in eq 1.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV(r)&amp;lt;/math&amp;gt;       &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, allowing each atom to deviate slightly from its equilibrium position by a displacement &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;, if the deviations are small in comparison to the distance between each atom &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;, the energy of this chain is able to be calculated via a taylor expansion summing over all of the atoms in the chain.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV + \sum_{s\ge 1} \frac {1}{s !} \frac {\partial^s V}{\partial u^s} \sum_{n}&lt;br /&gt;
 (u_n - u_{n+1})^s&amp;lt;/math&amp;gt;     &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;u_n&amp;lt;/math&amp;gt; is the displacement of the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;th atom from its equilibrium postition&lt;br /&gt;
&lt;br /&gt;
Two approximations are used in order to reach this equation, which together forms the harmonic approximation and it&#039;s respective equation. The first approximation states that the sum of the pair potential energies is completed over only neighboring atoms, as although there are electric forces between all atoms, these forces on atoms far away from one another are greatly diminished by screening by the atoms in between, and that the potential energies are treated as harmonic potential energies. In this equation, as the expansion was done around the equilibrium point, therefore the first derivative is zero, whereas higher order terms are not, and so the first term can be dropped, and the second term is used where &amp;lt;math&amp;gt;s = 2&amp;lt;/math&amp;gt;, with higher order terms being neglected. These higher order terms are ignored as harmonic equations of motion have exact solutions, while anharmonic equations do not have exact solutions to them and require more approximations. Thus the energy of the lattice is thus the same as the energy of the set of harmonic oscillators. The error in this equation remains small for small values of &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;&lt;br /&gt;
as the value of higher order terms will remain low.&lt;br /&gt;
CITE BOOK&lt;br /&gt;
&lt;br /&gt;
== Results and Discussion ==&lt;br /&gt;
&lt;br /&gt;
=== Phonon modes and Free Energy of MgO ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|[[File:Ft1015MgO_phonon_dispersion.PNG|500px|thumb|&#039;&#039;&#039;Figure 1&#039;&#039;&#039;: A phonon dispersion plot for MgO]]&lt;br /&gt;
|[[File:Ft1015MgO_DoS.PNG|500px|thumb|&#039;&#039;&#039;Figure 2&#039;&#039;&#039;: A plot of the density of states for MgO using a 1x1x1 grid size]]&lt;br /&gt;
|[[File:Ft1015MgO_DoS_20x20x20.PNG|500px|thumb|left|&#039;&#039;&#039;Figure 3&#039;&#039;&#039;: The optimised plot of the density of states for MgO using a 16x16x16 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From figures 1 and 2, we can see the computed phonon dispersion curve and density of states for a 1x1x1 grid size containing one k-point. Correlating the density of states with the dispersion curve via their shared axis of frequency of vibration yields the k-point L on the dispersion curve as the singular k-point used for the calculation. The density of states shows bands at 286 and 351 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 676 and 806 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, with the intensities of the first two bands double that of the final two bands. These bands correspond to three acoustic and three optical branches, with the first two bands of 0.333 intensity corresponding to a k-point where two branches are overlapping and are therefore degenerate states.&lt;br /&gt;
&lt;br /&gt;
Varying the grid size used for the calculation greatly affected the accuracy and precision of the results of calculations through increasing the number of k-points sampled in eq. 1ː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\omega ^{2}(k) = C(\frac{1}{M_{Mg}} + \frac{1}{M_{O}}) \pm \sqrt {(\frac{1}{M_{Mg}} + \frac{1}{M_{O}})^{2} - \frac{4sin^{2}(ka)}{M_{Mg}}}&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; is the spring force constant, &amp;lt;math&amp;gt;M_{Mg}&amp;lt;/math&amp;gt; is the molar mass of magnesium and &amp;lt;math&amp;gt;M_{O}&amp;lt;/math&amp;gt; is the molar mass of oxygen&lt;br /&gt;
&lt;br /&gt;
As the grid size increases, and thus the more k-points sampled, more and more features become visible, with the increase in number of points sampled along the dispersion curve leading to the increase in number of bands seen in the density of states. Optimising the grid size led to a grid size of 16x16x16 being optimal. As expected, the density of states plot produced from this grid size was smooth, as can be seen in figure 3. This curve was proved to be a good optimisation through looking at the Hemholtz free energy for each of the simulated grid sizes. As the accuracy of the Helmholtz free energy result directly depends on the number of k-space points sampled in the calculations as can be seen in eq. 2. Similarly to eq. 1, the larger the grid size, and therefore the more k-points sampled, the more accurate the result. Comparing the free energy of the 16x16x16 grid to the 32x32x32 grid; which for higher order grids remained constant and so had converged, the 16x16x16 was accurate to within 0.001 meV or 2.4434 × 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; %.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; F = E_0 + \frac {1}{2}\sum_{k,j}^{} \hbar \omega _k + k_B T \sum_{k,j}^{}ln(1-e^{\frac {-\hbar \omega _k }{k_B T}})&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;F&amp;lt;/math&amp;gt; is the Hemholtz free energy and &amp;lt;math&amp;gt;E_0&amp;lt;/math&amp;gt; is the lattice energy&lt;br /&gt;
&lt;br /&gt;
In comparison to smaller grid sizes, the 16x16x16 grid size curve appears more smooth, and more akin to a single band as seen for macrostructures. Larger grid sizes, while greatly increasing the computation time of the calculation did not largely increase the accuracy of the calculations as stated above, and therefore the 16x16x16 grid size was the optimal choice for these simulations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 1. Calculated Total Difference in Hemholtz Free Energy &lt;br /&gt;
! Grid Size&lt;br /&gt;
! Total Difference in Free Energy&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 3.818&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.126&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -0.051&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -0.033&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -0.001&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| -0.000&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| 0.000&lt;br /&gt;
|-&lt;br /&gt;
| 64&lt;br /&gt;
| 0.000&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Table 1 shows the difference between the calculated free energy for grid size and the final converged free energy. Looking at this, we can see that for grid sizes larger than 24x24x24, there is no change in the free energy of the system and so the free energy has converged to a minima, although it may not be the global minimum. The accuracy of simulations also increase rapidly with grid size, for example for accurate simulated energies to 1, 0.5 and 0.1 meV per cell, grid sizes of 2x2x2, 4x4x4 and 8x8x8 respectively can be used. This rapid increase in the accuracy of the calculation can be attributed to the large increase in k-points sampled over within the summations in eq. 2 with increasing grid size.&lt;br /&gt;
&lt;br /&gt;
However, the optimal grid size dependent on the material used due to the relationship between the lattice parameter, and the size of the first brillouin zone in k-space. For a similar oxide such as CaO, in comparsion to the lattice parameter of MgO of 4.212 Å &amp;lt;ref&amp;gt; A. CIMINO, P. PORTA and M. VALIGI, J. Am. Ceram. Soc, 1966, &#039;&#039;&#039;49&#039;&#039;&#039;, 152–156 &amp;lt;/ref&amp;gt;, the parameter of CaO is 4.864 Å &amp;lt;ref&amp;gt;Mackrodt, W. C., Harrison, N. M., Saunders, V. R., Allan, N. L. and Towler, M. D., Aprà, E., Dovesi, R., Philos. Mag. A, 1993 , &#039;&#039;&#039;68&#039;&#039;&#039;, 653-666 &amp;lt;/ref&amp;gt;, slightly larger than that of MgO. This leads to a slightly smaller grid size being optimal, as the larger lattice parameter leads to a smaller brillouin zone in reciprocal space as if the lattice parameter &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; is larger, then the size of the first brillouin zone &amp;lt;math&amp;gt;a^{*}= \frac {2 \pi}{a} &amp;lt;/math&amp;gt;will be smaller. This in turn allows less points to be sampled inside the region to give the same spacing of points, and therefore accuracy for the density of states as for MgO. Similarly, the zeolite faujsite has an extremely large lattice parameter of 25.132 Å &amp;lt;ref&amp;gt;E. Dempsey, G. H. Kuhl, and D. H. Olson, Phys. Chem., 1969, &#039;&#039;&#039;73&#039;&#039;&#039;, 387–390 &amp;lt;/ref&amp;gt;, in comparison to MgO. This; as with the case of CaO but more exaggerated, leads to a much smaller brillouin zone in reciprocal space, and so allows for a much smaller grid size to give the same accuracy as the MgO calculation due to the extremely small value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; obtained for faujsite.&lt;br /&gt;
Conversely, lithium has a smaller lattice spacing of 3.51 Å &amp;lt;ref&amp;gt;M.R. Nadler and C.P. Kempfer, Anal. Chem., 1959, &#039;&#039;&#039;31&#039;&#039;&#039;, 2109-2111&amp;lt;/ref&amp;gt;. Therefore the value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; for lithium will be larger than for MgO, and so require a larger grid size to obtain the same spacing between sampled k-space points and therefore accuracy of the calculated density of states.&lt;br /&gt;
&lt;br /&gt;
=== Thermal Expansion of MgO ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
||[[File:Ft1015Latticeparametervskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 4&#039;&#039;&#039;: A plot of lattice parameter against temperature for MgO]]&lt;br /&gt;
|[[File:Ft1015Latticevolumevskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 5&#039;&#039;&#039;: A plot of lattice volume against temperature for MgO, with the magenta line on the graph corresponding to the polynomial fit for the graph, and the red point the points which were not fitted over]]&lt;br /&gt;
|[[File:Ft1015Hemholtzvskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 6&#039;&#039;&#039;: A plot of free energy against temperature for MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The physical origin of thermal expansion for a solid lattice arises from the increase of kinetic energy of a material with an increase in temperature. All atoms within a lattice vibrate and move about their positions within the lattice and with an increase in temperature, each atom in the lattice gains kinetic energy, increasing the strength of its vibrations and the speed at which the atoms move. Due to this, the atoms on average take up more space at higher temperatures than lower temperatures and so averaged out over many atoms in a lattice, this increases the volume of the lattice.&lt;br /&gt;
&lt;br /&gt;
Figures 4 &amp;amp; 5 show the effect of change on temperature on the lattice parameter and volume of MgO in the range of 50-2900 K. As we can seen from the figures, from 50-400 K, a change in temperature does not largely increase the volume, while above 400 K the trend seems to be linear with respect to volume increase through an increase in temperature. This is however not the case at higher temperatures above 2200 K where the trend is more polynomial in nature.&lt;br /&gt;
&lt;br /&gt;
Figure 6 shows the effect of change in temperature on the Hemholtz free energy of MgO. From 50-400 K, the dominating term for the free energy is the zero point energy, and thus a change in temperature does not greatly change the free energy of the lattice and so volume changes at low temperatures are minimal. At temperatures above 2200 K not only is the entropic term completely dominating all other terms for the free energy, but also higher order anharmonic terms for the free energy that were excluded in the harmonic approximation part of the equation begin to play a large role in the free energy. This leads to the gradient no longer being linear. &amp;lt;ref&amp;gt;Masanori Matsui, Geoffrey D. Price and Atul Patel, Geophys. Res. Lett., 1994, &#039;&#039;&#039;21&#039;&#039;&#039;,  1659-1662 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The thermal expansion coefficients for MgO can be calculated through using the gradient &amp;lt;math&amp;gt; (\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt; at a specific value of &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; in the equationː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \alpha = \frac{1}{V_i} (\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt;   &amp;lt;math&amp;gt;(3)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt; \alpha &amp;lt;/math&amp;gt; is the coefficient of thermal expansion and &amp;lt;math&amp;gt;V_i&amp;lt;/math&amp;gt; is the volume of the lattice at 0 K, and &amp;lt;math&amp;gt;(\frac{\partial V}{\partial T})_p =6.16898 \times 10^{-7} T + 0.00118&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Table 2 displays thermal expansion coefficients for the polynomial fit of MgO, alongside the temperature range that the fit was made over.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 2. Calculated Linear fit Thermal Expansion Coefficients for MgO&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| 50 K&lt;br /&gt;
| 16.44&lt;br /&gt;
&lt;br /&gt;
| 1500 K&lt;br /&gt;
|40.13&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 100 K&lt;br /&gt;
| 17.26&lt;br /&gt;
&lt;br /&gt;
| 1600 K&lt;br /&gt;
| 41.76&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 200 K&lt;br /&gt;
| 18.89&lt;br /&gt;
&lt;br /&gt;
| 1700 K&lt;br /&gt;
|43.40&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 300 K&lt;br /&gt;
| 20.53&lt;br /&gt;
&lt;br /&gt;
| 1800 K&lt;br /&gt;
|45.03&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 400 K&lt;br /&gt;
| 22.16&lt;br /&gt;
&lt;br /&gt;
| 1900 K&lt;br /&gt;
|46.67&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 500 K&lt;br /&gt;
| 23.79&lt;br /&gt;
&lt;br /&gt;
| 2000 K&lt;br /&gt;
|48.30&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 600 K&lt;br /&gt;
| 25.43&lt;br /&gt;
&lt;br /&gt;
| 2100 K&lt;br /&gt;
|49.93&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 700 K&lt;br /&gt;
| 27.06&lt;br /&gt;
&lt;br /&gt;
| 2200 K&lt;br /&gt;
|51.57&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 800 K&lt;br /&gt;
| 28.69&lt;br /&gt;
&lt;br /&gt;
| 2300 K&lt;br /&gt;
|53.20&lt;br /&gt;
|-&lt;br /&gt;
| 900 K&lt;br /&gt;
| 30.33&lt;br /&gt;
&lt;br /&gt;
| 2400 K&lt;br /&gt;
|54.83&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1000 K&lt;br /&gt;
| 31.96&lt;br /&gt;
&lt;br /&gt;
| 2500 K&lt;br /&gt;
|56.47&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1100 K&lt;br /&gt;
| 33.60&lt;br /&gt;
&lt;br /&gt;
| 2600 K&lt;br /&gt;
|58.10&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1200 K&lt;br /&gt;
| 35.23&lt;br /&gt;
&lt;br /&gt;
| 2700 K&lt;br /&gt;
|59.74&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1300 K&lt;br /&gt;
| 36.86&lt;br /&gt;
&lt;br /&gt;
| 2800 K&lt;br /&gt;
|61.369&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1400 K&lt;br /&gt;
| 38.50&lt;br /&gt;
&lt;br /&gt;
| 2900 K&lt;br /&gt;
|63.00&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As we can see from the table of results, the coefficient of thermal expansion is not independent of temperature, but changes with it. In comparison to literature values&amp;lt;ref&amp;gt;A. S. Madhusudhan Rao and K. Narender, J. Chem. Thermodyn, 2014, &#039;&#039;&#039;2014&#039;&#039;&#039;, 8&amp;lt;/ref&amp;gt;, at 300 K the data obtained through this experiment largely agrees with the literature data of a value for the thermal expansion coefficient of 11.91 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Deviations from the literature values can be attributed to shortcomings of the quasi-harmonic oscillator approximation. The main approximation being that the oscillations of the atoms about their equilibrium positions are small, which for higher energy phonon modes is not representative of those modes. Therefore it is seen that the difference in our calculated values to that of literature values increases as the temperature increases such as a literature value of 14.17 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 1200 K, compared to a calculated value of 35.23 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At temperatures above the melting point of MgO - 2825 °C &amp;lt;ref&amp;gt; Haynes, William M., CRC Handbook of Chemistry and Physics (92nd ed.), Boca Raton, CRC Press., 2011&amp;lt;/ref&amp;gt; - the phonon modes of MgO are not accurate represented. This is due to the fact that above this temperature MgO melts from a solid to a liquid, and thus the approximation that the solid is a perfect lattice breaks down. This means that for temperatures near to or above 2825 °C the data is not representative of the true phonon modes as a solid is being simulated whereas in reality the material is already is a liquid and so solid phonon modes cannot describe the liquid modes.&lt;br /&gt;
&lt;br /&gt;
Although the quasi-harmonic approximation breaks down at higher temperatures, unlike other approximations such as the harmonic approximation, it can be used to model thermal expansion. Consider a diatomic harmonic oscillator, with an increase in temperature the strength of oscillation will increase, but in equal proportions relating to lengthening and contracting of the bond due to the nature of a harmonic potential. This leads to an increase in temperature not changing the equilibrium bond length and thus thermal expansion cannot be modelled. The quasi-harmonic approximation takes into account some of the anharmonic nature of the true bond and so allows thermal expansion to be modelled. This can be visualised through viewing a morse potential. A contraction of bond length in a morse potential require a much larger amount of energy than an increase in bond length, therefore at higher temperatures and so higher energies, while the bond length maximum will largely increase, the minimum bond length will change only slightly, thus on average the bond length will have lengthened. This leads to an increase in equilibrium bond length, and so applying this so a lattice leads to an increase in volume of the lattice.&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamic Simulations ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
||[[File:Ft1015MgO_MD.png|500px|thumb|&#039;&#039;&#039;Figure 7&#039;&#039;&#039;: A plot of cell volume against temperature for the molecular dynamics calculations]]&lt;br /&gt;
|[[File:Ft1015MgO_MDvsLD.png|500px|thumb|&#039;&#039;&#039;Figure 8&#039;&#039;&#039;: A plot of cell volume against temperature comparing the values calculated via Molecular Dynamics and Lattice Dynamics]]&lt;br /&gt;
|[[File:Ft1015MgO_Thermal_Expansion_Coefficient_MDvsLD.png|500px|thumb|&#039;&#039;&#039;Figure 9&#039;&#039;&#039;: A plot of the thermal expansion coefficient for both Molecular Dynamics and Lattice Dynamics simulations]]&lt;br /&gt;
|}&lt;br /&gt;
Molecular dynamics simulations were run using from 50-3700 K as shown in figure 7. Figures 8&amp;amp;9 compares the results of Molecular dynamics and Lattice Dynamics (quasi-harmonic approximation) simulations. In figure 8 it is seen that the difference in volume the MD and LD plots for the range 400-1400 K is quite small, while at temperatures lower than 400 K and higher than 1400 K the simulations begin to deviate from each other. Figure 9 compares the calculated coefficient for thermal expansion for MD and LD, taking a value at 300 K of 25.82 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 30.33 at 1200 K, in comparison to the literature values of 11.91 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 300 K and 14.17 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 1200 K, it can be seen that at lower temperatures, the LD approach is more accurate, while at higher temperature MD is more accurate. As MD calculations average the volume of the cell over set intervals - the timestep - for a set period of time, the erractic nature of the MD curve at high temperatures in figure 8 is due to the large velocites of the ions in the lattice leads to the timestep being to large to take an accurate snapshot of the system and its variations. Thus a timestep smaller than the 500 fs interval used would reduce the noise in the simulation and provide a more accurate description of the volume at higher temperatures.&lt;br /&gt;
&lt;br /&gt;
LD and MD simulations differ due to the differences between how they calculate their results and the approximations they take into account. MD differs from LD at lower temperatures due to the lack of higher order quantum corrections which LD takes into account, while at higher temperatures MD is more accurate due to the use of Newton&#039;s classical equations which dominate all quantum effects, while LD suffers from a lack of higher order anharmonic terms in its approximation. &amp;lt;ref&amp;gt;Masanori Matsui, Geoffrey D. Price and Atul Patel, Geophys. Res. Lett., 1994, &#039;&#039;&#039;21&#039;&#039;&#039;, 1659-1662&amp;lt;/ref&amp;gt;. This leads MD producing more accurate results at higher temperatures, while LD is more accurate at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
As stated above, at temperatures near to or larger than the melting point of MgO, a LD simulation fails to produce accurate results for the volume of the cell due to the fact that a solid is still being simulated rather than a liquid. MD simulations however work through Newton&#039;s laws of motion and so can model phase transitions of materials. This can be seen in figure 7, where after the melting of MgO at 2852 K&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
== References ==&lt;/div&gt;</summary>
		<author><name>Ft1015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=652252</id>
		<title>Rep:FabianThomasThirdYearMgOSimulation</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=652252"/>
		<updated>2017-12-17T21:26:00Z</updated>

		<summary type="html">&lt;p&gt;Ft1015: /* Thermal Expansion of MgO */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Abstract ==&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Theory ===&lt;br /&gt;
The quasi-harmonic approximation expands upon the harmonic [[phonon]] model of lattice dynamics. The harmonic phonon model states that all interatomic forces are purely [[Harmonic Oscillator|harmonic]], but such a model is inadequate to explain [[thermal expansion]], as the equilibrium distance between atoms in such a model is independent of temperature.&lt;br /&gt;
&lt;br /&gt;
Thus in the quasi-harmonic model, from a phonon point of view, phonon frequencies become volume-dependent in the quasi-harmonic approximation, such that for each volume, the harmonic approximation holds.&lt;br /&gt;
&lt;br /&gt;
For a lattice, the Helmholtz free energy &#039;&#039;F&#039;&#039; in the quasi-harmonic approximation is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;F(T,V) = U(V) + E_{ZP}(V) - T S(T,V)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;U&#039;&#039; is the internal [[lattice energy]], &#039;&#039;E&amp;lt;sub&amp;gt;ZP&amp;lt;/sub&amp;gt;&#039;&#039; is the vibrational [[zero-point energy]] of the lattice, &#039;&#039;T&#039;&#039; is the absolute temperature, &#039;&#039;V&#039;&#039; is the volume and &#039;&#039;S&#039;&#039; is the [[entropy]] due to the vibrational degrees of freedom. The specific definition of the volume is of no particular importance, as long as the definition is used consistently throughout. It can be the volume per primitive unit cell, volume per conventional unit cell, or even molar volume. This choice does not affect the following in any way.&lt;br /&gt;
&lt;br /&gt;
The zero-point energy term equals&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; E_{ZP}(V) = \frac{1}{N} \sum_{\mathbf{k}, i} \frac{1}{2} h \nu_{\mathbf{k},i}(V) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;N&#039;&#039; is the number of terms in the sum, &#039;&#039;&#039;k&#039;&#039;&#039; is a [[wave vector]], &#039;&#039;i&#039;&#039; denotes a phonon band, &#039;&#039;h&#039;&#039; is [[Planck&#039;s constant]] and ν&amp;lt;sub&amp;gt;&#039;&#039;&#039;k&#039;&#039;&#039;,&#039;&#039;i&#039;&#039;&amp;lt;/sub&amp;gt;(V) is the frequency of a phonon with wave vector &#039;&#039;&#039;k&#039;&#039;&#039; in the &#039;&#039;i&#039;&#039;-th band at volume &#039;&#039;V&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
The entropy term equals&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S(V) = -\frac{1}{N} \sum_{\mathbf{k}, i} k_B \ln \left[ 1 - \exp\left( -\frac{h \nu_{\mathbf{k},i}(V)}{ k_BT }\right) \right] + \frac{1}{N} \sum_{\mathbf{k},i} k_B \frac{h \nu_{\mathbf{k},i}(V)}{k_B T} \left[ \exp\left( \frac{h \nu_{\mathbf{k},i}(V)}{ k_BT } \right) - 1 \right]^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;k&#039;&#039;&amp;lt;sub&amp;gt;B&amp;lt;/sub&amp;gt; is the [[Boltzmann constant]]. The frequency ν as a function of &#039;&#039;&#039;k&#039;&#039;&#039; is the [[dispersion relation]].  Note that for a constant value of &#039;&#039;V&#039;&#039;, these equations corresponds to that of the harmonic approximation.&lt;br /&gt;
&lt;br /&gt;
By applying a [[Legendre transform]], it is possible to obtain the [[Gibbs free energy]] &#039;&#039;G&#039;&#039; of the system as a function of temperature and pressure.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G(T,P) = \min_V \left[ U(V) + E_{ZP}(V) - T S(T,V) + P V \right]&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &#039;&#039;P&#039;&#039; is the pressure. The minimal value for &#039;&#039;G&#039;&#039; is found at the equilibrium volume for a given &#039;&#039;T&#039;&#039; and &#039;&#039;P&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The system used&lt;br /&gt;
&lt;br /&gt;
The methodology/theory used MOLECULAR DYNAMICS (MD) - Brillouin zones&lt;br /&gt;
&lt;br /&gt;
The aims of the exercise - To compare the to predict how the material expands when heated, to calculate the thermal expansion coefficient for MgO, to compute vibrational energy levels of MgO, to understand the phonon dispersion of a material, the vibrational density of state, to simulate the vibrations as random motions of atoms inside a cell, to compare QUASI-HARMONIC APPROXIMATION with MOLECULAR DYNAMICS results.&lt;br /&gt;
&lt;br /&gt;
The tools/programs in use - DLV&lt;br /&gt;
&lt;br /&gt;
The quasi-harmonic approximation for phonons builds upon the harmonic approximation for phonon dynamics, and therefore to explain the quasi-harmonic approximation we must first discuss the harmonic approximation&lt;br /&gt;
&lt;br /&gt;
For a regular, linear chain which is composed of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; number of particles, the forces between a pair of atoms can be assumed to be a potential energy function &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; which depends on the distance of the separation between the atoms. The main contributing forces to the potential are described by an electric force, such as electrostatic attractions, covalent bonds or Van der Waals forces. Therefore the potential energy of the entire lattice made up of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; atoms is the sum of the potential energies between each pair of atoms with a separation r from each other shown below in eq 1.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV(r)&amp;lt;/math&amp;gt;       &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, allowing each atom to deviate slightly from its equilibrium position by a displacement &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;, if the deviations are small in comparison to the distance between each atom &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;, the energy of this chain is able to be calculated via a taylor expansion summing over all of the atoms in the chain.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV + \sum_{s\ge 1} \frac {1}{s !} \frac {\partial^s V}{\partial u^s} \sum_{n}&lt;br /&gt;
 (u_n - u_{n+1})^s&amp;lt;/math&amp;gt;     &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;u_n&amp;lt;/math&amp;gt; is the displacement of the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;th atom from its equilibrium postition&lt;br /&gt;
&lt;br /&gt;
Two approximations are used in order to reach this equation, which together forms the harmonic approximation and it&#039;s respective equation. The first approximation states that the sum of the pair potential energies is completed over only neighboring atoms, as although there are electric forces between all atoms, these forces on atoms far away from one another are greatly diminished by screening by the atoms in between, and that the potential energies are treated as harmonic potential energies. In this equation, as the expansion was done around the equilibrium point, therefore the first derivative is zero, whereas higher order terms are not, and so the first term can be dropped, and the second term is used where &amp;lt;math&amp;gt;s = 2&amp;lt;/math&amp;gt;, with higher order terms being neglected. These higher order terms are ignored as harmonic equations of motion have exact solutions, while anharmonic equations do not have exact solutions to them and require more approximations. Thus the energy of the lattice is thus the same as the energy of the set of harmonic oscillators. The error in this equation remains small for small values of &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;&lt;br /&gt;
as the value of higher order terms will remain low.&lt;br /&gt;
CITE BOOK&lt;br /&gt;
&lt;br /&gt;
== Results and Discussion ==&lt;br /&gt;
&lt;br /&gt;
=== Phonon modes and Free Energy of MgO ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|[[File:Ft1015MgO_phonon_dispersion.PNG|500px|thumb|&#039;&#039;&#039;Figure 1&#039;&#039;&#039;: A phonon dispersion plot for MgO]]&lt;br /&gt;
|[[File:Ft1015MgO_DoS.PNG|500px|thumb|&#039;&#039;&#039;Figure 2&#039;&#039;&#039;: A plot of the density of states for MgO using a 1x1x1 grid size]]&lt;br /&gt;
|[[File:Ft1015MgO_DoS_20x20x20.PNG|500px|thumb|left|&#039;&#039;&#039;Figure 3&#039;&#039;&#039;: The optimised plot of the density of states for MgO using a 16x16x16 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From figures 1 and 2, we can see the computed phonon dispersion curve and density of states for a 1x1x1 grid size containing one k-point. Correlating the density of states with the dispersion curve via their shared axis of frequency of vibration yields the k-point L on the dispersion curve as the singular k-point used for the calculation. The density of states shows bands at 286 and 351 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 676 and 806 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, with the intensities of the first two bands double that of the final two bands. These bands correspond to three acoustic and three optical branches, with the first two bands of 0.333 intensity corresponding to a k-point where two branches are overlapping and are therefore degenerate states.&lt;br /&gt;
&lt;br /&gt;
Varying the grid size used for the calculation greatly affected the accuracy and precision of the results of calculations through increasing the number of k-points sampled in eq. 1ː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\omega ^{2}(k) = C(\frac{1}{M_{Mg}} + \frac{1}{M_{O}}) \pm \sqrt {(\frac{1}{M_{Mg}} + \frac{1}{M_{O}})^{2} - \frac{4sin^{2}(ka)}{M_{Mg}}}&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; is the spring force constant, &amp;lt;math&amp;gt;M_{Mg}&amp;lt;/math&amp;gt; is the molar mass of magnesium and &amp;lt;math&amp;gt;M_{O}&amp;lt;/math&amp;gt; is the molar mass of oxygen&lt;br /&gt;
&lt;br /&gt;
As the grid size increases, and thus the more k-points sampled, more and more features become visible, with the increase in number of points sampled along the dispersion curve leading to the increase in number of bands seen in the density of states. Optimising the grid size led to a grid size of 16x16x16 being optimal. As expected, the density of states plot produced from this grid size was smooth, as can be seen in figure 3. This curve was proved to be a good optimisation through looking at the Hemholtz free energy for each of the simulated grid sizes. As the accuracy of the Helmholtz free energy result directly depends on the number of k-space points sampled in the calculations as can be seen in eq. 2. Similarly to eq. 1, the larger the grid size, and therefore the more k-points sampled, the more accurate the result. Comparing the free energy of the 16x16x16 grid to the 32x32x32 grid; which for higher order grids remained constant and so had converged, the 16x16x16 was accurate to within 0.001 meV or 2.4434 × 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; %.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; F = E_0 + \frac {1}{2}\sum_{k,j}^{} \hbar \omega _k + k_B T \sum_{k,j}^{}ln(1-e^{\frac {-\hbar \omega _k }{k_B T}})&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;F&amp;lt;/math&amp;gt; is the Hemholtz free energy and &amp;lt;math&amp;gt;E_0&amp;lt;/math&amp;gt; is the lattice energy&lt;br /&gt;
&lt;br /&gt;
In comparison to smaller grid sizes, the 16x16x16 grid size curve appears more smooth, and more akin to a single band as seen for macrostructures. Larger grid sizes, while greatly increasing the computation time of the calculation did not largely increase the accuracy of the calculations as stated above, and therefore the 16x16x16 grid size was the optimal choice for these simulations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 1. Calculated Total Difference in Hemholtz Free Energy &lt;br /&gt;
! Grid Size&lt;br /&gt;
! Total Difference in Free Energy&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 3.818&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.126&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -0.051&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -0.033&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -0.001&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| -0.000&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| 0.000&lt;br /&gt;
|-&lt;br /&gt;
| 64&lt;br /&gt;
| 0.000&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Table 1 shows the difference between the calculated free energy for grid size and the final converged free energy. Looking at this, we can see that for grid sizes larger than 24x24x24, there is no change in the free energy of the system and so the free energy has converged to a minima, although it may not be the global minimum. The accuracy of simulations also increase rapidly with grid size, for example for accurate simulated energies to 1, 0.5 and 0.1 meV per cell, grid sizes of 2x2x2, 4x4x4 and 8x8x8 respectively can be used. This rapid increase in the accuracy of the calculation can be attributed to the large increase in k-points sampled over within the summations in eq. 2 with increasing grid size.&lt;br /&gt;
&lt;br /&gt;
However, the optimal grid size dependent on the material used due to the relationship between the lattice parameter, and the size of the first brillouin zone in k-space. For a similar oxide such as CaO, in comparsion to the lattice parameter of MgO of 4.212 Å &amp;lt;ref&amp;gt; A. CIMINO, P. PORTA and M. VALIGI, J. Am. Ceram. Soc, 1966, &#039;&#039;&#039;49&#039;&#039;&#039;, 152–156 &amp;lt;/ref&amp;gt;, the parameter of CaO is 4.864 Å &amp;lt;ref&amp;gt;Mackrodt, W. C., Harrison, N. M., Saunders, V. R., Allan, N. L. and Towler, M. D., Aprà, E., Dovesi, R., Philos. Mag. A, 1993 , &#039;&#039;&#039;68&#039;&#039;&#039;, 653-666 &amp;lt;/ref&amp;gt;, slightly larger than that of MgO. This leads to a slightly smaller grid size being optimal, as the larger lattice parameter leads to a smaller brillouin zone in reciprocal space as if the lattice parameter &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; is larger, then the size of the first brillouin zone &amp;lt;math&amp;gt;a^{*}= \frac {2 \pi}{a} &amp;lt;/math&amp;gt;will be smaller. This in turn allows less points to be sampled inside the region to give the same spacing of points, and therefore accuracy for the density of states as for MgO. Similarly, the zeolite faujsite has an extremely large lattice parameter of 25.132 Å &amp;lt;ref&amp;gt;E. Dempsey, G. H. Kuhl, and D. H. Olson, Phys. Chem., 1969, &#039;&#039;&#039;73&#039;&#039;&#039;, 387–390 &amp;lt;/ref&amp;gt;, in comparison to MgO. This; as with the case of CaO but more exaggerated, leads to a much smaller brillouin zone in reciprocal space, and so allows for a much smaller grid size to give the same accuracy as the MgO calculation due to the extremely small value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; obtained for faujsite.&lt;br /&gt;
Conversely, lithium has a smaller lattice spacing of 3.51 Å &amp;lt;ref&amp;gt;M.R. Nadler and C.P. Kempfer, Anal. Chem., 1959, &#039;&#039;&#039;31&#039;&#039;&#039;, 2109-2111&amp;lt;/ref&amp;gt;. Therefore the value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; for lithium will be larger than for MgO, and so require a larger grid size to obtain the same spacing between sampled k-space points and therefore accuracy of the calculated density of states.&lt;br /&gt;
&lt;br /&gt;
=== Thermal Expansion of MgO ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
||[[File:Ft1015Latticeparametervskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 4&#039;&#039;&#039;: A plot of lattice parameter against temperature for MgO]]&lt;br /&gt;
|[[File:Ft1015Latticevolumevskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 5&#039;&#039;&#039;: A plot of lattice volume against temperature for MgO, with the magenta line on the graph corresponding to the polynomial fit for the graph, and the red point the points which were not fitted over]]&lt;br /&gt;
|[[File:Ft1015Hemholtzvskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 6&#039;&#039;&#039;: A plot of free energy against temperature for MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The physical origin of thermal expansion for a solid lattice arises from the increase of kinetic energy of a material with an increase in temperature. All atoms within a lattice vibrate and move about their positions within the lattice and with an increase in temperature, each atom in the lattice gains kinetic energy, increasing the strength of its vibrations and the speed at which the atoms move. Due to this, the atoms on average take up more space at higher temperatures than lower temperatures and so averaged out over many atoms in a lattice, this increases the volume of the lattice.&lt;br /&gt;
&lt;br /&gt;
Figures 4 &amp;amp; 5 show the effect of change on temperature on the lattice parameter and volume of MgO in the range of 50-2900 K. As we can seen from the figures, from 50-400 K, a change in temperature does not largely increase the volume, while above 400 K the trend seems to be linear with respect to volume increase through an increase in temperature. This is however not the case at higher temperatures above 2200 K where the trend is more polynomial in nature.&lt;br /&gt;
&lt;br /&gt;
Figure 6 shows the effect of change in temperature on the Hemholtz free energy of MgO. From 50-400 K, the dominating term for the free energy is the zero point energy, and thus a change in temperature does not greatly change the free energy of the lattice and so volume changes at low temperatures are minimal. At temperatures above 2200 K not only is the entropic term completely dominating all other terms for the free energy, but also higher order anharmonic terms for the free energy that were excluded in the harmonic approximation part of the equation begin to play a large role in the free energy. This leads to the gradient no longer being linear. &amp;lt;ref&amp;gt;Masanori Matsui, Geoffrey D. Price and Atul Patel, Geophys. Res. Lett., 1994, &#039;&#039;&#039;21&#039;&#039;&#039;,  1659-1662 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The thermal expansion coefficients for MgO can be calculated through using the gradient &amp;lt;math&amp;gt; (\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt; at a specific value of &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; in the equationː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \alpha = \frac{1}{V_i} (\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt;   &amp;lt;math&amp;gt;(3)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt; \alpha &amp;lt;/math&amp;gt; is the coefficient of thermal expansion and &amp;lt;math&amp;gt;V_i&amp;lt;/math&amp;gt; is the volume of the lattice at 0 K, and &amp;lt;math&amp;gt;(\frac{\partial V}{\partial T})_p =6.16898 \times 10^{-7} T + 0.00118&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Table 2 displays thermal expansion coefficients for the polynomial fit of MgO, alongside the temperature range that the fit was made over.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 2. Calculated Linear fit Thermal Expansion Coefficients for MgO&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| 50 K&lt;br /&gt;
| 16.44&lt;br /&gt;
&lt;br /&gt;
| 1500 K&lt;br /&gt;
|40.13&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 100 K&lt;br /&gt;
| 17.26&lt;br /&gt;
&lt;br /&gt;
| 1600 K&lt;br /&gt;
| 41.76&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 200 K&lt;br /&gt;
| 18.89&lt;br /&gt;
&lt;br /&gt;
| 1700 K&lt;br /&gt;
|43.40&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 300 K&lt;br /&gt;
| 20.53&lt;br /&gt;
&lt;br /&gt;
| 1800 K&lt;br /&gt;
|45.03&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 400 K&lt;br /&gt;
| 22.16&lt;br /&gt;
&lt;br /&gt;
| 1900 K&lt;br /&gt;
|46.67&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 500 K&lt;br /&gt;
| 23.79&lt;br /&gt;
&lt;br /&gt;
| 2000 K&lt;br /&gt;
|48.30&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 600 K&lt;br /&gt;
| 25.43&lt;br /&gt;
&lt;br /&gt;
| 2100 K&lt;br /&gt;
|49.93&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 700 K&lt;br /&gt;
| 27.06&lt;br /&gt;
&lt;br /&gt;
| 2200 K&lt;br /&gt;
|51.57&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 800 K&lt;br /&gt;
| 28.69&lt;br /&gt;
&lt;br /&gt;
| 2300 K&lt;br /&gt;
|53.20&lt;br /&gt;
|-&lt;br /&gt;
| 900 K&lt;br /&gt;
| 30.33&lt;br /&gt;
&lt;br /&gt;
| 2400 K&lt;br /&gt;
|54.83&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1000 K&lt;br /&gt;
| 31.96&lt;br /&gt;
&lt;br /&gt;
| 2500 K&lt;br /&gt;
|56.47&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1100 K&lt;br /&gt;
| 33.60&lt;br /&gt;
&lt;br /&gt;
| 2600 K&lt;br /&gt;
|58.10&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1200 K&lt;br /&gt;
| 35.23&lt;br /&gt;
&lt;br /&gt;
| 2700 K&lt;br /&gt;
|59.74&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1300 K&lt;br /&gt;
| 36.86&lt;br /&gt;
&lt;br /&gt;
| 2800 K&lt;br /&gt;
|61.369&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1400 K&lt;br /&gt;
| 38.50&lt;br /&gt;
&lt;br /&gt;
| 2900 K&lt;br /&gt;
|63.00&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As we can see from the table of results, the coefficient of thermal expansion is not independent of temperature, but changes with it. In comparison to literature values&amp;lt;ref&amp;gt;A. S. Madhusudhan Rao and K. Narender, J. Chem. Thermodyn, 2014, &#039;&#039;&#039;2014&#039;&#039;&#039;, 8&amp;lt;/ref&amp;gt;, at 300 K the data obtained through this experiment largely agrees with the literature data of a value for the thermal expansion coefficient of 11.91 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Deviations from the literature values can be attributed to shortcomings of the quasi-harmonic oscillator approximation. The main approximation being that the oscillations of the atoms about their equilibrium positions are small, which for higher energy phonon modes is not representative of those modes. Therefore it is seen that the difference in our calculated values to that of literature values increases as the temperature increases such as a literature value of 14.17 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 1200 K, compared to a calculated value of 35.23 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At temperatures above the melting point of MgO - 2825 °C &amp;lt;ref&amp;gt; Haynes, William M., CRC Handbook of Chemistry and Physics (92nd ed.), Boca Raton, CRC Press., 2011&amp;lt;/ref&amp;gt; - the phonon modes of MgO are not accurate represented. This is due to the fact that above this temperature MgO melts from a solid to a liquid, and thus the approximation that the solid is a perfect lattice breaks down. This means that for temperatures near to or above 2825 °C the data is not representative of the true phonon modes as a solid is being simulated whereas in reality the material is already is a liquid and so solid phonon modes cannot describe the liquid modes.&lt;br /&gt;
&lt;br /&gt;
Although the quasi-harmonic approximation breaks down at higher temperatures, unlike other approximations such as the harmonic approximation, it can be used to model thermal expansion. Consider a diatomic harmonic oscillator, with an increase in temperature the strength of oscillation will increase, but in equal proportions relating to lengthening and contracting of the bond due to the nature of a harmonic potential. This leads to an increase in temperature not changing the equilibrium bond length and thus thermal expansion cannot be modelled. The quasi-harmonic approximation takes into account some of the anharmonic nature of the true bond and so allows thermal expansion to be modelled. This can be visualised through viewing a morse potential. A contraction of bond length in a morse potential require a much larger amount of energy than an increase in bond length, therefore at higher temperatures and so higher energies, while the bond length maximum will largely increase, the minimum bond length will change only slightly, thus on average the bond length will have lengthened. This leads to an increase in equilibrium bond length, and so applying this so a lattice leads to an increase in volume of the lattice.&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamic Simulations ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
||[[File:Ft1015MgO_MD.png|500px|thumb|&#039;&#039;&#039;Figure 7&#039;&#039;&#039;: A plot of cell volume against temperature for the molecular dynamics calculations]]&lt;br /&gt;
|[[File:Ft1015MgO_MDvsLD.png|500px|thumb|&#039;&#039;&#039;Figure 8&#039;&#039;&#039;: A plot of cell volume against temperature comparing the values calculated via Molecular Dynamics and Lattice Dynamics]]&lt;br /&gt;
|[[File:Ft1015MgO_Thermal_Expansion_Coefficient_MDvsLD.png|500px|thumb|&#039;&#039;&#039;Figure 9&#039;&#039;&#039;: A plot of the thermal expansion coefficient for both Molecular Dynamics and Lattice Dynamics simulations]]&lt;br /&gt;
|}&lt;br /&gt;
Molecular dynamics simulations were run using from 50-3700 K as shown in figure 7. Figures 8&amp;amp;9 compares the results of Molecular dynamics and Lattice Dynamics (quasi-harmonic approximation) simulations. In figure 8 it is seen that the difference in volume the MD and LD plots for the range 400-1400 K is quite small, while at temperatures lower than 400 K and higher than 1400 K the simulations begin to deviate from each other. Figure 9 compares the calculated coefficient for thermal expansion for MD and LD, taking a value at 300 K of 25.82 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 30.33 at 1200 K, in comparison to the literature values of 11.91 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 300 K and 14.17 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 1200 K, it can be seen that at lower temperatures, the LD approach is more accurate, while at higher temperature MD is more accurate.&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
== References ==&lt;/div&gt;</summary>
		<author><name>Ft1015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=652250</id>
		<title>Rep:FabianThomasThirdYearMgOSimulation</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=652250"/>
		<updated>2017-12-17T21:24:55Z</updated>

		<summary type="html">&lt;p&gt;Ft1015: /* Molecular Dynamic Simulations */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Abstract ==&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Theory ===&lt;br /&gt;
The quasi-harmonic approximation expands upon the harmonic [[phonon]] model of lattice dynamics. The harmonic phonon model states that all interatomic forces are purely [[Harmonic Oscillator|harmonic]], but such a model is inadequate to explain [[thermal expansion]], as the equilibrium distance between atoms in such a model is independent of temperature.&lt;br /&gt;
&lt;br /&gt;
Thus in the quasi-harmonic model, from a phonon point of view, phonon frequencies become volume-dependent in the quasi-harmonic approximation, such that for each volume, the harmonic approximation holds.&lt;br /&gt;
&lt;br /&gt;
For a lattice, the Helmholtz free energy &#039;&#039;F&#039;&#039; in the quasi-harmonic approximation is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;F(T,V) = U(V) + E_{ZP}(V) - T S(T,V)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;U&#039;&#039; is the internal [[lattice energy]], &#039;&#039;E&amp;lt;sub&amp;gt;ZP&amp;lt;/sub&amp;gt;&#039;&#039; is the vibrational [[zero-point energy]] of the lattice, &#039;&#039;T&#039;&#039; is the absolute temperature, &#039;&#039;V&#039;&#039; is the volume and &#039;&#039;S&#039;&#039; is the [[entropy]] due to the vibrational degrees of freedom. The specific definition of the volume is of no particular importance, as long as the definition is used consistently throughout. It can be the volume per primitive unit cell, volume per conventional unit cell, or even molar volume. This choice does not affect the following in any way.&lt;br /&gt;
&lt;br /&gt;
The zero-point energy term equals&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; E_{ZP}(V) = \frac{1}{N} \sum_{\mathbf{k}, i} \frac{1}{2} h \nu_{\mathbf{k},i}(V) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;N&#039;&#039; is the number of terms in the sum, &#039;&#039;&#039;k&#039;&#039;&#039; is a [[wave vector]], &#039;&#039;i&#039;&#039; denotes a phonon band, &#039;&#039;h&#039;&#039; is [[Planck&#039;s constant]] and ν&amp;lt;sub&amp;gt;&#039;&#039;&#039;k&#039;&#039;&#039;,&#039;&#039;i&#039;&#039;&amp;lt;/sub&amp;gt;(V) is the frequency of a phonon with wave vector &#039;&#039;&#039;k&#039;&#039;&#039; in the &#039;&#039;i&#039;&#039;-th band at volume &#039;&#039;V&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
The entropy term equals&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S(V) = -\frac{1}{N} \sum_{\mathbf{k}, i} k_B \ln \left[ 1 - \exp\left( -\frac{h \nu_{\mathbf{k},i}(V)}{ k_BT }\right) \right] + \frac{1}{N} \sum_{\mathbf{k},i} k_B \frac{h \nu_{\mathbf{k},i}(V)}{k_B T} \left[ \exp\left( \frac{h \nu_{\mathbf{k},i}(V)}{ k_BT } \right) - 1 \right]^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;k&#039;&#039;&amp;lt;sub&amp;gt;B&amp;lt;/sub&amp;gt; is the [[Boltzmann constant]]. The frequency ν as a function of &#039;&#039;&#039;k&#039;&#039;&#039; is the [[dispersion relation]].  Note that for a constant value of &#039;&#039;V&#039;&#039;, these equations corresponds to that of the harmonic approximation.&lt;br /&gt;
&lt;br /&gt;
By applying a [[Legendre transform]], it is possible to obtain the [[Gibbs free energy]] &#039;&#039;G&#039;&#039; of the system as a function of temperature and pressure.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G(T,P) = \min_V \left[ U(V) + E_{ZP}(V) - T S(T,V) + P V \right]&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &#039;&#039;P&#039;&#039; is the pressure. The minimal value for &#039;&#039;G&#039;&#039; is found at the equilibrium volume for a given &#039;&#039;T&#039;&#039; and &#039;&#039;P&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The system used&lt;br /&gt;
&lt;br /&gt;
The methodology/theory used MOLECULAR DYNAMICS (MD) - Brillouin zones&lt;br /&gt;
&lt;br /&gt;
The aims of the exercise - To compare the to predict how the material expands when heated, to calculate the thermal expansion coefficient for MgO, to compute vibrational energy levels of MgO, to understand the phonon dispersion of a material, the vibrational density of state, to simulate the vibrations as random motions of atoms inside a cell, to compare QUASI-HARMONIC APPROXIMATION with MOLECULAR DYNAMICS results.&lt;br /&gt;
&lt;br /&gt;
The tools/programs in use - DLV&lt;br /&gt;
&lt;br /&gt;
The quasi-harmonic approximation for phonons builds upon the harmonic approximation for phonon dynamics, and therefore to explain the quasi-harmonic approximation we must first discuss the harmonic approximation&lt;br /&gt;
&lt;br /&gt;
For a regular, linear chain which is composed of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; number of particles, the forces between a pair of atoms can be assumed to be a potential energy function &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; which depends on the distance of the separation between the atoms. The main contributing forces to the potential are described by an electric force, such as electrostatic attractions, covalent bonds or Van der Waals forces. Therefore the potential energy of the entire lattice made up of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; atoms is the sum of the potential energies between each pair of atoms with a separation r from each other shown below in eq 1.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV(r)&amp;lt;/math&amp;gt;       &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, allowing each atom to deviate slightly from its equilibrium position by a displacement &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;, if the deviations are small in comparison to the distance between each atom &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;, the energy of this chain is able to be calculated via a taylor expansion summing over all of the atoms in the chain.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV + \sum_{s\ge 1} \frac {1}{s !} \frac {\partial^s V}{\partial u^s} \sum_{n}&lt;br /&gt;
 (u_n - u_{n+1})^s&amp;lt;/math&amp;gt;     &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;u_n&amp;lt;/math&amp;gt; is the displacement of the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;th atom from its equilibrium postition&lt;br /&gt;
&lt;br /&gt;
Two approximations are used in order to reach this equation, which together forms the harmonic approximation and it&#039;s respective equation. The first approximation states that the sum of the pair potential energies is completed over only neighboring atoms, as although there are electric forces between all atoms, these forces on atoms far away from one another are greatly diminished by screening by the atoms in between, and that the potential energies are treated as harmonic potential energies. In this equation, as the expansion was done around the equilibrium point, therefore the first derivative is zero, whereas higher order terms are not, and so the first term can be dropped, and the second term is used where &amp;lt;math&amp;gt;s = 2&amp;lt;/math&amp;gt;, with higher order terms being neglected. These higher order terms are ignored as harmonic equations of motion have exact solutions, while anharmonic equations do not have exact solutions to them and require more approximations. Thus the energy of the lattice is thus the same as the energy of the set of harmonic oscillators. The error in this equation remains small for small values of &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;&lt;br /&gt;
as the value of higher order terms will remain low.&lt;br /&gt;
CITE BOOK&lt;br /&gt;
&lt;br /&gt;
== Results and Discussion ==&lt;br /&gt;
&lt;br /&gt;
=== Phonon modes and Free Energy of MgO ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|[[File:Ft1015MgO_phonon_dispersion.PNG|500px|thumb|&#039;&#039;&#039;Figure 1&#039;&#039;&#039;: A phonon dispersion plot for MgO]]&lt;br /&gt;
|[[File:Ft1015MgO_DoS.PNG|500px|thumb|&#039;&#039;&#039;Figure 2&#039;&#039;&#039;: A plot of the density of states for MgO using a 1x1x1 grid size]]&lt;br /&gt;
|[[File:Ft1015MgO_DoS_20x20x20.PNG|500px|thumb|left|&#039;&#039;&#039;Figure 3&#039;&#039;&#039;: The optimised plot of the density of states for MgO using a 16x16x16 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From figures 1 and 2, we can see the computed phonon dispersion curve and density of states for a 1x1x1 grid size containing one k-point. Correlating the density of states with the dispersion curve via their shared axis of frequency of vibration yields the k-point L on the dispersion curve as the singular k-point used for the calculation. The density of states shows bands at 286 and 351 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 676 and 806 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, with the intensities of the first two bands double that of the final two bands. These bands correspond to three acoustic and three optical branches, with the first two bands of 0.333 intensity corresponding to a k-point where two branches are overlapping and are therefore degenerate states.&lt;br /&gt;
&lt;br /&gt;
Varying the grid size used for the calculation greatly affected the accuracy and precision of the results of calculations through increasing the number of k-points sampled in eq. 1ː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\omega ^{2}(k) = C(\frac{1}{M_{Mg}} + \frac{1}{M_{O}}) \pm \sqrt {(\frac{1}{M_{Mg}} + \frac{1}{M_{O}})^{2} - \frac{4sin^{2}(ka)}{M_{Mg}}}&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; is the spring force constant, &amp;lt;math&amp;gt;M_{Mg}&amp;lt;/math&amp;gt; is the molar mass of magnesium and &amp;lt;math&amp;gt;M_{O}&amp;lt;/math&amp;gt; is the molar mass of oxygen&lt;br /&gt;
&lt;br /&gt;
As the grid size increases, and thus the more k-points sampled, more and more features become visible, with the increase in number of points sampled along the dispersion curve leading to the increase in number of bands seen in the density of states. Optimising the grid size led to a grid size of 16x16x16 being optimal. As expected, the density of states plot produced from this grid size was smooth, as can be seen in figure 3. This curve was proved to be a good optimisation through looking at the Hemholtz free energy for each of the simulated grid sizes. As the accuracy of the Helmholtz free energy result directly depends on the number of k-space points sampled in the calculations as can be seen in eq. 2. Similarly to eq. 1, the larger the grid size, and therefore the more k-points sampled, the more accurate the result. Comparing the free energy of the 16x16x16 grid to the 32x32x32 grid; which for higher order grids remained constant and so had converged, the 16x16x16 was accurate to within 0.001 meV or 2.4434 × 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; %.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; F = E_0 + \frac {1}{2}\sum_{k,j}^{} \hbar \omega _k + k_B T \sum_{k,j}^{}ln(1-e^{\frac {-\hbar \omega _k }{k_B T}})&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;F&amp;lt;/math&amp;gt; is the Hemholtz free energy and &amp;lt;math&amp;gt;E_0&amp;lt;/math&amp;gt; is the lattice energy&lt;br /&gt;
&lt;br /&gt;
In comparison to smaller grid sizes, the 16x16x16 grid size curve appears more smooth, and more akin to a single band as seen for macrostructures. Larger grid sizes, while greatly increasing the computation time of the calculation did not largely increase the accuracy of the calculations as stated above, and therefore the 16x16x16 grid size was the optimal choice for these simulations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 1. Calculated Total Difference in Hemholtz Free Energy &lt;br /&gt;
! Grid Size&lt;br /&gt;
! Total Difference in Free Energy&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 3.818&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.126&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -0.051&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -0.033&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -0.001&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| -0.000&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| 0.000&lt;br /&gt;
|-&lt;br /&gt;
| 64&lt;br /&gt;
| 0.000&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Table 1 shows the difference between the calculated free energy for grid size and the final converged free energy. Looking at this, we can see that for grid sizes larger than 24x24x24, there is no change in the free energy of the system and so the free energy has converged to a minima, although it may not be the global minimum. The accuracy of simulations also increase rapidly with grid size, for example for accurate simulated energies to 1, 0.5 and 0.1 meV per cell, grid sizes of 2x2x2, 4x4x4 and 8x8x8 respectively can be used. This rapid increase in the accuracy of the calculation can be attributed to the large increase in k-points sampled over within the summations in eq. 2 with increasing grid size.&lt;br /&gt;
&lt;br /&gt;
However, the optimal grid size dependent on the material used due to the relationship between the lattice parameter, and the size of the first brillouin zone in k-space. For a similar oxide such as CaO, in comparsion to the lattice parameter of MgO of 4.212 Å &amp;lt;ref&amp;gt; A. CIMINO, P. PORTA and M. VALIGI, J. Am. Ceram. Soc, 1966, &#039;&#039;&#039;49&#039;&#039;&#039;, 152–156 &amp;lt;/ref&amp;gt;, the parameter of CaO is 4.864 Å &amp;lt;ref&amp;gt;Mackrodt, W. C., Harrison, N. M., Saunders, V. R., Allan, N. L. and Towler, M. D., Aprà, E., Dovesi, R., Philos. Mag. A, 1993 , &#039;&#039;&#039;68&#039;&#039;&#039;, 653-666 &amp;lt;/ref&amp;gt;, slightly larger than that of MgO. This leads to a slightly smaller grid size being optimal, as the larger lattice parameter leads to a smaller brillouin zone in reciprocal space as if the lattice parameter &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; is larger, then the size of the first brillouin zone &amp;lt;math&amp;gt;a^{*}= \frac {2 \pi}{a} &amp;lt;/math&amp;gt;will be smaller. This in turn allows less points to be sampled inside the region to give the same spacing of points, and therefore accuracy for the density of states as for MgO. Similarly, the zeolite faujsite has an extremely large lattice parameter of 25.132 Å &amp;lt;ref&amp;gt;E. Dempsey, G. H. Kuhl, and D. H. Olson, Phys. Chem., 1969, &#039;&#039;&#039;73&#039;&#039;&#039;, 387–390 &amp;lt;/ref&amp;gt;, in comparison to MgO. This; as with the case of CaO but more exaggerated, leads to a much smaller brillouin zone in reciprocal space, and so allows for a much smaller grid size to give the same accuracy as the MgO calculation due to the extremely small value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; obtained for faujsite.&lt;br /&gt;
Conversely, lithium has a smaller lattice spacing of 3.51 Å &amp;lt;ref&amp;gt;M.R. Nadler and C.P. Kempfer, Anal. Chem., 1959, &#039;&#039;&#039;31&#039;&#039;&#039;, 2109-2111&amp;lt;/ref&amp;gt;. Therefore the value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; for lithium will be larger than for MgO, and so require a larger grid size to obtain the same spacing between sampled k-space points and therefore accuracy of the calculated density of states.&lt;br /&gt;
&lt;br /&gt;
=== Thermal Expansion of MgO ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
||[[File:Ft1015Latticeparametervskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 4&#039;&#039;&#039;: A plot of lattice parameter against temperature for MgO]]&lt;br /&gt;
|[[File:Ft1015Latticevolumevskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 5&#039;&#039;&#039;: A plot of lattice volume against temperature for MgO, with the magenta line on the graph corresponding to the polynomial fit for the graph, and the red point the points which were not fitted over]]&lt;br /&gt;
|[[File:Ft1015Hemholtzvskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 6&#039;&#039;&#039;: A plot of free energy against temperature for MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The physical origin of thermal expansion for a solid lattice arises from the increase of kinetic energy of a material with an increase in temperature. All atoms within a lattice vibrate and move about their positions within the lattice and with an increase in temperature, each atom in the lattice gains kinetic energy, increasing the strength of its vibrations and the speed at which the atoms move. Due to this, the atoms on average take up more space at higher temperatures than lower temperatures and so averaged out over many atoms in a lattice, this increases the volume of the lattice.&lt;br /&gt;
&lt;br /&gt;
Figures 4 &amp;amp; 5 show the effect of change on temperature on the lattice parameter and volume of MgO in the range of 50-2900 K. As we can seen from the figures, from 50-400 K, a change in temperature does not largely increase the volume, while above 400 K the trend seems to be linear with respect to volume increase through an increase in temperature. This is however not the case at higher temperatures above 2200 K where the trend is more polynomial in nature.&lt;br /&gt;
&lt;br /&gt;
Figure 6 shows the effect of change in temperature on the Hemholtz free energy of MgO. From 50-400 K, the dominating term for the free energy is the zero point energy, and thus a change in temperature does not greatly change the free energy of the lattice and so volume changes at low temperatures are minimal. At temperatures above 2200 K not only is the entropic term completely dominating all other terms for the free energy, but also higher order anharmonic terms for the free energy that were excluded in the harmonic approximation part of the equation begin to play a large role in the free energy. This leads to the gradient no longer being linear. &amp;lt;ref&amp;gt;Masanori Matsui, Geoffrey D. Price and Atul Patel, Geophys. Res. Lett., 1994, &#039;&#039;&#039;21&#039;&#039;&#039;,  1659-1662 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The thermal expansion coefficients for MgO can be calculated through using the gradient &amp;lt;math&amp;gt; (\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt; at a specific value of &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; in the equationː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \alpha = \frac{1}{V_i} (\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt;   &amp;lt;math&amp;gt;(3)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt; \alpha &amp;lt;/math&amp;gt; is the coefficient of thermal expansion and &amp;lt;math&amp;gt;V_i&amp;lt;/math&amp;gt; is the volume of the lattice at 0 K, and &amp;lt;math&amp;gt;(\frac{\partial V}{\partial T})_p =6.16898 \times 10^{-7} T + 0.00118&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Table 2 displays thermal expansion coefficients for the polynomial fit of MgO, alongside the temperature range that the fit was made over.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 2. Calculated Linear fit Thermal Expansion Coefficients for MgO&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| 50 K&lt;br /&gt;
| 16.44&lt;br /&gt;
&lt;br /&gt;
| 1500 K&lt;br /&gt;
|40.13&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 100 K&lt;br /&gt;
| 17.26&lt;br /&gt;
&lt;br /&gt;
| 1600 K&lt;br /&gt;
| 41.76&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 200 K&lt;br /&gt;
| 18.89&lt;br /&gt;
&lt;br /&gt;
| 1700 K&lt;br /&gt;
|43.40&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 300 K&lt;br /&gt;
| 20.53&lt;br /&gt;
&lt;br /&gt;
| 1800 K&lt;br /&gt;
|45.03&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 400 K&lt;br /&gt;
| 22.16&lt;br /&gt;
&lt;br /&gt;
| 1900 K&lt;br /&gt;
|46.67&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 500 K&lt;br /&gt;
| 23.79&lt;br /&gt;
&lt;br /&gt;
| 2000 K&lt;br /&gt;
|48.30&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 600 K&lt;br /&gt;
| 25.43&lt;br /&gt;
&lt;br /&gt;
| 2100 K&lt;br /&gt;
|49.93&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 700 K&lt;br /&gt;
| 27.06&lt;br /&gt;
&lt;br /&gt;
| 2200 K&lt;br /&gt;
|51.57&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 800 K&lt;br /&gt;
| 28.69&lt;br /&gt;
&lt;br /&gt;
| 2300 K&lt;br /&gt;
|53.20&lt;br /&gt;
|-&lt;br /&gt;
| 900 K&lt;br /&gt;
| 30.33&lt;br /&gt;
&lt;br /&gt;
| 2400 K&lt;br /&gt;
|54.83&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1000 K&lt;br /&gt;
| 31.96&lt;br /&gt;
&lt;br /&gt;
| 2500 K&lt;br /&gt;
|56.47&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1100 K&lt;br /&gt;
| 33.60&lt;br /&gt;
&lt;br /&gt;
| 2600 K&lt;br /&gt;
|58.10&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1200 K&lt;br /&gt;
| 35.23&lt;br /&gt;
&lt;br /&gt;
| 2700 K&lt;br /&gt;
|59.74&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1300 K&lt;br /&gt;
| 36.86&lt;br /&gt;
&lt;br /&gt;
| 2800 K&lt;br /&gt;
|61.369&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1400 K&lt;br /&gt;
| 38.50&lt;br /&gt;
&lt;br /&gt;
| 2900 K&lt;br /&gt;
|63.00&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As we can see from the table of results, the coefficient of thermal expansion is not independent of temperature, but changes with it. In comparison to literature values&amp;lt;ref&amp;gt;A. S. Madhusudhan Rao and K. Narender, J. Chem. Thermodyn, 2014, &#039;&#039;&#039;2014&#039;&#039;&#039;, 8&amp;lt;/ref&amp;gt;, at 300 K the data obtained through this experiment largely agrees with the literature data of a value for the thermal expansion coefficient of 11.91 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Deviations from the literature values can be attributed to shortcomings of the quasi-harmonic oscillator approximation. The main approximation being that the oscillations of the atoms about their equilibrium positions are small, which for higher energy phonon modes is not representative of those modes. Therefore it is seen that the difference in our calculated values to that of literature values increases as the temperature increases such as a literature value of 14.17 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 1250 K, compared to a calculated value of 35.23 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At temperatures above the melting point of MgO - 2825 °C &amp;lt;ref&amp;gt; Haynes, William M., CRC Handbook of Chemistry and Physics (92nd ed.), Boca Raton, CRC Press., 2011&amp;lt;/ref&amp;gt; - the phonon modes of MgO are not accurate represented. This is due to the fact that above this temperature MgO melts from a solid to a liquid, and thus the approximation that the solid is a perfect lattice breaks down. This means that for temperatures near to or above 2825 °C the data is not representative of the true phonon modes as a solid is being simulated whereas in reality the material is already is a liquid and so solid phonon modes cannot describe the liquid modes.&lt;br /&gt;
&lt;br /&gt;
Although the quasi-harmonic approximation breaks down at higher temperatures, unlike other approximations such as the harmonic approximation, it can be used to model thermal expansion. Consider a diatomic harmonic oscillator, with an increase in temperature the strength of oscillation will increase, but in equal proportions relating to lengthening and contracting of the bond due to the nature of a harmonic potential. This leads to an increase in temperature not changing the equilibrium bond length and thus thermal expansion cannot be modelled. The quasi-harmonic approximation takes into account some of the anharmonic nature of the true bond and so allows thermal expansion to be modelled. This can be visualised through viewing a morse potential. A contraction of bond length in a morse potential require a much larger amount of energy than an increase in bond length, therefore at higher temperatures and so higher energies, while the bond length maximum will largely increase, the minimum bond length will change only slightly, thus on average the bond length will have lengthened. This leads to an increase in equilibrium bond length, and so applying this so a lattice leads to an increase in volume of the lattice.&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamic Simulations ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
||[[File:Ft1015MgO_MD.png|500px|thumb|&#039;&#039;&#039;Figure 7&#039;&#039;&#039;: A plot of cell volume against temperature for the molecular dynamics calculations]]&lt;br /&gt;
|[[File:Ft1015MgO_MDvsLD.png|500px|thumb|&#039;&#039;&#039;Figure 8&#039;&#039;&#039;: A plot of cell volume against temperature comparing the values calculated via Molecular Dynamics and Lattice Dynamics]]&lt;br /&gt;
|[[File:Ft1015MgO_Thermal_Expansion_Coefficient_MDvsLD.png|500px|thumb|&#039;&#039;&#039;Figure 9&#039;&#039;&#039;: A plot of the thermal expansion coefficient for both Molecular Dynamics and Lattice Dynamics simulations]]&lt;br /&gt;
|}&lt;br /&gt;
Molecular dynamics simulations were run using from 50-3700 K as shown in figure 7. Figures 8&amp;amp;9 compares the results of Molecular dynamics and Lattice Dynamics (quasi-harmonic approximation) simulations. In figure 8 it is seen that the difference in volume the MD and LD plots for the range 400-1400 K is quite small, while at temperatures lower than 400 K and higher than 1400 K the simulations begin to deviate from each other. Figure 9 compares the calculated coefficient for thermal expansion for MD and LD, taking a value at 300 K of 25.82 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 30.33 at 1200 K, in comparison to the literature values of 11.91 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 300 K and 14.17 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 1200 K, it can be seen that at lower temperatures, the LD approach is more accurate, while at higher temperature MD is more accurate.&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
== References ==&lt;/div&gt;</summary>
		<author><name>Ft1015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=File:Ft1015MgO_Thermal_Expansion_Coefficient_MDvsLD.png&amp;diff=652247</id>
		<title>File:Ft1015MgO Thermal Expansion Coefficient MDvsLD.png</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=File:Ft1015MgO_Thermal_Expansion_Coefficient_MDvsLD.png&amp;diff=652247"/>
		<updated>2017-12-17T21:13:49Z</updated>

		<summary type="html">&lt;p&gt;Ft1015: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ft1015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=652236</id>
		<title>Rep:FabianThomasThirdYearMgOSimulation</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=652236"/>
		<updated>2017-12-17T20:55:54Z</updated>

		<summary type="html">&lt;p&gt;Ft1015: /* Molecular Dynamic Simulations */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Abstract ==&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Theory ===&lt;br /&gt;
The quasi-harmonic approximation expands upon the harmonic [[phonon]] model of lattice dynamics. The harmonic phonon model states that all interatomic forces are purely [[Harmonic Oscillator|harmonic]], but such a model is inadequate to explain [[thermal expansion]], as the equilibrium distance between atoms in such a model is independent of temperature.&lt;br /&gt;
&lt;br /&gt;
Thus in the quasi-harmonic model, from a phonon point of view, phonon frequencies become volume-dependent in the quasi-harmonic approximation, such that for each volume, the harmonic approximation holds.&lt;br /&gt;
&lt;br /&gt;
For a lattice, the Helmholtz free energy &#039;&#039;F&#039;&#039; in the quasi-harmonic approximation is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;F(T,V) = U(V) + E_{ZP}(V) - T S(T,V)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;U&#039;&#039; is the internal [[lattice energy]], &#039;&#039;E&amp;lt;sub&amp;gt;ZP&amp;lt;/sub&amp;gt;&#039;&#039; is the vibrational [[zero-point energy]] of the lattice, &#039;&#039;T&#039;&#039; is the absolute temperature, &#039;&#039;V&#039;&#039; is the volume and &#039;&#039;S&#039;&#039; is the [[entropy]] due to the vibrational degrees of freedom. The specific definition of the volume is of no particular importance, as long as the definition is used consistently throughout. It can be the volume per primitive unit cell, volume per conventional unit cell, or even molar volume. This choice does not affect the following in any way.&lt;br /&gt;
&lt;br /&gt;
The zero-point energy term equals&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; E_{ZP}(V) = \frac{1}{N} \sum_{\mathbf{k}, i} \frac{1}{2} h \nu_{\mathbf{k},i}(V) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;N&#039;&#039; is the number of terms in the sum, &#039;&#039;&#039;k&#039;&#039;&#039; is a [[wave vector]], &#039;&#039;i&#039;&#039; denotes a phonon band, &#039;&#039;h&#039;&#039; is [[Planck&#039;s constant]] and ν&amp;lt;sub&amp;gt;&#039;&#039;&#039;k&#039;&#039;&#039;,&#039;&#039;i&#039;&#039;&amp;lt;/sub&amp;gt;(V) is the frequency of a phonon with wave vector &#039;&#039;&#039;k&#039;&#039;&#039; in the &#039;&#039;i&#039;&#039;-th band at volume &#039;&#039;V&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
The entropy term equals&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S(V) = -\frac{1}{N} \sum_{\mathbf{k}, i} k_B \ln \left[ 1 - \exp\left( -\frac{h \nu_{\mathbf{k},i}(V)}{ k_BT }\right) \right] + \frac{1}{N} \sum_{\mathbf{k},i} k_B \frac{h \nu_{\mathbf{k},i}(V)}{k_B T} \left[ \exp\left( \frac{h \nu_{\mathbf{k},i}(V)}{ k_BT } \right) - 1 \right]^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;k&#039;&#039;&amp;lt;sub&amp;gt;B&amp;lt;/sub&amp;gt; is the [[Boltzmann constant]]. The frequency ν as a function of &#039;&#039;&#039;k&#039;&#039;&#039; is the [[dispersion relation]].  Note that for a constant value of &#039;&#039;V&#039;&#039;, these equations corresponds to that of the harmonic approximation.&lt;br /&gt;
&lt;br /&gt;
By applying a [[Legendre transform]], it is possible to obtain the [[Gibbs free energy]] &#039;&#039;G&#039;&#039; of the system as a function of temperature and pressure.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G(T,P) = \min_V \left[ U(V) + E_{ZP}(V) - T S(T,V) + P V \right]&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &#039;&#039;P&#039;&#039; is the pressure. The minimal value for &#039;&#039;G&#039;&#039; is found at the equilibrium volume for a given &#039;&#039;T&#039;&#039; and &#039;&#039;P&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The system used&lt;br /&gt;
&lt;br /&gt;
The methodology/theory used MOLECULAR DYNAMICS (MD) - Brillouin zones&lt;br /&gt;
&lt;br /&gt;
The aims of the exercise - To compare the to predict how the material expands when heated, to calculate the thermal expansion coefficient for MgO, to compute vibrational energy levels of MgO, to understand the phonon dispersion of a material, the vibrational density of state, to simulate the vibrations as random motions of atoms inside a cell, to compare QUASI-HARMONIC APPROXIMATION with MOLECULAR DYNAMICS results.&lt;br /&gt;
&lt;br /&gt;
The tools/programs in use - DLV&lt;br /&gt;
&lt;br /&gt;
The quasi-harmonic approximation for phonons builds upon the harmonic approximation for phonon dynamics, and therefore to explain the quasi-harmonic approximation we must first discuss the harmonic approximation&lt;br /&gt;
&lt;br /&gt;
For a regular, linear chain which is composed of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; number of particles, the forces between a pair of atoms can be assumed to be a potential energy function &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; which depends on the distance of the separation between the atoms. The main contributing forces to the potential are described by an electric force, such as electrostatic attractions, covalent bonds or Van der Waals forces. Therefore the potential energy of the entire lattice made up of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; atoms is the sum of the potential energies between each pair of atoms with a separation r from each other shown below in eq 1.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV(r)&amp;lt;/math&amp;gt;       &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, allowing each atom to deviate slightly from its equilibrium position by a displacement &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;, if the deviations are small in comparison to the distance between each atom &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;, the energy of this chain is able to be calculated via a taylor expansion summing over all of the atoms in the chain.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV + \sum_{s\ge 1} \frac {1}{s !} \frac {\partial^s V}{\partial u^s} \sum_{n}&lt;br /&gt;
 (u_n - u_{n+1})^s&amp;lt;/math&amp;gt;     &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;u_n&amp;lt;/math&amp;gt; is the displacement of the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;th atom from its equilibrium postition&lt;br /&gt;
&lt;br /&gt;
Two approximations are used in order to reach this equation, which together forms the harmonic approximation and it&#039;s respective equation. The first approximation states that the sum of the pair potential energies is completed over only neighboring atoms, as although there are electric forces between all atoms, these forces on atoms far away from one another are greatly diminished by screening by the atoms in between, and that the potential energies are treated as harmonic potential energies. In this equation, as the expansion was done around the equilibrium point, therefore the first derivative is zero, whereas higher order terms are not, and so the first term can be dropped, and the second term is used where &amp;lt;math&amp;gt;s = 2&amp;lt;/math&amp;gt;, with higher order terms being neglected. These higher order terms are ignored as harmonic equations of motion have exact solutions, while anharmonic equations do not have exact solutions to them and require more approximations. Thus the energy of the lattice is thus the same as the energy of the set of harmonic oscillators. The error in this equation remains small for small values of &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;&lt;br /&gt;
as the value of higher order terms will remain low.&lt;br /&gt;
CITE BOOK&lt;br /&gt;
&lt;br /&gt;
== Results and Discussion ==&lt;br /&gt;
&lt;br /&gt;
=== Phonon modes and Free Energy of MgO ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|[[File:Ft1015MgO_phonon_dispersion.PNG|500px|thumb|&#039;&#039;&#039;Figure 1&#039;&#039;&#039;: A phonon dispersion plot for MgO]]&lt;br /&gt;
|[[File:Ft1015MgO_DoS.PNG|500px|thumb|&#039;&#039;&#039;Figure 2&#039;&#039;&#039;: A plot of the density of states for MgO using a 1x1x1 grid size]]&lt;br /&gt;
|[[File:Ft1015MgO_DoS_20x20x20.PNG|500px|thumb|left|&#039;&#039;&#039;Figure 3&#039;&#039;&#039;: The optimised plot of the density of states for MgO using a 16x16x16 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From figures 1 and 2, we can see the computed phonon dispersion curve and density of states for a 1x1x1 grid size containing one k-point. Correlating the density of states with the dispersion curve via their shared axis of frequency of vibration yields the k-point L on the dispersion curve as the singular k-point used for the calculation. The density of states shows bands at 286 and 351 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 676 and 806 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, with the intensities of the first two bands double that of the final two bands. These bands correspond to three acoustic and three optical branches, with the first two bands of 0.333 intensity corresponding to a k-point where two branches are overlapping and are therefore degenerate states.&lt;br /&gt;
&lt;br /&gt;
Varying the grid size used for the calculation greatly affected the accuracy and precision of the results of calculations through increasing the number of k-points sampled in eq. 1ː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\omega ^{2}(k) = C(\frac{1}{M_{Mg}} + \frac{1}{M_{O}}) \pm \sqrt {(\frac{1}{M_{Mg}} + \frac{1}{M_{O}})^{2} - \frac{4sin^{2}(ka)}{M_{Mg}}}&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; is the spring force constant, &amp;lt;math&amp;gt;M_{Mg}&amp;lt;/math&amp;gt; is the molar mass of magnesium and &amp;lt;math&amp;gt;M_{O}&amp;lt;/math&amp;gt; is the molar mass of oxygen&lt;br /&gt;
&lt;br /&gt;
As the grid size increases, and thus the more k-points sampled, more and more features become visible, with the increase in number of points sampled along the dispersion curve leading to the increase in number of bands seen in the density of states. Optimising the grid size led to a grid size of 16x16x16 being optimal. As expected, the density of states plot produced from this grid size was smooth, as can be seen in figure 3. This curve was proved to be a good optimisation through looking at the Hemholtz free energy for each of the simulated grid sizes. As the accuracy of the Helmholtz free energy result directly depends on the number of k-space points sampled in the calculations as can be seen in eq. 2. Similarly to eq. 1, the larger the grid size, and therefore the more k-points sampled, the more accurate the result. Comparing the free energy of the 16x16x16 grid to the 32x32x32 grid; which for higher order grids remained constant and so had converged, the 16x16x16 was accurate to within 0.001 meV or 2.4434 × 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; %.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; F = E_0 + \frac {1}{2}\sum_{k,j}^{} \hbar \omega _k + k_B T \sum_{k,j}^{}ln(1-e^{\frac {-\hbar \omega _k }{k_B T}})&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;F&amp;lt;/math&amp;gt; is the Hemholtz free energy and &amp;lt;math&amp;gt;E_0&amp;lt;/math&amp;gt; is the lattice energy&lt;br /&gt;
&lt;br /&gt;
In comparison to smaller grid sizes, the 16x16x16 grid size curve appears more smooth, and more akin to a single band as seen for macrostructures. Larger grid sizes, while greatly increasing the computation time of the calculation did not largely increase the accuracy of the calculations as stated above, and therefore the 16x16x16 grid size was the optimal choice for these simulations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 1. Calculated Total Difference in Hemholtz Free Energy &lt;br /&gt;
! Grid Size&lt;br /&gt;
! Total Difference in Free Energy&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 3.818&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.126&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -0.051&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -0.033&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -0.001&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| -0.000&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| 0.000&lt;br /&gt;
|-&lt;br /&gt;
| 64&lt;br /&gt;
| 0.000&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Table 1 shows the difference between the calculated free energy for grid size and the final converged free energy. Looking at this, we can see that for grid sizes larger than 24x24x24, there is no change in the free energy of the system and so the free energy has converged to a minima, although it may not be the global minimum. The accuracy of simulations also increase rapidly with grid size, for example for accurate simulated energies to 1, 0.5 and 0.1 meV per cell, grid sizes of 2x2x2, 4x4x4 and 8x8x8 respectively can be used. This rapid increase in the accuracy of the calculation can be attributed to the large increase in k-points sampled over within the summations in eq. 2 with increasing grid size.&lt;br /&gt;
&lt;br /&gt;
However, the optimal grid size dependent on the material used due to the relationship between the lattice parameter, and the size of the first brillouin zone in k-space. For a similar oxide such as CaO, in comparsion to the lattice parameter of MgO of 4.212 Å &amp;lt;ref&amp;gt; A. CIMINO, P. PORTA and M. VALIGI, J. Am. Ceram. Soc, 1966, &#039;&#039;&#039;49&#039;&#039;&#039;, 152–156 &amp;lt;/ref&amp;gt;, the parameter of CaO is 4.864 Å &amp;lt;ref&amp;gt;Mackrodt, W. C., Harrison, N. M., Saunders, V. R., Allan, N. L. and Towler, M. D., Aprà, E., Dovesi, R., Philos. Mag. A, 1993 , &#039;&#039;&#039;68&#039;&#039;&#039;, 653-666 &amp;lt;/ref&amp;gt;, slightly larger than that of MgO. This leads to a slightly smaller grid size being optimal, as the larger lattice parameter leads to a smaller brillouin zone in reciprocal space as if the lattice parameter &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; is larger, then the size of the first brillouin zone &amp;lt;math&amp;gt;a^{*}= \frac {2 \pi}{a} &amp;lt;/math&amp;gt;will be smaller. This in turn allows less points to be sampled inside the region to give the same spacing of points, and therefore accuracy for the density of states as for MgO. Similarly, the zeolite faujsite has an extremely large lattice parameter of 25.132 Å &amp;lt;ref&amp;gt;E. Dempsey, G. H. Kuhl, and D. H. Olson, Phys. Chem., 1969, &#039;&#039;&#039;73&#039;&#039;&#039;, 387–390 &amp;lt;/ref&amp;gt;, in comparison to MgO. This; as with the case of CaO but more exaggerated, leads to a much smaller brillouin zone in reciprocal space, and so allows for a much smaller grid size to give the same accuracy as the MgO calculation due to the extremely small value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; obtained for faujsite.&lt;br /&gt;
Conversely, lithium has a smaller lattice spacing of 3.51 Å &amp;lt;ref&amp;gt;M.R. Nadler and C.P. Kempfer, Anal. Chem., 1959, &#039;&#039;&#039;31&#039;&#039;&#039;, 2109-2111&amp;lt;/ref&amp;gt;. Therefore the value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; for lithium will be larger than for MgO, and so require a larger grid size to obtain the same spacing between sampled k-space points and therefore accuracy of the calculated density of states.&lt;br /&gt;
&lt;br /&gt;
=== Thermal Expansion of MgO ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
||[[File:Ft1015Latticeparametervskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 4&#039;&#039;&#039;: A plot of lattice parameter against temperature for MgO]]&lt;br /&gt;
|[[File:Ft1015Latticevolumevskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 5&#039;&#039;&#039;: A plot of lattice volume against temperature for MgO, with the magenta line on the graph corresponding to the polynomial fit for the graph, and the red point the points which were not fitted over]]&lt;br /&gt;
|[[File:Ft1015Hemholtzvskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 6&#039;&#039;&#039;: A plot of free energy against temperature for MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The physical origin of thermal expansion for a solid lattice arises from the increase of kinetic energy of a material with an increase in temperature. All atoms within a lattice vibrate and move about their positions within the lattice and with an increase in temperature, each atom in the lattice gains kinetic energy, increasing the strength of its vibrations and the speed at which the atoms move. Due to this, the atoms on average take up more space at higher temperatures than lower temperatures and so averaged out over many atoms in a lattice, this increases the volume of the lattice.&lt;br /&gt;
&lt;br /&gt;
Figures 4 &amp;amp; 5 show the effect of change on temperature on the lattice parameter and volume of MgO in the range of 50-2900 K. As we can seen from the figures, from 50-400 K, a change in temperature does not largely increase the volume, while above 400 K the trend seems to be linear with respect to volume increase through an increase in temperature. This is however not the case at higher temperatures above 2200 K where the trend is more polynomial in nature.&lt;br /&gt;
&lt;br /&gt;
Figure 6 shows the effect of change in temperature on the Hemholtz free energy of MgO. From 50-400 K, the dominating term for the free energy is the zero point energy, and thus a change in temperature does not greatly change the free energy of the lattice and so volume changes at low temperatures are minimal. At temperatures above 2200 K not only is the entropic term completely dominating all other terms for the free energy, but also higher order anharmonic terms for the free energy that were excluded in the harmonic approximation part of the equation begin to play a large role in the free energy. This leads to the gradient no longer being linear. &amp;lt;ref&amp;gt;Masanori Matsui, Geoffrey D. Price and Atul Patel, Geophys. Res. Lett., 1994, &#039;&#039;&#039;21&#039;&#039;&#039;,  1659-1662 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The thermal expansion coefficients for MgO can be calculated through using the gradient &amp;lt;math&amp;gt; (\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt; at a specific value of &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; in the equationː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \alpha = \frac{1}{V_i} (\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt;   &amp;lt;math&amp;gt;(3)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt; \alpha &amp;lt;/math&amp;gt; is the coefficient of thermal expansion and &amp;lt;math&amp;gt;V_i&amp;lt;/math&amp;gt; is the volume of the lattice at 0 K, and &amp;lt;math&amp;gt;(\frac{\partial V}{\partial T})_p =6.16898 \times 10^{-7} T + 0.00118&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Table 2 displays thermal expansion coefficients for the polynomial fit of MgO, alongside the temperature range that the fit was made over.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 2. Calculated Linear fit Thermal Expansion Coefficients for MgO&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| 50 K&lt;br /&gt;
| 16.44&lt;br /&gt;
&lt;br /&gt;
| 1500 K&lt;br /&gt;
|40.13&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 100 K&lt;br /&gt;
| 17.26&lt;br /&gt;
&lt;br /&gt;
| 1600 K&lt;br /&gt;
| 41.76&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 200 K&lt;br /&gt;
| 18.89&lt;br /&gt;
&lt;br /&gt;
| 1700 K&lt;br /&gt;
|43.40&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 300 K&lt;br /&gt;
| 20.53&lt;br /&gt;
&lt;br /&gt;
| 1800 K&lt;br /&gt;
|45.03&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 400 K&lt;br /&gt;
| 22.16&lt;br /&gt;
&lt;br /&gt;
| 1900 K&lt;br /&gt;
|46.67&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 500 K&lt;br /&gt;
| 23.79&lt;br /&gt;
&lt;br /&gt;
| 2000 K&lt;br /&gt;
|48.30&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 600 K&lt;br /&gt;
| 25.43&lt;br /&gt;
&lt;br /&gt;
| 2100 K&lt;br /&gt;
|49.93&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 700 K&lt;br /&gt;
| 27.06&lt;br /&gt;
&lt;br /&gt;
| 2200 K&lt;br /&gt;
|51.57&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 800 K&lt;br /&gt;
| 28.69&lt;br /&gt;
&lt;br /&gt;
| 2300 K&lt;br /&gt;
|53.20&lt;br /&gt;
|-&lt;br /&gt;
| 900 K&lt;br /&gt;
| 30.33&lt;br /&gt;
&lt;br /&gt;
| 2400 K&lt;br /&gt;
|54.83&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1000 K&lt;br /&gt;
| 31.96&lt;br /&gt;
&lt;br /&gt;
| 2500 K&lt;br /&gt;
|56.47&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1100 K&lt;br /&gt;
| 33.60&lt;br /&gt;
&lt;br /&gt;
| 2600 K&lt;br /&gt;
|58.10&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1200 K&lt;br /&gt;
| 35.23&lt;br /&gt;
&lt;br /&gt;
| 2700 K&lt;br /&gt;
|59.74&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1300 K&lt;br /&gt;
| 36.86&lt;br /&gt;
&lt;br /&gt;
| 2800 K&lt;br /&gt;
|61.369&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1400 K&lt;br /&gt;
| 38.50&lt;br /&gt;
&lt;br /&gt;
| 2900 K&lt;br /&gt;
|63.00&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As we can see from the table of results, the coefficient of thermal expansion is not independent of temperature, but changes with it. In comparison to literature values&amp;lt;ref&amp;gt;A. S. Madhusudhan Rao and K. Narender, J. Chem. Thermodyn, 2014, &#039;&#039;&#039;2014&#039;&#039;&#039;, 8&amp;lt;/ref&amp;gt;, at 300 K the data obtained through this experiment largely agrees with the literature data of a value for the thermal expansion coefficient of 11.91 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Deviations from the literature values can be attributed to shortcomings of the quasi-harmonic oscillator approximation. The main approximation being that the oscillations of the atoms about their equilibrium positions are small, which for higher energy phonon modes is not representative of those modes. Therefore it is seen that the difference in our calculated values to that of literature values increases as the temperature increases such as a literature value of 14.17 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 1250 K, compared to a calculated value of 35.23 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At temperatures above the melting point of MgO - 2825 °C &amp;lt;ref&amp;gt; Haynes, William M., CRC Handbook of Chemistry and Physics (92nd ed.), Boca Raton, CRC Press., 2011&amp;lt;/ref&amp;gt; - the phonon modes of MgO are not accurate represented. This is due to the fact that above this temperature MgO melts from a solid to a liquid, and thus the approximation that the solid is a perfect lattice breaks down. This means that for temperatures near to or above 2825 °C the data is not representative of the true phonon modes as a solid is being simulated whereas in reality the material is already is a liquid and so solid phonon modes cannot describe the liquid modes.&lt;br /&gt;
&lt;br /&gt;
Although the quasi-harmonic approximation breaks down at higher temperatures, unlike other approximations such as the harmonic approximation, it can be used to model thermal expansion. Consider a diatomic harmonic oscillator, with an increase in temperature the strength of oscillation will increase, but in equal proportions relating to lengthening and contracting of the bond due to the nature of a harmonic potential. This leads to an increase in temperature not changing the equilibrium bond length and thus thermal expansion cannot be modelled. The quasi-harmonic approximation takes into account some of the anharmonic nature of the true bond and so allows thermal expansion to be modelled. This can be visualised through viewing a morse potential. A contraction of bond length in a morse potential require a much larger amount of energy than an increase in bond length, therefore at higher temperatures and so higher energies, while the bond length maximum will largely increase, the minimum bond length will change only slightly, thus on average the bond length will have lengthened. This leads to an increase in equilibrium bond length, and so applying this so a lattice leads to an increase in volume of the lattice.&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamic Simulations ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
||[[File:Ft1015MgO_MD.png|500px|thumb|&#039;&#039;&#039;Figure 7&#039;&#039;&#039;: ]]&lt;br /&gt;
|[[File:Ft1015MgO_MDvsLD.png|500px|thumb|&#039;&#039;&#039;Figure 8&#039;&#039;&#039;: ]]&lt;br /&gt;
|}&lt;br /&gt;
Molecular dynamic simulations were run using molecular dynamics from 50-3700 K, in figures 7&amp;amp;8&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
== References ==&lt;/div&gt;</summary>
		<author><name>Ft1015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=File:Ft1015MgO_MDvsLD.png&amp;diff=652234</id>
		<title>File:Ft1015MgO MDvsLD.png</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=File:Ft1015MgO_MDvsLD.png&amp;diff=652234"/>
		<updated>2017-12-17T20:55:22Z</updated>

		<summary type="html">&lt;p&gt;Ft1015: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ft1015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=File:Ft1015MgO_MD.png&amp;diff=652232</id>
		<title>File:Ft1015MgO MD.png</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=File:Ft1015MgO_MD.png&amp;diff=652232"/>
		<updated>2017-12-17T20:54:50Z</updated>

		<summary type="html">&lt;p&gt;Ft1015: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ft1015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=652230</id>
		<title>Rep:FabianThomasThirdYearMgOSimulation</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=652230"/>
		<updated>2017-12-17T20:53:49Z</updated>

		<summary type="html">&lt;p&gt;Ft1015: /* Molecular Dynamic Simulations */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Abstract ==&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Theory ===&lt;br /&gt;
The quasi-harmonic approximation expands upon the harmonic [[phonon]] model of lattice dynamics. The harmonic phonon model states that all interatomic forces are purely [[Harmonic Oscillator|harmonic]], but such a model is inadequate to explain [[thermal expansion]], as the equilibrium distance between atoms in such a model is independent of temperature.&lt;br /&gt;
&lt;br /&gt;
Thus in the quasi-harmonic model, from a phonon point of view, phonon frequencies become volume-dependent in the quasi-harmonic approximation, such that for each volume, the harmonic approximation holds.&lt;br /&gt;
&lt;br /&gt;
For a lattice, the Helmholtz free energy &#039;&#039;F&#039;&#039; in the quasi-harmonic approximation is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;F(T,V) = U(V) + E_{ZP}(V) - T S(T,V)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;U&#039;&#039; is the internal [[lattice energy]], &#039;&#039;E&amp;lt;sub&amp;gt;ZP&amp;lt;/sub&amp;gt;&#039;&#039; is the vibrational [[zero-point energy]] of the lattice, &#039;&#039;T&#039;&#039; is the absolute temperature, &#039;&#039;V&#039;&#039; is the volume and &#039;&#039;S&#039;&#039; is the [[entropy]] due to the vibrational degrees of freedom. The specific definition of the volume is of no particular importance, as long as the definition is used consistently throughout. It can be the volume per primitive unit cell, volume per conventional unit cell, or even molar volume. This choice does not affect the following in any way.&lt;br /&gt;
&lt;br /&gt;
The zero-point energy term equals&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; E_{ZP}(V) = \frac{1}{N} \sum_{\mathbf{k}, i} \frac{1}{2} h \nu_{\mathbf{k},i}(V) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;N&#039;&#039; is the number of terms in the sum, &#039;&#039;&#039;k&#039;&#039;&#039; is a [[wave vector]], &#039;&#039;i&#039;&#039; denotes a phonon band, &#039;&#039;h&#039;&#039; is [[Planck&#039;s constant]] and ν&amp;lt;sub&amp;gt;&#039;&#039;&#039;k&#039;&#039;&#039;,&#039;&#039;i&#039;&#039;&amp;lt;/sub&amp;gt;(V) is the frequency of a phonon with wave vector &#039;&#039;&#039;k&#039;&#039;&#039; in the &#039;&#039;i&#039;&#039;-th band at volume &#039;&#039;V&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
The entropy term equals&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S(V) = -\frac{1}{N} \sum_{\mathbf{k}, i} k_B \ln \left[ 1 - \exp\left( -\frac{h \nu_{\mathbf{k},i}(V)}{ k_BT }\right) \right] + \frac{1}{N} \sum_{\mathbf{k},i} k_B \frac{h \nu_{\mathbf{k},i}(V)}{k_B T} \left[ \exp\left( \frac{h \nu_{\mathbf{k},i}(V)}{ k_BT } \right) - 1 \right]^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;k&#039;&#039;&amp;lt;sub&amp;gt;B&amp;lt;/sub&amp;gt; is the [[Boltzmann constant]]. The frequency ν as a function of &#039;&#039;&#039;k&#039;&#039;&#039; is the [[dispersion relation]].  Note that for a constant value of &#039;&#039;V&#039;&#039;, these equations corresponds to that of the harmonic approximation.&lt;br /&gt;
&lt;br /&gt;
By applying a [[Legendre transform]], it is possible to obtain the [[Gibbs free energy]] &#039;&#039;G&#039;&#039; of the system as a function of temperature and pressure.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G(T,P) = \min_V \left[ U(V) + E_{ZP}(V) - T S(T,V) + P V \right]&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &#039;&#039;P&#039;&#039; is the pressure. The minimal value for &#039;&#039;G&#039;&#039; is found at the equilibrium volume for a given &#039;&#039;T&#039;&#039; and &#039;&#039;P&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The system used&lt;br /&gt;
&lt;br /&gt;
The methodology/theory used MOLECULAR DYNAMICS (MD) - Brillouin zones&lt;br /&gt;
&lt;br /&gt;
The aims of the exercise - To compare the to predict how the material expands when heated, to calculate the thermal expansion coefficient for MgO, to compute vibrational energy levels of MgO, to understand the phonon dispersion of a material, the vibrational density of state, to simulate the vibrations as random motions of atoms inside a cell, to compare QUASI-HARMONIC APPROXIMATION with MOLECULAR DYNAMICS results.&lt;br /&gt;
&lt;br /&gt;
The tools/programs in use - DLV&lt;br /&gt;
&lt;br /&gt;
The quasi-harmonic approximation for phonons builds upon the harmonic approximation for phonon dynamics, and therefore to explain the quasi-harmonic approximation we must first discuss the harmonic approximation&lt;br /&gt;
&lt;br /&gt;
For a regular, linear chain which is composed of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; number of particles, the forces between a pair of atoms can be assumed to be a potential energy function &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; which depends on the distance of the separation between the atoms. The main contributing forces to the potential are described by an electric force, such as electrostatic attractions, covalent bonds or Van der Waals forces. Therefore the potential energy of the entire lattice made up of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; atoms is the sum of the potential energies between each pair of atoms with a separation r from each other shown below in eq 1.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV(r)&amp;lt;/math&amp;gt;       &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, allowing each atom to deviate slightly from its equilibrium position by a displacement &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;, if the deviations are small in comparison to the distance between each atom &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;, the energy of this chain is able to be calculated via a taylor expansion summing over all of the atoms in the chain.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV + \sum_{s\ge 1} \frac {1}{s !} \frac {\partial^s V}{\partial u^s} \sum_{n}&lt;br /&gt;
 (u_n - u_{n+1})^s&amp;lt;/math&amp;gt;     &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;u_n&amp;lt;/math&amp;gt; is the displacement of the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;th atom from its equilibrium postition&lt;br /&gt;
&lt;br /&gt;
Two approximations are used in order to reach this equation, which together forms the harmonic approximation and it&#039;s respective equation. The first approximation states that the sum of the pair potential energies is completed over only neighboring atoms, as although there are electric forces between all atoms, these forces on atoms far away from one another are greatly diminished by screening by the atoms in between, and that the potential energies are treated as harmonic potential energies. In this equation, as the expansion was done around the equilibrium point, therefore the first derivative is zero, whereas higher order terms are not, and so the first term can be dropped, and the second term is used where &amp;lt;math&amp;gt;s = 2&amp;lt;/math&amp;gt;, with higher order terms being neglected. These higher order terms are ignored as harmonic equations of motion have exact solutions, while anharmonic equations do not have exact solutions to them and require more approximations. Thus the energy of the lattice is thus the same as the energy of the set of harmonic oscillators. The error in this equation remains small for small values of &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;&lt;br /&gt;
as the value of higher order terms will remain low.&lt;br /&gt;
CITE BOOK&lt;br /&gt;
&lt;br /&gt;
== Results and Discussion ==&lt;br /&gt;
&lt;br /&gt;
=== Phonon modes and Free Energy of MgO ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|[[File:Ft1015MgO_phonon_dispersion.PNG|500px|thumb|&#039;&#039;&#039;Figure 1&#039;&#039;&#039;: A phonon dispersion plot for MgO]]&lt;br /&gt;
|[[File:Ft1015MgO_DoS.PNG|500px|thumb|&#039;&#039;&#039;Figure 2&#039;&#039;&#039;: A plot of the density of states for MgO using a 1x1x1 grid size]]&lt;br /&gt;
|[[File:Ft1015MgO_DoS_20x20x20.PNG|500px|thumb|left|&#039;&#039;&#039;Figure 3&#039;&#039;&#039;: The optimised plot of the density of states for MgO using a 16x16x16 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From figures 1 and 2, we can see the computed phonon dispersion curve and density of states for a 1x1x1 grid size containing one k-point. Correlating the density of states with the dispersion curve via their shared axis of frequency of vibration yields the k-point L on the dispersion curve as the singular k-point used for the calculation. The density of states shows bands at 286 and 351 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 676 and 806 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, with the intensities of the first two bands double that of the final two bands. These bands correspond to three acoustic and three optical branches, with the first two bands of 0.333 intensity corresponding to a k-point where two branches are overlapping and are therefore degenerate states.&lt;br /&gt;
&lt;br /&gt;
Varying the grid size used for the calculation greatly affected the accuracy and precision of the results of calculations through increasing the number of k-points sampled in eq. 1ː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\omega ^{2}(k) = C(\frac{1}{M_{Mg}} + \frac{1}{M_{O}}) \pm \sqrt {(\frac{1}{M_{Mg}} + \frac{1}{M_{O}})^{2} - \frac{4sin^{2}(ka)}{M_{Mg}}}&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; is the spring force constant, &amp;lt;math&amp;gt;M_{Mg}&amp;lt;/math&amp;gt; is the molar mass of magnesium and &amp;lt;math&amp;gt;M_{O}&amp;lt;/math&amp;gt; is the molar mass of oxygen&lt;br /&gt;
&lt;br /&gt;
As the grid size increases, and thus the more k-points sampled, more and more features become visible, with the increase in number of points sampled along the dispersion curve leading to the increase in number of bands seen in the density of states. Optimising the grid size led to a grid size of 16x16x16 being optimal. As expected, the density of states plot produced from this grid size was smooth, as can be seen in figure 3. This curve was proved to be a good optimisation through looking at the Hemholtz free energy for each of the simulated grid sizes. As the accuracy of the Helmholtz free energy result directly depends on the number of k-space points sampled in the calculations as can be seen in eq. 2. Similarly to eq. 1, the larger the grid size, and therefore the more k-points sampled, the more accurate the result. Comparing the free energy of the 16x16x16 grid to the 32x32x32 grid; which for higher order grids remained constant and so had converged, the 16x16x16 was accurate to within 0.001 meV or 2.4434 × 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; %.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; F = E_0 + \frac {1}{2}\sum_{k,j}^{} \hbar \omega _k + k_B T \sum_{k,j}^{}ln(1-e^{\frac {-\hbar \omega _k }{k_B T}})&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;F&amp;lt;/math&amp;gt; is the Hemholtz free energy and &amp;lt;math&amp;gt;E_0&amp;lt;/math&amp;gt; is the lattice energy&lt;br /&gt;
&lt;br /&gt;
In comparison to smaller grid sizes, the 16x16x16 grid size curve appears more smooth, and more akin to a single band as seen for macrostructures. Larger grid sizes, while greatly increasing the computation time of the calculation did not largely increase the accuracy of the calculations as stated above, and therefore the 16x16x16 grid size was the optimal choice for these simulations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 1. Calculated Total Difference in Hemholtz Free Energy &lt;br /&gt;
! Grid Size&lt;br /&gt;
! Total Difference in Free Energy&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 3.818&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.126&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -0.051&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -0.033&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -0.001&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| -0.000&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| 0.000&lt;br /&gt;
|-&lt;br /&gt;
| 64&lt;br /&gt;
| 0.000&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Table 1 shows the difference between the calculated free energy for grid size and the final converged free energy. Looking at this, we can see that for grid sizes larger than 24x24x24, there is no change in the free energy of the system and so the free energy has converged to a minima, although it may not be the global minimum. The accuracy of simulations also increase rapidly with grid size, for example for accurate simulated energies to 1, 0.5 and 0.1 meV per cell, grid sizes of 2x2x2, 4x4x4 and 8x8x8 respectively can be used. This rapid increase in the accuracy of the calculation can be attributed to the large increase in k-points sampled over within the summations in eq. 2 with increasing grid size.&lt;br /&gt;
&lt;br /&gt;
However, the optimal grid size dependent on the material used due to the relationship between the lattice parameter, and the size of the first brillouin zone in k-space. For a similar oxide such as CaO, in comparsion to the lattice parameter of MgO of 4.212 Å &amp;lt;ref&amp;gt; A. CIMINO, P. PORTA and M. VALIGI, J. Am. Ceram. Soc, 1966, &#039;&#039;&#039;49&#039;&#039;&#039;, 152–156 &amp;lt;/ref&amp;gt;, the parameter of CaO is 4.864 Å &amp;lt;ref&amp;gt;Mackrodt, W. C., Harrison, N. M., Saunders, V. R., Allan, N. L. and Towler, M. D., Aprà, E., Dovesi, R., Philos. Mag. A, 1993 , &#039;&#039;&#039;68&#039;&#039;&#039;, 653-666 &amp;lt;/ref&amp;gt;, slightly larger than that of MgO. This leads to a slightly smaller grid size being optimal, as the larger lattice parameter leads to a smaller brillouin zone in reciprocal space as if the lattice parameter &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; is larger, then the size of the first brillouin zone &amp;lt;math&amp;gt;a^{*}= \frac {2 \pi}{a} &amp;lt;/math&amp;gt;will be smaller. This in turn allows less points to be sampled inside the region to give the same spacing of points, and therefore accuracy for the density of states as for MgO. Similarly, the zeolite faujsite has an extremely large lattice parameter of 25.132 Å &amp;lt;ref&amp;gt;E. Dempsey, G. H. Kuhl, and D. H. Olson, Phys. Chem., 1969, &#039;&#039;&#039;73&#039;&#039;&#039;, 387–390 &amp;lt;/ref&amp;gt;, in comparison to MgO. This; as with the case of CaO but more exaggerated, leads to a much smaller brillouin zone in reciprocal space, and so allows for a much smaller grid size to give the same accuracy as the MgO calculation due to the extremely small value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; obtained for faujsite.&lt;br /&gt;
Conversely, lithium has a smaller lattice spacing of 3.51 Å &amp;lt;ref&amp;gt;M.R. Nadler and C.P. Kempfer, Anal. Chem., 1959, &#039;&#039;&#039;31&#039;&#039;&#039;, 2109-2111&amp;lt;/ref&amp;gt;. Therefore the value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; for lithium will be larger than for MgO, and so require a larger grid size to obtain the same spacing between sampled k-space points and therefore accuracy of the calculated density of states.&lt;br /&gt;
&lt;br /&gt;
=== Thermal Expansion of MgO ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
||[[File:Ft1015Latticeparametervskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 4&#039;&#039;&#039;: A plot of lattice parameter against temperature for MgO]]&lt;br /&gt;
|[[File:Ft1015Latticevolumevskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 5&#039;&#039;&#039;: A plot of lattice volume against temperature for MgO, with the magenta line on the graph corresponding to the polynomial fit for the graph, and the red point the points which were not fitted over]]&lt;br /&gt;
|[[File:Ft1015Hemholtzvskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 6&#039;&#039;&#039;: A plot of free energy against temperature for MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The physical origin of thermal expansion for a solid lattice arises from the increase of kinetic energy of a material with an increase in temperature. All atoms within a lattice vibrate and move about their positions within the lattice and with an increase in temperature, each atom in the lattice gains kinetic energy, increasing the strength of its vibrations and the speed at which the atoms move. Due to this, the atoms on average take up more space at higher temperatures than lower temperatures and so averaged out over many atoms in a lattice, this increases the volume of the lattice.&lt;br /&gt;
&lt;br /&gt;
Figures 4 &amp;amp; 5 show the effect of change on temperature on the lattice parameter and volume of MgO in the range of 50-2900 K. As we can seen from the figures, from 50-400 K, a change in temperature does not largely increase the volume, while above 400 K the trend seems to be linear with respect to volume increase through an increase in temperature. This is however not the case at higher temperatures above 2200 K where the trend is more polynomial in nature.&lt;br /&gt;
&lt;br /&gt;
Figure 6 shows the effect of change in temperature on the Hemholtz free energy of MgO. From 50-400 K, the dominating term for the free energy is the zero point energy, and thus a change in temperature does not greatly change the free energy of the lattice and so volume changes at low temperatures are minimal. At temperatures above 2200 K not only is the entropic term completely dominating all other terms for the free energy, but also higher order anharmonic terms for the free energy that were excluded in the harmonic approximation part of the equation begin to play a large role in the free energy. This leads to the gradient no longer being linear. &amp;lt;ref&amp;gt;Masanori Matsui, Geoffrey D. Price and Atul Patel, Geophys. Res. Lett., 1994, &#039;&#039;&#039;21&#039;&#039;&#039;,  1659-1662 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The thermal expansion coefficients for MgO can be calculated through using the gradient &amp;lt;math&amp;gt; (\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt; at a specific value of &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; in the equationː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \alpha = \frac{1}{V_i} (\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt;   &amp;lt;math&amp;gt;(3)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt; \alpha &amp;lt;/math&amp;gt; is the coefficient of thermal expansion and &amp;lt;math&amp;gt;V_i&amp;lt;/math&amp;gt; is the volume of the lattice at 0 K, and &amp;lt;math&amp;gt;(\frac{\partial V}{\partial T})_p =6.16898 \times 10^{-7} T + 0.00118&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Table 2 displays thermal expansion coefficients for the polynomial fit of MgO, alongside the temperature range that the fit was made over.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 2. Calculated Linear fit Thermal Expansion Coefficients for MgO&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| 50 K&lt;br /&gt;
| 16.44&lt;br /&gt;
&lt;br /&gt;
| 1500 K&lt;br /&gt;
|40.13&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 100 K&lt;br /&gt;
| 17.26&lt;br /&gt;
&lt;br /&gt;
| 1600 K&lt;br /&gt;
| 41.76&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 200 K&lt;br /&gt;
| 18.89&lt;br /&gt;
&lt;br /&gt;
| 1700 K&lt;br /&gt;
|43.40&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 300 K&lt;br /&gt;
| 20.53&lt;br /&gt;
&lt;br /&gt;
| 1800 K&lt;br /&gt;
|45.03&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 400 K&lt;br /&gt;
| 22.16&lt;br /&gt;
&lt;br /&gt;
| 1900 K&lt;br /&gt;
|46.67&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 500 K&lt;br /&gt;
| 23.79&lt;br /&gt;
&lt;br /&gt;
| 2000 K&lt;br /&gt;
|48.30&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 600 K&lt;br /&gt;
| 25.43&lt;br /&gt;
&lt;br /&gt;
| 2100 K&lt;br /&gt;
|49.93&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 700 K&lt;br /&gt;
| 27.06&lt;br /&gt;
&lt;br /&gt;
| 2200 K&lt;br /&gt;
|51.57&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 800 K&lt;br /&gt;
| 28.69&lt;br /&gt;
&lt;br /&gt;
| 2300 K&lt;br /&gt;
|53.20&lt;br /&gt;
|-&lt;br /&gt;
| 900 K&lt;br /&gt;
| 30.33&lt;br /&gt;
&lt;br /&gt;
| 2400 K&lt;br /&gt;
|54.83&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1000 K&lt;br /&gt;
| 31.96&lt;br /&gt;
&lt;br /&gt;
| 2500 K&lt;br /&gt;
|56.47&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1100 K&lt;br /&gt;
| 33.60&lt;br /&gt;
&lt;br /&gt;
| 2600 K&lt;br /&gt;
|58.10&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1200 K&lt;br /&gt;
| 35.23&lt;br /&gt;
&lt;br /&gt;
| 2700 K&lt;br /&gt;
|59.74&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1300 K&lt;br /&gt;
| 36.86&lt;br /&gt;
&lt;br /&gt;
| 2800 K&lt;br /&gt;
|61.369&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1400 K&lt;br /&gt;
| 38.50&lt;br /&gt;
&lt;br /&gt;
| 2900 K&lt;br /&gt;
|63.00&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As we can see from the table of results, the coefficient of thermal expansion is not independent of temperature, but changes with it. In comparison to literature values&amp;lt;ref&amp;gt;A. S. Madhusudhan Rao and K. Narender, J. Chem. Thermodyn, 2014, &#039;&#039;&#039;2014&#039;&#039;&#039;, 8&amp;lt;/ref&amp;gt;, at 300 K the data obtained through this experiment largely agrees with the literature data of a value for the thermal expansion coefficient of 11.91 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Deviations from the literature values can be attributed to shortcomings of the quasi-harmonic oscillator approximation. The main approximation being that the oscillations of the atoms about their equilibrium positions are small, which for higher energy phonon modes is not representative of those modes. Therefore it is seen that the difference in our calculated values to that of literature values increases as the temperature increases such as a literature value of 14.17 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 1250 K, compared to a calculated value of 35.23 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At temperatures above the melting point of MgO - 2825 °C &amp;lt;ref&amp;gt; Haynes, William M., CRC Handbook of Chemistry and Physics (92nd ed.), Boca Raton, CRC Press., 2011&amp;lt;/ref&amp;gt; - the phonon modes of MgO are not accurate represented. This is due to the fact that above this temperature MgO melts from a solid to a liquid, and thus the approximation that the solid is a perfect lattice breaks down. This means that for temperatures near to or above 2825 °C the data is not representative of the true phonon modes as a solid is being simulated whereas in reality the material is already is a liquid and so solid phonon modes cannot describe the liquid modes.&lt;br /&gt;
&lt;br /&gt;
Although the quasi-harmonic approximation breaks down at higher temperatures, unlike other approximations such as the harmonic approximation, it can be used to model thermal expansion. Consider a diatomic harmonic oscillator, with an increase in temperature the strength of oscillation will increase, but in equal proportions relating to lengthening and contracting of the bond due to the nature of a harmonic potential. This leads to an increase in temperature not changing the equilibrium bond length and thus thermal expansion cannot be modelled. The quasi-harmonic approximation takes into account some of the anharmonic nature of the true bond and so allows thermal expansion to be modelled. This can be visualised through viewing a morse potential. A contraction of bond length in a morse potential require a much larger amount of energy than an increase in bond length, therefore at higher temperatures and so higher energies, while the bond length maximum will largely increase, the minimum bond length will change only slightly, thus on average the bond length will have lengthened. This leads to an increase in equilibrium bond length, and so applying this so a lattice leads to an increase in volume of the lattice.&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamic Simulations ===&lt;br /&gt;
Molecular dynamic simulations were run using molecular dynamics from 50-3700 K, in figures 7&amp;amp;8&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
== References ==&lt;/div&gt;</summary>
		<author><name>Ft1015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=652167</id>
		<title>Rep:FabianThomasThirdYearMgOSimulation</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=652167"/>
		<updated>2017-12-17T19:41:12Z</updated>

		<summary type="html">&lt;p&gt;Ft1015: /* Thermal Expansion of MgO */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Abstract ==&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Theory ===&lt;br /&gt;
The quasi-harmonic approximation expands upon the harmonic [[phonon]] model of lattice dynamics. The harmonic phonon model states that all interatomic forces are purely [[Harmonic Oscillator|harmonic]], but such a model is inadequate to explain [[thermal expansion]], as the equilibrium distance between atoms in such a model is independent of temperature.&lt;br /&gt;
&lt;br /&gt;
Thus in the quasi-harmonic model, from a phonon point of view, phonon frequencies become volume-dependent in the quasi-harmonic approximation, such that for each volume, the harmonic approximation holds.&lt;br /&gt;
&lt;br /&gt;
For a lattice, the Helmholtz free energy &#039;&#039;F&#039;&#039; in the quasi-harmonic approximation is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;F(T,V) = U(V) + E_{ZP}(V) - T S(T,V)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;U&#039;&#039; is the internal [[lattice energy]], &#039;&#039;E&amp;lt;sub&amp;gt;ZP&amp;lt;/sub&amp;gt;&#039;&#039; is the vibrational [[zero-point energy]] of the lattice, &#039;&#039;T&#039;&#039; is the absolute temperature, &#039;&#039;V&#039;&#039; is the volume and &#039;&#039;S&#039;&#039; is the [[entropy]] due to the vibrational degrees of freedom. The specific definition of the volume is of no particular importance, as long as the definition is used consistently throughout. It can be the volume per primitive unit cell, volume per conventional unit cell, or even molar volume. This choice does not affect the following in any way.&lt;br /&gt;
&lt;br /&gt;
The zero-point energy term equals&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; E_{ZP}(V) = \frac{1}{N} \sum_{\mathbf{k}, i} \frac{1}{2} h \nu_{\mathbf{k},i}(V) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;N&#039;&#039; is the number of terms in the sum, &#039;&#039;&#039;k&#039;&#039;&#039; is a [[wave vector]], &#039;&#039;i&#039;&#039; denotes a phonon band, &#039;&#039;h&#039;&#039; is [[Planck&#039;s constant]] and ν&amp;lt;sub&amp;gt;&#039;&#039;&#039;k&#039;&#039;&#039;,&#039;&#039;i&#039;&#039;&amp;lt;/sub&amp;gt;(V) is the frequency of a phonon with wave vector &#039;&#039;&#039;k&#039;&#039;&#039; in the &#039;&#039;i&#039;&#039;-th band at volume &#039;&#039;V&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
The entropy term equals&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S(V) = -\frac{1}{N} \sum_{\mathbf{k}, i} k_B \ln \left[ 1 - \exp\left( -\frac{h \nu_{\mathbf{k},i}(V)}{ k_BT }\right) \right] + \frac{1}{N} \sum_{\mathbf{k},i} k_B \frac{h \nu_{\mathbf{k},i}(V)}{k_B T} \left[ \exp\left( \frac{h \nu_{\mathbf{k},i}(V)}{ k_BT } \right) - 1 \right]^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;k&#039;&#039;&amp;lt;sub&amp;gt;B&amp;lt;/sub&amp;gt; is the [[Boltzmann constant]]. The frequency ν as a function of &#039;&#039;&#039;k&#039;&#039;&#039; is the [[dispersion relation]].  Note that for a constant value of &#039;&#039;V&#039;&#039;, these equations corresponds to that of the harmonic approximation.&lt;br /&gt;
&lt;br /&gt;
By applying a [[Legendre transform]], it is possible to obtain the [[Gibbs free energy]] &#039;&#039;G&#039;&#039; of the system as a function of temperature and pressure.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G(T,P) = \min_V \left[ U(V) + E_{ZP}(V) - T S(T,V) + P V \right]&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &#039;&#039;P&#039;&#039; is the pressure. The minimal value for &#039;&#039;G&#039;&#039; is found at the equilibrium volume for a given &#039;&#039;T&#039;&#039; and &#039;&#039;P&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The system used&lt;br /&gt;
&lt;br /&gt;
The methodology/theory used MOLECULAR DYNAMICS (MD) - Brillouin zones&lt;br /&gt;
&lt;br /&gt;
The aims of the exercise - To compare the to predict how the material expands when heated, to calculate the thermal expansion coefficient for MgO, to compute vibrational energy levels of MgO, to understand the phonon dispersion of a material, the vibrational density of state, to simulate the vibrations as random motions of atoms inside a cell, to compare QUASI-HARMONIC APPROXIMATION with MOLECULAR DYNAMICS results.&lt;br /&gt;
&lt;br /&gt;
The tools/programs in use - DLV&lt;br /&gt;
&lt;br /&gt;
The quasi-harmonic approximation for phonons builds upon the harmonic approximation for phonon dynamics, and therefore to explain the quasi-harmonic approximation we must first discuss the harmonic approximation&lt;br /&gt;
&lt;br /&gt;
For a regular, linear chain which is composed of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; number of particles, the forces between a pair of atoms can be assumed to be a potential energy function &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; which depends on the distance of the separation between the atoms. The main contributing forces to the potential are described by an electric force, such as electrostatic attractions, covalent bonds or Van der Waals forces. Therefore the potential energy of the entire lattice made up of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; atoms is the sum of the potential energies between each pair of atoms with a separation r from each other shown below in eq 1.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV(r)&amp;lt;/math&amp;gt;       &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, allowing each atom to deviate slightly from its equilibrium position by a displacement &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;, if the deviations are small in comparison to the distance between each atom &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;, the energy of this chain is able to be calculated via a taylor expansion summing over all of the atoms in the chain.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV + \sum_{s\ge 1} \frac {1}{s !} \frac {\partial^s V}{\partial u^s} \sum_{n}&lt;br /&gt;
 (u_n - u_{n+1})^s&amp;lt;/math&amp;gt;     &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;u_n&amp;lt;/math&amp;gt; is the displacement of the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;th atom from its equilibrium postition&lt;br /&gt;
&lt;br /&gt;
Two approximations are used in order to reach this equation, which together forms the harmonic approximation and it&#039;s respective equation. The first approximation states that the sum of the pair potential energies is completed over only neighboring atoms, as although there are electric forces between all atoms, these forces on atoms far away from one another are greatly diminished by screening by the atoms in between, and that the potential energies are treated as harmonic potential energies. In this equation, as the expansion was done around the equilibrium point, therefore the first derivative is zero, whereas higher order terms are not, and so the first term can be dropped, and the second term is used where &amp;lt;math&amp;gt;s = 2&amp;lt;/math&amp;gt;, with higher order terms being neglected. These higher order terms are ignored as harmonic equations of motion have exact solutions, while anharmonic equations do not have exact solutions to them and require more approximations. Thus the energy of the lattice is thus the same as the energy of the set of harmonic oscillators. The error in this equation remains small for small values of &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;&lt;br /&gt;
as the value of higher order terms will remain low.&lt;br /&gt;
CITE BOOK&lt;br /&gt;
&lt;br /&gt;
== Results and Discussion ==&lt;br /&gt;
&lt;br /&gt;
=== Phonon modes and Free Energy of MgO ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|[[File:Ft1015MgO_phonon_dispersion.PNG|500px|thumb|&#039;&#039;&#039;Figure 1&#039;&#039;&#039;: A phonon dispersion plot for MgO]]&lt;br /&gt;
|[[File:Ft1015MgO_DoS.PNG|500px|thumb|&#039;&#039;&#039;Figure 2&#039;&#039;&#039;: A plot of the density of states for MgO using a 1x1x1 grid size]]&lt;br /&gt;
|[[File:Ft1015MgO_DoS_20x20x20.PNG|500px|thumb|left|&#039;&#039;&#039;Figure 3&#039;&#039;&#039;: The optimised plot of the density of states for MgO using a 16x16x16 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From figures 1 and 2, we can see the computed phonon dispersion curve and density of states for a 1x1x1 grid size containing one k-point. Correlating the density of states with the dispersion curve via their shared axis of frequency of vibration yields the k-point L on the dispersion curve as the singular k-point used for the calculation. The density of states shows bands at 286 and 351 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 676 and 806 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, with the intensities of the first two bands double that of the final two bands. These bands correspond to three acoustic and three optical branches, with the first two bands of 0.333 intensity corresponding to a k-point where two branches are overlapping and are therefore degenerate states.&lt;br /&gt;
&lt;br /&gt;
Varying the grid size used for the calculation greatly affected the accuracy and precision of the results of calculations through increasing the number of k-points sampled in eq. 1ː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\omega ^{2}(k) = C(\frac{1}{M_{Mg}} + \frac{1}{M_{O}}) \pm \sqrt {(\frac{1}{M_{Mg}} + \frac{1}{M_{O}})^{2} - \frac{4sin^{2}(ka)}{M_{Mg}}}&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; is the spring force constant, &amp;lt;math&amp;gt;M_{Mg}&amp;lt;/math&amp;gt; is the molar mass of magnesium and &amp;lt;math&amp;gt;M_{O}&amp;lt;/math&amp;gt; is the molar mass of oxygen&lt;br /&gt;
&lt;br /&gt;
As the grid size increases, and thus the more k-points sampled, more and more features become visible, with the increase in number of points sampled along the dispersion curve leading to the increase in number of bands seen in the density of states. Optimising the grid size led to a grid size of 16x16x16 being optimal. As expected, the density of states plot produced from this grid size was smooth, as can be seen in figure 3. This curve was proved to be a good optimisation through looking at the Hemholtz free energy for each of the simulated grid sizes. As the accuracy of the Helmholtz free energy result directly depends on the number of k-space points sampled in the calculations as can be seen in eq. 2. Similarly to eq. 1, the larger the grid size, and therefore the more k-points sampled, the more accurate the result. Comparing the free energy of the 16x16x16 grid to the 32x32x32 grid; which for higher order grids remained constant and so had converged, the 16x16x16 was accurate to within 0.001 meV or 2.4434 × 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; %.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; F = E_0 + \frac {1}{2}\sum_{k,j}^{} \hbar \omega _k + k_B T \sum_{k,j}^{}ln(1-e^{\frac {-\hbar \omega _k }{k_B T}})&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;F&amp;lt;/math&amp;gt; is the Hemholtz free energy and &amp;lt;math&amp;gt;E_0&amp;lt;/math&amp;gt; is the lattice energy&lt;br /&gt;
&lt;br /&gt;
In comparison to smaller grid sizes, the 16x16x16 grid size curve appears more smooth, and more akin to a single band as seen for macrostructures. Larger grid sizes, while greatly increasing the computation time of the calculation did not largely increase the accuracy of the calculations as stated above, and therefore the 16x16x16 grid size was the optimal choice for these simulations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 1. Calculated Total Difference in Hemholtz Free Energy &lt;br /&gt;
! Grid Size&lt;br /&gt;
! Total Difference in Free Energy&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 3.818&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.126&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -0.051&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -0.033&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -0.001&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| -0.000&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| 0.000&lt;br /&gt;
|-&lt;br /&gt;
| 64&lt;br /&gt;
| 0.000&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Table 1 shows the difference between the calculated free energy for grid size and the final converged free energy. Looking at this, we can see that for grid sizes larger than 24x24x24, there is no change in the free energy of the system and so the free energy has converged to a minima, although it may not be the global minimum. The accuracy of simulations also increase rapidly with grid size, for example for accurate simulated energies to 1, 0.5 and 0.1 meV per cell, grid sizes of 2x2x2, 4x4x4 and 8x8x8 respectively can be used. This rapid increase in the accuracy of the calculation can be attributed to the large increase in k-points sampled over within the summations in eq. 2 with increasing grid size.&lt;br /&gt;
&lt;br /&gt;
However, the optimal grid size dependent on the material used due to the relationship between the lattice parameter, and the size of the first brillouin zone in k-space. For a similar oxide such as CaO, in comparsion to the lattice parameter of MgO of 4.212 Å &amp;lt;ref&amp;gt; A. CIMINO, P. PORTA and M. VALIGI, J. Am. Ceram. Soc, 1966, &#039;&#039;&#039;49&#039;&#039;&#039;, 152–156 &amp;lt;/ref&amp;gt;, the parameter of CaO is 4.864 Å &amp;lt;ref&amp;gt;Mackrodt, W. C., Harrison, N. M., Saunders, V. R., Allan, N. L. and Towler, M. D., Aprà, E., Dovesi, R., Philos. Mag. A, 1993 , &#039;&#039;&#039;68&#039;&#039;&#039;, 653-666 &amp;lt;/ref&amp;gt;, slightly larger than that of MgO. This leads to a slightly smaller grid size being optimal, as the larger lattice parameter leads to a smaller brillouin zone in reciprocal space as if the lattice parameter &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; is larger, then the size of the first brillouin zone &amp;lt;math&amp;gt;a^{*}= \frac {2 \pi}{a} &amp;lt;/math&amp;gt;will be smaller. This in turn allows less points to be sampled inside the region to give the same spacing of points, and therefore accuracy for the density of states as for MgO. Similarly, the zeolite faujsite has an extremely large lattice parameter of 25.132 Å &amp;lt;ref&amp;gt;E. Dempsey, G. H. Kuhl, and D. H. Olson, Phys. Chem., 1969, &#039;&#039;&#039;73&#039;&#039;&#039;, 387–390 &amp;lt;/ref&amp;gt;, in comparison to MgO. This; as with the case of CaO but more exaggerated, leads to a much smaller brillouin zone in reciprocal space, and so allows for a much smaller grid size to give the same accuracy as the MgO calculation due to the extremely small value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; obtained for faujsite.&lt;br /&gt;
Conversely, lithium has a smaller lattice spacing of 3.51 Å &amp;lt;ref&amp;gt;M.R. Nadler and C.P. Kempfer, Anal. Chem., 1959, &#039;&#039;&#039;31&#039;&#039;&#039;, 2109-2111&amp;lt;/ref&amp;gt;. Therefore the value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; for lithium will be larger than for MgO, and so require a larger grid size to obtain the same spacing between sampled k-space points and therefore accuracy of the calculated density of states.&lt;br /&gt;
&lt;br /&gt;
=== Thermal Expansion of MgO ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
||[[File:Ft1015Latticeparametervskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 4&#039;&#039;&#039;: A plot of lattice parameter against temperature for MgO]]&lt;br /&gt;
|[[File:Ft1015Latticevolumevskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 5&#039;&#039;&#039;: A plot of lattice volume against temperature for MgO, with the magenta line on the graph corresponding to the polynomial fit for the graph, and the red point the points which were not fitted over]]&lt;br /&gt;
|[[File:Ft1015Hemholtzvskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 6&#039;&#039;&#039;: A plot of free energy against temperature for MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The physical origin of thermal expansion for a solid lattice arises from the increase of kinetic energy of a material with an increase in temperature. All atoms within a lattice vibrate and move about their positions within the lattice and with an increase in temperature, each atom in the lattice gains kinetic energy, increasing the strength of its vibrations and the speed at which the atoms move. Due to this, the atoms on average take up more space at higher temperatures than lower temperatures and so averaged out over many atoms in a lattice, this increases the volume of the lattice.&lt;br /&gt;
&lt;br /&gt;
Figures 4 &amp;amp; 5 show the effect of change on temperature on the lattice parameter and volume of MgO in the range of 50-2900 K. As we can seen from the figures, from 50-400 K, a change in temperature does not largely increase the volume, while above 400 K the trend seems to be linear with respect to volume increase through an increase in temperature. This is however not the case at higher temperatures above 2200 K where the trend is more polynomial in nature.&lt;br /&gt;
&lt;br /&gt;
Figure 6 shows the effect of change in temperature on the Hemholtz free energy of MgO. From 50-400 K, the dominating term for the free energy is the zero point energy, and thus a change in temperature does not greatly change the free energy of the lattice and so volume changes at low temperatures are minimal. At temperatures above 2200 K not only is the entropic term completely dominating all other terms for the free energy, but also higher order anharmonic terms for the free energy that were excluded in the harmonic approximation part of the equation begin to play a large role in the free energy. This leads to the gradient no longer being linear. &amp;lt;ref&amp;gt;Masanori Matsui, Geoffrey D. Price and Atul Patel, Geophys. Res. Lett., 1994, &#039;&#039;&#039;21&#039;&#039;&#039;,  1659-1662 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The thermal expansion coefficients for MgO can be calculated through using the gradient &amp;lt;math&amp;gt; (\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt; at a specific value of &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; in the equationː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \alpha = \frac{1}{V_i} (\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt;   &amp;lt;math&amp;gt;(3)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt; \alpha &amp;lt;/math&amp;gt; is the coefficient of thermal expansion and &amp;lt;math&amp;gt;V_i&amp;lt;/math&amp;gt; is the volume of the lattice at 0 K, and &amp;lt;math&amp;gt;(\frac{\partial V}{\partial T})_p =6.16898 \times 10^{-7} T + 0.00118&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Table 2 displays thermal expansion coefficients for the polynomial fit of MgO, alongside the temperature range that the fit was made over.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 2. Calculated Linear fit Thermal Expansion Coefficients for MgO&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| 50 K&lt;br /&gt;
| 16.44&lt;br /&gt;
&lt;br /&gt;
| 1500 K&lt;br /&gt;
|40.13&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 100 K&lt;br /&gt;
| 17.26&lt;br /&gt;
&lt;br /&gt;
| 1600 K&lt;br /&gt;
| 41.76&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 200 K&lt;br /&gt;
| 18.89&lt;br /&gt;
&lt;br /&gt;
| 1700 K&lt;br /&gt;
|43.40&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 300 K&lt;br /&gt;
| 20.53&lt;br /&gt;
&lt;br /&gt;
| 1800 K&lt;br /&gt;
|45.03&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 400 K&lt;br /&gt;
| 22.16&lt;br /&gt;
&lt;br /&gt;
| 1900 K&lt;br /&gt;
|46.67&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 500 K&lt;br /&gt;
| 23.79&lt;br /&gt;
&lt;br /&gt;
| 2000 K&lt;br /&gt;
|48.30&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 600 K&lt;br /&gt;
| 25.43&lt;br /&gt;
&lt;br /&gt;
| 2100 K&lt;br /&gt;
|49.93&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 700 K&lt;br /&gt;
| 27.06&lt;br /&gt;
&lt;br /&gt;
| 2200 K&lt;br /&gt;
|51.57&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 800 K&lt;br /&gt;
| 28.69&lt;br /&gt;
&lt;br /&gt;
| 2300 K&lt;br /&gt;
|53.20&lt;br /&gt;
|-&lt;br /&gt;
| 900 K&lt;br /&gt;
| 30.33&lt;br /&gt;
&lt;br /&gt;
| 2400 K&lt;br /&gt;
|54.83&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1000 K&lt;br /&gt;
| 31.96&lt;br /&gt;
&lt;br /&gt;
| 2500 K&lt;br /&gt;
|56.47&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1100 K&lt;br /&gt;
| 33.60&lt;br /&gt;
&lt;br /&gt;
| 2600 K&lt;br /&gt;
|58.10&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1200 K&lt;br /&gt;
| 35.23&lt;br /&gt;
&lt;br /&gt;
| 2700 K&lt;br /&gt;
|59.74&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1300 K&lt;br /&gt;
| 36.86&lt;br /&gt;
&lt;br /&gt;
| 2800 K&lt;br /&gt;
|61.369&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1400 K&lt;br /&gt;
| 38.50&lt;br /&gt;
&lt;br /&gt;
| 2900 K&lt;br /&gt;
|63.00&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As we can see from the table of results, the coefficient of thermal expansion is not independent of temperature, but changes with it. In comparison to literature values&amp;lt;ref&amp;gt;A. S. Madhusudhan Rao and K. Narender, J. Chem. Thermodyn, 2014, &#039;&#039;&#039;2014&#039;&#039;&#039;, 8&amp;lt;/ref&amp;gt;, at 300 K the data obtained through this experiment largely agrees with the literature data of a value for the thermal expansion coefficient of 11.91 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Deviations from the literature values can be attributed to shortcomings of the quasi-harmonic oscillator approximation. The main approximation being that the oscillations of the atoms about their equilibrium positions are small, which for higher energy phonon modes is not representative of those modes. Therefore it is seen that the difference in our calculated values to that of literature values increases as the temperature increases such as a literature value of 14.17 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 1250 K, compared to a calculated value of 35.23 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At temperatures above the melting point of MgO - 2825 °C &amp;lt;ref&amp;gt; Haynes, William M., CRC Handbook of Chemistry and Physics (92nd ed.), Boca Raton, CRC Press., 2011&amp;lt;/ref&amp;gt; - the phonon modes of MgO are not accurate represented. This is due to the fact that above this temperature MgO melts from a solid to a liquid, and thus the approximation that the solid is a perfect lattice breaks down. This means that for temperatures near to or above 2825 °C the data is not representative of the true phonon modes as a solid is being simulated whereas in reality the material is already is a liquid and so solid phonon modes cannot describe the liquid modes.&lt;br /&gt;
&lt;br /&gt;
Although the quasi-harmonic approximation breaks down at higher temperatures, unlike other approximations such as the harmonic approximation, it can be used to model thermal expansion. Consider a diatomic harmonic oscillator, with an increase in temperature the strength of oscillation will increase, but in equal proportions relating to lengthening and contracting of the bond due to the nature of a harmonic potential. This leads to an increase in temperature not changing the equilibrium bond length and thus thermal expansion cannot be modelled. The quasi-harmonic approximation takes into account some of the anharmonic nature of the true bond and so allows thermal expansion to be modelled. This can be visualised through viewing a morse potential. A contraction of bond length in a morse potential require a much larger amount of energy than an increase in bond length, therefore at higher temperatures and so higher energies, while the bond length maximum will largely increase, the minimum bond length will change only slightly, thus on average the bond length will have lengthened. This leads to an increase in equilibrium bond length, and so applying this so a lattice leads to an increase in volume of the lattice.&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamic Simulations ===&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
== References ==&lt;/div&gt;</summary>
		<author><name>Ft1015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=652128</id>
		<title>Rep:FabianThomasThirdYearMgOSimulation</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=652128"/>
		<updated>2017-12-17T19:18:09Z</updated>

		<summary type="html">&lt;p&gt;Ft1015: /* Thermal Expansion of MgO */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Abstract ==&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Theory ===&lt;br /&gt;
The quasi-harmonic approximation expands upon the harmonic [[phonon]] model of lattice dynamics. The harmonic phonon model states that all interatomic forces are purely [[Harmonic Oscillator|harmonic]], but such a model is inadequate to explain [[thermal expansion]], as the equilibrium distance between atoms in such a model is independent of temperature.&lt;br /&gt;
&lt;br /&gt;
Thus in the quasi-harmonic model, from a phonon point of view, phonon frequencies become volume-dependent in the quasi-harmonic approximation, such that for each volume, the harmonic approximation holds.&lt;br /&gt;
&lt;br /&gt;
For a lattice, the Helmholtz free energy &#039;&#039;F&#039;&#039; in the quasi-harmonic approximation is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;F(T,V) = U(V) + E_{ZP}(V) - T S(T,V)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;U&#039;&#039; is the internal [[lattice energy]], &#039;&#039;E&amp;lt;sub&amp;gt;ZP&amp;lt;/sub&amp;gt;&#039;&#039; is the vibrational [[zero-point energy]] of the lattice, &#039;&#039;T&#039;&#039; is the absolute temperature, &#039;&#039;V&#039;&#039; is the volume and &#039;&#039;S&#039;&#039; is the [[entropy]] due to the vibrational degrees of freedom. The specific definition of the volume is of no particular importance, as long as the definition is used consistently throughout. It can be the volume per primitive unit cell, volume per conventional unit cell, or even molar volume. This choice does not affect the following in any way.&lt;br /&gt;
&lt;br /&gt;
The zero-point energy term equals&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; E_{ZP}(V) = \frac{1}{N} \sum_{\mathbf{k}, i} \frac{1}{2} h \nu_{\mathbf{k},i}(V) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;N&#039;&#039; is the number of terms in the sum, &#039;&#039;&#039;k&#039;&#039;&#039; is a [[wave vector]], &#039;&#039;i&#039;&#039; denotes a phonon band, &#039;&#039;h&#039;&#039; is [[Planck&#039;s constant]] and ν&amp;lt;sub&amp;gt;&#039;&#039;&#039;k&#039;&#039;&#039;,&#039;&#039;i&#039;&#039;&amp;lt;/sub&amp;gt;(V) is the frequency of a phonon with wave vector &#039;&#039;&#039;k&#039;&#039;&#039; in the &#039;&#039;i&#039;&#039;-th band at volume &#039;&#039;V&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
The entropy term equals&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S(V) = -\frac{1}{N} \sum_{\mathbf{k}, i} k_B \ln \left[ 1 - \exp\left( -\frac{h \nu_{\mathbf{k},i}(V)}{ k_BT }\right) \right] + \frac{1}{N} \sum_{\mathbf{k},i} k_B \frac{h \nu_{\mathbf{k},i}(V)}{k_B T} \left[ \exp\left( \frac{h \nu_{\mathbf{k},i}(V)}{ k_BT } \right) - 1 \right]^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;k&#039;&#039;&amp;lt;sub&amp;gt;B&amp;lt;/sub&amp;gt; is the [[Boltzmann constant]]. The frequency ν as a function of &#039;&#039;&#039;k&#039;&#039;&#039; is the [[dispersion relation]].  Note that for a constant value of &#039;&#039;V&#039;&#039;, these equations corresponds to that of the harmonic approximation.&lt;br /&gt;
&lt;br /&gt;
By applying a [[Legendre transform]], it is possible to obtain the [[Gibbs free energy]] &#039;&#039;G&#039;&#039; of the system as a function of temperature and pressure.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G(T,P) = \min_V \left[ U(V) + E_{ZP}(V) - T S(T,V) + P V \right]&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &#039;&#039;P&#039;&#039; is the pressure. The minimal value for &#039;&#039;G&#039;&#039; is found at the equilibrium volume for a given &#039;&#039;T&#039;&#039; and &#039;&#039;P&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The system used&lt;br /&gt;
&lt;br /&gt;
The methodology/theory used MOLECULAR DYNAMICS (MD) - Brillouin zones&lt;br /&gt;
&lt;br /&gt;
The aims of the exercise - To compare the to predict how the material expands when heated, to calculate the thermal expansion coefficient for MgO, to compute vibrational energy levels of MgO, to understand the phonon dispersion of a material, the vibrational density of state, to simulate the vibrations as random motions of atoms inside a cell, to compare QUASI-HARMONIC APPROXIMATION with MOLECULAR DYNAMICS results.&lt;br /&gt;
&lt;br /&gt;
The tools/programs in use - DLV&lt;br /&gt;
&lt;br /&gt;
The quasi-harmonic approximation for phonons builds upon the harmonic approximation for phonon dynamics, and therefore to explain the quasi-harmonic approximation we must first discuss the harmonic approximation&lt;br /&gt;
&lt;br /&gt;
For a regular, linear chain which is composed of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; number of particles, the forces between a pair of atoms can be assumed to be a potential energy function &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; which depends on the distance of the separation between the atoms. The main contributing forces to the potential are described by an electric force, such as electrostatic attractions, covalent bonds or Van der Waals forces. Therefore the potential energy of the entire lattice made up of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; atoms is the sum of the potential energies between each pair of atoms with a separation r from each other shown below in eq 1.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV(r)&amp;lt;/math&amp;gt;       &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, allowing each atom to deviate slightly from its equilibrium position by a displacement &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;, if the deviations are small in comparison to the distance between each atom &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;, the energy of this chain is able to be calculated via a taylor expansion summing over all of the atoms in the chain.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV + \sum_{s\ge 1} \frac {1}{s !} \frac {\partial^s V}{\partial u^s} \sum_{n}&lt;br /&gt;
 (u_n - u_{n+1})^s&amp;lt;/math&amp;gt;     &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;u_n&amp;lt;/math&amp;gt; is the displacement of the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;th atom from its equilibrium postition&lt;br /&gt;
&lt;br /&gt;
Two approximations are used in order to reach this equation, which together forms the harmonic approximation and it&#039;s respective equation. The first approximation states that the sum of the pair potential energies is completed over only neighboring atoms, as although there are electric forces between all atoms, these forces on atoms far away from one another are greatly diminished by screening by the atoms in between, and that the potential energies are treated as harmonic potential energies. In this equation, as the expansion was done around the equilibrium point, therefore the first derivative is zero, whereas higher order terms are not, and so the first term can be dropped, and the second term is used where &amp;lt;math&amp;gt;s = 2&amp;lt;/math&amp;gt;, with higher order terms being neglected. These higher order terms are ignored as harmonic equations of motion have exact solutions, while anharmonic equations do not have exact solutions to them and require more approximations. Thus the energy of the lattice is thus the same as the energy of the set of harmonic oscillators. The error in this equation remains small for small values of &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;&lt;br /&gt;
as the value of higher order terms will remain low.&lt;br /&gt;
CITE BOOK&lt;br /&gt;
&lt;br /&gt;
== Results and Discussion ==&lt;br /&gt;
&lt;br /&gt;
=== Phonon modes and Free Energy of MgO ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|[[File:Ft1015MgO_phonon_dispersion.PNG|500px|thumb|&#039;&#039;&#039;Figure 1&#039;&#039;&#039;: A phonon dispersion plot for MgO]]&lt;br /&gt;
|[[File:Ft1015MgO_DoS.PNG|500px|thumb|&#039;&#039;&#039;Figure 2&#039;&#039;&#039;: A plot of the density of states for MgO using a 1x1x1 grid size]]&lt;br /&gt;
|[[File:Ft1015MgO_DoS_20x20x20.PNG|500px|thumb|left|&#039;&#039;&#039;Figure 3&#039;&#039;&#039;: The optimised plot of the density of states for MgO using a 16x16x16 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From figures 1 and 2, we can see the computed phonon dispersion curve and density of states for a 1x1x1 grid size containing one k-point. Correlating the density of states with the dispersion curve via their shared axis of frequency of vibration yields the k-point L on the dispersion curve as the singular k-point used for the calculation. The density of states shows bands at 286 and 351 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 676 and 806 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, with the intensities of the first two bands double that of the final two bands. These bands correspond to three acoustic and three optical branches, with the first two bands of 0.333 intensity corresponding to a k-point where two branches are overlapping and are therefore degenerate states.&lt;br /&gt;
&lt;br /&gt;
Varying the grid size used for the calculation greatly affected the accuracy and precision of the results of calculations through increasing the number of k-points sampled in eq. 1ː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\omega ^{2}(k) = C(\frac{1}{M_{Mg}} + \frac{1}{M_{O}}) \pm \sqrt {(\frac{1}{M_{Mg}} + \frac{1}{M_{O}})^{2} - \frac{4sin^{2}(ka)}{M_{Mg}}}&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; is the spring force constant, &amp;lt;math&amp;gt;M_{Mg}&amp;lt;/math&amp;gt; is the molar mass of magnesium and &amp;lt;math&amp;gt;M_{O}&amp;lt;/math&amp;gt; is the molar mass of oxygen&lt;br /&gt;
&lt;br /&gt;
As the grid size increases, and thus the more k-points sampled, more and more features become visible, with the increase in number of points sampled along the dispersion curve leading to the increase in number of bands seen in the density of states. Optimising the grid size led to a grid size of 16x16x16 being optimal. As expected, the density of states plot produced from this grid size was smooth, as can be seen in figure 3. This curve was proved to be a good optimisation through looking at the Hemholtz free energy for each of the simulated grid sizes. As the accuracy of the Helmholtz free energy result directly depends on the number of k-space points sampled in the calculations as can be seen in eq. 2. Similarly to eq. 1, the larger the grid size, and therefore the more k-points sampled, the more accurate the result. Comparing the free energy of the 16x16x16 grid to the 32x32x32 grid; which for higher order grids remained constant and so had converged, the 16x16x16 was accurate to within 0.001 meV or 2.4434 × 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; %.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; F = E_0 + \frac {1}{2}\sum_{k,j}^{} \hbar \omega _k + k_B T \sum_{k,j}^{}ln(1-e^{\frac {-\hbar \omega _k }{k_B T}})&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;F&amp;lt;/math&amp;gt; is the Hemholtz free energy and &amp;lt;math&amp;gt;E_0&amp;lt;/math&amp;gt; is the lattice energy&lt;br /&gt;
&lt;br /&gt;
In comparison to smaller grid sizes, the 16x16x16 grid size curve appears more smooth, and more akin to a single band as seen for macrostructures. Larger grid sizes, while greatly increasing the computation time of the calculation did not largely increase the accuracy of the calculations as stated above, and therefore the 16x16x16 grid size was the optimal choice for these simulations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 1. Calculated Total Difference in Hemholtz Free Energy &lt;br /&gt;
! Grid Size&lt;br /&gt;
! Total Difference in Free Energy&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 3.818&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.126&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -0.051&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -0.033&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -0.001&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| -0.000&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| 0.000&lt;br /&gt;
|-&lt;br /&gt;
| 64&lt;br /&gt;
| 0.000&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Table 1 shows the difference between the calculated free energy for grid size and the final converged free energy. Looking at this, we can see that for grid sizes larger than 24x24x24, there is no change in the free energy of the system and so the free energy has converged to a minima, although it may not be the global minimum. The accuracy of simulations also increase rapidly with grid size, for example for accurate simulated energies to 1, 0.5 and 0.1 meV per cell, grid sizes of 2x2x2, 4x4x4 and 8x8x8 respectively can be used. This rapid increase in the accuracy of the calculation can be attributed to the large increase in k-points sampled over within the summations in eq. 2 with increasing grid size.&lt;br /&gt;
&lt;br /&gt;
However, the optimal grid size dependent on the material used due to the relationship between the lattice parameter, and the size of the first brillouin zone in k-space. For a similar oxide such as CaO, in comparsion to the lattice parameter of MgO of 4.212 Å &amp;lt;ref&amp;gt; A. CIMINO, P. PORTA and M. VALIGI, J. Am. Ceram. Soc, 1966, &#039;&#039;&#039;49&#039;&#039;&#039;, 152–156 &amp;lt;/ref&amp;gt;, the parameter of CaO is 4.864 Å &amp;lt;ref&amp;gt;Mackrodt, W. C., Harrison, N. M., Saunders, V. R., Allan, N. L. and Towler, M. D., Aprà, E., Dovesi, R., Philos. Mag. A, 1993 , &#039;&#039;&#039;68&#039;&#039;&#039;, 653-666 &amp;lt;/ref&amp;gt;, slightly larger than that of MgO. This leads to a slightly smaller grid size being optimal, as the larger lattice parameter leads to a smaller brillouin zone in reciprocal space as if the lattice parameter &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; is larger, then the size of the first brillouin zone &amp;lt;math&amp;gt;a^{*}= \frac {2 \pi}{a} &amp;lt;/math&amp;gt;will be smaller. This in turn allows less points to be sampled inside the region to give the same spacing of points, and therefore accuracy for the density of states as for MgO. Similarly, the zeolite faujsite has an extremely large lattice parameter of 25.132 Å &amp;lt;ref&amp;gt;E. Dempsey, G. H. Kuhl, and D. H. Olson, Phys. Chem., 1969, &#039;&#039;&#039;73&#039;&#039;&#039;, 387–390 &amp;lt;/ref&amp;gt;, in comparison to MgO. This; as with the case of CaO but more exaggerated, leads to a much smaller brillouin zone in reciprocal space, and so allows for a much smaller grid size to give the same accuracy as the MgO calculation due to the extremely small value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; obtained for faujsite.&lt;br /&gt;
Conversely, lithium has a smaller lattice spacing of 3.51 Å &amp;lt;ref&amp;gt;M.R. Nadler and C.P. Kempfer, Anal. Chem., 1959, &#039;&#039;&#039;31&#039;&#039;&#039;, 2109-2111&amp;lt;/ref&amp;gt;. Therefore the value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; for lithium will be larger than for MgO, and so require a larger grid size to obtain the same spacing between sampled k-space points and therefore accuracy of the calculated density of states.&lt;br /&gt;
&lt;br /&gt;
=== Thermal Expansion of MgO ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
||[[File:Ft1015Latticeparametervskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 4&#039;&#039;&#039;: A plot of lattice parameter against temperature for MgO]]&lt;br /&gt;
|[[File:Ft1015Latticevolumevskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 5&#039;&#039;&#039;: A plot of lattice volume against temperature for MgO, with the magenta line on the graph corresponding to the polynomial fit for the graph, and the red point the points which were not fitted over]]&lt;br /&gt;
|[[File:Ft1015Hemholtzvskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 6&#039;&#039;&#039;: A plot of free energy against temperature for MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The physical origin of thermal expansion for a solid lattice arises from the increase of kinetic energy of a material with an increase in temperature. All atoms within a lattice vibrate and move about their positions within the lattice and with an increase in temperature, each atom in the lattice gains kinetic energy, increasing the strength of its vibrations and the speed at which the atoms move. Due to this, the atoms on average take up more space at higher temperatures than lower temperatures and so averaged out over many atoms in a lattice, this increases the volume of the lattice.&lt;br /&gt;
&lt;br /&gt;
Figures 4 &amp;amp; 5 show the effect of change on temperature on the lattice parameter and volume of MgO in the range of 50-2900 K. As we can seen from the figures, from 50-400 K, a change in temperature does not largely increase the volume, while above 400 K the trend seems to be linear with respect to volume increase through an increase in temperature. This is however not the case at higher temperatures above 2200 K where the trend is more polynomial in nature.&lt;br /&gt;
&lt;br /&gt;
Figure 6 shows the effect of change in temperature on the Hemholtz free energy of MgO. From 50-400 K, the dominating term for the free energy is the zero point energy, and thus a change in temperature does not greatly change the free energy of the lattice and so volume changes at low temperatures are minimal. At temperatures above 2200 K not only is the entropic term completely dominating all other terms for the free energy, but also higher order anharmonic terms for the free energy that were excluded in the harmonic approximation part of the equation begin to play a large role in the free energy. This leads to the gradient no longer being linear. &amp;lt;ref&amp;gt;Masanori Matsui, Geoffrey D. Price and Atul Patel, Geophys. Res. Lett., 1994, &#039;&#039;&#039;21&#039;&#039;&#039;,  1659-1662 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The thermal expansion coefficients for MgO can be calculated through using the gradient &amp;lt;math&amp;gt; (\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt; at a specific value of &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; in the equationː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \alpha = \frac{1}{V_i} (\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt;   &amp;lt;math&amp;gt;(3)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt; \alpha &amp;lt;/math&amp;gt; is the coefficient of thermal expansion and &amp;lt;math&amp;gt;V_i&amp;lt;/math&amp;gt; is the volume of the lattice at 0 K, and &amp;lt;math&amp;gt;(\frac{\partial V}{\partial T})_p =6.16898 \times 10^{-7} T + 0.00118&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Table 2 displays thermal expansion coefficients for the polynomial fit of MgO, alongside the temperature range that the fit was made over.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 2. Calculated Linear fit Thermal Expansion Coefficients for MgO&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| 50 K&lt;br /&gt;
| 16.44&lt;br /&gt;
&lt;br /&gt;
| 1500 K&lt;br /&gt;
|40.13&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 100 K&lt;br /&gt;
| 17.26&lt;br /&gt;
&lt;br /&gt;
| 1600 K&lt;br /&gt;
| 41.76&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 200 K&lt;br /&gt;
| 18.89&lt;br /&gt;
&lt;br /&gt;
| 1700 K&lt;br /&gt;
|43.40&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 300 K&lt;br /&gt;
| 20.53&lt;br /&gt;
&lt;br /&gt;
| 1800 K&lt;br /&gt;
|45.03&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 400 K&lt;br /&gt;
| 22.16&lt;br /&gt;
&lt;br /&gt;
| 1900 K&lt;br /&gt;
|46.67&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 500 K&lt;br /&gt;
| 23.79&lt;br /&gt;
&lt;br /&gt;
| 2000 K&lt;br /&gt;
|48.30&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 600 K&lt;br /&gt;
| 25.43&lt;br /&gt;
&lt;br /&gt;
| 2100 K&lt;br /&gt;
|49.93&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 700 K&lt;br /&gt;
| 27.06&lt;br /&gt;
&lt;br /&gt;
| 2200 K&lt;br /&gt;
|51.57&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 800 K&lt;br /&gt;
| 28.69&lt;br /&gt;
&lt;br /&gt;
| 2300 K&lt;br /&gt;
|53.20&lt;br /&gt;
|-&lt;br /&gt;
| 900 K&lt;br /&gt;
| 30.33&lt;br /&gt;
&lt;br /&gt;
| 2400 K&lt;br /&gt;
|54.83&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1000 K&lt;br /&gt;
| 31.96&lt;br /&gt;
&lt;br /&gt;
| 2500 K&lt;br /&gt;
|56.47&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1100 K&lt;br /&gt;
| 33.60&lt;br /&gt;
&lt;br /&gt;
| 2600 K&lt;br /&gt;
|58.10&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1200 K&lt;br /&gt;
| 35.23&lt;br /&gt;
&lt;br /&gt;
| 2700 K&lt;br /&gt;
|59.74&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1300 K&lt;br /&gt;
| 36.86&lt;br /&gt;
&lt;br /&gt;
| 2800 K&lt;br /&gt;
|61.369&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1400 K&lt;br /&gt;
| 38.50&lt;br /&gt;
&lt;br /&gt;
| 2900 K&lt;br /&gt;
|63.00&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As we can see from the table of results, the coefficient of thermal expansion is not independent of temperature, but changes with it. In comparison to literature values&amp;lt;ref&amp;gt;A. S. Madhusudhan Rao and K. Narender, J. Chem. Thermodyn, 2014, &#039;&#039;&#039;2014&#039;&#039;&#039;, 8&amp;lt;/ref&amp;gt;, at 300 K the data obtained through this experiment largely agrees with the literature data of a value for the thermal expansion coefficient of 11.91 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Deviations from the literature values can be attributed to shortcomings of the quasi-harmonic oscillator approximation. The main approximation being that the oscillations of the atoms about their equilibrium positions are small, which for higher energy phonon modes is not representative of those modes. Therefore it is seen that the difference in our calculated values to that of literature values increases as the temperature increases such as a literature value of 14.17 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 1250 K, compared to a calculated value of 35.23 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At temperatures above the melting point of MgO - 2825 °C &amp;lt;ref&amp;gt; Haynes, William M., CRC Handbook of Chemistry and Physics (92nd ed.), Boca Raton, CRC Press., 2011&amp;lt;/ref&amp;gt; - the phonon modes of MgO are not accurate represented. This is due to the fact that above this temperature MgO melts from a solid to a liquid, and thus the approximation that the solid is a perfect lattice breaks down. This means that for temperatures near to or above 2825 °C the data is not representative of the true phonon modes as a solid is being simulated whereas in reality the material is already is a liquid and so solid phonon modes cannot describe the liquid modes.&lt;br /&gt;
&lt;br /&gt;
Although the quasi-harmonic approximation breaks down at higher temperatures, unlike other approximations such as the harmonic approximation, it can be used to model thermal expansion. Consider a diatomic harmonic oscillator, with an increase in temperature the strength of oscillation will increase, but in equal proportions relating to lengthening and contracting of the bond due to the nature of a harmonic potential. This leads to an increase in temperature not changing the equilibrium bond length and thus thermal expansion cannot be modelled. The quasi-harmonic approximation takes into account some of the anharmonic nature of the true bond and so allows thermal expansion to be modelled. This can be visualised through viewing a morse potential. A contraction of bond length in a morse potential require a much larger amount of energy than an increase in bond length, therefore at higher temperatures and so higher energies, while the bond length maximum will largely increase, the minimum bond length will change only slightly, thus on average the bond length will have lengthened. This leads to an increase in equilibrium bond length, and so applying this so a lattice leads to an increase in volume of the lattice.&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
== References ==&lt;/div&gt;</summary>
		<author><name>Ft1015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=652124</id>
		<title>Rep:FabianThomasThirdYearMgOSimulation</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=652124"/>
		<updated>2017-12-17T19:16:10Z</updated>

		<summary type="html">&lt;p&gt;Ft1015: /* Tasks */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Abstract ==&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Theory ===&lt;br /&gt;
The quasi-harmonic approximation expands upon the harmonic [[phonon]] model of lattice dynamics. The harmonic phonon model states that all interatomic forces are purely [[Harmonic Oscillator|harmonic]], but such a model is inadequate to explain [[thermal expansion]], as the equilibrium distance between atoms in such a model is independent of temperature.&lt;br /&gt;
&lt;br /&gt;
Thus in the quasi-harmonic model, from a phonon point of view, phonon frequencies become volume-dependent in the quasi-harmonic approximation, such that for each volume, the harmonic approximation holds.&lt;br /&gt;
&lt;br /&gt;
For a lattice, the Helmholtz free energy &#039;&#039;F&#039;&#039; in the quasi-harmonic approximation is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;F(T,V) = U(V) + E_{ZP}(V) - T S(T,V)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;U&#039;&#039; is the internal [[lattice energy]], &#039;&#039;E&amp;lt;sub&amp;gt;ZP&amp;lt;/sub&amp;gt;&#039;&#039; is the vibrational [[zero-point energy]] of the lattice, &#039;&#039;T&#039;&#039; is the absolute temperature, &#039;&#039;V&#039;&#039; is the volume and &#039;&#039;S&#039;&#039; is the [[entropy]] due to the vibrational degrees of freedom. The specific definition of the volume is of no particular importance, as long as the definition is used consistently throughout. It can be the volume per primitive unit cell, volume per conventional unit cell, or even molar volume. This choice does not affect the following in any way.&lt;br /&gt;
&lt;br /&gt;
The zero-point energy term equals&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; E_{ZP}(V) = \frac{1}{N} \sum_{\mathbf{k}, i} \frac{1}{2} h \nu_{\mathbf{k},i}(V) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;N&#039;&#039; is the number of terms in the sum, &#039;&#039;&#039;k&#039;&#039;&#039; is a [[wave vector]], &#039;&#039;i&#039;&#039; denotes a phonon band, &#039;&#039;h&#039;&#039; is [[Planck&#039;s constant]] and ν&amp;lt;sub&amp;gt;&#039;&#039;&#039;k&#039;&#039;&#039;,&#039;&#039;i&#039;&#039;&amp;lt;/sub&amp;gt;(V) is the frequency of a phonon with wave vector &#039;&#039;&#039;k&#039;&#039;&#039; in the &#039;&#039;i&#039;&#039;-th band at volume &#039;&#039;V&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
The entropy term equals&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S(V) = -\frac{1}{N} \sum_{\mathbf{k}, i} k_B \ln \left[ 1 - \exp\left( -\frac{h \nu_{\mathbf{k},i}(V)}{ k_BT }\right) \right] + \frac{1}{N} \sum_{\mathbf{k},i} k_B \frac{h \nu_{\mathbf{k},i}(V)}{k_B T} \left[ \exp\left( \frac{h \nu_{\mathbf{k},i}(V)}{ k_BT } \right) - 1 \right]^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;k&#039;&#039;&amp;lt;sub&amp;gt;B&amp;lt;/sub&amp;gt; is the [[Boltzmann constant]]. The frequency ν as a function of &#039;&#039;&#039;k&#039;&#039;&#039; is the [[dispersion relation]].  Note that for a constant value of &#039;&#039;V&#039;&#039;, these equations corresponds to that of the harmonic approximation.&lt;br /&gt;
&lt;br /&gt;
By applying a [[Legendre transform]], it is possible to obtain the [[Gibbs free energy]] &#039;&#039;G&#039;&#039; of the system as a function of temperature and pressure.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G(T,P) = \min_V \left[ U(V) + E_{ZP}(V) - T S(T,V) + P V \right]&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &#039;&#039;P&#039;&#039; is the pressure. The minimal value for &#039;&#039;G&#039;&#039; is found at the equilibrium volume for a given &#039;&#039;T&#039;&#039; and &#039;&#039;P&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The system used&lt;br /&gt;
&lt;br /&gt;
The methodology/theory used MOLECULAR DYNAMICS (MD) - Brillouin zones&lt;br /&gt;
&lt;br /&gt;
The aims of the exercise - To compare the to predict how the material expands when heated, to calculate the thermal expansion coefficient for MgO, to compute vibrational energy levels of MgO, to understand the phonon dispersion of a material, the vibrational density of state, to simulate the vibrations as random motions of atoms inside a cell, to compare QUASI-HARMONIC APPROXIMATION with MOLECULAR DYNAMICS results.&lt;br /&gt;
&lt;br /&gt;
The tools/programs in use - DLV&lt;br /&gt;
&lt;br /&gt;
The quasi-harmonic approximation for phonons builds upon the harmonic approximation for phonon dynamics, and therefore to explain the quasi-harmonic approximation we must first discuss the harmonic approximation&lt;br /&gt;
&lt;br /&gt;
For a regular, linear chain which is composed of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; number of particles, the forces between a pair of atoms can be assumed to be a potential energy function &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; which depends on the distance of the separation between the atoms. The main contributing forces to the potential are described by an electric force, such as electrostatic attractions, covalent bonds or Van der Waals forces. Therefore the potential energy of the entire lattice made up of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; atoms is the sum of the potential energies between each pair of atoms with a separation r from each other shown below in eq 1.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV(r)&amp;lt;/math&amp;gt;       &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, allowing each atom to deviate slightly from its equilibrium position by a displacement &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;, if the deviations are small in comparison to the distance between each atom &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;, the energy of this chain is able to be calculated via a taylor expansion summing over all of the atoms in the chain.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV + \sum_{s\ge 1} \frac {1}{s !} \frac {\partial^s V}{\partial u^s} \sum_{n}&lt;br /&gt;
 (u_n - u_{n+1})^s&amp;lt;/math&amp;gt;     &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;u_n&amp;lt;/math&amp;gt; is the displacement of the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;th atom from its equilibrium postition&lt;br /&gt;
&lt;br /&gt;
Two approximations are used in order to reach this equation, which together forms the harmonic approximation and it&#039;s respective equation. The first approximation states that the sum of the pair potential energies is completed over only neighboring atoms, as although there are electric forces between all atoms, these forces on atoms far away from one another are greatly diminished by screening by the atoms in between, and that the potential energies are treated as harmonic potential energies. In this equation, as the expansion was done around the equilibrium point, therefore the first derivative is zero, whereas higher order terms are not, and so the first term can be dropped, and the second term is used where &amp;lt;math&amp;gt;s = 2&amp;lt;/math&amp;gt;, with higher order terms being neglected. These higher order terms are ignored as harmonic equations of motion have exact solutions, while anharmonic equations do not have exact solutions to them and require more approximations. Thus the energy of the lattice is thus the same as the energy of the set of harmonic oscillators. The error in this equation remains small for small values of &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;&lt;br /&gt;
as the value of higher order terms will remain low.&lt;br /&gt;
CITE BOOK&lt;br /&gt;
&lt;br /&gt;
== Results and Discussion ==&lt;br /&gt;
&lt;br /&gt;
=== Phonon modes and Free Energy of MgO ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|[[File:Ft1015MgO_phonon_dispersion.PNG|500px|thumb|&#039;&#039;&#039;Figure 1&#039;&#039;&#039;: A phonon dispersion plot for MgO]]&lt;br /&gt;
|[[File:Ft1015MgO_DoS.PNG|500px|thumb|&#039;&#039;&#039;Figure 2&#039;&#039;&#039;: A plot of the density of states for MgO using a 1x1x1 grid size]]&lt;br /&gt;
|[[File:Ft1015MgO_DoS_20x20x20.PNG|500px|thumb|left|&#039;&#039;&#039;Figure 3&#039;&#039;&#039;: The optimised plot of the density of states for MgO using a 16x16x16 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From figures 1 and 2, we can see the computed phonon dispersion curve and density of states for a 1x1x1 grid size containing one k-point. Correlating the density of states with the dispersion curve via their shared axis of frequency of vibration yields the k-point L on the dispersion curve as the singular k-point used for the calculation. The density of states shows bands at 286 and 351 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 676 and 806 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, with the intensities of the first two bands double that of the final two bands. These bands correspond to three acoustic and three optical branches, with the first two bands of 0.333 intensity corresponding to a k-point where two branches are overlapping and are therefore degenerate states.&lt;br /&gt;
&lt;br /&gt;
Varying the grid size used for the calculation greatly affected the accuracy and precision of the results of calculations through increasing the number of k-points sampled in eq. 1ː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\omega ^{2}(k) = C(\frac{1}{M_{Mg}} + \frac{1}{M_{O}}) \pm \sqrt {(\frac{1}{M_{Mg}} + \frac{1}{M_{O}})^{2} - \frac{4sin^{2}(ka)}{M_{Mg}}}&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; is the spring force constant, &amp;lt;math&amp;gt;M_{Mg}&amp;lt;/math&amp;gt; is the molar mass of magnesium and &amp;lt;math&amp;gt;M_{O}&amp;lt;/math&amp;gt; is the molar mass of oxygen&lt;br /&gt;
&lt;br /&gt;
As the grid size increases, and thus the more k-points sampled, more and more features become visible, with the increase in number of points sampled along the dispersion curve leading to the increase in number of bands seen in the density of states. Optimising the grid size led to a grid size of 16x16x16 being optimal. As expected, the density of states plot produced from this grid size was smooth, as can be seen in figure 3. This curve was proved to be a good optimisation through looking at the Hemholtz free energy for each of the simulated grid sizes. As the accuracy of the Helmholtz free energy result directly depends on the number of k-space points sampled in the calculations as can be seen in eq. 2. Similarly to eq. 1, the larger the grid size, and therefore the more k-points sampled, the more accurate the result. Comparing the free energy of the 16x16x16 grid to the 32x32x32 grid; which for higher order grids remained constant and so had converged, the 16x16x16 was accurate to within 0.001 meV or 2.4434 × 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; %.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; F = E_0 + \frac {1}{2}\sum_{k,j}^{} \hbar \omega _k + k_B T \sum_{k,j}^{}ln(1-e^{\frac {-\hbar \omega _k }{k_B T}})&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;F&amp;lt;/math&amp;gt; is the Hemholtz free energy and &amp;lt;math&amp;gt;E_0&amp;lt;/math&amp;gt; is the lattice energy&lt;br /&gt;
&lt;br /&gt;
In comparison to smaller grid sizes, the 16x16x16 grid size curve appears more smooth, and more akin to a single band as seen for macrostructures. Larger grid sizes, while greatly increasing the computation time of the calculation did not largely increase the accuracy of the calculations as stated above, and therefore the 16x16x16 grid size was the optimal choice for these simulations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 1. Calculated Total Difference in Hemholtz Free Energy &lt;br /&gt;
! Grid Size&lt;br /&gt;
! Total Difference in Free Energy&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 3.818&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.126&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -0.051&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -0.033&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -0.001&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| -0.000&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| 0.000&lt;br /&gt;
|-&lt;br /&gt;
| 64&lt;br /&gt;
| 0.000&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Table 1 shows the difference between the calculated free energy for grid size and the final converged free energy. Looking at this, we can see that for grid sizes larger than 24x24x24, there is no change in the free energy of the system and so the free energy has converged to a minima, although it may not be the global minimum. The accuracy of simulations also increase rapidly with grid size, for example for accurate simulated energies to 1, 0.5 and 0.1 meV per cell, grid sizes of 2x2x2, 4x4x4 and 8x8x8 respectively can be used. This rapid increase in the accuracy of the calculation can be attributed to the large increase in k-points sampled over within the summations in eq. 2 with increasing grid size.&lt;br /&gt;
&lt;br /&gt;
However, the optimal grid size dependent on the material used due to the relationship between the lattice parameter, and the size of the first brillouin zone in k-space. For a similar oxide such as CaO, in comparsion to the lattice parameter of MgO of 4.212 Å &amp;lt;ref&amp;gt; A. CIMINO, P. PORTA and M. VALIGI, J. Am. Ceram. Soc, 1966, &#039;&#039;&#039;49&#039;&#039;&#039;, 152–156 &amp;lt;/ref&amp;gt;, the parameter of CaO is 4.864 Å &amp;lt;ref&amp;gt;Mackrodt, W. C., Harrison, N. M., Saunders, V. R., Allan, N. L. and Towler, M. D., Aprà, E., Dovesi, R., Philos. Mag. A, 1993 , &#039;&#039;&#039;68&#039;&#039;&#039;, 653-666 &amp;lt;/ref&amp;gt;, slightly larger than that of MgO. This leads to a slightly smaller grid size being optimal, as the larger lattice parameter leads to a smaller brillouin zone in reciprocal space as if the lattice parameter &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; is larger, then the size of the first brillouin zone &amp;lt;math&amp;gt;a^{*}= \frac {2 \pi}{a} &amp;lt;/math&amp;gt;will be smaller. This in turn allows less points to be sampled inside the region to give the same spacing of points, and therefore accuracy for the density of states as for MgO. Similarly, the zeolite faujsite has an extremely large lattice parameter of 25.132 Å &amp;lt;ref&amp;gt;E. Dempsey, G. H. Kuhl, and D. H. Olson, Phys. Chem., 1969, &#039;&#039;&#039;73&#039;&#039;&#039;, 387–390 &amp;lt;/ref&amp;gt;, in comparison to MgO. This; as with the case of CaO but more exaggerated, leads to a much smaller brillouin zone in reciprocal space, and so allows for a much smaller grid size to give the same accuracy as the MgO calculation due to the extremely small value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; obtained for faujsite.&lt;br /&gt;
Conversely, lithium has a smaller lattice spacing of 3.51 Å &amp;lt;ref&amp;gt;M.R. Nadler and C.P. Kempfer, Anal. Chem., 1959, &#039;&#039;&#039;31&#039;&#039;&#039;, 2109-2111&amp;lt;/ref&amp;gt;. Therefore the value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; for lithium will be larger than for MgO, and so require a larger grid size to obtain the same spacing between sampled k-space points and therefore accuracy of the calculated density of states.&lt;br /&gt;
&lt;br /&gt;
=== Thermal Expansion of MgO ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
||[[File:Ft1015Latticeparametervskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 4&#039;&#039;&#039;: A plot of lattice parameter against temperature for MgO]]&lt;br /&gt;
|[[File:Ft1015Latticevolumevskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 5&#039;&#039;&#039;: A plot of lattice volume against temperature for MgO, with the magenta line on the graph corresponding to the polynomial fit for the graph, and the red point the points which were not fitted over]]&lt;br /&gt;
|[[File:Ft1015Hemholtzvskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 6&#039;&#039;&#039;: A plot of free energy against temperature for MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The physical origin of thermal expansion for a solid lattice arises from the increase of kinetic energy of a material with an increase in temperature. All atoms within a lattice vibrate and move about their positions within the lattice and with an increase in temperature, each atom in the lattice gains kinetic energy, increasing the strength of its vibrations and the speed at which the atoms move. Due to this, the atoms on average take up more space at higher temperatures than lower temperatures and so averaged out over many atoms in a lattice, this increases the volume of the lattice.&lt;br /&gt;
&lt;br /&gt;
Figures 4 &amp;amp; 5 show the effect of change on temperature on the lattice parameter and volume of MgO in the range of 50-2900 K. As we can seen from the figures, from 50-400 K, a change in temperature does not largely increase the volume, while above 400 K the trend seems to be linear with respect to volume increase through an increase in temperature. This is however not the case at higher temperatures above 2200 K where the trend is more polynomial in nature.&lt;br /&gt;
&lt;br /&gt;
Figure 6 shows the effect of change in temperature on the Hemholtz free energy of MgO. From 50-400 K, the dominating term for the free energy is the zero point energy, and thus a change in temperature does not greatly change the free energy of the lattice and so volume changes at low temperatures are minimal. At temperatures above 2200 K not only is the entropic term completely dominating all other terms for the free energy, but also higher order anharmonic terms for the free energy that were excluded in the harmonic approximation part of the equation begin to play a large role in the free energy. This leads to the gradient no longer being linear. &amp;lt;ref&amp;gt;Masanori Matsui, Geoffrey D. Price and Atul Patel, Geophys. Res. Lett., 1994, &#039;&#039;&#039;21&#039;&#039;&#039;,  1659-1662 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The thermal expansion coefficients for MgO can be calculated through using the gradient &amp;lt;math&amp;gt; (\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt; at a specific value of &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; in the equationː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \alpha = \frac{1}{V_i} (\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt;   &amp;lt;math&amp;gt;(3)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt; \alpha &amp;lt;/math&amp;gt; is the coefficient of thermal expansion and &amp;lt;math&amp;gt;V_i&amp;lt;/math&amp;gt; is the volume of the lattice at 0 K, and &amp;lt;math&amp;gt;(\frac{\partial V}{\partial T})_p =6.16898 \times 10^{-7} T + 0.00118&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Table 2 displays thermal expansion coefficients for the polynomial fit of MgO, alongside the temperature range that the fit was made over.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 2. Calculated Linear fit Thermal Expansion Coefficients for MgO&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| 50 K&lt;br /&gt;
| 16.44165152&lt;br /&gt;
&lt;br /&gt;
| 1500 K&lt;br /&gt;
|40.13048558&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 100 K&lt;br /&gt;
| 17.25850787&lt;br /&gt;
&lt;br /&gt;
| 1600 K&lt;br /&gt;
| 41.76419827&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 200 K&lt;br /&gt;
| 18.89222056&lt;br /&gt;
&lt;br /&gt;
| 1700 K&lt;br /&gt;
|43.39791096&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 300 K&lt;br /&gt;
| 20.52593325&lt;br /&gt;
&lt;br /&gt;
| 1800 K&lt;br /&gt;
|45.03162366&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 400 K&lt;br /&gt;
| 22.15964595&lt;br /&gt;
&lt;br /&gt;
| 1900 K&lt;br /&gt;
|46.66533635&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 500 K&lt;br /&gt;
| 23.79335864&lt;br /&gt;
&lt;br /&gt;
| 2000 K&lt;br /&gt;
|48.29904905&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 600 K&lt;br /&gt;
| 25.42707133&lt;br /&gt;
&lt;br /&gt;
| 2100 K&lt;br /&gt;
|49.93276174&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 700 K&lt;br /&gt;
| 27.06078403&lt;br /&gt;
&lt;br /&gt;
| 2200 K&lt;br /&gt;
|51.56647443&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 800 K&lt;br /&gt;
| 28.69449672&lt;br /&gt;
&lt;br /&gt;
| 2300 K&lt;br /&gt;
|53.20018713&lt;br /&gt;
|-&lt;br /&gt;
| 900 K&lt;br /&gt;
| 30.32820942&lt;br /&gt;
&lt;br /&gt;
| 2400 K&lt;br /&gt;
|54.83389982&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1000 K&lt;br /&gt;
| 31.96192211&lt;br /&gt;
&lt;br /&gt;
| 2500 K&lt;br /&gt;
|56.46761251&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1100 K&lt;br /&gt;
| 33.5956348&lt;br /&gt;
&lt;br /&gt;
| 2600 K&lt;br /&gt;
|58.10132521&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1200 K&lt;br /&gt;
| 35.2293475&lt;br /&gt;
&lt;br /&gt;
| 2700 K&lt;br /&gt;
|59.7350379&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1300 K&lt;br /&gt;
| 36.86306019&lt;br /&gt;
&lt;br /&gt;
| 2800 K&lt;br /&gt;
|61.3687506&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1400 K&lt;br /&gt;
| 38.49677288&lt;br /&gt;
&lt;br /&gt;
| 2900 K&lt;br /&gt;
|63.00246329&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As we can see from the table of results, the coefficient of thermal expansion is not independent of temperature, but changes with it. In comparison to literature values&amp;lt;ref&amp;gt;A. S. Madhusudhan Rao and K. Narender, J. Chem. Thermodyn, 2014, &#039;&#039;&#039;2014&#039;&#039;&#039;, 8&amp;lt;/ref&amp;gt;, at 300 K the data obtained through this experiment largely agrees with the literature data of a value for the thermal expansion coefficient of 11.91 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Deviations from the literature values can be attributed to shortcomings of the quasi-harmonic oscillator approximation. The main approximation being that the oscillations of the atoms about their equilibrium positions are small, which for higher energy phonon modes is not representative of those modes. Therefore it is seen that the difference in our calculated values to that of literature values increases as the temperature increases such as a literature value of 14.17 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 1250 K, compared to a calculated value of 35.23 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At temperatures above the melting point of MgO - 2825 °C &amp;lt;ref&amp;gt; Haynes, William M., CRC Handbook of Chemistry and Physics (92nd ed.), Boca Raton, CRC Press., 2011&amp;lt;/ref&amp;gt; - the phonon modes of MgO are not accurate represented. This is due to the fact that above this temperature MgO melts from a solid to a liquid, and thus the approximation that the solid is a perfect lattice breaks down. This means that for temperatures near to or above 2825 °C the data is not representative of the true phonon modes as a solid is being simulated whereas in reality the material is already is a liquid and so solid phonon modes cannot describe the liquid modes.&lt;br /&gt;
&lt;br /&gt;
Although the quasi-harmonic approximation breaks down at higher temperatures, unlike other approximations such as the harmonic approximation, it can be used to model thermal expansion. Consider a diatomic harmonic oscillator, with an increase in temperature the strength of oscillation will increase, but in equal proportions relating to lengthening and contracting of the bond due to the nature of a harmonic potential. This leads to an increase in temperature not changing the equilibrium bond length and thus thermal expansion cannot be modelled. The quasi-harmonic approximation takes into account some of the anharmonic nature of the true bond and so allows thermal expansion to be modelled. This can be visualised through viewing a morse potential. A contraction of bond length in a morse potential require a much larger amount of energy than an increase in bond length, therefore at higher temperatures and so higher energies, while the bond length maximum will largely increase, the minimum bond length will change only slightly, thus on average the bond length will have lengthened. This leads to an increase in equilibrium bond length, and so applying this so a lattice leads to an increase in volume of the lattice.&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
== References ==&lt;/div&gt;</summary>
		<author><name>Ft1015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=652123</id>
		<title>Rep:FabianThomasThirdYearMgOSimulation</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=652123"/>
		<updated>2017-12-17T19:15:41Z</updated>

		<summary type="html">&lt;p&gt;Ft1015: /* Thermal Expansion of MgO */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Abstract ==&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Theory ===&lt;br /&gt;
The quasi-harmonic approximation expands upon the harmonic [[phonon]] model of lattice dynamics. The harmonic phonon model states that all interatomic forces are purely [[Harmonic Oscillator|harmonic]], but such a model is inadequate to explain [[thermal expansion]], as the equilibrium distance between atoms in such a model is independent of temperature.&lt;br /&gt;
&lt;br /&gt;
Thus in the quasi-harmonic model, from a phonon point of view, phonon frequencies become volume-dependent in the quasi-harmonic approximation, such that for each volume, the harmonic approximation holds.&lt;br /&gt;
&lt;br /&gt;
For a lattice, the Helmholtz free energy &#039;&#039;F&#039;&#039; in the quasi-harmonic approximation is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;F(T,V) = U(V) + E_{ZP}(V) - T S(T,V)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;U&#039;&#039; is the internal [[lattice energy]], &#039;&#039;E&amp;lt;sub&amp;gt;ZP&amp;lt;/sub&amp;gt;&#039;&#039; is the vibrational [[zero-point energy]] of the lattice, &#039;&#039;T&#039;&#039; is the absolute temperature, &#039;&#039;V&#039;&#039; is the volume and &#039;&#039;S&#039;&#039; is the [[entropy]] due to the vibrational degrees of freedom. The specific definition of the volume is of no particular importance, as long as the definition is used consistently throughout. It can be the volume per primitive unit cell, volume per conventional unit cell, or even molar volume. This choice does not affect the following in any way.&lt;br /&gt;
&lt;br /&gt;
The zero-point energy term equals&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; E_{ZP}(V) = \frac{1}{N} \sum_{\mathbf{k}, i} \frac{1}{2} h \nu_{\mathbf{k},i}(V) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;N&#039;&#039; is the number of terms in the sum, &#039;&#039;&#039;k&#039;&#039;&#039; is a [[wave vector]], &#039;&#039;i&#039;&#039; denotes a phonon band, &#039;&#039;h&#039;&#039; is [[Planck&#039;s constant]] and ν&amp;lt;sub&amp;gt;&#039;&#039;&#039;k&#039;&#039;&#039;,&#039;&#039;i&#039;&#039;&amp;lt;/sub&amp;gt;(V) is the frequency of a phonon with wave vector &#039;&#039;&#039;k&#039;&#039;&#039; in the &#039;&#039;i&#039;&#039;-th band at volume &#039;&#039;V&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
The entropy term equals&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S(V) = -\frac{1}{N} \sum_{\mathbf{k}, i} k_B \ln \left[ 1 - \exp\left( -\frac{h \nu_{\mathbf{k},i}(V)}{ k_BT }\right) \right] + \frac{1}{N} \sum_{\mathbf{k},i} k_B \frac{h \nu_{\mathbf{k},i}(V)}{k_B T} \left[ \exp\left( \frac{h \nu_{\mathbf{k},i}(V)}{ k_BT } \right) - 1 \right]^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;k&#039;&#039;&amp;lt;sub&amp;gt;B&amp;lt;/sub&amp;gt; is the [[Boltzmann constant]]. The frequency ν as a function of &#039;&#039;&#039;k&#039;&#039;&#039; is the [[dispersion relation]].  Note that for a constant value of &#039;&#039;V&#039;&#039;, these equations corresponds to that of the harmonic approximation.&lt;br /&gt;
&lt;br /&gt;
By applying a [[Legendre transform]], it is possible to obtain the [[Gibbs free energy]] &#039;&#039;G&#039;&#039; of the system as a function of temperature and pressure.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G(T,P) = \min_V \left[ U(V) + E_{ZP}(V) - T S(T,V) + P V \right]&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &#039;&#039;P&#039;&#039; is the pressure. The minimal value for &#039;&#039;G&#039;&#039; is found at the equilibrium volume for a given &#039;&#039;T&#039;&#039; and &#039;&#039;P&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The system used&lt;br /&gt;
&lt;br /&gt;
The methodology/theory used MOLECULAR DYNAMICS (MD) - Brillouin zones&lt;br /&gt;
&lt;br /&gt;
The aims of the exercise - To compare the to predict how the material expands when heated, to calculate the thermal expansion coefficient for MgO, to compute vibrational energy levels of MgO, to understand the phonon dispersion of a material, the vibrational density of state, to simulate the vibrations as random motions of atoms inside a cell, to compare QUASI-HARMONIC APPROXIMATION with MOLECULAR DYNAMICS results.&lt;br /&gt;
&lt;br /&gt;
The tools/programs in use - DLV&lt;br /&gt;
&lt;br /&gt;
The quasi-harmonic approximation for phonons builds upon the harmonic approximation for phonon dynamics, and therefore to explain the quasi-harmonic approximation we must first discuss the harmonic approximation&lt;br /&gt;
&lt;br /&gt;
For a regular, linear chain which is composed of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; number of particles, the forces between a pair of atoms can be assumed to be a potential energy function &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; which depends on the distance of the separation between the atoms. The main contributing forces to the potential are described by an electric force, such as electrostatic attractions, covalent bonds or Van der Waals forces. Therefore the potential energy of the entire lattice made up of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; atoms is the sum of the potential energies between each pair of atoms with a separation r from each other shown below in eq 1.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV(r)&amp;lt;/math&amp;gt;       &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, allowing each atom to deviate slightly from its equilibrium position by a displacement &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;, if the deviations are small in comparison to the distance between each atom &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;, the energy of this chain is able to be calculated via a taylor expansion summing over all of the atoms in the chain.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV + \sum_{s\ge 1} \frac {1}{s !} \frac {\partial^s V}{\partial u^s} \sum_{n}&lt;br /&gt;
 (u_n - u_{n+1})^s&amp;lt;/math&amp;gt;     &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;u_n&amp;lt;/math&amp;gt; is the displacement of the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;th atom from its equilibrium postition&lt;br /&gt;
&lt;br /&gt;
Two approximations are used in order to reach this equation, which together forms the harmonic approximation and it&#039;s respective equation. The first approximation states that the sum of the pair potential energies is completed over only neighboring atoms, as although there are electric forces between all atoms, these forces on atoms far away from one another are greatly diminished by screening by the atoms in between, and that the potential energies are treated as harmonic potential energies. In this equation, as the expansion was done around the equilibrium point, therefore the first derivative is zero, whereas higher order terms are not, and so the first term can be dropped, and the second term is used where &amp;lt;math&amp;gt;s = 2&amp;lt;/math&amp;gt;, with higher order terms being neglected. These higher order terms are ignored as harmonic equations of motion have exact solutions, while anharmonic equations do not have exact solutions to them and require more approximations. Thus the energy of the lattice is thus the same as the energy of the set of harmonic oscillators. The error in this equation remains small for small values of &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;&lt;br /&gt;
as the value of higher order terms will remain low.&lt;br /&gt;
CITE BOOK&lt;br /&gt;
&lt;br /&gt;
== Results and Discussion ==&lt;br /&gt;
&lt;br /&gt;
=== Phonon modes and Free Energy of MgO ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|[[File:Ft1015MgO_phonon_dispersion.PNG|500px|thumb|&#039;&#039;&#039;Figure 1&#039;&#039;&#039;: A phonon dispersion plot for MgO]]&lt;br /&gt;
|[[File:Ft1015MgO_DoS.PNG|500px|thumb|&#039;&#039;&#039;Figure 2&#039;&#039;&#039;: A plot of the density of states for MgO using a 1x1x1 grid size]]&lt;br /&gt;
|[[File:Ft1015MgO_DoS_20x20x20.PNG|500px|thumb|left|&#039;&#039;&#039;Figure 3&#039;&#039;&#039;: The optimised plot of the density of states for MgO using a 16x16x16 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From figures 1 and 2, we can see the computed phonon dispersion curve and density of states for a 1x1x1 grid size containing one k-point. Correlating the density of states with the dispersion curve via their shared axis of frequency of vibration yields the k-point L on the dispersion curve as the singular k-point used for the calculation. The density of states shows bands at 286 and 351 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 676 and 806 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, with the intensities of the first two bands double that of the final two bands. These bands correspond to three acoustic and three optical branches, with the first two bands of 0.333 intensity corresponding to a k-point where two branches are overlapping and are therefore degenerate states.&lt;br /&gt;
&lt;br /&gt;
Varying the grid size used for the calculation greatly affected the accuracy and precision of the results of calculations through increasing the number of k-points sampled in eq. 1ː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\omega ^{2}(k) = C(\frac{1}{M_{Mg}} + \frac{1}{M_{O}}) \pm \sqrt {(\frac{1}{M_{Mg}} + \frac{1}{M_{O}})^{2} - \frac{4sin^{2}(ka)}{M_{Mg}}}&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; is the spring force constant, &amp;lt;math&amp;gt;M_{Mg}&amp;lt;/math&amp;gt; is the molar mass of magnesium and &amp;lt;math&amp;gt;M_{O}&amp;lt;/math&amp;gt; is the molar mass of oxygen&lt;br /&gt;
&lt;br /&gt;
As the grid size increases, and thus the more k-points sampled, more and more features become visible, with the increase in number of points sampled along the dispersion curve leading to the increase in number of bands seen in the density of states. Optimising the grid size led to a grid size of 16x16x16 being optimal. As expected, the density of states plot produced from this grid size was smooth, as can be seen in figure 3. This curve was proved to be a good optimisation through looking at the Hemholtz free energy for each of the simulated grid sizes. As the accuracy of the Helmholtz free energy result directly depends on the number of k-space points sampled in the calculations as can be seen in eq. 2. Similarly to eq. 1, the larger the grid size, and therefore the more k-points sampled, the more accurate the result. Comparing the free energy of the 16x16x16 grid to the 32x32x32 grid; which for higher order grids remained constant and so had converged, the 16x16x16 was accurate to within 0.001 meV or 2.4434 × 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; %.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; F = E_0 + \frac {1}{2}\sum_{k,j}^{} \hbar \omega _k + k_B T \sum_{k,j}^{}ln(1-e^{\frac {-\hbar \omega _k }{k_B T}})&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;F&amp;lt;/math&amp;gt; is the Hemholtz free energy and &amp;lt;math&amp;gt;E_0&amp;lt;/math&amp;gt; is the lattice energy&lt;br /&gt;
&lt;br /&gt;
In comparison to smaller grid sizes, the 16x16x16 grid size curve appears more smooth, and more akin to a single band as seen for macrostructures. Larger grid sizes, while greatly increasing the computation time of the calculation did not largely increase the accuracy of the calculations as stated above, and therefore the 16x16x16 grid size was the optimal choice for these simulations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 1. Calculated Total Difference in Hemholtz Free Energy &lt;br /&gt;
! Grid Size&lt;br /&gt;
! Total Difference in Free Energy&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 3.818&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.126&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -0.051&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -0.033&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -0.001&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| -0.000&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| 0.000&lt;br /&gt;
|-&lt;br /&gt;
| 64&lt;br /&gt;
| 0.000&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Table 1 shows the difference between the calculated free energy for grid size and the final converged free energy. Looking at this, we can see that for grid sizes larger than 24x24x24, there is no change in the free energy of the system and so the free energy has converged to a minima, although it may not be the global minimum. The accuracy of simulations also increase rapidly with grid size, for example for accurate simulated energies to 1, 0.5 and 0.1 meV per cell, grid sizes of 2x2x2, 4x4x4 and 8x8x8 respectively can be used. This rapid increase in the accuracy of the calculation can be attributed to the large increase in k-points sampled over within the summations in eq. 2 with increasing grid size.&lt;br /&gt;
&lt;br /&gt;
However, the optimal grid size dependent on the material used due to the relationship between the lattice parameter, and the size of the first brillouin zone in k-space. For a similar oxide such as CaO, in comparsion to the lattice parameter of MgO of 4.212 Å &amp;lt;ref&amp;gt; A. CIMINO, P. PORTA and M. VALIGI, J. Am. Ceram. Soc, 1966, &#039;&#039;&#039;49&#039;&#039;&#039;, 152–156 &amp;lt;/ref&amp;gt;, the parameter of CaO is 4.864 Å &amp;lt;ref&amp;gt;Mackrodt, W. C., Harrison, N. M., Saunders, V. R., Allan, N. L. and Towler, M. D., Aprà, E., Dovesi, R., Philos. Mag. A, 1993 , &#039;&#039;&#039;68&#039;&#039;&#039;, 653-666 &amp;lt;/ref&amp;gt;, slightly larger than that of MgO. This leads to a slightly smaller grid size being optimal, as the larger lattice parameter leads to a smaller brillouin zone in reciprocal space as if the lattice parameter &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; is larger, then the size of the first brillouin zone &amp;lt;math&amp;gt;a^{*}= \frac {2 \pi}{a} &amp;lt;/math&amp;gt;will be smaller. This in turn allows less points to be sampled inside the region to give the same spacing of points, and therefore accuracy for the density of states as for MgO. Similarly, the zeolite faujsite has an extremely large lattice parameter of 25.132 Å &amp;lt;ref&amp;gt;E. Dempsey, G. H. Kuhl, and D. H. Olson, Phys. Chem., 1969, &#039;&#039;&#039;73&#039;&#039;&#039;, 387–390 &amp;lt;/ref&amp;gt;, in comparison to MgO. This; as with the case of CaO but more exaggerated, leads to a much smaller brillouin zone in reciprocal space, and so allows for a much smaller grid size to give the same accuracy as the MgO calculation due to the extremely small value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; obtained for faujsite.&lt;br /&gt;
Conversely, lithium has a smaller lattice spacing of 3.51 Å &amp;lt;ref&amp;gt;M.R. Nadler and C.P. Kempfer, Anal. Chem., 1959, &#039;&#039;&#039;31&#039;&#039;&#039;, 2109-2111&amp;lt;/ref&amp;gt;. Therefore the value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; for lithium will be larger than for MgO, and so require a larger grid size to obtain the same spacing between sampled k-space points and therefore accuracy of the calculated density of states.&lt;br /&gt;
&lt;br /&gt;
=== Thermal Expansion of MgO ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
||[[File:Ft1015Latticeparametervskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 4&#039;&#039;&#039;: A plot of lattice parameter against temperature for MgO]]&lt;br /&gt;
|[[File:Ft1015Latticevolumevskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 5&#039;&#039;&#039;: A plot of lattice volume against temperature for MgO, with the magenta line on the graph corresponding to the polynomial fit for the graph, and the red point the points which were not fitted over]]&lt;br /&gt;
|[[File:Ft1015Hemholtzvskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 6&#039;&#039;&#039;: A plot of free energy against temperature for MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The physical origin of thermal expansion for a solid lattice arises from the increase of kinetic energy of a material with an increase in temperature. All atoms within a lattice vibrate and move about their positions within the lattice and with an increase in temperature, each atom in the lattice gains kinetic energy, increasing the strength of its vibrations and the speed at which the atoms move. Due to this, the atoms on average take up more space at higher temperatures than lower temperatures and so averaged out over many atoms in a lattice, this increases the volume of the lattice.&lt;br /&gt;
&lt;br /&gt;
Figures 4 &amp;amp; 5 show the effect of change on temperature on the lattice parameter and volume of MgO in the range of 50-2900 K. As we can seen from the figures, from 50-400 K, a change in temperature does not largely increase the volume, while above 400 K the trend seems to be linear with respect to volume increase through an increase in temperature. This is however not the case at higher temperatures above 2200 K where the trend is more polynomial in nature.&lt;br /&gt;
&lt;br /&gt;
Figure 6 shows the effect of change in temperature on the Hemholtz free energy of MgO. From 50-400 K, the dominating term for the free energy is the zero point energy, and thus a change in temperature does not greatly change the free energy of the lattice and so volume changes at low temperatures are minimal. At temperatures above 2200 K not only is the entropic term completely dominating all other terms for the free energy, but also higher order anharmonic terms for the free energy that were excluded in the harmonic approximation part of the equation begin to play a large role in the free energy. This leads to the gradient no longer being linear. &amp;lt;ref&amp;gt;Masanori Matsui, Geoffrey D. Price and Atul Patel, Geophys. Res. Lett., 1994, &#039;&#039;&#039;21&#039;&#039;&#039;,  1659-1662 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The thermal expansion coefficients for MgO can be calculated through using the gradient &amp;lt;math&amp;gt; (\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt; at a specific value of &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; in the equationː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \alpha = \frac{1}{V_i} (\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt;   &amp;lt;math&amp;gt;(3)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt; \alpha &amp;lt;/math&amp;gt; is the coefficient of thermal expansion and &amp;lt;math&amp;gt;V_i&amp;lt;/math&amp;gt; is the volume of the lattice at 0 K, and &amp;lt;math&amp;gt;(\frac{\partial V}{\partial T})_p =6.16898 \times 10^{-7} T + 0.00118&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Table 2 displays thermal expansion coefficients for the polynomial fit of MgO, alongside the temperature range that the fit was made over.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 2. Calculated Linear fit Thermal Expansion Coefficients for MgO&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| 50 K&lt;br /&gt;
| 16.44165152&lt;br /&gt;
&lt;br /&gt;
| 1500 K&lt;br /&gt;
|40.13048558&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 100 K&lt;br /&gt;
| 17.25850787&lt;br /&gt;
&lt;br /&gt;
| 1600 K&lt;br /&gt;
| 41.76419827&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 200 K&lt;br /&gt;
| 18.89222056&lt;br /&gt;
&lt;br /&gt;
| 1700 K&lt;br /&gt;
|43.39791096&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 300 K&lt;br /&gt;
| 20.52593325&lt;br /&gt;
&lt;br /&gt;
| 1800 K&lt;br /&gt;
|45.03162366&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 400 K&lt;br /&gt;
| 22.15964595&lt;br /&gt;
&lt;br /&gt;
| 1900 K&lt;br /&gt;
|46.66533635&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 500 K&lt;br /&gt;
| 23.79335864&lt;br /&gt;
&lt;br /&gt;
| 2000 K&lt;br /&gt;
|48.29904905&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 600 K&lt;br /&gt;
| 25.42707133&lt;br /&gt;
&lt;br /&gt;
| 2100 K&lt;br /&gt;
|49.93276174&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 700 K&lt;br /&gt;
| 27.06078403&lt;br /&gt;
&lt;br /&gt;
| 2200 K&lt;br /&gt;
|51.56647443&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 800 K&lt;br /&gt;
| 28.69449672&lt;br /&gt;
&lt;br /&gt;
| 2300 K&lt;br /&gt;
|53.20018713&lt;br /&gt;
|-&lt;br /&gt;
| 900 K&lt;br /&gt;
| 30.32820942&lt;br /&gt;
&lt;br /&gt;
| 2400 K&lt;br /&gt;
|54.83389982&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1000 K&lt;br /&gt;
| 31.96192211&lt;br /&gt;
&lt;br /&gt;
| 2500 K&lt;br /&gt;
|56.46761251&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1100 K&lt;br /&gt;
| 33.5956348&lt;br /&gt;
&lt;br /&gt;
| 2600 K&lt;br /&gt;
|58.10132521&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1200 K&lt;br /&gt;
| 35.2293475&lt;br /&gt;
&lt;br /&gt;
| 2700 K&lt;br /&gt;
|59.7350379&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1300 K&lt;br /&gt;
| 36.86306019&lt;br /&gt;
&lt;br /&gt;
| 2800 K&lt;br /&gt;
|61.3687506&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1400 K&lt;br /&gt;
| 38.49677288&lt;br /&gt;
&lt;br /&gt;
| 2900 K&lt;br /&gt;
|63.00246329&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As we can see from the table of results, the coefficient of thermal expansion is not independent of temperature, but changes with it. In comparison to literature values&amp;lt;ref&amp;gt;A. S. Madhusudhan Rao and K. Narender, J. Chem. Thermodyn, 2014, &#039;&#039;&#039;2014&#039;&#039;&#039;, 8&amp;lt;/ref&amp;gt;, at 300 K the data obtained through this experiment largely agrees with the literature data of a value for the thermal expansion coefficient of 11.91 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Deviations from the literature values can be attributed to shortcomings of the quasi-harmonic oscillator approximation. The main approximation being that the oscillations of the atoms about their equilibrium positions are small, which for higher energy phonon modes is not representative of those modes. Therefore it is seen that the difference in our calculated values to that of literature values increases as the temperature increases such as a literature value of 14.17 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; at 1250 K, compared to a calculated value of 35.23 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At temperatures above the melting point of MgO - 2825 °C &amp;lt;ref&amp;gt; Haynes, William M., CRC Handbook of Chemistry and Physics (92nd ed.), Boca Raton, CRC Press., 2011&amp;lt;/ref&amp;gt; - the phonon modes of MgO are not accurate represented. This is due to the fact that above this temperature MgO melts from a solid to a liquid, and thus the approximation that the solid is a perfect lattice breaks down. This means that for temperatures near to or above 2825 °C the data is not representative of the true phonon modes as a solid is being simulated whereas in reality the material is already is a liquid and so solid phonon modes cannot describe the liquid modes.&lt;br /&gt;
&lt;br /&gt;
Although the quasi-harmonic approximation breaks down at higher temperatures, unlike other approximations such as the harmonic approximation, it can be used to model thermal expansion. Consider a diatomic harmonic oscillator, with an increase in temperature the strength of oscillation will increase, but in equal proportions relating to lengthening and contracting of the bond due to the nature of a harmonic potential. This leads to an increase in temperature not changing the equilibrium bond length and thus thermal expansion cannot be modelled. The quasi-harmonic approximation takes into account some of the anharmonic nature of the true bond and so allows thermal expansion to be modelled. This can be visualised through viewing a morse potential. A contraction of bond length in a morse potential require a much larger amount of energy than an increase in bond length, therefore at higher temperatures and so higher energies, while the bond length maximum will largely increase, the minimum bond length will change only slightly, thus on average the bond length will have lengthened. This leads to an increase in equilibrium bond length, and so applying this so a lattice leads to an increase in volume of the lattice.&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
== Tasks ==&lt;br /&gt;
&lt;br /&gt;
=== Calculating the phonon modes of MgO ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The density of states for 1x1x1 grid was computed for a single k-point. Can you work out which k-point by examining the dispersion curves ? look in the Log File to check.&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Through correlating the DoS for the single k-point with the dispersion curve, the k-point that was used can be found. The DoS shows bands at 286 and 351 cm-1 with intensities of 0.333, and bands at 676 and 806 cm-1 with intensities half that of the first two bands. These points can be seen to correspond to the L k-point on the dispersion curve. This k-point shows three acoustic and optical branches, with the first two points of 0.333 intensity corresponding to a point where two branches are overlapping.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does the density of states vary with grid size ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The increase in number of points sampled along the dispersion curve leads to the increase in number of bands seen in the DoS, and ac. The DoS becomes more spread out as the number of sampled points increases increases, as with a larger grid size, more vibrations are sampled and thus more features appear in the dispersion.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;As the grid size increases more and more of the possible vibrations are sampled and more features appear - which grid size is the minimum for a reasonable approximation to the density of states ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
A grid size of 16x16x16 was found to be the optimal grid size. As expected, the DoS curve produced from this grid size was smooth. This curve was proved to be a good optimization through looking at the Hemholtz free energy for each of the simulated grid sizes. As the accuracy of the Hemholtz free energy result directly depends on the number of k-space points summed over in the calculations, the larger the grid size, and therefore the large the number of k-points summed over, the more accurate the result. Comparing the 16x16x16 to the 32x32x32 grid; which on higher order grids did not change the free energy and therefore was the best approximation, the 16x16x16 was accurate to within 0.001 meV or 2.4434 × 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; %&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does the density of states computed at this optimal grid size compare to that computed for smaller and larger grids ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
At this grid size of 16x16x16, compared to grids that are smaller it appears more smooth, and similar to a single band for a macrostructure. Larger grid sizes increase the smoothness of the band &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How is the density of states related to the dispersion curves ?&#039;&#039;&#039;&lt;br /&gt;
Both the DoS and dispersion curves are plotted with one axis being energy; or in this case frequency of vibration, and so can be related. Through potting both the DoS and dispersion curves on the same axis one can see the relationship between the DoS and dispersion&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Would this optimal grid size for MgO (4.212 Å &amp;lt;ref&amp;gt; A. CIMINO, P. PORTA and M. VALIGI, J. Am. Ceram. Soc, 1966, &#039;&#039;&#039;49&#039;&#039;&#039;, 152–156 &amp;lt;/ref&amp;gt;)be appropriate for a calculation on;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a similar oxide (eg: CaO) ?&#039;&#039;&#039;&lt;br /&gt;
CaO has a lattice parameter of 4.864 Å &amp;lt;ref&amp;gt;Mackrodt, W. C., Harrison, N. M., Saunders, V. R., Allan, N. L. and Towler, M. D., Aprà, E., Dovesi, R., Philos. Mag. A, 1993 , &#039;&#039;&#039;68&#039;&#039;&#039;, 653-666 &amp;lt;/ref&amp;gt;, slightly larger than that of MgO. This leads to a slightly smaller grid size being optimal, as the larger lattice parameter leads to a smaller brillouin zone in reciprocal space as if the lattice parameter &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; in the range of  &amp;lt;math&amp;gt; [0, \frac{\pi}{a}]&amp;lt;/math&amp;gt; is larger, then the range will be smaller. This in turn allows less points to be sampled inside the region to give the same spacing of points, and therefore accuracy for the DoS as for MgO.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a Zeolite (eg: Faujasite) ?&#039;&#039;&#039;&lt;br /&gt;
Faujsite has an extremely large lattice parameter of 25.132 Å &amp;lt;ref&amp;gt;E. Dempsey, G. H. Kuhl, and D. H. Olson, Phys. Chem., 1969, &#039;&#039;&#039;73&#039;&#039;&#039;, 387–390 &amp;lt;/ref&amp;gt;, in comparison to MgO (4.212 Å). This; as with the case of CaO but more exaggerated, leads to a much smaller brillouin zone in reciprocal space, and so allows for a much smaller grid size to give the same accuracy as the MgO DoS calculation&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a metal (eg: lithium) ?&#039;&#039;&#039;&lt;br /&gt;
In comparison to MgO, CaO and Faujsite, Lithium has a smaller lattice spacing of 3.51 Å &amp;lt;ref&amp;gt;M.R. Nadler and C.P. Kempfer, Anal. Chem., 1959, &#039;&#039;&#039;31&#039;&#039;&#039;, 2109-2111&amp;lt;/ref&amp;gt;. Therefore the brillouin zone &amp;lt;math&amp;gt; [0, \frac{\pi}{a}] &amp;lt;/math&amp;gt; for Lithium will be larger than for MgO, and so require a larger grid size to obtain the same spacing between sampled k-space points and therefore accuracy of the calculated DoS&lt;br /&gt;
&lt;br /&gt;
=== Computing the Free Energy - The harmonic approximation ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does the free energy vary with grid size ?&#039;&#039;&#039;&lt;br /&gt;
Figure 4 plots Hemholtz free energy against grid size using ep. 2, showing that above grid sizes of 32x32x32, there is no change in the free energy of the system, and so has converged to a minima.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Which grid size is appropriate for calculations accurate to 1 meV, 0.5 meV and 0.1 meV per cell ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Would this optimal grid size for MgO be appropriate for a calculation on; a similar oxide (eg: CaO) ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a Zeolite (eg: Faujasite) ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a metal (eg: lithium) ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== The Thermal Expansion of MgO ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Plot the free energy against temperature&#039;&#039;&#039;&lt;br /&gt;
Done&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Plot the lattice constant against temperature&#039;&#039;&#039;&lt;br /&gt;
Done&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Comment on the shape of these curves.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Compute the coefficient of thermal expansion for MgO&#039;&#039;&#039;&lt;br /&gt;
0.00002906591&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does this compare to that measured ? Find a measurement in the literature or on the web - at what temperature was the measurement made ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;What are the main approximations in your calculation ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;What is the physical origin of thermal expansion ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;As the temperature approaches the melting point of MgO how well do the phonon modes represent the actual motions of the ions ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In a diatomic molecule with an exactly harmonic potential would you expect the bond length to increase with temperature ? Why does it increase in the solid when we are using an quasi-harmonic approximation ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamics ===&lt;br /&gt;
&lt;br /&gt;
Replot your data from the quasi-harmonic approximation calculations as, cell volume per formula unit vs temperature, and add some points from the MD runs at a few suitable temperatures.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
How does the thermal expansion predicted by MD compare to that predicted by the quasi-harmonic approximation ?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Why do the two methods produce different answers ? - how does the difference depend on temperature ?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
An opportunity to speculate&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From your experience of computing an accurate Free Energy how large a cell should be used to perform reliably MD for MgO ?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
What would happen to the cell volume at high temperature in the quasi-harmonic approximation and in the MD ?&lt;/div&gt;</summary>
		<author><name>Ft1015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=652101</id>
		<title>Rep:FabianThomasThirdYearMgOSimulation</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=652101"/>
		<updated>2017-12-17T18:54:50Z</updated>

		<summary type="html">&lt;p&gt;Ft1015: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Abstract ==&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Theory ===&lt;br /&gt;
The quasi-harmonic approximation expands upon the harmonic [[phonon]] model of lattice dynamics. The harmonic phonon model states that all interatomic forces are purely [[Harmonic Oscillator|harmonic]], but such a model is inadequate to explain [[thermal expansion]], as the equilibrium distance between atoms in such a model is independent of temperature.&lt;br /&gt;
&lt;br /&gt;
Thus in the quasi-harmonic model, from a phonon point of view, phonon frequencies become volume-dependent in the quasi-harmonic approximation, such that for each volume, the harmonic approximation holds.&lt;br /&gt;
&lt;br /&gt;
For a lattice, the Helmholtz free energy &#039;&#039;F&#039;&#039; in the quasi-harmonic approximation is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;F(T,V) = U(V) + E_{ZP}(V) - T S(T,V)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;U&#039;&#039; is the internal [[lattice energy]], &#039;&#039;E&amp;lt;sub&amp;gt;ZP&amp;lt;/sub&amp;gt;&#039;&#039; is the vibrational [[zero-point energy]] of the lattice, &#039;&#039;T&#039;&#039; is the absolute temperature, &#039;&#039;V&#039;&#039; is the volume and &#039;&#039;S&#039;&#039; is the [[entropy]] due to the vibrational degrees of freedom. The specific definition of the volume is of no particular importance, as long as the definition is used consistently throughout. It can be the volume per primitive unit cell, volume per conventional unit cell, or even molar volume. This choice does not affect the following in any way.&lt;br /&gt;
&lt;br /&gt;
The zero-point energy term equals&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; E_{ZP}(V) = \frac{1}{N} \sum_{\mathbf{k}, i} \frac{1}{2} h \nu_{\mathbf{k},i}(V) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;N&#039;&#039; is the number of terms in the sum, &#039;&#039;&#039;k&#039;&#039;&#039; is a [[wave vector]], &#039;&#039;i&#039;&#039; denotes a phonon band, &#039;&#039;h&#039;&#039; is [[Planck&#039;s constant]] and ν&amp;lt;sub&amp;gt;&#039;&#039;&#039;k&#039;&#039;&#039;,&#039;&#039;i&#039;&#039;&amp;lt;/sub&amp;gt;(V) is the frequency of a phonon with wave vector &#039;&#039;&#039;k&#039;&#039;&#039; in the &#039;&#039;i&#039;&#039;-th band at volume &#039;&#039;V&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
The entropy term equals&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S(V) = -\frac{1}{N} \sum_{\mathbf{k}, i} k_B \ln \left[ 1 - \exp\left( -\frac{h \nu_{\mathbf{k},i}(V)}{ k_BT }\right) \right] + \frac{1}{N} \sum_{\mathbf{k},i} k_B \frac{h \nu_{\mathbf{k},i}(V)}{k_B T} \left[ \exp\left( \frac{h \nu_{\mathbf{k},i}(V)}{ k_BT } \right) - 1 \right]^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;k&#039;&#039;&amp;lt;sub&amp;gt;B&amp;lt;/sub&amp;gt; is the [[Boltzmann constant]]. The frequency ν as a function of &#039;&#039;&#039;k&#039;&#039;&#039; is the [[dispersion relation]].  Note that for a constant value of &#039;&#039;V&#039;&#039;, these equations corresponds to that of the harmonic approximation.&lt;br /&gt;
&lt;br /&gt;
By applying a [[Legendre transform]], it is possible to obtain the [[Gibbs free energy]] &#039;&#039;G&#039;&#039; of the system as a function of temperature and pressure.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G(T,P) = \min_V \left[ U(V) + E_{ZP}(V) - T S(T,V) + P V \right]&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &#039;&#039;P&#039;&#039; is the pressure. The minimal value for &#039;&#039;G&#039;&#039; is found at the equilibrium volume for a given &#039;&#039;T&#039;&#039; and &#039;&#039;P&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The system used&lt;br /&gt;
&lt;br /&gt;
The methodology/theory used MOLECULAR DYNAMICS (MD) - Brillouin zones&lt;br /&gt;
&lt;br /&gt;
The aims of the exercise - To compare the to predict how the material expands when heated, to calculate the thermal expansion coefficient for MgO, to compute vibrational energy levels of MgO, to understand the phonon dispersion of a material, the vibrational density of state, to simulate the vibrations as random motions of atoms inside a cell, to compare QUASI-HARMONIC APPROXIMATION with MOLECULAR DYNAMICS results.&lt;br /&gt;
&lt;br /&gt;
The tools/programs in use - DLV&lt;br /&gt;
&lt;br /&gt;
The quasi-harmonic approximation for phonons builds upon the harmonic approximation for phonon dynamics, and therefore to explain the quasi-harmonic approximation we must first discuss the harmonic approximation&lt;br /&gt;
&lt;br /&gt;
For a regular, linear chain which is composed of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; number of particles, the forces between a pair of atoms can be assumed to be a potential energy function &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; which depends on the distance of the separation between the atoms. The main contributing forces to the potential are described by an electric force, such as electrostatic attractions, covalent bonds or Van der Waals forces. Therefore the potential energy of the entire lattice made up of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; atoms is the sum of the potential energies between each pair of atoms with a separation r from each other shown below in eq 1.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV(r)&amp;lt;/math&amp;gt;       &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, allowing each atom to deviate slightly from its equilibrium position by a displacement &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;, if the deviations are small in comparison to the distance between each atom &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;, the energy of this chain is able to be calculated via a taylor expansion summing over all of the atoms in the chain.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV + \sum_{s\ge 1} \frac {1}{s !} \frac {\partial^s V}{\partial u^s} \sum_{n}&lt;br /&gt;
 (u_n - u_{n+1})^s&amp;lt;/math&amp;gt;     &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;u_n&amp;lt;/math&amp;gt; is the displacement of the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;th atom from its equilibrium postition&lt;br /&gt;
&lt;br /&gt;
Two approximations are used in order to reach this equation, which together forms the harmonic approximation and it&#039;s respective equation. The first approximation states that the sum of the pair potential energies is completed over only neighboring atoms, as although there are electric forces between all atoms, these forces on atoms far away from one another are greatly diminished by screening by the atoms in between, and that the potential energies are treated as harmonic potential energies. In this equation, as the expansion was done around the equilibrium point, therefore the first derivative is zero, whereas higher order terms are not, and so the first term can be dropped, and the second term is used where &amp;lt;math&amp;gt;s = 2&amp;lt;/math&amp;gt;, with higher order terms being neglected. These higher order terms are ignored as harmonic equations of motion have exact solutions, while anharmonic equations do not have exact solutions to them and require more approximations. Thus the energy of the lattice is thus the same as the energy of the set of harmonic oscillators. The error in this equation remains small for small values of &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;&lt;br /&gt;
as the value of higher order terms will remain low.&lt;br /&gt;
CITE BOOK&lt;br /&gt;
&lt;br /&gt;
== Results and Discussion ==&lt;br /&gt;
&lt;br /&gt;
=== Phonon modes and Free Energy of MgO ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|[[File:Ft1015MgO_phonon_dispersion.PNG|500px|thumb|&#039;&#039;&#039;Figure 1&#039;&#039;&#039;: A phonon dispersion plot for MgO]]&lt;br /&gt;
|[[File:Ft1015MgO_DoS.PNG|500px|thumb|&#039;&#039;&#039;Figure 2&#039;&#039;&#039;: A plot of the density of states for MgO using a 1x1x1 grid size]]&lt;br /&gt;
|[[File:Ft1015MgO_DoS_20x20x20.PNG|500px|thumb|left|&#039;&#039;&#039;Figure 3&#039;&#039;&#039;: The optimised plot of the density of states for MgO using a 16x16x16 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From figures 1 and 2, we can see the computed phonon dispersion curve and density of states for a 1x1x1 grid size containing one k-point. Correlating the density of states with the dispersion curve via their shared axis of frequency of vibration yields the k-point L on the dispersion curve as the singular k-point used for the calculation. The density of states shows bands at 286 and 351 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 676 and 806 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, with the intensities of the first two bands double that of the final two bands. These bands correspond to three acoustic and three optical branches, with the first two bands of 0.333 intensity corresponding to a k-point where two branches are overlapping and are therefore degenerate states.&lt;br /&gt;
&lt;br /&gt;
Varying the grid size used for the calculation greatly affected the accuracy and precision of the results of calculations through increasing the number of k-points sampled in eq. 1ː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\omega ^{2}(k) = C(\frac{1}{M_{Mg}} + \frac{1}{M_{O}}) \pm \sqrt {(\frac{1}{M_{Mg}} + \frac{1}{M_{O}})^{2} - \frac{4sin^{2}(ka)}{M_{Mg}}}&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; is the spring force constant, &amp;lt;math&amp;gt;M_{Mg}&amp;lt;/math&amp;gt; is the molar mass of magnesium and &amp;lt;math&amp;gt;M_{O}&amp;lt;/math&amp;gt; is the molar mass of oxygen&lt;br /&gt;
&lt;br /&gt;
As the grid size increases, and thus the more k-points sampled, more and more features become visible, with the increase in number of points sampled along the dispersion curve leading to the increase in number of bands seen in the density of states. Optimising the grid size led to a grid size of 16x16x16 being optimal. As expected, the density of states plot produced from this grid size was smooth, as can be seen in figure 3. This curve was proved to be a good optimisation through looking at the Hemholtz free energy for each of the simulated grid sizes. As the accuracy of the Helmholtz free energy result directly depends on the number of k-space points sampled in the calculations as can be seen in eq. 2. Similarly to eq. 1, the larger the grid size, and therefore the more k-points sampled, the more accurate the result. Comparing the free energy of the 16x16x16 grid to the 32x32x32 grid; which for higher order grids remained constant and so had converged, the 16x16x16 was accurate to within 0.001 meV or 2.4434 × 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; %.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; F = E_0 + \frac {1}{2}\sum_{k,j}^{} \hbar \omega _k + k_B T \sum_{k,j}^{}ln(1-e^{\frac {-\hbar \omega _k }{k_B T}})&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;F&amp;lt;/math&amp;gt; is the Hemholtz free energy and &amp;lt;math&amp;gt;E_0&amp;lt;/math&amp;gt; is the lattice energy&lt;br /&gt;
&lt;br /&gt;
In comparison to smaller grid sizes, the 16x16x16 grid size curve appears more smooth, and more akin to a single band as seen for macrostructures. Larger grid sizes, while greatly increasing the computation time of the calculation did not largely increase the accuracy of the calculations as stated above, and therefore the 16x16x16 grid size was the optimal choice for these simulations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 1. Calculated Total Difference in Hemholtz Free Energy &lt;br /&gt;
! Grid Size&lt;br /&gt;
! Total Difference in Free Energy&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 3.818&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.126&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -0.051&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -0.033&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -0.001&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| -0.000&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| 0.000&lt;br /&gt;
|-&lt;br /&gt;
| 64&lt;br /&gt;
| 0.000&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Table 1 shows the difference between the calculated free energy for grid size and the final converged free energy. Looking at this, we can see that for grid sizes larger than 24x24x24, there is no change in the free energy of the system and so the free energy has converged to a minima, although it may not be the global minimum. The accuracy of simulations also increase rapidly with grid size, for example for accurate simulated energies to 1, 0.5 and 0.1 meV per cell, grid sizes of 2x2x2, 4x4x4 and 8x8x8 respectively can be used. This rapid increase in the accuracy of the calculation can be attributed to the large increase in k-points sampled over within the summations in eq. 2 with increasing grid size.&lt;br /&gt;
&lt;br /&gt;
However, the optimal grid size dependent on the material used due to the relationship between the lattice parameter, and the size of the first brillouin zone in k-space. For a similar oxide such as CaO, in comparsion to the lattice parameter of MgO of 4.212 Å &amp;lt;ref&amp;gt; A. CIMINO, P. PORTA and M. VALIGI, J. Am. Ceram. Soc, 1966, &#039;&#039;&#039;49&#039;&#039;&#039;, 152–156 &amp;lt;/ref&amp;gt;, the parameter of CaO is 4.864 Å &amp;lt;ref&amp;gt;Mackrodt, W. C., Harrison, N. M., Saunders, V. R., Allan, N. L. and Towler, M. D., Aprà, E., Dovesi, R., Philos. Mag. A, 1993 , &#039;&#039;&#039;68&#039;&#039;&#039;, 653-666 &amp;lt;/ref&amp;gt;, slightly larger than that of MgO. This leads to a slightly smaller grid size being optimal, as the larger lattice parameter leads to a smaller brillouin zone in reciprocal space as if the lattice parameter &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; is larger, then the size of the first brillouin zone &amp;lt;math&amp;gt;a^{*}= \frac {2 \pi}{a} &amp;lt;/math&amp;gt;will be smaller. This in turn allows less points to be sampled inside the region to give the same spacing of points, and therefore accuracy for the density of states as for MgO. Similarly, the zeolite faujsite has an extremely large lattice parameter of 25.132 Å &amp;lt;ref&amp;gt;E. Dempsey, G. H. Kuhl, and D. H. Olson, Phys. Chem., 1969, &#039;&#039;&#039;73&#039;&#039;&#039;, 387–390 &amp;lt;/ref&amp;gt;, in comparison to MgO. This; as with the case of CaO but more exaggerated, leads to a much smaller brillouin zone in reciprocal space, and so allows for a much smaller grid size to give the same accuracy as the MgO calculation due to the extremely small value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; obtained for faujsite.&lt;br /&gt;
Conversely, lithium has a smaller lattice spacing of 3.51 Å &amp;lt;ref&amp;gt;M.R. Nadler and C.P. Kempfer, Anal. Chem., 1959, &#039;&#039;&#039;31&#039;&#039;&#039;, 2109-2111&amp;lt;/ref&amp;gt;. Therefore the value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; for lithium will be larger than for MgO, and so require a larger grid size to obtain the same spacing between sampled k-space points and therefore accuracy of the calculated density of states.&lt;br /&gt;
&lt;br /&gt;
=== Thermal Expansion of MgO ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
||[[File:Ft1015Latticeparametervskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 4&#039;&#039;&#039;: A plot of lattice parameter against temperature for MgO]]&lt;br /&gt;
|[[File:Ft1015Latticevolumevskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 5&#039;&#039;&#039;: A plot of lattice volume against temperature for MgO, with the magenta line on the graph corresponding to the polynomial fit for the graph, and the red point the points which were not fitted over]]&lt;br /&gt;
|[[File:Ft1015Hemholtzvskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 6&#039;&#039;&#039;: A plot of free energy against temperature for MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Figures 4 &amp;amp; 5 show the effect of change on temperature on the lattice parameter and volume of MgO in the range of 50-2900 K. As we can seen from the figures, from 50-400 K, a change in temperature does not largely increase the volume, while above 400 K the trend seems to be linear with respect to volume increase through an increase in temperature. This is however not the case at higher temperatures above 2200 K where the trend is more polynomial in nature.&lt;br /&gt;
&lt;br /&gt;
Figure 6 shows the effect of change in temperature on the Hemholtz free energy of MgO. From 50-400 K, the dominating term for the free energy is the zero point energy, and thus a change in temperature does not greatly change the free energy of the lattice and so volume changes at low temperatures are minimal. At temperatures above 2200 K not only is the entropic term completely dominating all other terms for the free energy, but also higher order anharmonic terms for the free energy that were excluded in the harmonic approximation part of the equation begin to play a large role in the free energy. This leads to the gradient no longer being linear. &amp;lt;ref&amp;gt;Masanori Matsui, Geoffrey D. Price and Atul Patel, Geophys. Res. Lett., 1994, &#039;&#039;&#039;21&#039;&#039;&#039;,  1659-1662 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The thermal expansion coefficients for MgO can be calculated through using the gradient &amp;lt;math&amp;gt; (\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt; at a specific value of &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; in the equationː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \alpha = \frac{1}{V_i} (\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt;   &amp;lt;math&amp;gt;(3)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt; \alpha &amp;lt;/math&amp;gt; is the coefficient of thermal expansion and &amp;lt;math&amp;gt;V_i&amp;lt;/math&amp;gt; is the volume of the lattice at 0 K, and &amp;lt;math&amp;gt;(\frac{\partial V}{\partial T})_p =6.16898 \times 10^{-7} T + 0.00118&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Table 2 displays thermal expansion coefficients for the polynomial fit of MgO, alongside the temperature range that the fit was made over.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 2. Calculated Linear fit Thermal Expansion Coefficients for MgO&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| 50 K&lt;br /&gt;
| 16.44165152&lt;br /&gt;
&lt;br /&gt;
| 1500 K&lt;br /&gt;
|40.13048558&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 100 K&lt;br /&gt;
| 17.25850787&lt;br /&gt;
&lt;br /&gt;
| 1600 K&lt;br /&gt;
| 41.76419827&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 200 K&lt;br /&gt;
| 18.89222056&lt;br /&gt;
&lt;br /&gt;
| 1700 K&lt;br /&gt;
|43.39791096&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 300 K&lt;br /&gt;
| 20.52593325&lt;br /&gt;
&lt;br /&gt;
| 1800 K&lt;br /&gt;
|45.03162366&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 400 K&lt;br /&gt;
| 22.15964595&lt;br /&gt;
&lt;br /&gt;
| 1900 K&lt;br /&gt;
|46.66533635&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 500 K&lt;br /&gt;
| 23.79335864&lt;br /&gt;
&lt;br /&gt;
| 2000 K&lt;br /&gt;
|48.29904905&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 600 K&lt;br /&gt;
| 25.42707133&lt;br /&gt;
&lt;br /&gt;
| 2100 K&lt;br /&gt;
|49.93276174&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 700 K&lt;br /&gt;
| 27.06078403&lt;br /&gt;
&lt;br /&gt;
| 2200 K&lt;br /&gt;
|51.56647443&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 800 K&lt;br /&gt;
| 28.69449672&lt;br /&gt;
&lt;br /&gt;
| 2300 K&lt;br /&gt;
|53.20018713&lt;br /&gt;
|-&lt;br /&gt;
| 900 K&lt;br /&gt;
| 30.32820942&lt;br /&gt;
&lt;br /&gt;
| 2400 K&lt;br /&gt;
|54.83389982&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1000 K&lt;br /&gt;
| 31.96192211&lt;br /&gt;
&lt;br /&gt;
| 2500 K&lt;br /&gt;
|56.46761251&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1100 K&lt;br /&gt;
| 33.5956348&lt;br /&gt;
&lt;br /&gt;
| 2600 K&lt;br /&gt;
|58.10132521&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1200 K&lt;br /&gt;
| 35.2293475&lt;br /&gt;
&lt;br /&gt;
| 2700 K&lt;br /&gt;
|59.7350379&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1300 K&lt;br /&gt;
| 36.86306019&lt;br /&gt;
&lt;br /&gt;
| 2800 K&lt;br /&gt;
|61.3687506&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1400 K&lt;br /&gt;
| 38.49677288&lt;br /&gt;
&lt;br /&gt;
| 2900 K&lt;br /&gt;
|63.00246329&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As we can see from the table of results, the coefficient of thermal expansion is not independent of temperature, but changes with it. In comparison to literature values&amp;lt;ref&amp;gt;A. S. Madhusudhan Rao and K. Narender, J. Chem. Thermodyn, 2014, &#039;&#039;&#039;2014&#039;&#039;&#039;, 8&amp;lt;/ref&amp;gt;, at 300 K the data obtained through this experiment largely agrees with the literature data of a value for the thermal expansion coefficient of 11.91 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Devitations from the literature values can be attributed to shortcomings of the quasi-harmonic oscillator approximation. The main approximations being that the oscillations of the atoms about their equilibrium positions are small, which for higher energy phonon modes is not representative of those modes.&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
== Tasks ==&lt;br /&gt;
&lt;br /&gt;
=== Calculating the phonon modes of MgO ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The density of states for 1x1x1 grid was computed for a single k-point. Can you work out which k-point by examining the dispersion curves ? look in the Log File to check.&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Through correlating the DoS for the single k-point with the dispersion curve, the k-point that was used can be found. The DoS shows bands at 286 and 351 cm-1 with intensities of 0.333, and bands at 676 and 806 cm-1 with intensities half that of the first two bands. These points can be seen to correspond to the L k-point on the dispersion curve. This k-point shows three acoustic and optical branches, with the first two points of 0.333 intensity corresponding to a point where two branches are overlapping.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does the density of states vary with grid size ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The increase in number of points sampled along the dispersion curve leads to the increase in number of bands seen in the DoS, and ac. The DoS becomes more spread out as the number of sampled points increases increases, as with a larger grid size, more vibrations are sampled and thus more features appear in the dispersion.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;As the grid size increases more and more of the possible vibrations are sampled and more features appear - which grid size is the minimum for a reasonable approximation to the density of states ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
A grid size of 16x16x16 was found to be the optimal grid size. As expected, the DoS curve produced from this grid size was smooth. This curve was proved to be a good optimization through looking at the Hemholtz free energy for each of the simulated grid sizes. As the accuracy of the Hemholtz free energy result directly depends on the number of k-space points summed over in the calculations, the larger the grid size, and therefore the large the number of k-points summed over, the more accurate the result. Comparing the 16x16x16 to the 32x32x32 grid; which on higher order grids did not change the free energy and therefore was the best approximation, the 16x16x16 was accurate to within 0.001 meV or 2.4434 × 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; %&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does the density of states computed at this optimal grid size compare to that computed for smaller and larger grids ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
At this grid size of 16x16x16, compared to grids that are smaller it appears more smooth, and similar to a single band for a macrostructure. Larger grid sizes increase the smoothness of the band &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How is the density of states related to the dispersion curves ?&#039;&#039;&#039;&lt;br /&gt;
Both the DoS and dispersion curves are plotted with one axis being energy; or in this case frequency of vibration, and so can be related. Through potting both the DoS and dispersion curves on the same axis one can see the relationship between the DoS and dispersion&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Would this optimal grid size for MgO (4.212 Å &amp;lt;ref&amp;gt; A. CIMINO, P. PORTA and M. VALIGI, J. Am. Ceram. Soc, 1966, &#039;&#039;&#039;49&#039;&#039;&#039;, 152–156 &amp;lt;/ref&amp;gt;)be appropriate for a calculation on;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a similar oxide (eg: CaO) ?&#039;&#039;&#039;&lt;br /&gt;
CaO has a lattice parameter of 4.864 Å &amp;lt;ref&amp;gt;Mackrodt, W. C., Harrison, N. M., Saunders, V. R., Allan, N. L. and Towler, M. D., Aprà, E., Dovesi, R., Philos. Mag. A, 1993 , &#039;&#039;&#039;68&#039;&#039;&#039;, 653-666 &amp;lt;/ref&amp;gt;, slightly larger than that of MgO. This leads to a slightly smaller grid size being optimal, as the larger lattice parameter leads to a smaller brillouin zone in reciprocal space as if the lattice parameter &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; in the range of  &amp;lt;math&amp;gt; [0, \frac{\pi}{a}]&amp;lt;/math&amp;gt; is larger, then the range will be smaller. This in turn allows less points to be sampled inside the region to give the same spacing of points, and therefore accuracy for the DoS as for MgO.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a Zeolite (eg: Faujasite) ?&#039;&#039;&#039;&lt;br /&gt;
Faujsite has an extremely large lattice parameter of 25.132 Å &amp;lt;ref&amp;gt;E. Dempsey, G. H. Kuhl, and D. H. Olson, Phys. Chem., 1969, &#039;&#039;&#039;73&#039;&#039;&#039;, 387–390 &amp;lt;/ref&amp;gt;, in comparison to MgO (4.212 Å). This; as with the case of CaO but more exaggerated, leads to a much smaller brillouin zone in reciprocal space, and so allows for a much smaller grid size to give the same accuracy as the MgO DoS calculation&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a metal (eg: lithium) ?&#039;&#039;&#039;&lt;br /&gt;
In comparison to MgO, CaO and Faujsite, Lithium has a smaller lattice spacing of 3.51 Å &amp;lt;ref&amp;gt;M.R. Nadler and C.P. Kempfer, Anal. Chem., 1959, &#039;&#039;&#039;31&#039;&#039;&#039;, 2109-2111&amp;lt;/ref&amp;gt;. Therefore the brillouin zone &amp;lt;math&amp;gt; [0, \frac{\pi}{a}] &amp;lt;/math&amp;gt; for Lithium will be larger than for MgO, and so require a larger grid size to obtain the same spacing between sampled k-space points and therefore accuracy of the calculated DoS&lt;br /&gt;
&lt;br /&gt;
=== Computing the Free Energy - The harmonic approximation ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does the free energy vary with grid size ?&#039;&#039;&#039;&lt;br /&gt;
Figure 4 plots Hemholtz free energy against grid size using ep. 2, showing that above grid sizes of 32x32x32, there is no change in the free energy of the system, and so has converged to a minima.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Which grid size is appropriate for calculations accurate to 1 meV, 0.5 meV and 0.1 meV per cell ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Would this optimal grid size for MgO be appropriate for a calculation on; a similar oxide (eg: CaO) ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a Zeolite (eg: Faujasite) ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a metal (eg: lithium) ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== The Thermal Expansion of MgO ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Plot the free energy against temperature&#039;&#039;&#039;&lt;br /&gt;
Done&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Plot the lattice constant against temperature&#039;&#039;&#039;&lt;br /&gt;
Done&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Comment on the shape of these curves.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Compute the coefficient of thermal expansion for MgO&#039;&#039;&#039;&lt;br /&gt;
0.00002906591&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does this compare to that measured ? Find a measurement in the literature or on the web - at what temperature was the measurement made ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;What are the main approximations in your calculation ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;What is the physical origin of thermal expansion ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;As the temperature approaches the melting point of MgO how well do the phonon modes represent the actual motions of the ions ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In a diatomic molecule with an exactly harmonic potential would you expect the bond length to increase with temperature ? Why does it increase in the solid when we are using an quasi-harmonic approximation ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamics ===&lt;br /&gt;
&lt;br /&gt;
Replot your data from the quasi-harmonic approximation calculations as, cell volume per formula unit vs temperature, and add some points from the MD runs at a few suitable temperatures.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
How does the thermal expansion predicted by MD compare to that predicted by the quasi-harmonic approximation ?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Why do the two methods produce different answers ? - how does the difference depend on temperature ?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
An opportunity to speculate&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From your experience of computing an accurate Free Energy how large a cell should be used to perform reliably MD for MgO ?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
What would happen to the cell volume at high temperature in the quasi-harmonic approximation and in the MD ?&lt;/div&gt;</summary>
		<author><name>Ft1015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=651957</id>
		<title>Rep:FabianThomasThirdYearMgOSimulation</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=651957"/>
		<updated>2017-12-17T16:08:54Z</updated>

		<summary type="html">&lt;p&gt;Ft1015: /* Thermal Expansion of MgO */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Abstract ==&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Theory ===&lt;br /&gt;
The quasi-harmonic approximation expands upon the harmonic [[phonon]] model of lattice dynamics. The harmonic phonon model states that all interatomic forces are purely [[Harmonic Oscillator|harmonic]], but such a model is inadequate to explain [[thermal expansion]], as the equilibrium distance between atoms in such a model is independent of temperature.&lt;br /&gt;
&lt;br /&gt;
Thus in the quasi-harmonic model, from a phonon point of view, phonon frequencies become volume-dependent in the quasi-harmonic approximation, such that for each volume, the harmonic approximation holds.&lt;br /&gt;
&lt;br /&gt;
For a lattice, the Helmholtz free energy &#039;&#039;F&#039;&#039; in the quasi-harmonic approximation is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;F(T,V) = U(V) + E_{ZP}(V) - T S(T,V)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;U&#039;&#039; is the internal [[lattice energy]], &#039;&#039;E&amp;lt;sub&amp;gt;ZP&amp;lt;/sub&amp;gt;&#039;&#039; is the vibrational [[zero-point energy]] of the lattice, &#039;&#039;T&#039;&#039; is the absolute temperature, &#039;&#039;V&#039;&#039; is the volume and &#039;&#039;S&#039;&#039; is the [[entropy]] due to the vibrational degrees of freedom. The specific definition of the volume is of no particular importance, as long as the definition is used consistently throughout. It can be the volume per primitive unit cell, volume per conventional unit cell, or even molar volume. This choice does not affect the following in any way.&lt;br /&gt;
&lt;br /&gt;
The zero-point energy term equals&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; E_{ZP}(V) = \frac{1}{N} \sum_{\mathbf{k}, i} \frac{1}{2} h \nu_{\mathbf{k},i}(V) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;N&#039;&#039; is the number of terms in the sum, &#039;&#039;&#039;k&#039;&#039;&#039; is a [[wave vector]], &#039;&#039;i&#039;&#039; denotes a phonon band, &#039;&#039;h&#039;&#039; is [[Planck&#039;s constant]] and ν&amp;lt;sub&amp;gt;&#039;&#039;&#039;k&#039;&#039;&#039;,&#039;&#039;i&#039;&#039;&amp;lt;/sub&amp;gt;(V) is the frequency of a phonon with wave vector &#039;&#039;&#039;k&#039;&#039;&#039; in the &#039;&#039;i&#039;&#039;-th band at volume &#039;&#039;V&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
The entropy term equals&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S(V) = -\frac{1}{N} \sum_{\mathbf{k}, i} k_B \ln \left[ 1 - \exp\left( -\frac{h \nu_{\mathbf{k},i}(V)}{ k_BT }\right) \right] + \frac{1}{N} \sum_{\mathbf{k},i} k_B \frac{h \nu_{\mathbf{k},i}(V)}{k_B T} \left[ \exp\left( \frac{h \nu_{\mathbf{k},i}(V)}{ k_BT } \right) - 1 \right]^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;k&#039;&#039;&amp;lt;sub&amp;gt;B&amp;lt;/sub&amp;gt; is the [[Boltzmann constant]]. The frequency ν as a function of &#039;&#039;&#039;k&#039;&#039;&#039; is the [[dispersion relation]].  Note that for a constant value of &#039;&#039;V&#039;&#039;, these equations corresponds to that of the harmonic approximation.&lt;br /&gt;
&lt;br /&gt;
By applying a [[Legendre transform]], it is possible to obtain the [[Gibbs free energy]] &#039;&#039;G&#039;&#039; of the system as a function of temperature and pressure.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G(T,P) = \min_V \left[ U(V) + E_{ZP}(V) - T S(T,V) + P V \right]&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &#039;&#039;P&#039;&#039; is the pressure. The minimal value for &#039;&#039;G&#039;&#039; is found at the equilibrium volume for a given &#039;&#039;T&#039;&#039; and &#039;&#039;P&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The system used&lt;br /&gt;
&lt;br /&gt;
The methodology/theory used MOLECULAR DYNAMICS (MD) - Brillouin zones&lt;br /&gt;
&lt;br /&gt;
The aims of the exercise - To compare the to predict how the material expands when heated, to calculate the thermal expansion coefficient for MgO, to compute vibrational energy levels of MgO, to understand the phonon dispersion of a material, the vibrational density of state, to simulate the vibrations as random motions of atoms inside a cell, to compare QUASI-HARMONIC APPROXIMATION with MOLECULAR DYNAMICS results.&lt;br /&gt;
&lt;br /&gt;
The tools/programs in use - DLV&lt;br /&gt;
&lt;br /&gt;
The quasi-harmonic approximation for phonons builds upon the harmonic approximation for phonon dynamics, and therefore to explain the quasi-harmonic approximation we must first discuss the harmonic approximation&lt;br /&gt;
&lt;br /&gt;
For a regular, linear chain which is composed of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; number of particles, the forces between a pair of atoms can be assumed to be a potential energy function &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; which depends on the distance of the separation between the atoms. The main contributing forces to the potential are described by an electric force, such as electrostatic attractions, covalent bonds or Van der Waals forces. Therefore the potential energy of the entire lattice made up of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; atoms is the sum of the potential energies between each pair of atoms with a separation r from each other shown below in eq 1.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV(r)&amp;lt;/math&amp;gt;       &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, allowing each atom to deviate slightly from its equilibrium position by a displacement &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;, if the deviations are small in comparison to the distance between each atom &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;, the energy of this chain is able to be calculated via a taylor expansion summing over all of the atoms in the chain.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV + \sum_{s\ge 1} \frac {1}{s !} \frac {\partial^s V}{\partial u^s} \sum_{n}&lt;br /&gt;
 (u_n - u_{n+1})^s&amp;lt;/math&amp;gt;     &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;u_n&amp;lt;/math&amp;gt; is the displacement of the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;th atom from its equilibrium postition&lt;br /&gt;
&lt;br /&gt;
Two approximations are used in order to reach this equation, which together forms the harmonic approximation and it&#039;s respective equation. The first approximation states that the sum of the pair potential energies is completed over only neighboring atoms, as although there are electric forces between all atoms, these forces on atoms far away from one another are greatly diminished by screening by the atoms in between, and that the potential energies are treated as harmonic potential energies. In this equation, as the expansion was done around the equilibrium point, therefore the first derivative is zero, whereas higher order terms are not, and so the first term can be dropped, and the second term is used where &amp;lt;math&amp;gt;s = 2&amp;lt;/math&amp;gt;, with higher order terms being neglected. These higher order terms are ignored as harmonic equations of motion have exact solutions, while anharmonic equations do not have exact solutions to them and require more approximations. Thus the energy of the lattice is thus the same as the energy of the set of harmonic oscillators. The error in this equation remains small for small values of &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;&lt;br /&gt;
as the value of higher order terms will remain low.&lt;br /&gt;
CITE BOOK&lt;br /&gt;
&lt;br /&gt;
== Results and Discussion ==&lt;br /&gt;
&lt;br /&gt;
=== Phonon modes and Free Energy of MgO ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|[[File:Ft1015MgO_phonon_dispersion.PNG|500px|thumb|&#039;&#039;&#039;Figure 1&#039;&#039;&#039;: A phonon dispersion plot for MgO]]&lt;br /&gt;
|[[File:Ft1015MgO_DoS.PNG|500px|thumb|&#039;&#039;&#039;Figure 2&#039;&#039;&#039;: A plot of the density of states for MgO using a 1x1x1 grid size]]&lt;br /&gt;
|[[File:Ft1015MgO_DoS_20x20x20.PNG|500px|thumb|left|&#039;&#039;&#039;Figure 3&#039;&#039;&#039;: The optimised plot of the density of states for MgO using a 16x16x16 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From figures 1 and 2, we can see the computed phonon dispersion curve and density of states for a 1x1x1 grid size containing one k-point. Correlating the density of states with the dispersion curve via their shared axis of frequency of vibration yields the k-point L on the dispersion curve as the singular k-point used for the calculation. The density of states shows bands at 286 and 351 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 676 and 806 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, with the intensities of the first two bands double that of the final two bands. These bands correspond to three acoustic and three optical branches, with the first two bands of 0.333 intensity corresponding to a k-point where two branches are overlapping and are therefore degenerate states.&lt;br /&gt;
&lt;br /&gt;
Varying the grid size used for the calculation greatly affected the accuracy and precision of the results of calculations through increasing the number of k-points sampled in eq. 1ː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\omega ^{2}(k) = C(\frac{1}{M_{Mg}} + \frac{1}{M_{O}}) \pm \sqrt {(\frac{1}{M_{Mg}} + \frac{1}{M_{O}})^{2} - \frac{4sin^{2}(ka)}{M_{Mg}}}&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; is the spring force constant, &amp;lt;math&amp;gt;M_{Mg}&amp;lt;/math&amp;gt; is the molar mass of magnesium and &amp;lt;math&amp;gt;M_{O}&amp;lt;/math&amp;gt; is the molar mass of oxygen&lt;br /&gt;
&lt;br /&gt;
As the grid size increases, and thus the more k-points sampled, more and more features become visible, with the increase in number of points sampled along the dispersion curve leading to the increase in number of bands seen in the density of states. Optimising the grid size led to a grid size of 16x16x16 being optimal. As expected, the density of states plot produced from this grid size was smooth, as can be seen in figure 3. This curve was proved to be a good optimisation through looking at the Hemholtz free energy for each of the simulated grid sizes. As the accuracy of the Helmholtz free energy result directly depends on the number of k-space points sampled in the calculations as can be seen in eq. 2. Similarly to eq. 1, the larger the grid size, and therefore the more k-points sampled, the more accurate the result. Comparing the free energy of the 16x16x16 grid to the 32x32x32 grid; which for higher order grids remained constant and so had converged, the 16x16x16 was accurate to within 0.001 meV or 2.4434 × 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; %.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; F = E_0 + \frac {1}{2}\sum_{k,j}^{} \hbar \omega _k + k_B T \sum_{k,j}^{}ln(1-e^{\frac {-\hbar \omega _k }{k_B T}})&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;F&amp;lt;/math&amp;gt; is the Hemholtz free energy and &amp;lt;math&amp;gt;E_0&amp;lt;/math&amp;gt; is the lattice energy&lt;br /&gt;
&lt;br /&gt;
In comparison to smaller grid sizes, the 16x16x16 grid size curve appears more smooth, and more akin to a single band as seen for macrostructures. Larger grid sizes, while greatly increasing the computation time of the calculation did not largely increase the accuracy of the calculations as stated above, and therefore the 16x16x16 grid size was the optimal choice for these simulations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 1. Calculated Total Difference in Hemholtz Free Energy &lt;br /&gt;
! Grid Size&lt;br /&gt;
! Total Difference in Free Energy&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 3.818&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.126&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -0.051&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -0.033&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -0.001&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| -0.000&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| 0.000&lt;br /&gt;
|-&lt;br /&gt;
| 64&lt;br /&gt;
| 0.000&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Table 1 shows the difference between the calculated free energy for grid size and the final converged free energy. Looking at this, we can see that for grid sizes larger than 24x24x24, there is no change in the free energy of the system and so the free energy has converged to a minima, although it may not be the global minimum. The accuracy of simulations also increase rapidly with grid size, for example for accurate simulated energies to 1, 0.5 and 0.1 meV per cell, grid sizes of 2x2x2, 4x4x4 and 8x8x8 respectively can be used. This rapid increase in the accuracy of the calculation can be attributed to the large increase in k-points sampled over within the summations in eq. 2 with increasing grid size.&lt;br /&gt;
&lt;br /&gt;
However, the optimal grid size dependent on the material used due to the relationship between the lattice parameter, and the size of the first brillouin zone in k-space. For a similar oxide such as CaO, in comparsion to the lattice parameter of MgO of 4.212 Å &amp;lt;ref&amp;gt; A. CIMINO, P. PORTA and M. VALIGI, J. Am. Ceram. Soc, 1966, &#039;&#039;&#039;49&#039;&#039;&#039;, 152–156 &amp;lt;/ref&amp;gt;, the parameter of CaO is 4.864 Å &amp;lt;ref&amp;gt;Mackrodt, W. C., Harrison, N. M., Saunders, V. R., Allan, N. L. and Towler, M. D., Aprà, E., Dovesi, R., Philos. Mag. A, 1993 , &#039;&#039;&#039;68&#039;&#039;&#039;, 653-666 &amp;lt;/ref&amp;gt;, slightly larger than that of MgO. This leads to a slightly smaller grid size being optimal, as the larger lattice parameter leads to a smaller brillouin zone in reciprocal space as if the lattice parameter &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; is larger, then the size of the first brillouin zone &amp;lt;math&amp;gt;a^{*}= \frac {2 \pi}{a} &amp;lt;/math&amp;gt;will be smaller. This in turn allows less points to be sampled inside the region to give the same spacing of points, and therefore accuracy for the density of states as for MgO. Similarly, the zeolite faujsite has an extremely large lattice parameter of 25.132 Å &amp;lt;ref&amp;gt;E. Dempsey, G. H. Kuhl, and D. H. Olson, Phys. Chem., 1969, &#039;&#039;&#039;73&#039;&#039;&#039;, 387–390 &amp;lt;/ref&amp;gt;, in comparison to MgO. This; as with the case of CaO but more exaggerated, leads to a much smaller brillouin zone in reciprocal space, and so allows for a much smaller grid size to give the same accuracy as the MgO calculation due to the extremely small value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; obtained for faujsite.&lt;br /&gt;
Conversely, lithium has a smaller lattice spacing of 3.51 Å &amp;lt;ref&amp;gt;M.R. Nadler and C.P. Kempfer, Anal. Chem., 1959, &#039;&#039;&#039;31&#039;&#039;&#039;, 2109-2111&amp;lt;/ref&amp;gt;. Therefore the value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; for lithium will be larger than for MgO, and so require a larger grid size to obtain the same spacing between sampled k-space points and therefore accuracy of the calculated density of states.&lt;br /&gt;
&lt;br /&gt;
=== Thermal Expansion of MgO ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
||[[File:Ft1015Latticeparametervskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 4&#039;&#039;&#039;: A plot of lattice parameter against temperature for MgO]]&lt;br /&gt;
|[[File:Ft1015Latticevolumevskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 5&#039;&#039;&#039;: A plot of lattice volume against temperature for MgO, with the magenta line on the graph corresponding to the polynomial fit for the graph, and the red point the points which were not fitted over]]&lt;br /&gt;
|[[File:Ft1015Hemholtzvskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 6&#039;&#039;&#039;: A plot of free energy against temperature for MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[File:|480px|thumb|&#039;&#039;&#039;Figure 5&#039;&#039;&#039;: A plot of lattice volume against temperature for MgO, with the magenta line on the graph corresponding to the polynomial fit for the graph, and the red point the points which were not fitted over]&lt;br /&gt;
Figures 4 &amp;amp; 5 show the effect of change on temperature on the lattice parameter and volume of MgO in the range of 50-2900 K. As we can seen from the figures, from 50-400 K, a change in temperature does not largely increase the volume, while above 400 K the trend seems to be linear with respect to volume increase through an increase in temperature. This is however not the case at higher temperatures above 2200 K where the trend is more polynomial in nature.&lt;br /&gt;
&lt;br /&gt;
From 50-400 K, the dominating term for the free energy is the zero point energy, and thus a change in temperature does not greatly change the free energy of the lattice and so volume changes at low temperatures are minimal. At temperatures above 2200 K not only is the entropic term completely dominating all other terms for the free energy, but also higher order anharmonic terms for the free energy that were excluded in the harmonic approximation part of the equation begin to play a large role in the free energy. This leads to the gradient no longer being linear. &amp;lt;ref&amp;gt;Masanori Matsui, Geoffrey D. Price and Atul Patel, Geophys. Res. Lett., 1994, &#039;&#039;&#039;21&#039;&#039;&#039;,  1659-1662 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The thermal expansion coefficients for MgO can be calculated through using the gradient &amp;lt;math&amp;gt; (\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt; at a specific value of &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; in the equationː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \alpha = \frac{1}{V_i} (\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt;   &amp;lt;math&amp;gt;(3)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt; \alpha &amp;lt;/math&amp;gt; is the coefficient of thermal expansion and &amp;lt;math&amp;gt;V_i&amp;lt;/math&amp;gt; is the volume of the lattice at 0 K, and &amp;lt;math&amp;gt;(\frac{\partial V}{\partial T})_p =6.16898 \times 10^{-7} T + 0.00118&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Table 2 displays thermal expansion coefficients for the polynomial fit of MgO, alongside the temperature range that the fit was made over.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 2. Calculated Linear fit Thermal Expansion Coefficients for MgO&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| 50 K&lt;br /&gt;
| 16.44165152&lt;br /&gt;
&lt;br /&gt;
| 1500 K&lt;br /&gt;
|40.13048558&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 100 K&lt;br /&gt;
| 17.25850787&lt;br /&gt;
&lt;br /&gt;
| 1600 K&lt;br /&gt;
| 41.76419827&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 200 K&lt;br /&gt;
| 18.89222056&lt;br /&gt;
&lt;br /&gt;
| 1700 K&lt;br /&gt;
|43.39791096&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 300 K&lt;br /&gt;
| 20.52593325&lt;br /&gt;
&lt;br /&gt;
| 1800 K&lt;br /&gt;
|45.03162366&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 400 K&lt;br /&gt;
| 22.15964595&lt;br /&gt;
&lt;br /&gt;
| 1900 K&lt;br /&gt;
|46.66533635&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 500 K&lt;br /&gt;
| 23.79335864&lt;br /&gt;
&lt;br /&gt;
| 2000 K&lt;br /&gt;
|48.29904905&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 600 K&lt;br /&gt;
| 25.42707133&lt;br /&gt;
&lt;br /&gt;
| 2100 K&lt;br /&gt;
|49.93276174&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 700 K&lt;br /&gt;
| 27.06078403&lt;br /&gt;
&lt;br /&gt;
| 2200 K&lt;br /&gt;
|51.56647443&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 800 K&lt;br /&gt;
| 28.69449672&lt;br /&gt;
&lt;br /&gt;
| 2300 K&lt;br /&gt;
|53.20018713&lt;br /&gt;
|-&lt;br /&gt;
| 900 K&lt;br /&gt;
| 30.32820942&lt;br /&gt;
&lt;br /&gt;
| 2400 K&lt;br /&gt;
|54.83389982&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1000 K&lt;br /&gt;
| 31.96192211&lt;br /&gt;
&lt;br /&gt;
| 2500 K&lt;br /&gt;
|56.46761251&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1100 K&lt;br /&gt;
| 33.5956348&lt;br /&gt;
&lt;br /&gt;
| 2600 K&lt;br /&gt;
|58.10132521&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1200 K&lt;br /&gt;
| 35.2293475&lt;br /&gt;
&lt;br /&gt;
| 2700 K&lt;br /&gt;
|59.7350379&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1300 K&lt;br /&gt;
| 36.86306019&lt;br /&gt;
&lt;br /&gt;
| 2800 K&lt;br /&gt;
|61.3687506&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1400 K&lt;br /&gt;
| 38.49677288&lt;br /&gt;
&lt;br /&gt;
| 2900 K&lt;br /&gt;
|63.00246329&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As we can see from the table of results, the coefficient of thermal expansion is not independent of temperature, but changes with it. In comparison to literature values&amp;lt;ref&amp;gt;A. S. Madhusudhan Rao and K. Narender, J. Chem. Thermodyn, 2014, &#039;&#039;&#039;2014&#039;&#039;&#039;, 8&amp;lt;/ref&amp;gt;, at 300 K the data obtained through this experiment largely agrees with the literature data of a value for the thermal expansion coefficient of 11.91 x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Devitations from the literature values can be attributed to shortcomings of the quasi-harmonic oscillator approximation. The main approximations being that the oscillations of the atoms about their equilibrium positions are small, which for higher energy phonon modes is not representative of those modes, and that the lattice is perfect, with no imperfections and completely periodic. This perfect lattice approximation is untrue and higher models&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
== Tasks ==&lt;br /&gt;
&lt;br /&gt;
=== Calculating the phonon modes of MgO ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The density of states for 1x1x1 grid was computed for a single k-point. Can you work out which k-point by examining the dispersion curves ? look in the Log File to check.&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Through correlating the DoS for the single k-point with the dispersion curve, the k-point that was used can be found. The DoS shows bands at 286 and 351 cm-1 with intensities of 0.333, and bands at 676 and 806 cm-1 with intensities half that of the first two bands. These points can be seen to correspond to the L k-point on the dispersion curve. This k-point shows three acoustic and optical branches, with the first two points of 0.333 intensity corresponding to a point where two branches are overlapping.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does the density of states vary with grid size ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The increase in number of points sampled along the dispersion curve leads to the increase in number of bands seen in the DoS, and ac. The DoS becomes more spread out as the number of sampled points increases increases, as with a larger grid size, more vibrations are sampled and thus more features appear in the dispersion.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;As the grid size increases more and more of the possible vibrations are sampled and more features appear - which grid size is the minimum for a reasonable approximation to the density of states ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
A grid size of 16x16x16 was found to be the optimal grid size. As expected, the DoS curve produced from this grid size was smooth. This curve was proved to be a good optimization through looking at the Hemholtz free energy for each of the simulated grid sizes. As the accuracy of the Hemholtz free energy result directly depends on the number of k-space points summed over in the calculations, the larger the grid size, and therefore the large the number of k-points summed over, the more accurate the result. Comparing the 16x16x16 to the 32x32x32 grid; which on higher order grids did not change the free energy and therefore was the best approximation, the 16x16x16 was accurate to within 0.001 meV or 2.4434 × 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; %&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does the density of states computed at this optimal grid size compare to that computed for smaller and larger grids ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
At this grid size of 16x16x16, compared to grids that are smaller it appears more smooth, and similar to a single band for a macrostructure. Larger grid sizes increase the smoothness of the band &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How is the density of states related to the dispersion curves ?&#039;&#039;&#039;&lt;br /&gt;
Both the DoS and dispersion curves are plotted with one axis being energy; or in this case frequency of vibration, and so can be related. Through potting both the DoS and dispersion curves on the same axis one can see the relationship between the DoS and dispersion&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Would this optimal grid size for MgO (4.212 Å &amp;lt;ref&amp;gt; A. CIMINO, P. PORTA and M. VALIGI, J. Am. Ceram. Soc, 1966, &#039;&#039;&#039;49&#039;&#039;&#039;, 152–156 &amp;lt;/ref&amp;gt;)be appropriate for a calculation on;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a similar oxide (eg: CaO) ?&#039;&#039;&#039;&lt;br /&gt;
CaO has a lattice parameter of 4.864 Å &amp;lt;ref&amp;gt;Mackrodt, W. C., Harrison, N. M., Saunders, V. R., Allan, N. L. and Towler, M. D., Aprà, E., Dovesi, R., Philos. Mag. A, 1993 , &#039;&#039;&#039;68&#039;&#039;&#039;, 653-666 &amp;lt;/ref&amp;gt;, slightly larger than that of MgO. This leads to a slightly smaller grid size being optimal, as the larger lattice parameter leads to a smaller brillouin zone in reciprocal space as if the lattice parameter &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; in the range of  &amp;lt;math&amp;gt; [0, \frac{\pi}{a}]&amp;lt;/math&amp;gt; is larger, then the range will be smaller. This in turn allows less points to be sampled inside the region to give the same spacing of points, and therefore accuracy for the DoS as for MgO.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a Zeolite (eg: Faujasite) ?&#039;&#039;&#039;&lt;br /&gt;
Faujsite has an extremely large lattice parameter of 25.132 Å &amp;lt;ref&amp;gt;E. Dempsey, G. H. Kuhl, and D. H. Olson, Phys. Chem., 1969, &#039;&#039;&#039;73&#039;&#039;&#039;, 387–390 &amp;lt;/ref&amp;gt;, in comparison to MgO (4.212 Å). This; as with the case of CaO but more exaggerated, leads to a much smaller brillouin zone in reciprocal space, and so allows for a much smaller grid size to give the same accuracy as the MgO DoS calculation&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a metal (eg: lithium) ?&#039;&#039;&#039;&lt;br /&gt;
In comparison to MgO, CaO and Faujsite, Lithium has a smaller lattice spacing of 3.51 Å &amp;lt;ref&amp;gt;M.R. Nadler and C.P. Kempfer, Anal. Chem., 1959, &#039;&#039;&#039;31&#039;&#039;&#039;, 2109-2111&amp;lt;/ref&amp;gt;. Therefore the brillouin zone &amp;lt;math&amp;gt; [0, \frac{\pi}{a}] &amp;lt;/math&amp;gt; for Lithium will be larger than for MgO, and so require a larger grid size to obtain the same spacing between sampled k-space points and therefore accuracy of the calculated DoS&lt;br /&gt;
&lt;br /&gt;
=== Computing the Free Energy - The harmonic approximation ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does the free energy vary with grid size ?&#039;&#039;&#039;&lt;br /&gt;
Figure 4 plots Hemholtz free energy against grid size using ep. 2, showing that above grid sizes of 32x32x32, there is no change in the free energy of the system, and so has converged to a minima.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Which grid size is appropriate for calculations accurate to 1 meV, 0.5 meV and 0.1 meV per cell ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Would this optimal grid size for MgO be appropriate for a calculation on; a similar oxide (eg: CaO) ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a Zeolite (eg: Faujasite) ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a metal (eg: lithium) ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== The Thermal Expansion of MgO ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Plot the free energy against temperature&#039;&#039;&#039;&lt;br /&gt;
Done&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Plot the lattice constant against temperature&#039;&#039;&#039;&lt;br /&gt;
Done&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Comment on the shape of these curves.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Compute the coefficient of thermal expansion for MgO&#039;&#039;&#039;&lt;br /&gt;
0.00002906591&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does this compare to that measured ? Find a measurement in the literature or on the web - at what temperature was the measurement made ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;What are the main approximations in your calculation ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;What is the physical origin of thermal expansion ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;As the temperature approaches the melting point of MgO how well do the phonon modes represent the actual motions of the ions ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In a diatomic molecule with an exactly harmonic potential would you expect the bond length to increase with temperature ? Why does it increase in the solid when we are using an quasi-harmonic approximation ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamics ===&lt;br /&gt;
&lt;br /&gt;
Replot your data from the quasi-harmonic approximation calculations as, cell volume per formula unit vs temperature, and add some points from the MD runs at a few suitable temperatures.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
How does the thermal expansion predicted by MD compare to that predicted by the quasi-harmonic approximation ?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Why do the two methods produce different answers ? - how does the difference depend on temperature ?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
An opportunity to speculate&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From your experience of computing an accurate Free Energy how large a cell should be used to perform reliably MD for MgO ?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
What would happen to the cell volume at high temperature in the quasi-harmonic approximation and in the MD ?&lt;/div&gt;</summary>
		<author><name>Ft1015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=651867</id>
		<title>Rep:FabianThomasThirdYearMgOSimulation</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=651867"/>
		<updated>2017-12-17T12:47:54Z</updated>

		<summary type="html">&lt;p&gt;Ft1015: /* The Thermal Expansion of MgO */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Abstract ==&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Theory ===&lt;br /&gt;
The quasi-harmonic approximation expands upon the harmonic [[phonon]] model of lattice dynamics. The harmonic phonon model states that all interatomic forces are purely [[Harmonic Oscillator|harmonic]], but such a model is inadequate to explain [[thermal expansion]], as the equilibrium distance between atoms in such a model is independent of temperature.&lt;br /&gt;
&lt;br /&gt;
Thus in the quasi-harmonic model, from a phonon point of view, phonon frequencies become volume-dependent in the quasi-harmonic approximation, such that for each volume, the harmonic approximation holds.&lt;br /&gt;
&lt;br /&gt;
For a lattice, the Helmholtz free energy &#039;&#039;F&#039;&#039; in the quasi-harmonic approximation is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;F(T,V) = U(V) + E_{ZP}(V) - T S(T,V)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;U&#039;&#039; is the internal [[lattice energy]], &#039;&#039;E&amp;lt;sub&amp;gt;ZP&amp;lt;/sub&amp;gt;&#039;&#039; is the vibrational [[zero-point energy]] of the lattice, &#039;&#039;T&#039;&#039; is the absolute temperature, &#039;&#039;V&#039;&#039; is the volume and &#039;&#039;S&#039;&#039; is the [[entropy]] due to the vibrational degrees of freedom. The specific definition of the volume is of no particular importance, as long as the definition is used consistently throughout. It can be the volume per primitive unit cell, volume per conventional unit cell, or even molar volume. This choice does not affect the following in any way.&lt;br /&gt;
&lt;br /&gt;
The zero-point energy term equals&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; E_{ZP}(V) = \frac{1}{N} \sum_{\mathbf{k}, i} \frac{1}{2} h \nu_{\mathbf{k},i}(V) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;N&#039;&#039; is the number of terms in the sum, &#039;&#039;&#039;k&#039;&#039;&#039; is a [[wave vector]], &#039;&#039;i&#039;&#039; denotes a phonon band, &#039;&#039;h&#039;&#039; is [[Planck&#039;s constant]] and ν&amp;lt;sub&amp;gt;&#039;&#039;&#039;k&#039;&#039;&#039;,&#039;&#039;i&#039;&#039;&amp;lt;/sub&amp;gt;(V) is the frequency of a phonon with wave vector &#039;&#039;&#039;k&#039;&#039;&#039; in the &#039;&#039;i&#039;&#039;-th band at volume &#039;&#039;V&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
The entropy term equals&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S(V) = -\frac{1}{N} \sum_{\mathbf{k}, i} k_B \ln \left[ 1 - \exp\left( -\frac{h \nu_{\mathbf{k},i}(V)}{ k_BT }\right) \right] + \frac{1}{N} \sum_{\mathbf{k},i} k_B \frac{h \nu_{\mathbf{k},i}(V)}{k_B T} \left[ \exp\left( \frac{h \nu_{\mathbf{k},i}(V)}{ k_BT } \right) - 1 \right]^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;k&#039;&#039;&amp;lt;sub&amp;gt;B&amp;lt;/sub&amp;gt; is the [[Boltzmann constant]]. The frequency ν as a function of &#039;&#039;&#039;k&#039;&#039;&#039; is the [[dispersion relation]].  Note that for a constant value of &#039;&#039;V&#039;&#039;, these equations corresponds to that of the harmonic approximation.&lt;br /&gt;
&lt;br /&gt;
By applying a [[Legendre transform]], it is possible to obtain the [[Gibbs free energy]] &#039;&#039;G&#039;&#039; of the system as a function of temperature and pressure.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G(T,P) = \min_V \left[ U(V) + E_{ZP}(V) - T S(T,V) + P V \right]&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &#039;&#039;P&#039;&#039; is the pressure. The minimal value for &#039;&#039;G&#039;&#039; is found at the equilibrium volume for a given &#039;&#039;T&#039;&#039; and &#039;&#039;P&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The system used&lt;br /&gt;
&lt;br /&gt;
The methodology/theory used MOLECULAR DYNAMICS (MD) - Brillouin zones&lt;br /&gt;
&lt;br /&gt;
The aims of the exercise - To compare the to predict how the material expands when heated, to calculate the thermal expansion coefficient for MgO, to compute vibrational energy levels of MgO, to understand the phonon dispersion of a material, the vibrational density of state, to simulate the vibrations as random motions of atoms inside a cell, to compare QUASI-HARMONIC APPROXIMATION with MOLECULAR DYNAMICS results.&lt;br /&gt;
&lt;br /&gt;
The tools/programs in use - DLV&lt;br /&gt;
&lt;br /&gt;
The quasi-harmonic approximation for phonons builds upon the harmonic approximation for phonon dynamics, and therefore to explain the quasi-harmonic approximation we must first discuss the harmonic approximation&lt;br /&gt;
&lt;br /&gt;
For a regular, linear chain which is composed of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; number of particles, the forces between a pair of atoms can be assumed to be a potential energy function &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; which depends on the distance of the separation between the atoms. The main contributing forces to the potential are described by an electric force, such as electrostatic attractions, covalent bonds or Van der Waals forces. Therefore the potential energy of the entire lattice made up of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; atoms is the sum of the potential energies between each pair of atoms with a separation r from each other shown below in eq 1.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV(r)&amp;lt;/math&amp;gt;       &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, allowing each atom to deviate slightly from its equilibrium position by a displacement &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;, if the deviations are small in comparison to the distance between each atom &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;, the energy of this chain is able to be calculated via a taylor expansion summing over all of the atoms in the chain.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV + \sum_{s\ge 1} \frac {1}{s !} \frac {\partial^s V}{\partial u^s} \sum_{n}&lt;br /&gt;
 (u_n - u_{n+1})^s&amp;lt;/math&amp;gt;     &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;u_n&amp;lt;/math&amp;gt; is the displacement of the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;th atom from its equilibrium postition&lt;br /&gt;
&lt;br /&gt;
Two approximations are used in order to reach this equation, which together forms the harmonic approximation and it&#039;s respective equation. The first approximation states that the sum of the pair potential energies is completed over only neighboring atoms, as although there are electric forces between all atoms, these forces on atoms far away from one another are greatly diminished by screening by the atoms in between, and that the potential energies are treated as harmonic potential energies. In this equation, as the expansion was done around the equilibrium point, therefore the first derivative is zero, whereas higher order terms are not, and so the first term can be dropped, and the second term is used where &amp;lt;math&amp;gt;s = 2&amp;lt;/math&amp;gt;, with higher order terms being neglected. These higher order terms are ignored as harmonic equations of motion have exact solutions, while anharmonic equations do not have exact solutions to them and require more approximations. Thus the energy of the lattice is thus the same as the energy of the set of harmonic oscillators. The error in this equation remains small for small values of &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;&lt;br /&gt;
as the value of higher order terms will remain low.&lt;br /&gt;
CITE BOOK&lt;br /&gt;
&lt;br /&gt;
== Results and Discussion ==&lt;br /&gt;
&lt;br /&gt;
=== Phonon modes and Free Energy of MgO ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|[[File:Ft1015MgO_phonon_dispersion.PNG|500px|thumb|&#039;&#039;&#039;Figure 1&#039;&#039;&#039;: A phonon dispersion plot for MgO]]&lt;br /&gt;
|[[File:Ft1015MgO_DoS.PNG|500px|thumb|&#039;&#039;&#039;Figure 2&#039;&#039;&#039;: A plot of the density of states for MgO using a 1x1x1 grid size]]&lt;br /&gt;
|[[File:Ft1015MgO_DoS_20x20x20.PNG|500px|thumb|left|&#039;&#039;&#039;Figure 3&#039;&#039;&#039;: The optimised plot of the density of states for MgO using a 16x16x16 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From figures 1 and 2, we can see the computed phonon dispersion curve and density of states for a 1x1x1 grid size containing one k-point. Correlating the density of states with the dispersion curve via their shared axis of frequency of vibration yields the k-point L on the dispersion curve as the singular k-point used for the calculation. The density of states shows bands at 286 and 351 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 676 and 806 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, with the intensities of the first two bands double that of the final two bands. These bands correspond to three acoustic and three optical branches, with the first two bands of 0.333 intensity corresponding to a k-point where two branches are overlapping and are therefore degenerate states.&lt;br /&gt;
&lt;br /&gt;
Varying the grid size used for the calculation greatly affected the accuracy and precision of the results of calculations through increasing the number of k-points sampled in eq. 1ː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\omega ^{2}(k) = C(\frac{1}{M_{Mg}} + \frac{1}{M_{O}}) \pm \sqrt {(\frac{1}{M_{Mg}} + \frac{1}{M_{O}})^{2} - \frac{4sin^{2}(ka)}{M_{Mg}}}&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; is the spring force constant, &amp;lt;math&amp;gt;M_{Mg}&amp;lt;/math&amp;gt; is the molar mass of magnesium and &amp;lt;math&amp;gt;M_{O}&amp;lt;/math&amp;gt; is the molar mass of oxygen&lt;br /&gt;
&lt;br /&gt;
As the grid size increases, and thus the more k-points sampled, more and more features become visible, with the increase in number of points sampled along the dispersion curve leading to the increase in number of bands seen in the density of states. Optimising the grid size led to a grid size of 16x16x16 being optimal. As expected, the density of states plot produced from this grid size was smooth, as can be seen in figure 3. This curve was proved to be a good optimisation through looking at the Hemholtz free energy for each of the simulated grid sizes. As the accuracy of the Helmholtz free energy result directly depends on the number of k-space points sampled in the calculations as can be seen in eq. 2. Similarly to eq. 1, the larger the grid size, and therefore the more k-points sampled, the more accurate the result. Comparing the free energy of the 16x16x16 grid to the 32x32x32 grid; which for higher order grids remained constant and so had converged, the 16x16x16 was accurate to within 0.001 meV or 2.4434 × 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; %.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; F = E_0 + \frac {1}{2}\sum_{k,j}^{} \hbar \omega _k + k_B T \sum_{k,j}^{}ln(1-e^{\frac {-\hbar \omega _k }{k_B T}})&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;F&amp;lt;/math&amp;gt; is the Hemholtz free energy and &amp;lt;math&amp;gt;E_0&amp;lt;/math&amp;gt; is the lattice energy&lt;br /&gt;
&lt;br /&gt;
In comparison to smaller grid sizes, the 16x16x16 grid size curve appears more smooth, and more akin to a single band as seen for macrostructures. Larger grid sizes, while greatly increasing the computation time of the calculation did not largely increase the accuracy of the calculations as stated above, and therefore the 16x16x16 grid size was the optimal choice for these simulations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 1. Calculated Total Difference in Hemholtz Free Energy &lt;br /&gt;
! Grid Size&lt;br /&gt;
! Total Difference in Free Energy&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 3.818&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.126&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -0.051&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -0.033&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -0.001&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| -0.000&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| 0.000&lt;br /&gt;
|-&lt;br /&gt;
| 64&lt;br /&gt;
| 0.000&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Table 1 shows the difference between the calculated free energy for grid size and the final converged free energy. Looking at this, we can see that for grid sizes larger than 24x24x24, there is no change in the free energy of the system and so the free energy has converged to a minima, although it may not be the global minimum. The accuracy of simulations also increase rapidly with grid size, for example for accurate simulated energies to 1, 0.5 and 0.1 meV per cell, grid sizes of 2x2x2, 4x4x4 and 8x8x8 respectively can be used. This rapid increase in the accuracy of the calculation can be attributed to the large increase in k-points sampled over within the summations in eq. 2 with increasing grid size.&lt;br /&gt;
&lt;br /&gt;
However, the optimal grid size dependent on the material used due to the relationship between the lattice parameter, and the size of the first brillouin zone in k-space. For a similar oxide such as CaO, in comparsion to the lattice parameter of MgO of 4.212 Å &amp;lt;ref&amp;gt; A. CIMINO, P. PORTA and M. VALIGI, J. Am. Ceram. Soc, 1966, &#039;&#039;&#039;49&#039;&#039;&#039;, 152–156 &amp;lt;/ref&amp;gt;, the parameter of CaO is 4.864 Å &amp;lt;ref&amp;gt;Mackrodt, W. C., Harrison, N. M., Saunders, V. R., Allan, N. L. and Towler, M. D., Aprà, E., Dovesi, R., Philos. Mag. A, 1993 , &#039;&#039;&#039;68&#039;&#039;&#039;, 653-666 &amp;lt;/ref&amp;gt;, slightly larger than that of MgO. This leads to a slightly smaller grid size being optimal, as the larger lattice parameter leads to a smaller brillouin zone in reciprocal space as if the lattice parameter &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; is larger, then the size of the first brillouin zone &amp;lt;math&amp;gt;a^{*}= \frac {2 \pi}{a} &amp;lt;/math&amp;gt;will be smaller. This in turn allows less points to be sampled inside the region to give the same spacing of points, and therefore accuracy for the density of states as for MgO. Similarly, the zeolite faujsite has an extremely large lattice parameter of 25.132 Å &amp;lt;ref&amp;gt;E. Dempsey, G. H. Kuhl, and D. H. Olson, Phys. Chem., 1969, &#039;&#039;&#039;73&#039;&#039;&#039;, 387–390 &amp;lt;/ref&amp;gt;, in comparison to MgO. This; as with the case of CaO but more exaggerated, leads to a much smaller brillouin zone in reciprocal space, and so allows for a much smaller grid size to give the same accuracy as the MgO calculation due to the extremely small value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; obtained for faujsite.&lt;br /&gt;
Conversely, lithium has a smaller lattice spacing of 3.51 Å &amp;lt;ref&amp;gt;M.R. Nadler and C.P. Kempfer, Anal. Chem., 1959, &#039;&#039;&#039;31&#039;&#039;&#039;, 2109-2111&amp;lt;/ref&amp;gt;. Therefore the value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; for lithium will be larger than for MgO, and so require a larger grid size to obtain the same spacing between sampled k-space points and therefore accuracy of the calculated density of states.&lt;br /&gt;
&lt;br /&gt;
=== Thermal Expansion of MgO ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
||[[File:Ft1015Latticeparametervskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 4&#039;&#039;&#039;: A plot of lattice parameter against temperature for MgO]]&lt;br /&gt;
|[[File:Ft1015Latticevolumevskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 5&#039;&#039;&#039;: A plot of lattice volume against temperature for MgO, with the magenta line on the graph corresponding to the polynomial fit for the graph, and the red point the points which were not fitted over]]&lt;br /&gt;
|[[File:Ft1015Hemholtzvskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 6&#039;&#039;&#039;: A plot of free energy against temperature for MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[File:|480px|thumb|&#039;&#039;&#039;Figure 5&#039;&#039;&#039;: A plot of lattice volume against temperature for MgO, with the magenta line on the graph corresponding to the polynomial fit for the graph, and the red point the points which were not fitted over]&lt;br /&gt;
Figures 4 &amp;amp; 5 show the effect of change on temperature on the lattice parameter and volume of MgO in the range of 50-2900 K. As we can seen from the figures, from 50-400 K, a change in temperature does not largely increase the volume, while above 400 K the trend seems to be linear with respect to volume increase through an increase in temperature. This is however not the case at higher temperatures above 2200 K where the trend is more polynomial in nature.&lt;br /&gt;
&lt;br /&gt;
From 50-400 K, the dominating term for the free energy is the zero point energy, and thus a change in temperature does not greatly change the free energy of the lattice and so volume changes at low temperatures are minimal. At temperatures above 2200 K not only is the entropic term completely dominating all other terms for the free energy, but also higher order anharmonic terms for the free energy that were excluded in the harmonic approximation part of the equation begin to play a large role in the free energy. This leads to the gradient no longer being linear. &amp;lt;ref&amp;gt;Masanori Matsui, Geoffrey D. Price and Atul Patel, Geophys. Res. Lett., 1994, &#039;&#039;&#039;21&#039;&#039;&#039;,  1659-1662 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The thermal expansion coefficients for MgO can be calculated through using the gradient &amp;lt;math&amp;gt; (\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt; at a specific value of &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; in the equationː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \alpha = \frac{1}{V_i} (\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt;   &amp;lt;math&amp;gt;(3)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt; \alpha &amp;lt;/math&amp;gt; is the coefficient of thermal expansion and &amp;lt;math&amp;gt;V_i&amp;lt;/math&amp;gt; is the volume of the lattice at 0 K, and &amp;lt;math&amp;gt;(\frac{\partial V}{\partial T})_p =6.16898 \times 10^{-7} T + 0.00118&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Table 2 displays thermal expansion coefficients for the polynomial fit of MgO, alongside the temperature range that the fit was made over.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 2. Calculated Linear fit Thermal Expansion Coefficients for MgO&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| 50 K&lt;br /&gt;
| 16.44165152&lt;br /&gt;
&lt;br /&gt;
| 1500 K&lt;br /&gt;
|40.13048558&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 100 K&lt;br /&gt;
| 17.25850787&lt;br /&gt;
&lt;br /&gt;
| 1600 K&lt;br /&gt;
| 41.76419827&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 200 K&lt;br /&gt;
| 18.89222056&lt;br /&gt;
&lt;br /&gt;
| 1700 K&lt;br /&gt;
|43.39791096&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 300 K&lt;br /&gt;
| 20.52593325&lt;br /&gt;
&lt;br /&gt;
| 1800 K&lt;br /&gt;
|45.03162366&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 400 K&lt;br /&gt;
| 22.15964595&lt;br /&gt;
&lt;br /&gt;
| 1900 K&lt;br /&gt;
|46.66533635&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 500 K&lt;br /&gt;
| 23.79335864&lt;br /&gt;
&lt;br /&gt;
| 2000 K&lt;br /&gt;
|48.29904905&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 600 K&lt;br /&gt;
| 25.42707133&lt;br /&gt;
&lt;br /&gt;
| 2100 K&lt;br /&gt;
|49.93276174&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 700 K&lt;br /&gt;
| 27.06078403&lt;br /&gt;
&lt;br /&gt;
| 2200 K&lt;br /&gt;
|51.56647443&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 800 K&lt;br /&gt;
| 28.69449672&lt;br /&gt;
&lt;br /&gt;
| 2300 K&lt;br /&gt;
|53.20018713&lt;br /&gt;
|-&lt;br /&gt;
| 900 K&lt;br /&gt;
| 30.32820942&lt;br /&gt;
&lt;br /&gt;
| 2400 K&lt;br /&gt;
|54.83389982&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1000 K&lt;br /&gt;
| 31.96192211&lt;br /&gt;
&lt;br /&gt;
| 2500 K&lt;br /&gt;
|56.46761251&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1100 K&lt;br /&gt;
| 33.5956348&lt;br /&gt;
&lt;br /&gt;
| 2600 K&lt;br /&gt;
|58.10132521&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1200 K&lt;br /&gt;
| 35.2293475&lt;br /&gt;
&lt;br /&gt;
| 2700 K&lt;br /&gt;
|59.7350379&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1300 K&lt;br /&gt;
| 36.86306019&lt;br /&gt;
&lt;br /&gt;
| 2800 K&lt;br /&gt;
|61.3687506&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1400 K&lt;br /&gt;
| 38.49677288&lt;br /&gt;
&lt;br /&gt;
| 2900 K&lt;br /&gt;
|63.00246329&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As we can see from the table of results, the coefficient of thermal expansion is not independant of temperature, but changes with it.&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
== Tasks ==&lt;br /&gt;
&lt;br /&gt;
=== Calculating the phonon modes of MgO ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The density of states for 1x1x1 grid was computed for a single k-point. Can you work out which k-point by examining the dispersion curves ? look in the Log File to check.&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Through correlating the DoS for the single k-point with the dispersion curve, the k-point that was used can be found. The DoS shows bands at 286 and 351 cm-1 with intensities of 0.333, and bands at 676 and 806 cm-1 with intensities half that of the first two bands. These points can be seen to correspond to the L k-point on the dispersion curve. This k-point shows three acoustic and optical branches, with the first two points of 0.333 intensity corresponding to a point where two branches are overlapping.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does the density of states vary with grid size ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The increase in number of points sampled along the dispersion curve leads to the increase in number of bands seen in the DoS, and ac. The DoS becomes more spread out as the number of sampled points increases increases, as with a larger grid size, more vibrations are sampled and thus more features appear in the dispersion.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;As the grid size increases more and more of the possible vibrations are sampled and more features appear - which grid size is the minimum for a reasonable approximation to the density of states ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
A grid size of 16x16x16 was found to be the optimal grid size. As expected, the DoS curve produced from this grid size was smooth. This curve was proved to be a good optimization through looking at the Hemholtz free energy for each of the simulated grid sizes. As the accuracy of the Hemholtz free energy result directly depends on the number of k-space points summed over in the calculations, the larger the grid size, and therefore the large the number of k-points summed over, the more accurate the result. Comparing the 16x16x16 to the 32x32x32 grid; which on higher order grids did not change the free energy and therefore was the best approximation, the 16x16x16 was accurate to within 0.001 meV or 2.4434 × 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; %&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does the density of states computed at this optimal grid size compare to that computed for smaller and larger grids ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
At this grid size of 16x16x16, compared to grids that are smaller it appears more smooth, and similar to a single band for a macrostructure. Larger grid sizes increase the smoothness of the band &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How is the density of states related to the dispersion curves ?&#039;&#039;&#039;&lt;br /&gt;
Both the DoS and dispersion curves are plotted with one axis being energy; or in this case frequency of vibration, and so can be related. Through potting both the DoS and dispersion curves on the same axis one can see the relationship between the DoS and dispersion&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Would this optimal grid size for MgO (4.212 Å &amp;lt;ref&amp;gt; A. CIMINO, P. PORTA and M. VALIGI, J. Am. Ceram. Soc, 1966, &#039;&#039;&#039;49&#039;&#039;&#039;, 152–156 &amp;lt;/ref&amp;gt;)be appropriate for a calculation on;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a similar oxide (eg: CaO) ?&#039;&#039;&#039;&lt;br /&gt;
CaO has a lattice parameter of 4.864 Å &amp;lt;ref&amp;gt;Mackrodt, W. C., Harrison, N. M., Saunders, V. R., Allan, N. L. and Towler, M. D., Aprà, E., Dovesi, R., Philos. Mag. A, 1993 , &#039;&#039;&#039;68&#039;&#039;&#039;, 653-666 &amp;lt;/ref&amp;gt;, slightly larger than that of MgO. This leads to a slightly smaller grid size being optimal, as the larger lattice parameter leads to a smaller brillouin zone in reciprocal space as if the lattice parameter &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; in the range of  &amp;lt;math&amp;gt; [0, \frac{\pi}{a}]&amp;lt;/math&amp;gt; is larger, then the range will be smaller. This in turn allows less points to be sampled inside the region to give the same spacing of points, and therefore accuracy for the DoS as for MgO.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a Zeolite (eg: Faujasite) ?&#039;&#039;&#039;&lt;br /&gt;
Faujsite has an extremely large lattice parameter of 25.132 Å &amp;lt;ref&amp;gt;E. Dempsey, G. H. Kuhl, and D. H. Olson, Phys. Chem., 1969, &#039;&#039;&#039;73&#039;&#039;&#039;, 387–390 &amp;lt;/ref&amp;gt;, in comparison to MgO (4.212 Å). This; as with the case of CaO but more exaggerated, leads to a much smaller brillouin zone in reciprocal space, and so allows for a much smaller grid size to give the same accuracy as the MgO DoS calculation&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a metal (eg: lithium) ?&#039;&#039;&#039;&lt;br /&gt;
In comparison to MgO, CaO and Faujsite, Lithium has a smaller lattice spacing of 3.51 Å &amp;lt;ref&amp;gt;M.R. Nadler and C.P. Kempfer, Anal. Chem., 1959, &#039;&#039;&#039;31&#039;&#039;&#039;, 2109-2111&amp;lt;/ref&amp;gt;. Therefore the brillouin zone &amp;lt;math&amp;gt; [0, \frac{\pi}{a}] &amp;lt;/math&amp;gt; for Lithium will be larger than for MgO, and so require a larger grid size to obtain the same spacing between sampled k-space points and therefore accuracy of the calculated DoS&lt;br /&gt;
&lt;br /&gt;
=== Computing the Free Energy - The harmonic approximation ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does the free energy vary with grid size ?&#039;&#039;&#039;&lt;br /&gt;
Figure 4 plots Hemholtz free energy against grid size using ep. 2, showing that above grid sizes of 32x32x32, there is no change in the free energy of the system, and so has converged to a minima.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Which grid size is appropriate for calculations accurate to 1 meV, 0.5 meV and 0.1 meV per cell ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Would this optimal grid size for MgO be appropriate for a calculation on; a similar oxide (eg: CaO) ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a Zeolite (eg: Faujasite) ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a metal (eg: lithium) ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== The Thermal Expansion of MgO ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Plot the free energy against temperature&#039;&#039;&#039;&lt;br /&gt;
Done&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Plot the lattice constant against temperature&#039;&#039;&#039;&lt;br /&gt;
Done&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Comment on the shape of these curves.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Compute the coefficient of thermal expansion for MgO&#039;&#039;&#039;&lt;br /&gt;
0.00002906591&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does this compare to that measured ? Find a measurement in the literature or on the web - at what temperature was the measurement made ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;What are the main approximations in your calculation ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;What is the physical origin of thermal expansion ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;As the temperature approaches the melting point of MgO how well do the phonon modes represent the actual motions of the ions ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In a diatomic molecule with an exactly harmonic potential would you expect the bond length to increase with temperature ? Why does it increase in the solid when we are using an quasi-harmonic approximation ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamics ===&lt;br /&gt;
&lt;br /&gt;
Replot your data from the quasi-harmonic approximation calculations as, cell volume per formula unit vs temperature, and add some points from the MD runs at a few suitable temperatures.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
How does the thermal expansion predicted by MD compare to that predicted by the quasi-harmonic approximation ?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Why do the two methods produce different answers ? - how does the difference depend on temperature ?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
An opportunity to speculate&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From your experience of computing an accurate Free Energy how large a cell should be used to perform reliably MD for MgO ?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
What would happen to the cell volume at high temperature in the quasi-harmonic approximation and in the MD ?&lt;/div&gt;</summary>
		<author><name>Ft1015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=651866</id>
		<title>Rep:FabianThomasThirdYearMgOSimulation</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=651866"/>
		<updated>2017-12-17T12:34:18Z</updated>

		<summary type="html">&lt;p&gt;Ft1015: /* Thermal Expansion of MgO */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Abstract ==&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Theory ===&lt;br /&gt;
The quasi-harmonic approximation expands upon the harmonic [[phonon]] model of lattice dynamics. The harmonic phonon model states that all interatomic forces are purely [[Harmonic Oscillator|harmonic]], but such a model is inadequate to explain [[thermal expansion]], as the equilibrium distance between atoms in such a model is independent of temperature.&lt;br /&gt;
&lt;br /&gt;
Thus in the quasi-harmonic model, from a phonon point of view, phonon frequencies become volume-dependent in the quasi-harmonic approximation, such that for each volume, the harmonic approximation holds.&lt;br /&gt;
&lt;br /&gt;
For a lattice, the Helmholtz free energy &#039;&#039;F&#039;&#039; in the quasi-harmonic approximation is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;F(T,V) = U(V) + E_{ZP}(V) - T S(T,V)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;U&#039;&#039; is the internal [[lattice energy]], &#039;&#039;E&amp;lt;sub&amp;gt;ZP&amp;lt;/sub&amp;gt;&#039;&#039; is the vibrational [[zero-point energy]] of the lattice, &#039;&#039;T&#039;&#039; is the absolute temperature, &#039;&#039;V&#039;&#039; is the volume and &#039;&#039;S&#039;&#039; is the [[entropy]] due to the vibrational degrees of freedom. The specific definition of the volume is of no particular importance, as long as the definition is used consistently throughout. It can be the volume per primitive unit cell, volume per conventional unit cell, or even molar volume. This choice does not affect the following in any way.&lt;br /&gt;
&lt;br /&gt;
The zero-point energy term equals&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; E_{ZP}(V) = \frac{1}{N} \sum_{\mathbf{k}, i} \frac{1}{2} h \nu_{\mathbf{k},i}(V) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;N&#039;&#039; is the number of terms in the sum, &#039;&#039;&#039;k&#039;&#039;&#039; is a [[wave vector]], &#039;&#039;i&#039;&#039; denotes a phonon band, &#039;&#039;h&#039;&#039; is [[Planck&#039;s constant]] and ν&amp;lt;sub&amp;gt;&#039;&#039;&#039;k&#039;&#039;&#039;,&#039;&#039;i&#039;&#039;&amp;lt;/sub&amp;gt;(V) is the frequency of a phonon with wave vector &#039;&#039;&#039;k&#039;&#039;&#039; in the &#039;&#039;i&#039;&#039;-th band at volume &#039;&#039;V&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
The entropy term equals&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S(V) = -\frac{1}{N} \sum_{\mathbf{k}, i} k_B \ln \left[ 1 - \exp\left( -\frac{h \nu_{\mathbf{k},i}(V)}{ k_BT }\right) \right] + \frac{1}{N} \sum_{\mathbf{k},i} k_B \frac{h \nu_{\mathbf{k},i}(V)}{k_B T} \left[ \exp\left( \frac{h \nu_{\mathbf{k},i}(V)}{ k_BT } \right) - 1 \right]^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;k&#039;&#039;&amp;lt;sub&amp;gt;B&amp;lt;/sub&amp;gt; is the [[Boltzmann constant]]. The frequency ν as a function of &#039;&#039;&#039;k&#039;&#039;&#039; is the [[dispersion relation]].  Note that for a constant value of &#039;&#039;V&#039;&#039;, these equations corresponds to that of the harmonic approximation.&lt;br /&gt;
&lt;br /&gt;
By applying a [[Legendre transform]], it is possible to obtain the [[Gibbs free energy]] &#039;&#039;G&#039;&#039; of the system as a function of temperature and pressure.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G(T,P) = \min_V \left[ U(V) + E_{ZP}(V) - T S(T,V) + P V \right]&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &#039;&#039;P&#039;&#039; is the pressure. The minimal value for &#039;&#039;G&#039;&#039; is found at the equilibrium volume for a given &#039;&#039;T&#039;&#039; and &#039;&#039;P&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The system used&lt;br /&gt;
&lt;br /&gt;
The methodology/theory used MOLECULAR DYNAMICS (MD) - Brillouin zones&lt;br /&gt;
&lt;br /&gt;
The aims of the exercise - To compare the to predict how the material expands when heated, to calculate the thermal expansion coefficient for MgO, to compute vibrational energy levels of MgO, to understand the phonon dispersion of a material, the vibrational density of state, to simulate the vibrations as random motions of atoms inside a cell, to compare QUASI-HARMONIC APPROXIMATION with MOLECULAR DYNAMICS results.&lt;br /&gt;
&lt;br /&gt;
The tools/programs in use - DLV&lt;br /&gt;
&lt;br /&gt;
The quasi-harmonic approximation for phonons builds upon the harmonic approximation for phonon dynamics, and therefore to explain the quasi-harmonic approximation we must first discuss the harmonic approximation&lt;br /&gt;
&lt;br /&gt;
For a regular, linear chain which is composed of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; number of particles, the forces between a pair of atoms can be assumed to be a potential energy function &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; which depends on the distance of the separation between the atoms. The main contributing forces to the potential are described by an electric force, such as electrostatic attractions, covalent bonds or Van der Waals forces. Therefore the potential energy of the entire lattice made up of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; atoms is the sum of the potential energies between each pair of atoms with a separation r from each other shown below in eq 1.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV(r)&amp;lt;/math&amp;gt;       &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, allowing each atom to deviate slightly from its equilibrium position by a displacement &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;, if the deviations are small in comparison to the distance between each atom &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;, the energy of this chain is able to be calculated via a taylor expansion summing over all of the atoms in the chain.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV + \sum_{s\ge 1} \frac {1}{s !} \frac {\partial^s V}{\partial u^s} \sum_{n}&lt;br /&gt;
 (u_n - u_{n+1})^s&amp;lt;/math&amp;gt;     &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;u_n&amp;lt;/math&amp;gt; is the displacement of the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;th atom from its equilibrium postition&lt;br /&gt;
&lt;br /&gt;
Two approximations are used in order to reach this equation, which together forms the harmonic approximation and it&#039;s respective equation. The first approximation states that the sum of the pair potential energies is completed over only neighboring atoms, as although there are electric forces between all atoms, these forces on atoms far away from one another are greatly diminished by screening by the atoms in between, and that the potential energies are treated as harmonic potential energies. In this equation, as the expansion was done around the equilibrium point, therefore the first derivative is zero, whereas higher order terms are not, and so the first term can be dropped, and the second term is used where &amp;lt;math&amp;gt;s = 2&amp;lt;/math&amp;gt;, with higher order terms being neglected. These higher order terms are ignored as harmonic equations of motion have exact solutions, while anharmonic equations do not have exact solutions to them and require more approximations. Thus the energy of the lattice is thus the same as the energy of the set of harmonic oscillators. The error in this equation remains small for small values of &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;&lt;br /&gt;
as the value of higher order terms will remain low.&lt;br /&gt;
CITE BOOK&lt;br /&gt;
&lt;br /&gt;
== Results and Discussion ==&lt;br /&gt;
&lt;br /&gt;
=== Phonon modes and Free Energy of MgO ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|[[File:Ft1015MgO_phonon_dispersion.PNG|500px|thumb|&#039;&#039;&#039;Figure 1&#039;&#039;&#039;: A phonon dispersion plot for MgO]]&lt;br /&gt;
|[[File:Ft1015MgO_DoS.PNG|500px|thumb|&#039;&#039;&#039;Figure 2&#039;&#039;&#039;: A plot of the density of states for MgO using a 1x1x1 grid size]]&lt;br /&gt;
|[[File:Ft1015MgO_DoS_20x20x20.PNG|500px|thumb|left|&#039;&#039;&#039;Figure 3&#039;&#039;&#039;: The optimised plot of the density of states for MgO using a 16x16x16 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From figures 1 and 2, we can see the computed phonon dispersion curve and density of states for a 1x1x1 grid size containing one k-point. Correlating the density of states with the dispersion curve via their shared axis of frequency of vibration yields the k-point L on the dispersion curve as the singular k-point used for the calculation. The density of states shows bands at 286 and 351 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 676 and 806 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, with the intensities of the first two bands double that of the final two bands. These bands correspond to three acoustic and three optical branches, with the first two bands of 0.333 intensity corresponding to a k-point where two branches are overlapping and are therefore degenerate states.&lt;br /&gt;
&lt;br /&gt;
Varying the grid size used for the calculation greatly affected the accuracy and precision of the results of calculations through increasing the number of k-points sampled in eq. 1ː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\omega ^{2}(k) = C(\frac{1}{M_{Mg}} + \frac{1}{M_{O}}) \pm \sqrt {(\frac{1}{M_{Mg}} + \frac{1}{M_{O}})^{2} - \frac{4sin^{2}(ka)}{M_{Mg}}}&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; is the spring force constant, &amp;lt;math&amp;gt;M_{Mg}&amp;lt;/math&amp;gt; is the molar mass of magnesium and &amp;lt;math&amp;gt;M_{O}&amp;lt;/math&amp;gt; is the molar mass of oxygen&lt;br /&gt;
&lt;br /&gt;
As the grid size increases, and thus the more k-points sampled, more and more features become visible, with the increase in number of points sampled along the dispersion curve leading to the increase in number of bands seen in the density of states. Optimising the grid size led to a grid size of 16x16x16 being optimal. As expected, the density of states plot produced from this grid size was smooth, as can be seen in figure 3. This curve was proved to be a good optimisation through looking at the Hemholtz free energy for each of the simulated grid sizes. As the accuracy of the Helmholtz free energy result directly depends on the number of k-space points sampled in the calculations as can be seen in eq. 2. Similarly to eq. 1, the larger the grid size, and therefore the more k-points sampled, the more accurate the result. Comparing the free energy of the 16x16x16 grid to the 32x32x32 grid; which for higher order grids remained constant and so had converged, the 16x16x16 was accurate to within 0.001 meV or 2.4434 × 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; %.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; F = E_0 + \frac {1}{2}\sum_{k,j}^{} \hbar \omega _k + k_B T \sum_{k,j}^{}ln(1-e^{\frac {-\hbar \omega _k }{k_B T}})&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;F&amp;lt;/math&amp;gt; is the Hemholtz free energy and &amp;lt;math&amp;gt;E_0&amp;lt;/math&amp;gt; is the lattice energy&lt;br /&gt;
&lt;br /&gt;
In comparison to smaller grid sizes, the 16x16x16 grid size curve appears more smooth, and more akin to a single band as seen for macrostructures. Larger grid sizes, while greatly increasing the computation time of the calculation did not largely increase the accuracy of the calculations as stated above, and therefore the 16x16x16 grid size was the optimal choice for these simulations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 1. Calculated Total Difference in Hemholtz Free Energy &lt;br /&gt;
! Grid Size&lt;br /&gt;
! Total Difference in Free Energy&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 3.818&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.126&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -0.051&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -0.033&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -0.001&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| -0.000&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| 0.000&lt;br /&gt;
|-&lt;br /&gt;
| 64&lt;br /&gt;
| 0.000&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Table 1 shows the difference between the calculated free energy for grid size and the final converged free energy. Looking at this, we can see that for grid sizes larger than 24x24x24, there is no change in the free energy of the system and so the free energy has converged to a minima, although it may not be the global minimum. The accuracy of simulations also increase rapidly with grid size, for example for accurate simulated energies to 1, 0.5 and 0.1 meV per cell, grid sizes of 2x2x2, 4x4x4 and 8x8x8 respectively can be used. This rapid increase in the accuracy of the calculation can be attributed to the large increase in k-points sampled over within the summations in eq. 2 with increasing grid size.&lt;br /&gt;
&lt;br /&gt;
However, the optimal grid size dependent on the material used due to the relationship between the lattice parameter, and the size of the first brillouin zone in k-space. For a similar oxide such as CaO, in comparsion to the lattice parameter of MgO of 4.212 Å &amp;lt;ref&amp;gt; A. CIMINO, P. PORTA and M. VALIGI, J. Am. Ceram. Soc, 1966, &#039;&#039;&#039;49&#039;&#039;&#039;, 152–156 &amp;lt;/ref&amp;gt;, the parameter of CaO is 4.864 Å &amp;lt;ref&amp;gt;Mackrodt, W. C., Harrison, N. M., Saunders, V. R., Allan, N. L. and Towler, M. D., Aprà, E., Dovesi, R., Philos. Mag. A, 1993 , &#039;&#039;&#039;68&#039;&#039;&#039;, 653-666 &amp;lt;/ref&amp;gt;, slightly larger than that of MgO. This leads to a slightly smaller grid size being optimal, as the larger lattice parameter leads to a smaller brillouin zone in reciprocal space as if the lattice parameter &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; is larger, then the size of the first brillouin zone &amp;lt;math&amp;gt;a^{*}= \frac {2 \pi}{a} &amp;lt;/math&amp;gt;will be smaller. This in turn allows less points to be sampled inside the region to give the same spacing of points, and therefore accuracy for the density of states as for MgO. Similarly, the zeolite faujsite has an extremely large lattice parameter of 25.132 Å &amp;lt;ref&amp;gt;E. Dempsey, G. H. Kuhl, and D. H. Olson, Phys. Chem., 1969, &#039;&#039;&#039;73&#039;&#039;&#039;, 387–390 &amp;lt;/ref&amp;gt;, in comparison to MgO. This; as with the case of CaO but more exaggerated, leads to a much smaller brillouin zone in reciprocal space, and so allows for a much smaller grid size to give the same accuracy as the MgO calculation due to the extremely small value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; obtained for faujsite.&lt;br /&gt;
Conversely, lithium has a smaller lattice spacing of 3.51 Å &amp;lt;ref&amp;gt;M.R. Nadler and C.P. Kempfer, Anal. Chem., 1959, &#039;&#039;&#039;31&#039;&#039;&#039;, 2109-2111&amp;lt;/ref&amp;gt;. Therefore the value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; for lithium will be larger than for MgO, and so require a larger grid size to obtain the same spacing between sampled k-space points and therefore accuracy of the calculated density of states.&lt;br /&gt;
&lt;br /&gt;
=== Thermal Expansion of MgO ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
||[[File:Ft1015Latticeparametervskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 4&#039;&#039;&#039;: A plot of lattice parameter against temperature for MgO]]&lt;br /&gt;
|[[File:Ft1015Latticevolumevskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 5&#039;&#039;&#039;: A plot of lattice volume against temperature for MgO, with the magenta line on the graph corresponding to the polynomial fit for the graph, and the red point the points which were not fitted over]]&lt;br /&gt;
|[[File:Ft1015Hemholtzvskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 6&#039;&#039;&#039;: A plot of free energy against temperature for MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[File:|480px|thumb|&#039;&#039;&#039;Figure 5&#039;&#039;&#039;: A plot of lattice volume against temperature for MgO, with the magenta line on the graph corresponding to the polynomial fit for the graph, and the red point the points which were not fitted over]&lt;br /&gt;
Figures 4 &amp;amp; 5 show the effect of change on temperature on the lattice parameter and volume of MgO in the range of 50-2900 K. As we can seen from the figures, from 50-400 K, a change in temperature does not largely increase the volume, while above 400 K the trend seems to be linear with respect to volume increase through an increase in temperature. This is however not the case at higher temperatures above 2200 K where the trend is more polynomial in nature.&lt;br /&gt;
&lt;br /&gt;
From 50-400 K, the dominating term for the free energy is the zero point energy, and thus a change in temperature does not greatly change the free energy of the lattice and so volume changes at low temperatures are minimal. At temperatures above 2200 K not only is the entropic term completely dominating all other terms for the free energy, but also higher order anharmonic terms for the free energy that were excluded in the harmonic approximation part of the equation begin to play a large role in the free energy. This leads to the gradient no longer being linear. &amp;lt;ref&amp;gt;Masanori Matsui, Geoffrey D. Price and Atul Patel, Geophys. Res. Lett., 1994, &#039;&#039;&#039;21&#039;&#039;&#039;,  1659-1662 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The thermal expansion coefficients for MgO can be calculated through using the gradient &amp;lt;math&amp;gt; (\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt; at a specific value of &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; in the equationː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \alpha = \frac{1}{V_i} (\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt;   &amp;lt;math&amp;gt;(3)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt; \alpha &amp;lt;/math&amp;gt; is the coefficient of thermal expansion and &amp;lt;math&amp;gt;V_i&amp;lt;/math&amp;gt; is the volume of the lattice at 0 K, and &amp;lt;math&amp;gt;(\frac{\partial V}{\partial T})_p =6.16898 \times 10^{-7} T + 0.00118&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Table 2 displays thermal expansion coefficients for the polynomial fit of MgO, alongside the temperature range that the fit was made over.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 2. Calculated Linear fit Thermal Expansion Coefficients for MgO&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| 50 K&lt;br /&gt;
| 16.44165152&lt;br /&gt;
&lt;br /&gt;
| 1500 K&lt;br /&gt;
|40.13048558&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 100 K&lt;br /&gt;
| 17.25850787&lt;br /&gt;
&lt;br /&gt;
| 1600 K&lt;br /&gt;
| 41.76419827&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 200 K&lt;br /&gt;
| 18.89222056&lt;br /&gt;
&lt;br /&gt;
| 1700 K&lt;br /&gt;
|43.39791096&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 300 K&lt;br /&gt;
| 20.52593325&lt;br /&gt;
&lt;br /&gt;
| 1800 K&lt;br /&gt;
|45.03162366&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 400 K&lt;br /&gt;
| 22.15964595&lt;br /&gt;
&lt;br /&gt;
| 1900 K&lt;br /&gt;
|46.66533635&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 500 K&lt;br /&gt;
| 23.79335864&lt;br /&gt;
&lt;br /&gt;
| 2000 K&lt;br /&gt;
|48.29904905&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 600 K&lt;br /&gt;
| 25.42707133&lt;br /&gt;
&lt;br /&gt;
| 2100 K&lt;br /&gt;
|49.93276174&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 700 K&lt;br /&gt;
| 27.06078403&lt;br /&gt;
&lt;br /&gt;
| 2200 K&lt;br /&gt;
|51.56647443&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 800 K&lt;br /&gt;
| 28.69449672&lt;br /&gt;
&lt;br /&gt;
| 2300 K&lt;br /&gt;
|53.20018713&lt;br /&gt;
|-&lt;br /&gt;
| 900 K&lt;br /&gt;
| 30.32820942&lt;br /&gt;
&lt;br /&gt;
| 2400 K&lt;br /&gt;
|54.83389982&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1000 K&lt;br /&gt;
| 31.96192211&lt;br /&gt;
&lt;br /&gt;
| 2500 K&lt;br /&gt;
|56.46761251&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1100 K&lt;br /&gt;
| 33.5956348&lt;br /&gt;
&lt;br /&gt;
| 2600 K&lt;br /&gt;
|58.10132521&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1200 K&lt;br /&gt;
| 35.2293475&lt;br /&gt;
&lt;br /&gt;
| 2700 K&lt;br /&gt;
|59.7350379&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1300 K&lt;br /&gt;
| 36.86306019&lt;br /&gt;
&lt;br /&gt;
| 2800 K&lt;br /&gt;
|61.3687506&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1400 K&lt;br /&gt;
| 38.49677288&lt;br /&gt;
&lt;br /&gt;
| 2900 K&lt;br /&gt;
|63.00246329&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As we can see from the table of results, the coefficient of thermal expansion is not independant of temperature, but changes with it.&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
== Tasks ==&lt;br /&gt;
&lt;br /&gt;
=== Calculating the phonon modes of MgO ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The density of states for 1x1x1 grid was computed for a single k-point. Can you work out which k-point by examining the dispersion curves ? look in the Log File to check.&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Through correlating the DoS for the single k-point with the dispersion curve, the k-point that was used can be found. The DoS shows bands at 286 and 351 cm-1 with intensities of 0.333, and bands at 676 and 806 cm-1 with intensities half that of the first two bands. These points can be seen to correspond to the L k-point on the dispersion curve. This k-point shows three acoustic and optical branches, with the first two points of 0.333 intensity corresponding to a point where two branches are overlapping.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does the density of states vary with grid size ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The increase in number of points sampled along the dispersion curve leads to the increase in number of bands seen in the DoS, and ac. The DoS becomes more spread out as the number of sampled points increases increases, as with a larger grid size, more vibrations are sampled and thus more features appear in the dispersion.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;As the grid size increases more and more of the possible vibrations are sampled and more features appear - which grid size is the minimum for a reasonable approximation to the density of states ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
A grid size of 16x16x16 was found to be the optimal grid size. As expected, the DoS curve produced from this grid size was smooth. This curve was proved to be a good optimization through looking at the Hemholtz free energy for each of the simulated grid sizes. As the accuracy of the Hemholtz free energy result directly depends on the number of k-space points summed over in the calculations, the larger the grid size, and therefore the large the number of k-points summed over, the more accurate the result. Comparing the 16x16x16 to the 32x32x32 grid; which on higher order grids did not change the free energy and therefore was the best approximation, the 16x16x16 was accurate to within 0.001 meV or 2.4434 × 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; %&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does the density of states computed at this optimal grid size compare to that computed for smaller and larger grids ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
At this grid size of 16x16x16, compared to grids that are smaller it appears more smooth, and similar to a single band for a macrostructure. Larger grid sizes increase the smoothness of the band &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How is the density of states related to the dispersion curves ?&#039;&#039;&#039;&lt;br /&gt;
Both the DoS and dispersion curves are plotted with one axis being energy; or in this case frequency of vibration, and so can be related. Through potting both the DoS and dispersion curves on the same axis one can see the relationship between the DoS and dispersion&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Would this optimal grid size for MgO (4.212 Å &amp;lt;ref&amp;gt; A. CIMINO, P. PORTA and M. VALIGI, J. Am. Ceram. Soc, 1966, &#039;&#039;&#039;49&#039;&#039;&#039;, 152–156 &amp;lt;/ref&amp;gt;)be appropriate for a calculation on;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a similar oxide (eg: CaO) ?&#039;&#039;&#039;&lt;br /&gt;
CaO has a lattice parameter of 4.864 Å &amp;lt;ref&amp;gt;Mackrodt, W. C., Harrison, N. M., Saunders, V. R., Allan, N. L. and Towler, M. D., Aprà, E., Dovesi, R., Philos. Mag. A, 1993 , &#039;&#039;&#039;68&#039;&#039;&#039;, 653-666 &amp;lt;/ref&amp;gt;, slightly larger than that of MgO. This leads to a slightly smaller grid size being optimal, as the larger lattice parameter leads to a smaller brillouin zone in reciprocal space as if the lattice parameter &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; in the range of  &amp;lt;math&amp;gt; [0, \frac{\pi}{a}]&amp;lt;/math&amp;gt; is larger, then the range will be smaller. This in turn allows less points to be sampled inside the region to give the same spacing of points, and therefore accuracy for the DoS as for MgO.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a Zeolite (eg: Faujasite) ?&#039;&#039;&#039;&lt;br /&gt;
Faujsite has an extremely large lattice parameter of 25.132 Å &amp;lt;ref&amp;gt;E. Dempsey, G. H. Kuhl, and D. H. Olson, Phys. Chem., 1969, &#039;&#039;&#039;73&#039;&#039;&#039;, 387–390 &amp;lt;/ref&amp;gt;, in comparison to MgO (4.212 Å). This; as with the case of CaO but more exaggerated, leads to a much smaller brillouin zone in reciprocal space, and so allows for a much smaller grid size to give the same accuracy as the MgO DoS calculation&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a metal (eg: lithium) ?&#039;&#039;&#039;&lt;br /&gt;
In comparison to MgO, CaO and Faujsite, Lithium has a smaller lattice spacing of 3.51 Å &amp;lt;ref&amp;gt;M.R. Nadler and C.P. Kempfer, Anal. Chem., 1959, &#039;&#039;&#039;31&#039;&#039;&#039;, 2109-2111&amp;lt;/ref&amp;gt;. Therefore the brillouin zone &amp;lt;math&amp;gt; [0, \frac{\pi}{a}] &amp;lt;/math&amp;gt; for Lithium will be larger than for MgO, and so require a larger grid size to obtain the same spacing between sampled k-space points and therefore accuracy of the calculated DoS&lt;br /&gt;
&lt;br /&gt;
=== Computing the Free Energy - The harmonic approximation ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does the free energy vary with grid size ?&#039;&#039;&#039;&lt;br /&gt;
Figure 4 plots Hemholtz free energy against grid size using ep. 2, showing that above grid sizes of 32x32x32, there is no change in the free energy of the system, and so has converged to a minima.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Which grid size is appropriate for calculations accurate to 1 meV, 0.5 meV and 0.1 meV per cell ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Would this optimal grid size for MgO be appropriate for a calculation on; a similar oxide (eg: CaO) ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a Zeolite (eg: Faujasite) ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a metal (eg: lithium) ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== The Thermal Expansion of MgO ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Plot the free energy against temperature&#039;&#039;&#039;&lt;br /&gt;
Done&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Plot the lattice constant against temperature&#039;&#039;&#039;&lt;br /&gt;
Done&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Comment on the shape of these curves.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Compute the coefficient of thermal expansion for MgO&#039;&#039;&#039;&lt;br /&gt;
0.00002906591&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does this compare to that measured ? Find a measurement in the literature or on the web - at what temperature was the measurement made ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;What are the main approximations in your calculation ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;What is the physical origin of thermal expansion ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;As the temperature approaches the melting point of MgO how well do the phonon modes represent the actual motions of the ions ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In a diatomic molecule with an exactly harmonic potential would you expect the bond length to increase with temperature ? Why does it increase in the solid when we are using an quasi-harmonic approximation ?&#039;&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Ft1015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=651794</id>
		<title>Rep:FabianThomasThirdYearMgOSimulation</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=651794"/>
		<updated>2017-12-16T23:28:35Z</updated>

		<summary type="html">&lt;p&gt;Ft1015: /* Thermal Expansion of MgO */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Abstract ==&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Theory ===&lt;br /&gt;
The quasi-harmonic approximation expands upon the harmonic [[phonon]] model of lattice dynamics. The harmonic phonon model states that all interatomic forces are purely [[Harmonic Oscillator|harmonic]], but such a model is inadequate to explain [[thermal expansion]], as the equilibrium distance between atoms in such a model is independent of temperature.&lt;br /&gt;
&lt;br /&gt;
Thus in the quasi-harmonic model, from a phonon point of view, phonon frequencies become volume-dependent in the quasi-harmonic approximation, such that for each volume, the harmonic approximation holds.&lt;br /&gt;
&lt;br /&gt;
For a lattice, the Helmholtz free energy &#039;&#039;F&#039;&#039; in the quasi-harmonic approximation is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;F(T,V) = U(V) + E_{ZP}(V) - T S(T,V)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;U&#039;&#039; is the internal [[lattice energy]], &#039;&#039;E&amp;lt;sub&amp;gt;ZP&amp;lt;/sub&amp;gt;&#039;&#039; is the vibrational [[zero-point energy]] of the lattice, &#039;&#039;T&#039;&#039; is the absolute temperature, &#039;&#039;V&#039;&#039; is the volume and &#039;&#039;S&#039;&#039; is the [[entropy]] due to the vibrational degrees of freedom. The specific definition of the volume is of no particular importance, as long as the definition is used consistently throughout. It can be the volume per primitive unit cell, volume per conventional unit cell, or even molar volume. This choice does not affect the following in any way.&lt;br /&gt;
&lt;br /&gt;
The zero-point energy term equals&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; E_{ZP}(V) = \frac{1}{N} \sum_{\mathbf{k}, i} \frac{1}{2} h \nu_{\mathbf{k},i}(V) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;N&#039;&#039; is the number of terms in the sum, &#039;&#039;&#039;k&#039;&#039;&#039; is a [[wave vector]], &#039;&#039;i&#039;&#039; denotes a phonon band, &#039;&#039;h&#039;&#039; is [[Planck&#039;s constant]] and ν&amp;lt;sub&amp;gt;&#039;&#039;&#039;k&#039;&#039;&#039;,&#039;&#039;i&#039;&#039;&amp;lt;/sub&amp;gt;(V) is the frequency of a phonon with wave vector &#039;&#039;&#039;k&#039;&#039;&#039; in the &#039;&#039;i&#039;&#039;-th band at volume &#039;&#039;V&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
The entropy term equals&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S(V) = -\frac{1}{N} \sum_{\mathbf{k}, i} k_B \ln \left[ 1 - \exp\left( -\frac{h \nu_{\mathbf{k},i}(V)}{ k_BT }\right) \right] + \frac{1}{N} \sum_{\mathbf{k},i} k_B \frac{h \nu_{\mathbf{k},i}(V)}{k_B T} \left[ \exp\left( \frac{h \nu_{\mathbf{k},i}(V)}{ k_BT } \right) - 1 \right]^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;k&#039;&#039;&amp;lt;sub&amp;gt;B&amp;lt;/sub&amp;gt; is the [[Boltzmann constant]]. The frequency ν as a function of &#039;&#039;&#039;k&#039;&#039;&#039; is the [[dispersion relation]].  Note that for a constant value of &#039;&#039;V&#039;&#039;, these equations corresponds to that of the harmonic approximation.&lt;br /&gt;
&lt;br /&gt;
By applying a [[Legendre transform]], it is possible to obtain the [[Gibbs free energy]] &#039;&#039;G&#039;&#039; of the system as a function of temperature and pressure.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G(T,P) = \min_V \left[ U(V) + E_{ZP}(V) - T S(T,V) + P V \right]&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &#039;&#039;P&#039;&#039; is the pressure. The minimal value for &#039;&#039;G&#039;&#039; is found at the equilibrium volume for a given &#039;&#039;T&#039;&#039; and &#039;&#039;P&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The system used&lt;br /&gt;
&lt;br /&gt;
The methodology/theory used MOLECULAR DYNAMICS (MD) - Brillouin zones&lt;br /&gt;
&lt;br /&gt;
The aims of the exercise - To compare the to predict how the material expands when heated, to calculate the thermal expansion coefficient for MgO, to compute vibrational energy levels of MgO, to understand the phonon dispersion of a material, the vibrational density of state, to simulate the vibrations as random motions of atoms inside a cell, to compare QUASI-HARMONIC APPROXIMATION with MOLECULAR DYNAMICS results.&lt;br /&gt;
&lt;br /&gt;
The tools/programs in use - DLV&lt;br /&gt;
&lt;br /&gt;
The quasi-harmonic approximation for phonons builds upon the harmonic approximation for phonon dynamics, and therefore to explain the quasi-harmonic approximation we must first discuss the harmonic approximation&lt;br /&gt;
&lt;br /&gt;
For a regular, linear chain which is composed of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; number of particles, the forces between a pair of atoms can be assumed to be a potential energy function &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; which depends on the distance of the separation between the atoms. The main contributing forces to the potential are described by an electric force, such as electrostatic attractions, covalent bonds or Van der Waals forces. Therefore the potential energy of the entire lattice made up of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; atoms is the sum of the potential energies between each pair of atoms with a separation r from each other shown below in eq 1.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV(r)&amp;lt;/math&amp;gt;       &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, allowing each atom to deviate slightly from its equilibrium position by a displacement &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;, if the deviations are small in comparison to the distance between each atom &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;, the energy of this chain is able to be calculated via a taylor expansion summing over all of the atoms in the chain.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV + \sum_{s\ge 1} \frac {1}{s !} \frac {\partial^s V}{\partial u^s} \sum_{n}&lt;br /&gt;
 (u_n - u_{n+1})^s&amp;lt;/math&amp;gt;     &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;u_n&amp;lt;/math&amp;gt; is the displacement of the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;th atom from its equilibrium postition&lt;br /&gt;
&lt;br /&gt;
Two approximations are used in order to reach this equation, which together forms the harmonic approximation and it&#039;s respective equation. The first approximation states that the sum of the pair potential energies is completed over only neighboring atoms, as although there are electric forces between all atoms, these forces on atoms far away from one another are greatly diminished by screening by the atoms in between, and that the potential energies are treated as harmonic potential energies. In this equation, as the expansion was done around the equilibrium point, therefore the first derivative is zero, whereas higher order terms are not, and so the first term can be dropped, and the second term is used where &amp;lt;math&amp;gt;s = 2&amp;lt;/math&amp;gt;, with higher order terms being neglected. These higher order terms are ignored as harmonic equations of motion have exact solutions, while anharmonic equations do not have exact solutions to them and require more approximations. Thus the energy of the lattice is thus the same as the energy of the set of harmonic oscillators. The error in this equation remains small for small values of &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;&lt;br /&gt;
as the value of higher order terms will remain low.&lt;br /&gt;
CITE BOOK&lt;br /&gt;
&lt;br /&gt;
== Results and Discussion ==&lt;br /&gt;
&lt;br /&gt;
=== Phonon modes and Free Energy of MgO ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|[[File:Ft1015MgO_phonon_dispersion.PNG|500px|thumb|&#039;&#039;&#039;Figure 1&#039;&#039;&#039;: A phonon dispersion plot for MgO]]&lt;br /&gt;
|[[File:Ft1015MgO_DoS.PNG|500px|thumb|&#039;&#039;&#039;Figure 2&#039;&#039;&#039;: A plot of the density of states for MgO using a 1x1x1 grid size]]&lt;br /&gt;
|[[File:Ft1015MgO_DoS_20x20x20.PNG|500px|thumb|left|&#039;&#039;&#039;Figure 3&#039;&#039;&#039;: The optimised plot of the density of states for MgO using a 16x16x16 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From figures 1 and 2, we can see the computed phonon dispersion curve and density of states for a 1x1x1 grid size containing one k-point. Correlating the density of states with the dispersion curve via their shared axis of frequency of vibration yields the k-point L on the dispersion curve as the singular k-point used for the calculation. The density of states shows bands at 286 and 351 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 676 and 806 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, with the intensities of the first two bands double that of the final two bands. These bands correspond to three acoustic and three optical branches, with the first two bands of 0.333 intensity corresponding to a k-point where two branches are overlapping and are therefore degenerate states.&lt;br /&gt;
&lt;br /&gt;
Varying the grid size used for the calculation greatly affected the accuracy and precision of the results of calculations through increasing the number of k-points sampled in eq. 1ː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\omega ^{2}(k) = C(\frac{1}{M_{Mg}} + \frac{1}{M_{O}}) \pm \sqrt {(\frac{1}{M_{Mg}} + \frac{1}{M_{O}})^{2} - \frac{4sin^{2}(ka)}{M_{Mg}}}&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; is the spring force constant, &amp;lt;math&amp;gt;M_{Mg}&amp;lt;/math&amp;gt; is the molar mass of magnesium and &amp;lt;math&amp;gt;M_{O}&amp;lt;/math&amp;gt; is the molar mass of oxygen&lt;br /&gt;
&lt;br /&gt;
As the grid size increases, and thus the more k-points sampled, more and more features become visible, with the increase in number of points sampled along the dispersion curve leading to the increase in number of bands seen in the density of states. Optimising the grid size led to a grid size of 16x16x16 being optimal. As expected, the density of states plot produced from this grid size was smooth, as can be seen in figure 3. This curve was proved to be a good optimisation through looking at the Hemholtz free energy for each of the simulated grid sizes. As the accuracy of the Helmholtz free energy result directly depends on the number of k-space points sampled in the calculations as can be seen in eq. 2. Similarly to eq. 1, the larger the grid size, and therefore the more k-points sampled, the more accurate the result. Comparing the free energy of the 16x16x16 grid to the 32x32x32 grid; which for higher order grids remained constant and so had converged, the 16x16x16 was accurate to within 0.001 meV or 2.4434 × 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; %.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; F = E_0 + \frac {1}{2}\sum_{k,j}^{} \hbar \omega _k + k_B T \sum_{k,j}^{}ln(1-e^{\frac {-\hbar \omega _k }{k_B T}})&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;F&amp;lt;/math&amp;gt; is the Hemholtz free energy and &amp;lt;math&amp;gt;E_0&amp;lt;/math&amp;gt; is the lattice energy&lt;br /&gt;
&lt;br /&gt;
In comparison to smaller grid sizes, the 16x16x16 grid size curve appears more smooth, and more akin to a single band as seen for macrostructures. Larger grid sizes, while greatly increasing the computation time of the calculation did not largely increase the accuracy of the calculations as stated above, and therefore the 16x16x16 grid size was the optimal choice for these simulations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 1. Calculated Total Difference in Hemholtz Free Energy &lt;br /&gt;
! Grid Size&lt;br /&gt;
! Total Difference in Free Energy&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 3.818&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.126&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -0.051&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -0.033&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -0.001&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| -0.000&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| 0.000&lt;br /&gt;
|-&lt;br /&gt;
| 64&lt;br /&gt;
| 0.000&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Table 1 shows the difference between the calculated free energy for grid size and the final converged free energy. Looking at this, we can see that for grid sizes larger than 24x24x24, there is no change in the free energy of the system and so the free energy has converged to a minima, although it may not be the global minimum. The accuracy of simulations also increase rapidly with grid size, for example for accurate simulated energies to 1, 0.5 and 0.1 meV per cell, grid sizes of 2x2x2, 4x4x4 and 8x8x8 respectively can be used. This rapid increase in the accuracy of the calculation can be attributed to the large increase in k-points sampled over within the summations in eq. 2 with increasing grid size.&lt;br /&gt;
&lt;br /&gt;
However, the optimal grid size dependent on the material used due to the relationship between the lattice parameter, and the size of the first brillouin zone in k-space. For a similar oxide such as CaO, in comparsion to the lattice parameter of MgO of 4.212 Å &amp;lt;ref&amp;gt; A. CIMINO, P. PORTA and M. VALIGI, J. Am. Ceram. Soc, 1966, &#039;&#039;&#039;49&#039;&#039;&#039;, 152–156 &amp;lt;/ref&amp;gt;, the parameter of CaO is 4.864 Å &amp;lt;ref&amp;gt;Mackrodt, W. C., Harrison, N. M., Saunders, V. R., Allan, N. L. and Towler, M. D., Aprà, E., Dovesi, R., Philos. Mag. A, 1993 , &#039;&#039;&#039;68&#039;&#039;&#039;, 653-666 &amp;lt;/ref&amp;gt;, slightly larger than that of MgO. This leads to a slightly smaller grid size being optimal, as the larger lattice parameter leads to a smaller brillouin zone in reciprocal space as if the lattice parameter &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; is larger, then the size of the first brillouin zone &amp;lt;math&amp;gt;a^{*}= \frac {2 \pi}{a} &amp;lt;/math&amp;gt;will be smaller. This in turn allows less points to be sampled inside the region to give the same spacing of points, and therefore accuracy for the density of states as for MgO. Similarly, the zeolite faujsite has an extremely large lattice parameter of 25.132 Å &amp;lt;ref&amp;gt;E. Dempsey, G. H. Kuhl, and D. H. Olson, Phys. Chem., 1969, &#039;&#039;&#039;73&#039;&#039;&#039;, 387–390 &amp;lt;/ref&amp;gt;, in comparison to MgO. This; as with the case of CaO but more exaggerated, leads to a much smaller brillouin zone in reciprocal space, and so allows for a much smaller grid size to give the same accuracy as the MgO calculation due to the extremely small value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; obtained for faujsite.&lt;br /&gt;
Conversely, lithium has a smaller lattice spacing of 3.51 Å &amp;lt;ref&amp;gt;M.R. Nadler and C.P. Kempfer, Anal. Chem., 1959, &#039;&#039;&#039;31&#039;&#039;&#039;, 2109-2111&amp;lt;/ref&amp;gt;. Therefore the value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; for lithium will be larger than for MgO, and so require a larger grid size to obtain the same spacing between sampled k-space points and therefore accuracy of the calculated density of states.&lt;br /&gt;
&lt;br /&gt;
=== Thermal Expansion of MgO ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
||[[File:Ft1015Latticeparametervskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 4&#039;&#039;&#039;: A plot of lattice parameter against temperature for MgO]]&lt;br /&gt;
|[[File:Ft1015Latticevolumevskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 5&#039;&#039;&#039;: A plot of lattice volume against temperature for MgO, with the magenta line on the graph corresponding to the polynomial fit for the graph, and the red point the points which were not fitted over]]&lt;br /&gt;
|[[File:Ft1015Hemholtzvskelvin.png|500px|thumb|&#039;&#039;&#039;Figure 6&#039;&#039;&#039;: A plot of free energy against temperature for MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[File:|480px|thumb|&#039;&#039;&#039;Figure 5&#039;&#039;&#039;: A plot of lattice volume against temperature for MgO, with the magenta line on the graph corresponding to the polynomial fit for the graph, and the red point the points which were not fitted over]&lt;br /&gt;
Figures 4 &amp;amp; 5 show the effect of change on temperature on the lattice parameter and volume of MgO in the range of 50-2900 K. As we can seen from the figures, from 50-400 K, a change in temperature does not largely increase the volume, while above 400 K the trend seems to be linear with respect to volume increase through an increase in temperature. This is however not the case at higher temperatures above 2200 K where the trend is more polynomial in nature.&lt;br /&gt;
&lt;br /&gt;
From 50-400 K, the dominating term for the free energy is the zero point energy, and thus a change in temperature does not greatly change the free energy of the lattice and so volume changes at low temperatures are minimal. At temperatures above 2200 K not only is the entropic term completely dominating all other terms for the free energy, but also higher order anharmonic terms for the free energy that were excluded in the harmonic approximation part of the equation begin to play a large role in the free energy. This leads to the gradient no longer being linear. &amp;lt;ref&amp;gt;Masanori Matsui, Geoffrey D. Price and Atul Patel, Geophys. Res. Lett., 1994, &#039;&#039;&#039;21&#039;&#039;&#039;,  1659-1662 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The thermal expansion coefficients for MgO can be calculated through using the gradient &amp;lt;math&amp;gt; (\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt; at a specific value of &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; in the equationː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \alpha = \frac{1}{V_i} (\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt;   &amp;lt;math&amp;gt;(3)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt; \alpha &amp;lt;/math&amp;gt; is the coefficient of thermal expansion and &amp;lt;math&amp;gt;V_i&amp;lt;/math&amp;gt; is the volume of the lattice at 0 K, and &amp;lt;math&amp;gt;(\frac{\partial V}{\partial T})_p =6.16898 \times 10^{-7} T + 0.00118&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Table 2 displays thermal expansion coefficients for the polynomial fit of MgO, alongside the temperature range that the fit was made over.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 2. Calculated Linear fit Thermal Expansion Coefficients for MgO&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| 50 K&lt;br /&gt;
| 16.44165152&lt;br /&gt;
&lt;br /&gt;
| 1500 K&lt;br /&gt;
|40.13048558&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 100 K&lt;br /&gt;
| 17.25850787&lt;br /&gt;
&lt;br /&gt;
| 1600 K&lt;br /&gt;
| 41.76419827&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 200 K&lt;br /&gt;
| 18.89222056&lt;br /&gt;
&lt;br /&gt;
| 1700 K&lt;br /&gt;
|43.39791096&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 300 K&lt;br /&gt;
| 20.52593325&lt;br /&gt;
&lt;br /&gt;
| 1800 K&lt;br /&gt;
|45.03162366&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 400 K&lt;br /&gt;
| 22.15964595&lt;br /&gt;
&lt;br /&gt;
| 1900 K&lt;br /&gt;
|46.66533635&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 500 K&lt;br /&gt;
| 23.79335864&lt;br /&gt;
&lt;br /&gt;
| 2000 K&lt;br /&gt;
|48.29904905&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 600 K&lt;br /&gt;
| 25.42707133&lt;br /&gt;
&lt;br /&gt;
| 2100 K&lt;br /&gt;
|49.93276174&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 700 K&lt;br /&gt;
| 27.06078403&lt;br /&gt;
&lt;br /&gt;
| 2200 K&lt;br /&gt;
|51.56647443&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 800 K&lt;br /&gt;
| 28.69449672&lt;br /&gt;
&lt;br /&gt;
| 2300 K&lt;br /&gt;
|53.20018713&lt;br /&gt;
|-&lt;br /&gt;
| 900 K&lt;br /&gt;
| 30.32820942&lt;br /&gt;
&lt;br /&gt;
| 2400 K&lt;br /&gt;
|54.83389982&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1000 K&lt;br /&gt;
| 31.96192211&lt;br /&gt;
&lt;br /&gt;
| 2500 K&lt;br /&gt;
|56.46761251&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1100 K&lt;br /&gt;
| 33.5956348&lt;br /&gt;
&lt;br /&gt;
| 2600 K&lt;br /&gt;
|58.10132521&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1200 K&lt;br /&gt;
| 35.2293475&lt;br /&gt;
&lt;br /&gt;
| 2700 K&lt;br /&gt;
|59.7350379&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1300 K&lt;br /&gt;
| 36.86306019&lt;br /&gt;
&lt;br /&gt;
| 2800 K&lt;br /&gt;
|61.3687506&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1400 K&lt;br /&gt;
| 38.49677288&lt;br /&gt;
&lt;br /&gt;
| 2900 K&lt;br /&gt;
|63.00246329&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
== Tasks ==&lt;br /&gt;
&lt;br /&gt;
=== Calculating the phonon modes of MgO ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The density of states for 1x1x1 grid was computed for a single k-point. Can you work out which k-point by examining the dispersion curves ? look in the Log File to check.&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Through correlating the DoS for the single k-point with the dispersion curve, the k-point that was used can be found. The DoS shows bands at 286 and 351 cm-1 with intensities of 0.333, and bands at 676 and 806 cm-1 with intensities half that of the first two bands. These points can be seen to correspond to the L k-point on the dispersion curve. This k-point shows three acoustic and optical branches, with the first two points of 0.333 intensity corresponding to a point where two branches are overlapping.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does the density of states vary with grid size ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The increase in number of points sampled along the dispersion curve leads to the increase in number of bands seen in the DoS, and ac. The DoS becomes more spread out as the number of sampled points increases increases, as with a larger grid size, more vibrations are sampled and thus more features appear in the dispersion.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;As the grid size increases more and more of the possible vibrations are sampled and more features appear - which grid size is the minimum for a reasonable approximation to the density of states ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
A grid size of 16x16x16 was found to be the optimal grid size. As expected, the DoS curve produced from this grid size was smooth. This curve was proved to be a good optimization through looking at the Hemholtz free energy for each of the simulated grid sizes. As the accuracy of the Hemholtz free energy result directly depends on the number of k-space points summed over in the calculations, the larger the grid size, and therefore the large the number of k-points summed over, the more accurate the result. Comparing the 16x16x16 to the 32x32x32 grid; which on higher order grids did not change the free energy and therefore was the best approximation, the 16x16x16 was accurate to within 0.001 meV or 2.4434 × 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; %&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does the density of states computed at this optimal grid size compare to that computed for smaller and larger grids ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
At this grid size of 16x16x16, compared to grids that are smaller it appears more smooth, and similar to a single band for a macrostructure. Larger grid sizes increase the smoothness of the band &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How is the density of states related to the dispersion curves ?&#039;&#039;&#039;&lt;br /&gt;
Both the DoS and dispersion curves are plotted with one axis being energy; or in this case frequency of vibration, and so can be related. Through potting both the DoS and dispersion curves on the same axis one can see the relationship between the DoS and dispersion&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Would this optimal grid size for MgO (4.212 Å &amp;lt;ref&amp;gt; A. CIMINO, P. PORTA and M. VALIGI, J. Am. Ceram. Soc, 1966, &#039;&#039;&#039;49&#039;&#039;&#039;, 152–156 &amp;lt;/ref&amp;gt;)be appropriate for a calculation on;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a similar oxide (eg: CaO) ?&#039;&#039;&#039;&lt;br /&gt;
CaO has a lattice parameter of 4.864 Å &amp;lt;ref&amp;gt;Mackrodt, W. C., Harrison, N. M., Saunders, V. R., Allan, N. L. and Towler, M. D., Aprà, E., Dovesi, R., Philos. Mag. A, 1993 , &#039;&#039;&#039;68&#039;&#039;&#039;, 653-666 &amp;lt;/ref&amp;gt;, slightly larger than that of MgO. This leads to a slightly smaller grid size being optimal, as the larger lattice parameter leads to a smaller brillouin zone in reciprocal space as if the lattice parameter &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; in the range of  &amp;lt;math&amp;gt; [0, \frac{\pi}{a}]&amp;lt;/math&amp;gt; is larger, then the range will be smaller. This in turn allows less points to be sampled inside the region to give the same spacing of points, and therefore accuracy for the DoS as for MgO.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a Zeolite (eg: Faujasite) ?&#039;&#039;&#039;&lt;br /&gt;
Faujsite has an extremely large lattice parameter of 25.132 Å &amp;lt;ref&amp;gt;E. Dempsey, G. H. Kuhl, and D. H. Olson, Phys. Chem., 1969, &#039;&#039;&#039;73&#039;&#039;&#039;, 387–390 &amp;lt;/ref&amp;gt;, in comparison to MgO (4.212 Å). This; as with the case of CaO but more exaggerated, leads to a much smaller brillouin zone in reciprocal space, and so allows for a much smaller grid size to give the same accuracy as the MgO DoS calculation&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a metal (eg: lithium) ?&#039;&#039;&#039;&lt;br /&gt;
In comparison to MgO, CaO and Faujsite, Lithium has a smaller lattice spacing of 3.51 Å &amp;lt;ref&amp;gt;M.R. Nadler and C.P. Kempfer, Anal. Chem., 1959, &#039;&#039;&#039;31&#039;&#039;&#039;, 2109-2111&amp;lt;/ref&amp;gt;. Therefore the brillouin zone &amp;lt;math&amp;gt; [0, \frac{\pi}{a}] &amp;lt;/math&amp;gt; for Lithium will be larger than for MgO, and so require a larger grid size to obtain the same spacing between sampled k-space points and therefore accuracy of the calculated DoS&lt;br /&gt;
&lt;br /&gt;
=== Computing the Free Energy - The harmonic approximation ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does the free energy vary with grid size ?&#039;&#039;&#039;&lt;br /&gt;
Figure 4 plots Hemholtz free energy against grid size using ep. 2, showing that above grid sizes of 32x32x32, there is no change in the free energy of the system, and so has converged to a minima.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Which grid size is appropriate for calculations accurate to 1 meV, 0.5 meV and 0.1 meV per cell ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Would this optimal grid size for MgO be appropriate for a calculation on; a similar oxide (eg: CaO) ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a Zeolite (eg: Faujasite) ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a metal (eg: lithium) ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== The Thermal Expansion of MgO ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Plot the free energy against temperature&#039;&#039;&#039;&lt;br /&gt;
Done&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Plot the lattice constant against temperature&#039;&#039;&#039;&lt;br /&gt;
Done&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Comment on the shape of these curves.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Compute the coefficient of thermal expansion for MgO&#039;&#039;&#039;&lt;br /&gt;
0.00002906591&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does this compare to that measured ? Find a measurement in the literature or on the web - at what temperature was the measurement made ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;What are the main approximations in your calculation ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;What is the physical origin of thermal expansion ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;As the temperature approaches the melting point of MgO how well do the phonon modes represent the actual motions of the ions ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In a diatomic molecule with an exactly harmonic potential would you expect the bond length to increase with temperature ? Why does it increase in the solid when we are using an quasi-harmonic approximation ?&#039;&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Ft1015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=651793</id>
		<title>Rep:FabianThomasThirdYearMgOSimulation</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=651793"/>
		<updated>2017-12-16T23:27:40Z</updated>

		<summary type="html">&lt;p&gt;Ft1015: /* Phonon modes and Free Energy of MgO */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Abstract ==&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Theory ===&lt;br /&gt;
The quasi-harmonic approximation expands upon the harmonic [[phonon]] model of lattice dynamics. The harmonic phonon model states that all interatomic forces are purely [[Harmonic Oscillator|harmonic]], but such a model is inadequate to explain [[thermal expansion]], as the equilibrium distance between atoms in such a model is independent of temperature.&lt;br /&gt;
&lt;br /&gt;
Thus in the quasi-harmonic model, from a phonon point of view, phonon frequencies become volume-dependent in the quasi-harmonic approximation, such that for each volume, the harmonic approximation holds.&lt;br /&gt;
&lt;br /&gt;
For a lattice, the Helmholtz free energy &#039;&#039;F&#039;&#039; in the quasi-harmonic approximation is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;F(T,V) = U(V) + E_{ZP}(V) - T S(T,V)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;U&#039;&#039; is the internal [[lattice energy]], &#039;&#039;E&amp;lt;sub&amp;gt;ZP&amp;lt;/sub&amp;gt;&#039;&#039; is the vibrational [[zero-point energy]] of the lattice, &#039;&#039;T&#039;&#039; is the absolute temperature, &#039;&#039;V&#039;&#039; is the volume and &#039;&#039;S&#039;&#039; is the [[entropy]] due to the vibrational degrees of freedom. The specific definition of the volume is of no particular importance, as long as the definition is used consistently throughout. It can be the volume per primitive unit cell, volume per conventional unit cell, or even molar volume. This choice does not affect the following in any way.&lt;br /&gt;
&lt;br /&gt;
The zero-point energy term equals&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; E_{ZP}(V) = \frac{1}{N} \sum_{\mathbf{k}, i} \frac{1}{2} h \nu_{\mathbf{k},i}(V) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;N&#039;&#039; is the number of terms in the sum, &#039;&#039;&#039;k&#039;&#039;&#039; is a [[wave vector]], &#039;&#039;i&#039;&#039; denotes a phonon band, &#039;&#039;h&#039;&#039; is [[Planck&#039;s constant]] and ν&amp;lt;sub&amp;gt;&#039;&#039;&#039;k&#039;&#039;&#039;,&#039;&#039;i&#039;&#039;&amp;lt;/sub&amp;gt;(V) is the frequency of a phonon with wave vector &#039;&#039;&#039;k&#039;&#039;&#039; in the &#039;&#039;i&#039;&#039;-th band at volume &#039;&#039;V&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
The entropy term equals&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S(V) = -\frac{1}{N} \sum_{\mathbf{k}, i} k_B \ln \left[ 1 - \exp\left( -\frac{h \nu_{\mathbf{k},i}(V)}{ k_BT }\right) \right] + \frac{1}{N} \sum_{\mathbf{k},i} k_B \frac{h \nu_{\mathbf{k},i}(V)}{k_B T} \left[ \exp\left( \frac{h \nu_{\mathbf{k},i}(V)}{ k_BT } \right) - 1 \right]^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;k&#039;&#039;&amp;lt;sub&amp;gt;B&amp;lt;/sub&amp;gt; is the [[Boltzmann constant]]. The frequency ν as a function of &#039;&#039;&#039;k&#039;&#039;&#039; is the [[dispersion relation]].  Note that for a constant value of &#039;&#039;V&#039;&#039;, these equations corresponds to that of the harmonic approximation.&lt;br /&gt;
&lt;br /&gt;
By applying a [[Legendre transform]], it is possible to obtain the [[Gibbs free energy]] &#039;&#039;G&#039;&#039; of the system as a function of temperature and pressure.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G(T,P) = \min_V \left[ U(V) + E_{ZP}(V) - T S(T,V) + P V \right]&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &#039;&#039;P&#039;&#039; is the pressure. The minimal value for &#039;&#039;G&#039;&#039; is found at the equilibrium volume for a given &#039;&#039;T&#039;&#039; and &#039;&#039;P&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The system used&lt;br /&gt;
&lt;br /&gt;
The methodology/theory used MOLECULAR DYNAMICS (MD) - Brillouin zones&lt;br /&gt;
&lt;br /&gt;
The aims of the exercise - To compare the to predict how the material expands when heated, to calculate the thermal expansion coefficient for MgO, to compute vibrational energy levels of MgO, to understand the phonon dispersion of a material, the vibrational density of state, to simulate the vibrations as random motions of atoms inside a cell, to compare QUASI-HARMONIC APPROXIMATION with MOLECULAR DYNAMICS results.&lt;br /&gt;
&lt;br /&gt;
The tools/programs in use - DLV&lt;br /&gt;
&lt;br /&gt;
The quasi-harmonic approximation for phonons builds upon the harmonic approximation for phonon dynamics, and therefore to explain the quasi-harmonic approximation we must first discuss the harmonic approximation&lt;br /&gt;
&lt;br /&gt;
For a regular, linear chain which is composed of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; number of particles, the forces between a pair of atoms can be assumed to be a potential energy function &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; which depends on the distance of the separation between the atoms. The main contributing forces to the potential are described by an electric force, such as electrostatic attractions, covalent bonds or Van der Waals forces. Therefore the potential energy of the entire lattice made up of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; atoms is the sum of the potential energies between each pair of atoms with a separation r from each other shown below in eq 1.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV(r)&amp;lt;/math&amp;gt;       &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, allowing each atom to deviate slightly from its equilibrium position by a displacement &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;, if the deviations are small in comparison to the distance between each atom &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;, the energy of this chain is able to be calculated via a taylor expansion summing over all of the atoms in the chain.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV + \sum_{s\ge 1} \frac {1}{s !} \frac {\partial^s V}{\partial u^s} \sum_{n}&lt;br /&gt;
 (u_n - u_{n+1})^s&amp;lt;/math&amp;gt;     &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;u_n&amp;lt;/math&amp;gt; is the displacement of the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;th atom from its equilibrium postition&lt;br /&gt;
&lt;br /&gt;
Two approximations are used in order to reach this equation, which together forms the harmonic approximation and it&#039;s respective equation. The first approximation states that the sum of the pair potential energies is completed over only neighboring atoms, as although there are electric forces between all atoms, these forces on atoms far away from one another are greatly diminished by screening by the atoms in between, and that the potential energies are treated as harmonic potential energies. In this equation, as the expansion was done around the equilibrium point, therefore the first derivative is zero, whereas higher order terms are not, and so the first term can be dropped, and the second term is used where &amp;lt;math&amp;gt;s = 2&amp;lt;/math&amp;gt;, with higher order terms being neglected. These higher order terms are ignored as harmonic equations of motion have exact solutions, while anharmonic equations do not have exact solutions to them and require more approximations. Thus the energy of the lattice is thus the same as the energy of the set of harmonic oscillators. The error in this equation remains small for small values of &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;&lt;br /&gt;
as the value of higher order terms will remain low.&lt;br /&gt;
CITE BOOK&lt;br /&gt;
&lt;br /&gt;
== Results and Discussion ==&lt;br /&gt;
&lt;br /&gt;
=== Phonon modes and Free Energy of MgO ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|[[File:Ft1015MgO_phonon_dispersion.PNG|500px|thumb|&#039;&#039;&#039;Figure 1&#039;&#039;&#039;: A phonon dispersion plot for MgO]]&lt;br /&gt;
|[[File:Ft1015MgO_DoS.PNG|500px|thumb|&#039;&#039;&#039;Figure 2&#039;&#039;&#039;: A plot of the density of states for MgO using a 1x1x1 grid size]]&lt;br /&gt;
|[[File:Ft1015MgO_DoS_20x20x20.PNG|500px|thumb|left|&#039;&#039;&#039;Figure 3&#039;&#039;&#039;: The optimised plot of the density of states for MgO using a 16x16x16 grid size]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From figures 1 and 2, we can see the computed phonon dispersion curve and density of states for a 1x1x1 grid size containing one k-point. Correlating the density of states with the dispersion curve via their shared axis of frequency of vibration yields the k-point L on the dispersion curve as the singular k-point used for the calculation. The density of states shows bands at 286 and 351 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 676 and 806 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, with the intensities of the first two bands double that of the final two bands. These bands correspond to three acoustic and three optical branches, with the first two bands of 0.333 intensity corresponding to a k-point where two branches are overlapping and are therefore degenerate states.&lt;br /&gt;
&lt;br /&gt;
Varying the grid size used for the calculation greatly affected the accuracy and precision of the results of calculations through increasing the number of k-points sampled in eq. 1ː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\omega ^{2}(k) = C(\frac{1}{M_{Mg}} + \frac{1}{M_{O}}) \pm \sqrt {(\frac{1}{M_{Mg}} + \frac{1}{M_{O}})^{2} - \frac{4sin^{2}(ka)}{M_{Mg}}}&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; is the spring force constant, &amp;lt;math&amp;gt;M_{Mg}&amp;lt;/math&amp;gt; is the molar mass of magnesium and &amp;lt;math&amp;gt;M_{O}&amp;lt;/math&amp;gt; is the molar mass of oxygen&lt;br /&gt;
&lt;br /&gt;
As the grid size increases, and thus the more k-points sampled, more and more features become visible, with the increase in number of points sampled along the dispersion curve leading to the increase in number of bands seen in the density of states. Optimising the grid size led to a grid size of 16x16x16 being optimal. As expected, the density of states plot produced from this grid size was smooth, as can be seen in figure 3. This curve was proved to be a good optimisation through looking at the Hemholtz free energy for each of the simulated grid sizes. As the accuracy of the Helmholtz free energy result directly depends on the number of k-space points sampled in the calculations as can be seen in eq. 2. Similarly to eq. 1, the larger the grid size, and therefore the more k-points sampled, the more accurate the result. Comparing the free energy of the 16x16x16 grid to the 32x32x32 grid; which for higher order grids remained constant and so had converged, the 16x16x16 was accurate to within 0.001 meV or 2.4434 × 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; %.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; F = E_0 + \frac {1}{2}\sum_{k,j}^{} \hbar \omega _k + k_B T \sum_{k,j}^{}ln(1-e^{\frac {-\hbar \omega _k }{k_B T}})&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;F&amp;lt;/math&amp;gt; is the Hemholtz free energy and &amp;lt;math&amp;gt;E_0&amp;lt;/math&amp;gt; is the lattice energy&lt;br /&gt;
&lt;br /&gt;
In comparison to smaller grid sizes, the 16x16x16 grid size curve appears more smooth, and more akin to a single band as seen for macrostructures. Larger grid sizes, while greatly increasing the computation time of the calculation did not largely increase the accuracy of the calculations as stated above, and therefore the 16x16x16 grid size was the optimal choice for these simulations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 1. Calculated Total Difference in Hemholtz Free Energy &lt;br /&gt;
! Grid Size&lt;br /&gt;
! Total Difference in Free Energy&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 3.818&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.126&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -0.051&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -0.033&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -0.001&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| -0.000&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| 0.000&lt;br /&gt;
|-&lt;br /&gt;
| 64&lt;br /&gt;
| 0.000&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Table 1 shows the difference between the calculated free energy for grid size and the final converged free energy. Looking at this, we can see that for grid sizes larger than 24x24x24, there is no change in the free energy of the system and so the free energy has converged to a minima, although it may not be the global minimum. The accuracy of simulations also increase rapidly with grid size, for example for accurate simulated energies to 1, 0.5 and 0.1 meV per cell, grid sizes of 2x2x2, 4x4x4 and 8x8x8 respectively can be used. This rapid increase in the accuracy of the calculation can be attributed to the large increase in k-points sampled over within the summations in eq. 2 with increasing grid size.&lt;br /&gt;
&lt;br /&gt;
However, the optimal grid size dependent on the material used due to the relationship between the lattice parameter, and the size of the first brillouin zone in k-space. For a similar oxide such as CaO, in comparsion to the lattice parameter of MgO of 4.212 Å &amp;lt;ref&amp;gt; A. CIMINO, P. PORTA and M. VALIGI, J. Am. Ceram. Soc, 1966, &#039;&#039;&#039;49&#039;&#039;&#039;, 152–156 &amp;lt;/ref&amp;gt;, the parameter of CaO is 4.864 Å &amp;lt;ref&amp;gt;Mackrodt, W. C., Harrison, N. M., Saunders, V. R., Allan, N. L. and Towler, M. D., Aprà, E., Dovesi, R., Philos. Mag. A, 1993 , &#039;&#039;&#039;68&#039;&#039;&#039;, 653-666 &amp;lt;/ref&amp;gt;, slightly larger than that of MgO. This leads to a slightly smaller grid size being optimal, as the larger lattice parameter leads to a smaller brillouin zone in reciprocal space as if the lattice parameter &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; is larger, then the size of the first brillouin zone &amp;lt;math&amp;gt;a^{*}= \frac {2 \pi}{a} &amp;lt;/math&amp;gt;will be smaller. This in turn allows less points to be sampled inside the region to give the same spacing of points, and therefore accuracy for the density of states as for MgO. Similarly, the zeolite faujsite has an extremely large lattice parameter of 25.132 Å &amp;lt;ref&amp;gt;E. Dempsey, G. H. Kuhl, and D. H. Olson, Phys. Chem., 1969, &#039;&#039;&#039;73&#039;&#039;&#039;, 387–390 &amp;lt;/ref&amp;gt;, in comparison to MgO. This; as with the case of CaO but more exaggerated, leads to a much smaller brillouin zone in reciprocal space, and so allows for a much smaller grid size to give the same accuracy as the MgO calculation due to the extremely small value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; obtained for faujsite.&lt;br /&gt;
Conversely, lithium has a smaller lattice spacing of 3.51 Å &amp;lt;ref&amp;gt;M.R. Nadler and C.P. Kempfer, Anal. Chem., 1959, &#039;&#039;&#039;31&#039;&#039;&#039;, 2109-2111&amp;lt;/ref&amp;gt;. Therefore the value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; for lithium will be larger than for MgO, and so require a larger grid size to obtain the same spacing between sampled k-space points and therefore accuracy of the calculated density of states.&lt;br /&gt;
&lt;br /&gt;
=== Thermal Expansion of MgO ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
||[[File:Ft1015Latticeparametervskelvin.png|480px|thumb|&#039;&#039;&#039;Figure 4&#039;&#039;&#039;: A plot of lattice parameter against temperature for MgO]]&lt;br /&gt;
|[[File:Ft1015Latticevolumevskelvin.png|480px|thumb|&#039;&#039;&#039;Figure 5&#039;&#039;&#039;: A plot of lattice volume against temperature for MgO, with the magenta line on the graph corresponding to the polynomial fit for the graph, and the red point the points which were not fitted over]]&lt;br /&gt;
|[[File:Ft1015Hemholtzvskelvin.png|480px|thumb|&#039;&#039;&#039;Figure 6&#039;&#039;&#039;: A plot of free energy against temperature for MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[File:|480px|thumb|&#039;&#039;&#039;Figure 5&#039;&#039;&#039;: A plot of lattice volume against temperature for MgO, with the magenta line on the graph corresponding to the polynomial fit for the graph, and the red point the points which were not fitted over]&lt;br /&gt;
Figures 4 &amp;amp; 5 show the effect of change on temperature on the lattice parameter and volume of MgO in the range of 50-2900 K. As we can seen from the figures, from 50-400 K, a change in temperature does not largely increase the volume, while above 400 K the trend seems to be linear with respect to volume increase through an increase in temperature. This is however not the case at higher temperatures above 2200 K where the trend is more polynomial in nature.&lt;br /&gt;
&lt;br /&gt;
From 50-400 K, the dominating term for the free energy is the zero point energy, and thus a change in temperature does not greatly change the free energy of the lattice and so volume changes at low temperatures are minimal. At temperatures above 2200 K not only is the entropic term completely dominating all other terms for the free energy, but also higher order anharmonic terms for the free energy that were excluded in the harmonic approximation part of the equation begin to play a large role in the free energy. This leads to the gradient no longer being linear. &amp;lt;ref&amp;gt;Masanori Matsui, Geoffrey D. Price and Atul Patel, Geophys. Res. Lett., 1994, &#039;&#039;&#039;21&#039;&#039;&#039;,  1659-1662 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The thermal expansion coefficients for MgO can be calculated through using the gradient &amp;lt;math&amp;gt; (\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt; at a specific value of &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; in the equationː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \alpha = \frac{1}{V_i} (\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt;   &amp;lt;math&amp;gt;(3)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt; \alpha &amp;lt;/math&amp;gt; is the coefficient of thermal expansion and &amp;lt;math&amp;gt;V_i&amp;lt;/math&amp;gt; is the volume of the lattice at 0 K, and &amp;lt;math&amp;gt;(\frac{\partial V}{\partial T})_p =6.16898 \times 10^{-7} T + 0.00118&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Table 2 displays thermal expansion coefficients for the polynomial fit of MgO, alongside the temperature range that the fit was made over.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 2. Calculated Linear fit Thermal Expansion Coefficients for MgO&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| 50 K&lt;br /&gt;
| 16.44165152&lt;br /&gt;
&lt;br /&gt;
| 1500 K&lt;br /&gt;
|40.13048558&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 100 K&lt;br /&gt;
| 17.25850787&lt;br /&gt;
&lt;br /&gt;
| 1600 K&lt;br /&gt;
| 41.76419827&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 200 K&lt;br /&gt;
| 18.89222056&lt;br /&gt;
&lt;br /&gt;
| 1700 K&lt;br /&gt;
|43.39791096&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 300 K&lt;br /&gt;
| 20.52593325&lt;br /&gt;
&lt;br /&gt;
| 1800 K&lt;br /&gt;
|45.03162366&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 400 K&lt;br /&gt;
| 22.15964595&lt;br /&gt;
&lt;br /&gt;
| 1900 K&lt;br /&gt;
|46.66533635&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 500 K&lt;br /&gt;
| 23.79335864&lt;br /&gt;
&lt;br /&gt;
| 2000 K&lt;br /&gt;
|48.29904905&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 600 K&lt;br /&gt;
| 25.42707133&lt;br /&gt;
&lt;br /&gt;
| 2100 K&lt;br /&gt;
|49.93276174&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 700 K&lt;br /&gt;
| 27.06078403&lt;br /&gt;
&lt;br /&gt;
| 2200 K&lt;br /&gt;
|51.56647443&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 800 K&lt;br /&gt;
| 28.69449672&lt;br /&gt;
&lt;br /&gt;
| 2300 K&lt;br /&gt;
|53.20018713&lt;br /&gt;
|-&lt;br /&gt;
| 900 K&lt;br /&gt;
| 30.32820942&lt;br /&gt;
&lt;br /&gt;
| 2400 K&lt;br /&gt;
|54.83389982&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1000 K&lt;br /&gt;
| 31.96192211&lt;br /&gt;
&lt;br /&gt;
| 2500 K&lt;br /&gt;
|56.46761251&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1100 K&lt;br /&gt;
| 33.5956348&lt;br /&gt;
&lt;br /&gt;
| 2600 K&lt;br /&gt;
|58.10132521&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1200 K&lt;br /&gt;
| 35.2293475&lt;br /&gt;
&lt;br /&gt;
| 2700 K&lt;br /&gt;
|59.7350379&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1300 K&lt;br /&gt;
| 36.86306019&lt;br /&gt;
&lt;br /&gt;
| 2800 K&lt;br /&gt;
|61.3687506&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1400 K&lt;br /&gt;
| 38.49677288&lt;br /&gt;
&lt;br /&gt;
| 2900 K&lt;br /&gt;
|63.00246329&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
== Tasks ==&lt;br /&gt;
&lt;br /&gt;
=== Calculating the phonon modes of MgO ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The density of states for 1x1x1 grid was computed for a single k-point. Can you work out which k-point by examining the dispersion curves ? look in the Log File to check.&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Through correlating the DoS for the single k-point with the dispersion curve, the k-point that was used can be found. The DoS shows bands at 286 and 351 cm-1 with intensities of 0.333, and bands at 676 and 806 cm-1 with intensities half that of the first two bands. These points can be seen to correspond to the L k-point on the dispersion curve. This k-point shows three acoustic and optical branches, with the first two points of 0.333 intensity corresponding to a point where two branches are overlapping.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does the density of states vary with grid size ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The increase in number of points sampled along the dispersion curve leads to the increase in number of bands seen in the DoS, and ac. The DoS becomes more spread out as the number of sampled points increases increases, as with a larger grid size, more vibrations are sampled and thus more features appear in the dispersion.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;As the grid size increases more and more of the possible vibrations are sampled and more features appear - which grid size is the minimum for a reasonable approximation to the density of states ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
A grid size of 16x16x16 was found to be the optimal grid size. As expected, the DoS curve produced from this grid size was smooth. This curve was proved to be a good optimization through looking at the Hemholtz free energy for each of the simulated grid sizes. As the accuracy of the Hemholtz free energy result directly depends on the number of k-space points summed over in the calculations, the larger the grid size, and therefore the large the number of k-points summed over, the more accurate the result. Comparing the 16x16x16 to the 32x32x32 grid; which on higher order grids did not change the free energy and therefore was the best approximation, the 16x16x16 was accurate to within 0.001 meV or 2.4434 × 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; %&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does the density of states computed at this optimal grid size compare to that computed for smaller and larger grids ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
At this grid size of 16x16x16, compared to grids that are smaller it appears more smooth, and similar to a single band for a macrostructure. Larger grid sizes increase the smoothness of the band &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How is the density of states related to the dispersion curves ?&#039;&#039;&#039;&lt;br /&gt;
Both the DoS and dispersion curves are plotted with one axis being energy; or in this case frequency of vibration, and so can be related. Through potting both the DoS and dispersion curves on the same axis one can see the relationship between the DoS and dispersion&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Would this optimal grid size for MgO (4.212 Å &amp;lt;ref&amp;gt; A. CIMINO, P. PORTA and M. VALIGI, J. Am. Ceram. Soc, 1966, &#039;&#039;&#039;49&#039;&#039;&#039;, 152–156 &amp;lt;/ref&amp;gt;)be appropriate for a calculation on;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a similar oxide (eg: CaO) ?&#039;&#039;&#039;&lt;br /&gt;
CaO has a lattice parameter of 4.864 Å &amp;lt;ref&amp;gt;Mackrodt, W. C., Harrison, N. M., Saunders, V. R., Allan, N. L. and Towler, M. D., Aprà, E., Dovesi, R., Philos. Mag. A, 1993 , &#039;&#039;&#039;68&#039;&#039;&#039;, 653-666 &amp;lt;/ref&amp;gt;, slightly larger than that of MgO. This leads to a slightly smaller grid size being optimal, as the larger lattice parameter leads to a smaller brillouin zone in reciprocal space as if the lattice parameter &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; in the range of  &amp;lt;math&amp;gt; [0, \frac{\pi}{a}]&amp;lt;/math&amp;gt; is larger, then the range will be smaller. This in turn allows less points to be sampled inside the region to give the same spacing of points, and therefore accuracy for the DoS as for MgO.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a Zeolite (eg: Faujasite) ?&#039;&#039;&#039;&lt;br /&gt;
Faujsite has an extremely large lattice parameter of 25.132 Å &amp;lt;ref&amp;gt;E. Dempsey, G. H. Kuhl, and D. H. Olson, Phys. Chem., 1969, &#039;&#039;&#039;73&#039;&#039;&#039;, 387–390 &amp;lt;/ref&amp;gt;, in comparison to MgO (4.212 Å). This; as with the case of CaO but more exaggerated, leads to a much smaller brillouin zone in reciprocal space, and so allows for a much smaller grid size to give the same accuracy as the MgO DoS calculation&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a metal (eg: lithium) ?&#039;&#039;&#039;&lt;br /&gt;
In comparison to MgO, CaO and Faujsite, Lithium has a smaller lattice spacing of 3.51 Å &amp;lt;ref&amp;gt;M.R. Nadler and C.P. Kempfer, Anal. Chem., 1959, &#039;&#039;&#039;31&#039;&#039;&#039;, 2109-2111&amp;lt;/ref&amp;gt;. Therefore the brillouin zone &amp;lt;math&amp;gt; [0, \frac{\pi}{a}] &amp;lt;/math&amp;gt; for Lithium will be larger than for MgO, and so require a larger grid size to obtain the same spacing between sampled k-space points and therefore accuracy of the calculated DoS&lt;br /&gt;
&lt;br /&gt;
=== Computing the Free Energy - The harmonic approximation ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does the free energy vary with grid size ?&#039;&#039;&#039;&lt;br /&gt;
Figure 4 plots Hemholtz free energy against grid size using ep. 2, showing that above grid sizes of 32x32x32, there is no change in the free energy of the system, and so has converged to a minima.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Which grid size is appropriate for calculations accurate to 1 meV, 0.5 meV and 0.1 meV per cell ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Would this optimal grid size for MgO be appropriate for a calculation on; a similar oxide (eg: CaO) ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a Zeolite (eg: Faujasite) ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a metal (eg: lithium) ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== The Thermal Expansion of MgO ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Plot the free energy against temperature&#039;&#039;&#039;&lt;br /&gt;
Done&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Plot the lattice constant against temperature&#039;&#039;&#039;&lt;br /&gt;
Done&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Comment on the shape of these curves.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Compute the coefficient of thermal expansion for MgO&#039;&#039;&#039;&lt;br /&gt;
0.00002906591&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does this compare to that measured ? Find a measurement in the literature or on the web - at what temperature was the measurement made ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;What are the main approximations in your calculation ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;What is the physical origin of thermal expansion ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;As the temperature approaches the melting point of MgO how well do the phonon modes represent the actual motions of the ions ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In a diatomic molecule with an exactly harmonic potential would you expect the bond length to increase with temperature ? Why does it increase in the solid when we are using an quasi-harmonic approximation ?&#039;&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Ft1015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=651759</id>
		<title>Rep:FabianThomasThirdYearMgOSimulation</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=651759"/>
		<updated>2017-12-16T22:15:09Z</updated>

		<summary type="html">&lt;p&gt;Ft1015: /* Thermal Expansion of MgO */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Abstract ==&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Theory ===&lt;br /&gt;
The quasi-harmonic approximation expands upon the harmonic [[phonon]] model of lattice dynamics. The harmonic phonon model states that all interatomic forces are purely [[Harmonic Oscillator|harmonic]], but such a model is inadequate to explain [[thermal expansion]], as the equilibrium distance between atoms in such a model is independent of temperature.&lt;br /&gt;
&lt;br /&gt;
Thus in the quasi-harmonic model, from a phonon point of view, phonon frequencies become volume-dependent in the quasi-harmonic approximation, such that for each volume, the harmonic approximation holds.&lt;br /&gt;
&lt;br /&gt;
For a lattice, the Helmholtz free energy &#039;&#039;F&#039;&#039; in the quasi-harmonic approximation is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;F(T,V) = U(V) + E_{ZP}(V) - T S(T,V)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;U&#039;&#039; is the internal [[lattice energy]], &#039;&#039;E&amp;lt;sub&amp;gt;ZP&amp;lt;/sub&amp;gt;&#039;&#039; is the vibrational [[zero-point energy]] of the lattice, &#039;&#039;T&#039;&#039; is the absolute temperature, &#039;&#039;V&#039;&#039; is the volume and &#039;&#039;S&#039;&#039; is the [[entropy]] due to the vibrational degrees of freedom. The specific definition of the volume is of no particular importance, as long as the definition is used consistently throughout. It can be the volume per primitive unit cell, volume per conventional unit cell, or even molar volume. This choice does not affect the following in any way.&lt;br /&gt;
&lt;br /&gt;
The zero-point energy term equals&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; E_{ZP}(V) = \frac{1}{N} \sum_{\mathbf{k}, i} \frac{1}{2} h \nu_{\mathbf{k},i}(V) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;N&#039;&#039; is the number of terms in the sum, &#039;&#039;&#039;k&#039;&#039;&#039; is a [[wave vector]], &#039;&#039;i&#039;&#039; denotes a phonon band, &#039;&#039;h&#039;&#039; is [[Planck&#039;s constant]] and ν&amp;lt;sub&amp;gt;&#039;&#039;&#039;k&#039;&#039;&#039;,&#039;&#039;i&#039;&#039;&amp;lt;/sub&amp;gt;(V) is the frequency of a phonon with wave vector &#039;&#039;&#039;k&#039;&#039;&#039; in the &#039;&#039;i&#039;&#039;-th band at volume &#039;&#039;V&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
The entropy term equals&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S(V) = -\frac{1}{N} \sum_{\mathbf{k}, i} k_B \ln \left[ 1 - \exp\left( -\frac{h \nu_{\mathbf{k},i}(V)}{ k_BT }\right) \right] + \frac{1}{N} \sum_{\mathbf{k},i} k_B \frac{h \nu_{\mathbf{k},i}(V)}{k_B T} \left[ \exp\left( \frac{h \nu_{\mathbf{k},i}(V)}{ k_BT } \right) - 1 \right]^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;k&#039;&#039;&amp;lt;sub&amp;gt;B&amp;lt;/sub&amp;gt; is the [[Boltzmann constant]]. The frequency ν as a function of &#039;&#039;&#039;k&#039;&#039;&#039; is the [[dispersion relation]].  Note that for a constant value of &#039;&#039;V&#039;&#039;, these equations corresponds to that of the harmonic approximation.&lt;br /&gt;
&lt;br /&gt;
By applying a [[Legendre transform]], it is possible to obtain the [[Gibbs free energy]] &#039;&#039;G&#039;&#039; of the system as a function of temperature and pressure.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G(T,P) = \min_V \left[ U(V) + E_{ZP}(V) - T S(T,V) + P V \right]&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &#039;&#039;P&#039;&#039; is the pressure. The minimal value for &#039;&#039;G&#039;&#039; is found at the equilibrium volume for a given &#039;&#039;T&#039;&#039; and &#039;&#039;P&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The system used&lt;br /&gt;
&lt;br /&gt;
The methodology/theory used MOLECULAR DYNAMICS (MD) - Brillouin zones&lt;br /&gt;
&lt;br /&gt;
The aims of the exercise - To compare the to predict how the material expands when heated, to calculate the thermal expansion coefficient for MgO, to compute vibrational energy levels of MgO, to understand the phonon dispersion of a material, the vibrational density of state, to simulate the vibrations as random motions of atoms inside a cell, to compare QUASI-HARMONIC APPROXIMATION with MOLECULAR DYNAMICS results.&lt;br /&gt;
&lt;br /&gt;
The tools/programs in use - DLV&lt;br /&gt;
&lt;br /&gt;
The quasi-harmonic approximation for phonons builds upon the harmonic approximation for phonon dynamics, and therefore to explain the quasi-harmonic approximation we must first discuss the harmonic approximation&lt;br /&gt;
&lt;br /&gt;
For a regular, linear chain which is composed of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; number of particles, the forces between a pair of atoms can be assumed to be a potential energy function &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; which depends on the distance of the separation between the atoms. The main contributing forces to the potential are described by an electric force, such as electrostatic attractions, covalent bonds or Van der Waals forces. Therefore the potential energy of the entire lattice made up of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; atoms is the sum of the potential energies between each pair of atoms with a separation r from each other shown below in eq 1.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV(r)&amp;lt;/math&amp;gt;       &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, allowing each atom to deviate slightly from its equilibrium position by a displacement &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;, if the deviations are small in comparison to the distance between each atom &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;, the energy of this chain is able to be calculated via a taylor expansion summing over all of the atoms in the chain.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV + \sum_{s\ge 1} \frac {1}{s !} \frac {\partial^s V}{\partial u^s} \sum_{n}&lt;br /&gt;
 (u_n - u_{n+1})^s&amp;lt;/math&amp;gt;     &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;u_n&amp;lt;/math&amp;gt; is the displacement of the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;th atom from its equilibrium postition&lt;br /&gt;
&lt;br /&gt;
Two approximations are used in order to reach this equation, which together forms the harmonic approximation and it&#039;s respective equation. The first approximation states that the sum of the pair potential energies is completed over only neighboring atoms, as although there are electric forces between all atoms, these forces on atoms far away from one another are greatly diminished by screening by the atoms in between, and that the potential energies are treated as harmonic potential energies. In this equation, as the expansion was done around the equilibrium point, therefore the first derivative is zero, whereas higher order terms are not, and so the first term can be dropped, and the second term is used where &amp;lt;math&amp;gt;s = 2&amp;lt;/math&amp;gt;, with higher order terms being neglected. These higher order terms are ignored as harmonic equations of motion have exact solutions, while anharmonic equations do not have exact solutions to them and require more approximations. Thus the energy of the lattice is thus the same as the energy of the set of harmonic oscillators. The error in this equation remains small for small values of &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;&lt;br /&gt;
as the value of higher order terms will remain low.&lt;br /&gt;
CITE BOOK&lt;br /&gt;
&lt;br /&gt;
== Results and Discussion ==&lt;br /&gt;
&lt;br /&gt;
=== Phonon modes and Free Energy of MgO ===&lt;br /&gt;
[[File:Ft1015MgO_phonon_dispersion.PNG|480px|thumb|left|&#039;&#039;&#039;Figure 1&#039;&#039;&#039;: A phonon dispersion plot for MgO]]&lt;br /&gt;
[[File:Ft1015MgO_DoS.PNG|480px|thumb|right|&#039;&#039;&#039;Figure 2&#039;&#039;&#039;: A plot of the density of states for MgO using a 1x1x1 grid size]]&lt;br /&gt;
&lt;br /&gt;
From figures 1 and 2, we can see the computed phonon dispersion curve and density of states for a 1x1x1 grid size containing one k-point. Correlating the density of states with the dispersion curve via their shared axis of frequency of vibration yields the k-point L on the dispersion curve as the singular k-point used for the calculation. The density of states shows bands at 286 and 351 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 676 and 806 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, with the intensities of the first two bands double that of the final two bands. These bands correspond to three acoustic and three optical branches, with the first two bands of 0.333 intensity corresponding to a k-point where two branches are overlapping and are therefore degenerate states.&lt;br /&gt;
&lt;br /&gt;
Varying the grid size used for the calculation greatly affected the accuracy and precision of the results of calculations through increasing the number of k-points sampled in eq. 1ː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\omega ^{2}(k) = C(\frac{1}{M_{Mg}} + \frac{1}{M_{O}}) \pm \sqrt {(\frac{1}{M_{Mg}} + \frac{1}{M_{O}})^{2} - \frac{4sin^{2}(ka)}{M_{Mg}}}&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; is the spring force constant, &amp;lt;math&amp;gt;M_{Mg}&amp;lt;/math&amp;gt; is the molar mass of magnesium and &amp;lt;math&amp;gt;M_{O}&amp;lt;/math&amp;gt; is the molar mass of oxygen&lt;br /&gt;
&lt;br /&gt;
[[File:Ft1015MgO_DoS_20x20x20.PNG|480px|thumb|left|&#039;&#039;&#039;Figure 3&#039;&#039;&#039;: The optimised plot of the density of states for MgO using a 16x16x16 grid size]]&lt;br /&gt;
As the grid size increases, and thus the more k-points sampled, more and more features become visible, with the increase in number of points sampled along the dispersion curve leading to the increase in number of bands seen in the density of states. Optimising the grid size led to a grid size of 16x16x16 being optimal. As expected, the density of states plot produced from this grid size was smooth, as can be seen in figure 3. This curve was proved to be a good optimisation through looking at the Hemholtz free energy for each of the simulated grid sizes. As the accuracy of the Helmholtz free energy result directly depends on the number of k-space points sampled in the calculations as can be seen in eq. 2. Similarly to eq. 1, the larger the grid size, and therefore the more k-points sampled, the more accurate the result. Comparing the free energy of the 16x16x16 grid to the 32x32x32 grid; which for higher order grids remained constant and so had converged, the 16x16x16 was accurate to within 0.001 meV or 2.4434 × 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; %.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; F = E_0 + \frac {1}{2}\sum_{k,j}^{} \hbar \omega _k + k_B T \sum_{k,j}^{}ln(1-e^{\frac {-\hbar \omega _k }{k_B T}})&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;F&amp;lt;/math&amp;gt; is the Hemholtz free energy and &amp;lt;math&amp;gt;E_0&amp;lt;/math&amp;gt; is the lattice energy&lt;br /&gt;
&lt;br /&gt;
In comparison to smaller grid sizes, the 16x16x16 grid size curve appears more smooth, and more akin to a single band as seen for macrostructures. Larger grid sizes, while greatly increasing the computation time of the calculation did not largely increase the accuracy of the calculations as stated above, and therefore the 16x16x16 grid size was the optimal choice for these simulations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 1. Calculated Total Difference in Hemholtz Free Energy &lt;br /&gt;
! Grid Size&lt;br /&gt;
! Total Difference in Free Energy&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 3.818&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.126&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -0.051&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -0.033&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -0.001&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| -0.000&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| 0.000&lt;br /&gt;
|-&lt;br /&gt;
| 64&lt;br /&gt;
| 0.000&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Table 1 shows the difference between the calculated free energy for grid size and the final converged free energy. Looking at this, we can see that for grid sizes larger than 24x24x24, there is no change in the free energy of the system and so the free energy has converged to a minima, although it may not be the global minimum. The accuracy of simulations also increase rapidly with grid size, for example for accurate simulated energies to 1, 0.5 and 0.1 meV per cell, grid sizes of 2x2x2, 4x4x4 and 8x8x8 respectively can be used. This rapid increase in the accuracy of the calculation can be attributed to the large increase in k-points sampled over within the summations in eq. 2 with increasing grid size.&lt;br /&gt;
&lt;br /&gt;
However, the optimal grid size dependent on the material used due to the relationship between the lattice parameter, and the size of the first brillouin zone in k-space. For a similar oxide such as CaO, in comparsion to the lattice parameter of MgO of 4.212 Å &amp;lt;ref&amp;gt; A. CIMINO, P. PORTA and M. VALIGI, J. Am. Ceram. Soc, 1966, &#039;&#039;&#039;49&#039;&#039;&#039;, 152–156 &amp;lt;/ref&amp;gt;, the parameter of CaO is 4.864 Å &amp;lt;ref&amp;gt;Mackrodt, W. C., Harrison, N. M., Saunders, V. R., Allan, N. L. and Towler, M. D., Aprà, E., Dovesi, R., Philos. Mag. A, 1993 , &#039;&#039;&#039;68&#039;&#039;&#039;, 653-666 &amp;lt;/ref&amp;gt;, slightly larger than that of MgO. This leads to a slightly smaller grid size being optimal, as the larger lattice parameter leads to a smaller brillouin zone in reciprocal space as if the lattice parameter &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; is larger, then the size of the first brillouin zone &amp;lt;math&amp;gt;a^{*}= \frac {2 \pi}{a} &amp;lt;/math&amp;gt;will be smaller. This in turn allows less points to be sampled inside the region to give the same spacing of points, and therefore accuracy for the density of states as for MgO. Similarly, the zeolite faujsite has an extremely large lattice parameter of 25.132 Å &amp;lt;ref&amp;gt;E. Dempsey, G. H. Kuhl, and D. H. Olson, Phys. Chem., 1969, &#039;&#039;&#039;73&#039;&#039;&#039;, 387–390 &amp;lt;/ref&amp;gt;, in comparison to MgO. This; as with the case of CaO but more exaggerated, leads to a much smaller brillouin zone in reciprocal space, and so allows for a much smaller grid size to give the same accuracy as the MgO calculation due to the extremely small value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; obtained for faujsite.&lt;br /&gt;
Conversely, lithium has a smaller lattice spacing of 3.51 Å &amp;lt;ref&amp;gt;M.R. Nadler and C.P. Kempfer, Anal. Chem., 1959, &#039;&#039;&#039;31&#039;&#039;&#039;, 2109-2111&amp;lt;/ref&amp;gt;. Therefore the value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; for lithium will be larger than for MgO, and so require a larger grid size to obtain the same spacing between sampled k-space points and therefore accuracy of the calculated density of states.&lt;br /&gt;
&lt;br /&gt;
=== Thermal Expansion of MgO ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
||[[File:Ft1015Latticeparametervskelvin.png|480px|thumb|&#039;&#039;&#039;Figure 4&#039;&#039;&#039;: A plot of lattice parameter against temperature for MgO]]&lt;br /&gt;
|[[File:Ft1015Latticevolumevskelvin.png|480px|thumb|&#039;&#039;&#039;Figure 5&#039;&#039;&#039;: A plot of lattice volume against temperature for MgO, with the magenta line on the graph corresponding to the polynomial fit for the graph, and the red point the points which were not fitted over]]&lt;br /&gt;
|[[File:Ft1015Hemholtzvskelvin.png|480px|thumb|&#039;&#039;&#039;Figure 6&#039;&#039;&#039;: A plot of free energy against temperature for MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[File:|480px|thumb|&#039;&#039;&#039;Figure 5&#039;&#039;&#039;: A plot of lattice volume against temperature for MgO, with the magenta line on the graph corresponding to the polynomial fit for the graph, and the red point the points which were not fitted over]&lt;br /&gt;
Figures 4 &amp;amp; 5 show the effect of change on temperature on the lattice parameter and volume of MgO in the range of 50-2900 K. As we can seen from the figures, from 50-400 K, a change in temperature does not largely increase the volume, while above 400 K the trend seems to be linear with respect to volume increase through an increase in temperature. This is however not the case at higher temperatures above 2200 K where the trend is more polynomial in nature.&lt;br /&gt;
&lt;br /&gt;
From 50-400 K, the dominating term for the free energy is the zero point energy, and thus a change in temperature does not greatly change the free energy of the lattice and so volume changes at low temperatures are minimal. At temperatures above 2200 K not only is the entropic term completely dominating all other terms for the free energy, but also higher order anharmonic terms for the free energy that were excluded in the harmonic approximation part of the equation begin to play a large role in the free energy. This leads to the gradient no longer being linear. &amp;lt;ref&amp;gt;Masanori Matsui, Geoffrey D. Price and Atul Patel, Geophys. Res. Lett., 1994, &#039;&#039;&#039;21&#039;&#039;&#039;,  1659-1662 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The thermal expansion coefficients for MgO can be calculated through using the gradient &amp;lt;math&amp;gt; (\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt; at a specific value of &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; in the equationː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \alpha = \frac{1}{V_i} (\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt;   &amp;lt;math&amp;gt;(3)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt; \alpha &amp;lt;/math&amp;gt; is the coefficient of thermal expansion and &amp;lt;math&amp;gt;V_i&amp;lt;/math&amp;gt; is the volume of the lattice at 0 K, and &amp;lt;math&amp;gt;(\frac{\partial V}{\partial T})_p =6.16898 \times 10^{-7} T + 0.00118&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Table 2 displays thermal expansion coefficients for the polynomial fit of MgO, alongside the temperature range that the fit was made over.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 2. Calculated Linear fit Thermal Expansion Coefficients for MgO&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| 50 K&lt;br /&gt;
| 16.44165152&lt;br /&gt;
&lt;br /&gt;
| 1500 K&lt;br /&gt;
|40.13048558&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 100 K&lt;br /&gt;
| 17.25850787&lt;br /&gt;
&lt;br /&gt;
| 1600 K&lt;br /&gt;
| 41.76419827&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 200 K&lt;br /&gt;
| 18.89222056&lt;br /&gt;
&lt;br /&gt;
| 1700 K&lt;br /&gt;
|43.39791096&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 300 K&lt;br /&gt;
| 20.52593325&lt;br /&gt;
&lt;br /&gt;
| 1800 K&lt;br /&gt;
|45.03162366&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 400 K&lt;br /&gt;
| 22.15964595&lt;br /&gt;
&lt;br /&gt;
| 1900 K&lt;br /&gt;
|46.66533635&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 500 K&lt;br /&gt;
| 23.79335864&lt;br /&gt;
&lt;br /&gt;
| 2000 K&lt;br /&gt;
|48.29904905&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 600 K&lt;br /&gt;
| 25.42707133&lt;br /&gt;
&lt;br /&gt;
| 2100 K&lt;br /&gt;
|49.93276174&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 700 K&lt;br /&gt;
| 27.06078403&lt;br /&gt;
&lt;br /&gt;
| 2200 K&lt;br /&gt;
|51.56647443&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 800 K&lt;br /&gt;
| 28.69449672&lt;br /&gt;
&lt;br /&gt;
| 2300 K&lt;br /&gt;
|53.20018713&lt;br /&gt;
|-&lt;br /&gt;
| 900 K&lt;br /&gt;
| 30.32820942&lt;br /&gt;
&lt;br /&gt;
| 2400 K&lt;br /&gt;
|54.83389982&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1000 K&lt;br /&gt;
| 31.96192211&lt;br /&gt;
&lt;br /&gt;
| 2500 K&lt;br /&gt;
|56.46761251&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1100 K&lt;br /&gt;
| 33.5956348&lt;br /&gt;
&lt;br /&gt;
| 2600 K&lt;br /&gt;
|58.10132521&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1200 K&lt;br /&gt;
| 35.2293475&lt;br /&gt;
&lt;br /&gt;
| 2700 K&lt;br /&gt;
|59.7350379&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1300 K&lt;br /&gt;
| 36.86306019&lt;br /&gt;
&lt;br /&gt;
| 2800 K&lt;br /&gt;
|61.3687506&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1400 K&lt;br /&gt;
| 38.49677288&lt;br /&gt;
&lt;br /&gt;
| 2900 K&lt;br /&gt;
|63.00246329&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
== Tasks ==&lt;br /&gt;
&lt;br /&gt;
=== Calculating the phonon modes of MgO ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The density of states for 1x1x1 grid was computed for a single k-point. Can you work out which k-point by examining the dispersion curves ? look in the Log File to check.&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Through correlating the DoS for the single k-point with the dispersion curve, the k-point that was used can be found. The DoS shows bands at 286 and 351 cm-1 with intensities of 0.333, and bands at 676 and 806 cm-1 with intensities half that of the first two bands. These points can be seen to correspond to the L k-point on the dispersion curve. This k-point shows three acoustic and optical branches, with the first two points of 0.333 intensity corresponding to a point where two branches are overlapping.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does the density of states vary with grid size ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The increase in number of points sampled along the dispersion curve leads to the increase in number of bands seen in the DoS, and ac. The DoS becomes more spread out as the number of sampled points increases increases, as with a larger grid size, more vibrations are sampled and thus more features appear in the dispersion.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;As the grid size increases more and more of the possible vibrations are sampled and more features appear - which grid size is the minimum for a reasonable approximation to the density of states ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
A grid size of 16x16x16 was found to be the optimal grid size. As expected, the DoS curve produced from this grid size was smooth. This curve was proved to be a good optimization through looking at the Hemholtz free energy for each of the simulated grid sizes. As the accuracy of the Hemholtz free energy result directly depends on the number of k-space points summed over in the calculations, the larger the grid size, and therefore the large the number of k-points summed over, the more accurate the result. Comparing the 16x16x16 to the 32x32x32 grid; which on higher order grids did not change the free energy and therefore was the best approximation, the 16x16x16 was accurate to within 0.001 meV or 2.4434 × 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; %&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does the density of states computed at this optimal grid size compare to that computed for smaller and larger grids ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
At this grid size of 16x16x16, compared to grids that are smaller it appears more smooth, and similar to a single band for a macrostructure. Larger grid sizes increase the smoothness of the band &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How is the density of states related to the dispersion curves ?&#039;&#039;&#039;&lt;br /&gt;
Both the DoS and dispersion curves are plotted with one axis being energy; or in this case frequency of vibration, and so can be related. Through potting both the DoS and dispersion curves on the same axis one can see the relationship between the DoS and dispersion&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Would this optimal grid size for MgO (4.212 Å &amp;lt;ref&amp;gt; A. CIMINO, P. PORTA and M. VALIGI, J. Am. Ceram. Soc, 1966, &#039;&#039;&#039;49&#039;&#039;&#039;, 152–156 &amp;lt;/ref&amp;gt;)be appropriate for a calculation on;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a similar oxide (eg: CaO) ?&#039;&#039;&#039;&lt;br /&gt;
CaO has a lattice parameter of 4.864 Å &amp;lt;ref&amp;gt;Mackrodt, W. C., Harrison, N. M., Saunders, V. R., Allan, N. L. and Towler, M. D., Aprà, E., Dovesi, R., Philos. Mag. A, 1993 , &#039;&#039;&#039;68&#039;&#039;&#039;, 653-666 &amp;lt;/ref&amp;gt;, slightly larger than that of MgO. This leads to a slightly smaller grid size being optimal, as the larger lattice parameter leads to a smaller brillouin zone in reciprocal space as if the lattice parameter &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; in the range of  &amp;lt;math&amp;gt; [0, \frac{\pi}{a}]&amp;lt;/math&amp;gt; is larger, then the range will be smaller. This in turn allows less points to be sampled inside the region to give the same spacing of points, and therefore accuracy for the DoS as for MgO.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a Zeolite (eg: Faujasite) ?&#039;&#039;&#039;&lt;br /&gt;
Faujsite has an extremely large lattice parameter of 25.132 Å &amp;lt;ref&amp;gt;E. Dempsey, G. H. Kuhl, and D. H. Olson, Phys. Chem., 1969, &#039;&#039;&#039;73&#039;&#039;&#039;, 387–390 &amp;lt;/ref&amp;gt;, in comparison to MgO (4.212 Å). This; as with the case of CaO but more exaggerated, leads to a much smaller brillouin zone in reciprocal space, and so allows for a much smaller grid size to give the same accuracy as the MgO DoS calculation&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a metal (eg: lithium) ?&#039;&#039;&#039;&lt;br /&gt;
In comparison to MgO, CaO and Faujsite, Lithium has a smaller lattice spacing of 3.51 Å &amp;lt;ref&amp;gt;M.R. Nadler and C.P. Kempfer, Anal. Chem., 1959, &#039;&#039;&#039;31&#039;&#039;&#039;, 2109-2111&amp;lt;/ref&amp;gt;. Therefore the brillouin zone &amp;lt;math&amp;gt; [0, \frac{\pi}{a}] &amp;lt;/math&amp;gt; for Lithium will be larger than for MgO, and so require a larger grid size to obtain the same spacing between sampled k-space points and therefore accuracy of the calculated DoS&lt;br /&gt;
&lt;br /&gt;
=== Computing the Free Energy - The harmonic approximation ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does the free energy vary with grid size ?&#039;&#039;&#039;&lt;br /&gt;
Figure 4 plots Hemholtz free energy against grid size using ep. 2, showing that above grid sizes of 32x32x32, there is no change in the free energy of the system, and so has converged to a minima.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Which grid size is appropriate for calculations accurate to 1 meV, 0.5 meV and 0.1 meV per cell ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Would this optimal grid size for MgO be appropriate for a calculation on; a similar oxide (eg: CaO) ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a Zeolite (eg: Faujasite) ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a metal (eg: lithium) ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== The Thermal Expansion of MgO ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Plot the free energy against temperature&#039;&#039;&#039;&lt;br /&gt;
Done&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Plot the lattice constant against temperature&#039;&#039;&#039;&lt;br /&gt;
Done&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Comment on the shape of these curves.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Compute the coefficient of thermal expansion for MgO&#039;&#039;&#039;&lt;br /&gt;
0.00002906591&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does this compare to that measured ? Find a measurement in the literature or on the web - at what temperature was the measurement made ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;What are the main approximations in your calculation ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;What is the physical origin of thermal expansion ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;As the temperature approaches the melting point of MgO how well do the phonon modes represent the actual motions of the ions ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In a diatomic molecule with an exactly harmonic potential would you expect the bond length to increase with temperature ? Why does it increase in the solid when we are using an quasi-harmonic approximation ?&#039;&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Ft1015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=File:Ft1015MgO_phonon_dispersion.PNG&amp;diff=651756</id>
		<title>File:Ft1015MgO phonon dispersion.PNG</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=File:Ft1015MgO_phonon_dispersion.PNG&amp;diff=651756"/>
		<updated>2017-12-16T22:12:48Z</updated>

		<summary type="html">&lt;p&gt;Ft1015: Ft1015 uploaded a new version of File:Ft1015MgO phonon dispersion.PNG&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ft1015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=File:Ft1015MgO_DoS_20x20x20.PNG&amp;diff=651746</id>
		<title>File:Ft1015MgO DoS 20x20x20.PNG</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=File:Ft1015MgO_DoS_20x20x20.PNG&amp;diff=651746"/>
		<updated>2017-12-16T22:01:28Z</updated>

		<summary type="html">&lt;p&gt;Ft1015: Ft1015 uploaded a new version of File:Ft1015MgO DoS 20x20x20.PNG&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ft1015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=File:Ft1015MgO_DoS.PNG&amp;diff=651744</id>
		<title>File:Ft1015MgO DoS.PNG</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=File:Ft1015MgO_DoS.PNG&amp;diff=651744"/>
		<updated>2017-12-16T21:57:50Z</updated>

		<summary type="html">&lt;p&gt;Ft1015: Ft1015 uploaded a new version of File:Ft1015MgO DoS.PNG&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ft1015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=651734</id>
		<title>Rep:FabianThomasThirdYearMgOSimulation</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=651734"/>
		<updated>2017-12-16T21:50:46Z</updated>

		<summary type="html">&lt;p&gt;Ft1015: /* Thermal Expansion of MgO */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Abstract ==&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Theory ===&lt;br /&gt;
The quasi-harmonic approximation expands upon the harmonic [[phonon]] model of lattice dynamics. The harmonic phonon model states that all interatomic forces are purely [[Harmonic Oscillator|harmonic]], but such a model is inadequate to explain [[thermal expansion]], as the equilibrium distance between atoms in such a model is independent of temperature.&lt;br /&gt;
&lt;br /&gt;
Thus in the quasi-harmonic model, from a phonon point of view, phonon frequencies become volume-dependent in the quasi-harmonic approximation, such that for each volume, the harmonic approximation holds.&lt;br /&gt;
&lt;br /&gt;
For a lattice, the Helmholtz free energy &#039;&#039;F&#039;&#039; in the quasi-harmonic approximation is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;F(T,V) = U(V) + E_{ZP}(V) - T S(T,V)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;U&#039;&#039; is the internal [[lattice energy]], &#039;&#039;E&amp;lt;sub&amp;gt;ZP&amp;lt;/sub&amp;gt;&#039;&#039; is the vibrational [[zero-point energy]] of the lattice, &#039;&#039;T&#039;&#039; is the absolute temperature, &#039;&#039;V&#039;&#039; is the volume and &#039;&#039;S&#039;&#039; is the [[entropy]] due to the vibrational degrees of freedom. The specific definition of the volume is of no particular importance, as long as the definition is used consistently throughout. It can be the volume per primitive unit cell, volume per conventional unit cell, or even molar volume. This choice does not affect the following in any way.&lt;br /&gt;
&lt;br /&gt;
The zero-point energy term equals&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; E_{ZP}(V) = \frac{1}{N} \sum_{\mathbf{k}, i} \frac{1}{2} h \nu_{\mathbf{k},i}(V) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;N&#039;&#039; is the number of terms in the sum, &#039;&#039;&#039;k&#039;&#039;&#039; is a [[wave vector]], &#039;&#039;i&#039;&#039; denotes a phonon band, &#039;&#039;h&#039;&#039; is [[Planck&#039;s constant]] and ν&amp;lt;sub&amp;gt;&#039;&#039;&#039;k&#039;&#039;&#039;,&#039;&#039;i&#039;&#039;&amp;lt;/sub&amp;gt;(V) is the frequency of a phonon with wave vector &#039;&#039;&#039;k&#039;&#039;&#039; in the &#039;&#039;i&#039;&#039;-th band at volume &#039;&#039;V&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
The entropy term equals&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S(V) = -\frac{1}{N} \sum_{\mathbf{k}, i} k_B \ln \left[ 1 - \exp\left( -\frac{h \nu_{\mathbf{k},i}(V)}{ k_BT }\right) \right] + \frac{1}{N} \sum_{\mathbf{k},i} k_B \frac{h \nu_{\mathbf{k},i}(V)}{k_B T} \left[ \exp\left( \frac{h \nu_{\mathbf{k},i}(V)}{ k_BT } \right) - 1 \right]^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;k&#039;&#039;&amp;lt;sub&amp;gt;B&amp;lt;/sub&amp;gt; is the [[Boltzmann constant]]. The frequency ν as a function of &#039;&#039;&#039;k&#039;&#039;&#039; is the [[dispersion relation]].  Note that for a constant value of &#039;&#039;V&#039;&#039;, these equations corresponds to that of the harmonic approximation.&lt;br /&gt;
&lt;br /&gt;
By applying a [[Legendre transform]], it is possible to obtain the [[Gibbs free energy]] &#039;&#039;G&#039;&#039; of the system as a function of temperature and pressure.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G(T,P) = \min_V \left[ U(V) + E_{ZP}(V) - T S(T,V) + P V \right]&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &#039;&#039;P&#039;&#039; is the pressure. The minimal value for &#039;&#039;G&#039;&#039; is found at the equilibrium volume for a given &#039;&#039;T&#039;&#039; and &#039;&#039;P&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The system used&lt;br /&gt;
&lt;br /&gt;
The methodology/theory used MOLECULAR DYNAMICS (MD) - Brillouin zones&lt;br /&gt;
&lt;br /&gt;
The aims of the exercise - To compare the to predict how the material expands when heated, to calculate the thermal expansion coefficient for MgO, to compute vibrational energy levels of MgO, to understand the phonon dispersion of a material, the vibrational density of state, to simulate the vibrations as random motions of atoms inside a cell, to compare QUASI-HARMONIC APPROXIMATION with MOLECULAR DYNAMICS results.&lt;br /&gt;
&lt;br /&gt;
The tools/programs in use - DLV&lt;br /&gt;
&lt;br /&gt;
The quasi-harmonic approximation for phonons builds upon the harmonic approximation for phonon dynamics, and therefore to explain the quasi-harmonic approximation we must first discuss the harmonic approximation&lt;br /&gt;
&lt;br /&gt;
For a regular, linear chain which is composed of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; number of particles, the forces between a pair of atoms can be assumed to be a potential energy function &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; which depends on the distance of the separation between the atoms. The main contributing forces to the potential are described by an electric force, such as electrostatic attractions, covalent bonds or Van der Waals forces. Therefore the potential energy of the entire lattice made up of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; atoms is the sum of the potential energies between each pair of atoms with a separation r from each other shown below in eq 1.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV(r)&amp;lt;/math&amp;gt;       &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, allowing each atom to deviate slightly from its equilibrium position by a displacement &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;, if the deviations are small in comparison to the distance between each atom &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;, the energy of this chain is able to be calculated via a taylor expansion summing over all of the atoms in the chain.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV + \sum_{s\ge 1} \frac {1}{s !} \frac {\partial^s V}{\partial u^s} \sum_{n}&lt;br /&gt;
 (u_n - u_{n+1})^s&amp;lt;/math&amp;gt;     &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;u_n&amp;lt;/math&amp;gt; is the displacement of the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;th atom from its equilibrium postition&lt;br /&gt;
&lt;br /&gt;
Two approximations are used in order to reach this equation, which together forms the harmonic approximation and it&#039;s respective equation. The first approximation states that the sum of the pair potential energies is completed over only neighboring atoms, as although there are electric forces between all atoms, these forces on atoms far away from one another are greatly diminished by screening by the atoms in between, and that the potential energies are treated as harmonic potential energies. In this equation, as the expansion was done around the equilibrium point, therefore the first derivative is zero, whereas higher order terms are not, and so the first term can be dropped, and the second term is used where &amp;lt;math&amp;gt;s = 2&amp;lt;/math&amp;gt;, with higher order terms being neglected. These higher order terms are ignored as harmonic equations of motion have exact solutions, while anharmonic equations do not have exact solutions to them and require more approximations. Thus the energy of the lattice is thus the same as the energy of the set of harmonic oscillators. The error in this equation remains small for small values of &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;&lt;br /&gt;
as the value of higher order terms will remain low.&lt;br /&gt;
CITE BOOK&lt;br /&gt;
&lt;br /&gt;
== Results and Discussion ==&lt;br /&gt;
&lt;br /&gt;
=== Phonon modes and Free Energy of MgO ===&lt;br /&gt;
[[File:Ft1015MgO_phonon_dispersion.PNG|480px|thumb|left|&#039;&#039;&#039;Figure 1&#039;&#039;&#039;: A phonon dispersion plot for MgO]]&lt;br /&gt;
[[File:Ft1015MgO_DoS.PNG|480px|thumb|right|&#039;&#039;&#039;Figure 2&#039;&#039;&#039;: A plot of the density of states for MgO using a 1x1x1 grid size]]&lt;br /&gt;
&lt;br /&gt;
From figures 1 and 2, we can see the computed phonon dispersion curve and density of states for a 1x1x1 grid size containing one k-point. Correlating the density of states with the dispersion curve via their shared axis of frequency of vibration yields the k-point L on the dispersion curve as the singular k-point used for the calculation. The density of states shows bands at 286 and 351 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 676 and 806 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, with the intensities of the first two bands double that of the final two bands. These bands correspond to three acoustic and three optical branches, with the first two bands of 0.333 intensity corresponding to a k-point where two branches are overlapping and are therefore degenerate states.&lt;br /&gt;
&lt;br /&gt;
Varying the grid size used for the calculation greatly affected the accuracy and precision of the results of calculations through increasing the number of k-points sampled in eq. 1ː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\omega ^{2}(k) = C(\frac{1}{M_{Mg}} + \frac{1}{M_{O}}) \pm \sqrt {(\frac{1}{M_{Mg}} + \frac{1}{M_{O}})^{2} - \frac{4sin^{2}(ka)}{M_{Mg}}}&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; is the spring force constant, &amp;lt;math&amp;gt;M_{Mg}&amp;lt;/math&amp;gt; is the molar mass of magnesium and &amp;lt;math&amp;gt;M_{O}&amp;lt;/math&amp;gt; is the molar mass of oxygen&lt;br /&gt;
&lt;br /&gt;
[[File:Ft1015MgO_DoS_20x20x20.PNG|480px|thumb|left|&#039;&#039;&#039;Figure 3&#039;&#039;&#039;: The optimised plot of the density of states for MgO using a 16x16x16 grid size]]&lt;br /&gt;
As the grid size increases, and thus the more k-points sampled, more and more features become visible, with the increase in number of points sampled along the dispersion curve leading to the increase in number of bands seen in the density of states. Optimising the grid size led to a grid size of 16x16x16 being optimal. As expected, the density of states plot produced from this grid size was smooth, as can be seen in figure 3. This curve was proved to be a good optimisation through looking at the Hemholtz free energy for each of the simulated grid sizes. As the accuracy of the Helmholtz free energy result directly depends on the number of k-space points sampled in the calculations as can be seen in eq. 2. Similarly to eq. 1, the larger the grid size, and therefore the more k-points sampled, the more accurate the result. Comparing the free energy of the 16x16x16 grid to the 32x32x32 grid; which for higher order grids remained constant and so had converged, the 16x16x16 was accurate to within 0.001 meV or 2.4434 × 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; %.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; F = E_0 + \frac {1}{2}\sum_{k,j}^{} \hbar \omega _k + k_B T \sum_{k,j}^{}ln(1-e^{\frac {-\hbar \omega _k }{k_B T}})&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;F&amp;lt;/math&amp;gt; is the Hemholtz free energy and &amp;lt;math&amp;gt;E_0&amp;lt;/math&amp;gt; is the lattice energy&lt;br /&gt;
&lt;br /&gt;
In comparison to smaller grid sizes, the 16x16x16 grid size curve appears more smooth, and more akin to a single band as seen for macrostructures. Larger grid sizes, while greatly increasing the computation time of the calculation did not largely increase the accuracy of the calculations as stated above, and therefore the 16x16x16 grid size was the optimal choice for these simulations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 1. Calculated Total Difference in Hemholtz Free Energy &lt;br /&gt;
! Grid Size&lt;br /&gt;
! Total Difference in Free Energy&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 3.818&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.126&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -0.051&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -0.033&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -0.001&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| -0.000&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| 0.000&lt;br /&gt;
|-&lt;br /&gt;
| 64&lt;br /&gt;
| 0.000&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Table 1 shows the difference between the calculated free energy for grid size and the final converged free energy. Looking at this, we can see that for grid sizes larger than 24x24x24, there is no change in the free energy of the system and so the free energy has converged to a minima, although it may not be the global minimum. The accuracy of simulations also increase rapidly with grid size, for example for accurate simulated energies to 1, 0.5 and 0.1 meV per cell, grid sizes of 2x2x2, 4x4x4 and 8x8x8 respectively can be used. This rapid increase in the accuracy of the calculation can be attributed to the large increase in k-points sampled over within the summations in eq. 2 with increasing grid size.&lt;br /&gt;
&lt;br /&gt;
However, the optimal grid size dependent on the material used due to the relationship between the lattice parameter, and the size of the first brillouin zone in k-space. For a similar oxide such as CaO, in comparsion to the lattice parameter of MgO of 4.212 Å &amp;lt;ref&amp;gt; A. CIMINO, P. PORTA and M. VALIGI, J. Am. Ceram. Soc, 1966, &#039;&#039;&#039;49&#039;&#039;&#039;, 152–156 &amp;lt;/ref&amp;gt;, the parameter of CaO is 4.864 Å &amp;lt;ref&amp;gt;Mackrodt, W. C., Harrison, N. M., Saunders, V. R., Allan, N. L. and Towler, M. D., Aprà, E., Dovesi, R., Philos. Mag. A, 1993 , &#039;&#039;&#039;68&#039;&#039;&#039;, 653-666 &amp;lt;/ref&amp;gt;, slightly larger than that of MgO. This leads to a slightly smaller grid size being optimal, as the larger lattice parameter leads to a smaller brillouin zone in reciprocal space as if the lattice parameter &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; is larger, then the size of the first brillouin zone &amp;lt;math&amp;gt;a^{*}= \frac {2 \pi}{a} &amp;lt;/math&amp;gt;will be smaller. This in turn allows less points to be sampled inside the region to give the same spacing of points, and therefore accuracy for the density of states as for MgO. Similarly, the zeolite faujsite has an extremely large lattice parameter of 25.132 Å &amp;lt;ref&amp;gt;E. Dempsey, G. H. Kuhl, and D. H. Olson, Phys. Chem., 1969, &#039;&#039;&#039;73&#039;&#039;&#039;, 387–390 &amp;lt;/ref&amp;gt;, in comparison to MgO. This; as with the case of CaO but more exaggerated, leads to a much smaller brillouin zone in reciprocal space, and so allows for a much smaller grid size to give the same accuracy as the MgO calculation due to the extremely small value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; obtained for faujsite.&lt;br /&gt;
Conversely, lithium has a smaller lattice spacing of 3.51 Å &amp;lt;ref&amp;gt;M.R. Nadler and C.P. Kempfer, Anal. Chem., 1959, &#039;&#039;&#039;31&#039;&#039;&#039;, 2109-2111&amp;lt;/ref&amp;gt;. Therefore the value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; for lithium will be larger than for MgO, and so require a larger grid size to obtain the same spacing between sampled k-space points and therefore accuracy of the calculated density of states.&lt;br /&gt;
&lt;br /&gt;
=== Thermal Expansion of MgO ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
||[[File:Ft1015Latticeparametervskelvin.png|480px|thumb|&#039;&#039;&#039;Figure 4&#039;&#039;&#039;: A plot of lattice parameter against temperature for MgO]]&lt;br /&gt;
|[[File:Ft1015Latticevolumevskelvin.png|480px|thumb|&#039;&#039;&#039;Figure 5&#039;&#039;&#039;: A plot of lattice volume against temperature for MgO, with the magenta line on the graph corresponding to the polynomial fit for the graph, and the red point the points which were not fitted over]]&lt;br /&gt;
|[[File:Ft1015Hemholtzvskelvin.png|480px|thumb|&#039;&#039;&#039;Figure 6&#039;&#039;&#039;: A plot of free energy against temperature for MgO]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[File:|480px|thumb|&#039;&#039;&#039;Figure 5&#039;&#039;&#039;: A plot of lattice volume against temperature for MgO, with the magenta line on the graph corresponding to the polynomial fit for the graph, and the red point the points which were not fitted over]&lt;br /&gt;
Figures 4 &amp;amp; 5 show the effect of change on temperature on the lattice parameter and volume of MgO in the range of 50-2900 K. As we can seen from the figures, from 50-400 K, a change in temperature does not largely increase the volume, while above 400 K the trend seems to be linear with respect to volume increase through an increase in temperature. This is however not the case at higher temperatures above 2200 K where the trend is more polynomial in nature.&lt;br /&gt;
&lt;br /&gt;
From 50-400 K, the dominating term for the free energy is the zero point energy, and thus a change in temperature does not greatly change the free energy of the lattice and so volume changes at low temperatures are minimal. At temperatures above 2200 K not only is the entropic term completely dominating all other terms for the free energy, but also higher order anharmonic terms for the free energy that were excluded in the harmonic approximation part of the equation begin to play a large role in the free energy. This leads to the gradient no longer being linear. &amp;lt;ref&amp;gt;Masanori Matsui, Geoffrey D. Price and Atul Patel, Geophys. Res. Lett., 1994, &#039;&#039;&#039;21&#039;&#039;&#039;,  1659-1662 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The thermal expansion coefficients for MgO can be calculated through using the gradient &amp;lt;math&amp;gt; \frac{\partial V}{\partial T}&amp;lt;/math&amp;gt; at a specific value of &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; in the equationː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; \alpha = \frac{1}{V_i} (\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt;   &amp;lt;math&amp;gt;(3)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt; \alpha &amp;lt;/math&amp;gt; is the coefficient of thermal expansion and &amp;lt;math&amp;gt;V_i&amp;lt;/math&amp;gt; is the volume of the lattice at 0 K, and &amp;lt;math&amp;gt;(\frac{\partial V}{\partial T})_p =6.16898 \times 10^{-7} T + 0.00118&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Table 2 displays thermal expansion coefficients for the polynomial fit of MgO, alongside the temperature range that the fit was made over.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 2. Calculated Linear fit Thermal Expansion Coefficients for MgO&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
! Temperature (K)&lt;br /&gt;
! Thermal Expansion Coefficient (x 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| 50 K&lt;br /&gt;
| 16.44165152&lt;br /&gt;
&lt;br /&gt;
| 1500 K&lt;br /&gt;
|40.13048558&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 100 K&lt;br /&gt;
| 17.25850787&lt;br /&gt;
&lt;br /&gt;
| 1600 K&lt;br /&gt;
| 41.76419827&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 200 K&lt;br /&gt;
| 18.89222056&lt;br /&gt;
&lt;br /&gt;
| 1700 K&lt;br /&gt;
|43.39791096&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 300 K&lt;br /&gt;
| 20.52593325&lt;br /&gt;
&lt;br /&gt;
| 1800 K&lt;br /&gt;
|45.03162366&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 400 K&lt;br /&gt;
| 22.15964595&lt;br /&gt;
&lt;br /&gt;
| 1900 K&lt;br /&gt;
|46.66533635&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 500 K&lt;br /&gt;
| 23.79335864&lt;br /&gt;
&lt;br /&gt;
| 2000 K&lt;br /&gt;
|48.29904905&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 600 K&lt;br /&gt;
| 25.42707133&lt;br /&gt;
&lt;br /&gt;
| 2100 K&lt;br /&gt;
|49.93276174&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 700 K&lt;br /&gt;
| 27.06078403&lt;br /&gt;
&lt;br /&gt;
| 2200 K&lt;br /&gt;
|51.56647443&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 800 K&lt;br /&gt;
| 28.69449672&lt;br /&gt;
&lt;br /&gt;
| 2300 K&lt;br /&gt;
|53.20018713&lt;br /&gt;
|-&lt;br /&gt;
| 900 K&lt;br /&gt;
| 30.32820942&lt;br /&gt;
&lt;br /&gt;
| 2400 K&lt;br /&gt;
|54.83389982&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1000 K&lt;br /&gt;
| 31.96192211&lt;br /&gt;
&lt;br /&gt;
| 2500 K&lt;br /&gt;
|56.46761251&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1100 K&lt;br /&gt;
| 33.5956348&lt;br /&gt;
&lt;br /&gt;
| 2600 K&lt;br /&gt;
|58.10132521&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1200 K&lt;br /&gt;
| 35.2293475&lt;br /&gt;
&lt;br /&gt;
| 2700 K&lt;br /&gt;
|59.7350379&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1300 K&lt;br /&gt;
| 36.86306019&lt;br /&gt;
&lt;br /&gt;
| 2800 K&lt;br /&gt;
|61.3687506&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1400 K&lt;br /&gt;
| 38.49677288&lt;br /&gt;
&lt;br /&gt;
| 2900 K&lt;br /&gt;
|63.00246329&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
== Tasks ==&lt;br /&gt;
&lt;br /&gt;
=== Calculating the phonon modes of MgO ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The density of states for 1x1x1 grid was computed for a single k-point. Can you work out which k-point by examining the dispersion curves ? look in the Log File to check.&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Through correlating the DoS for the single k-point with the dispersion curve, the k-point that was used can be found. The DoS shows bands at 286 and 351 cm-1 with intensities of 0.333, and bands at 676 and 806 cm-1 with intensities half that of the first two bands. These points can be seen to correspond to the L k-point on the dispersion curve. This k-point shows three acoustic and optical branches, with the first two points of 0.333 intensity corresponding to a point where two branches are overlapping.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does the density of states vary with grid size ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The increase in number of points sampled along the dispersion curve leads to the increase in number of bands seen in the DoS, and ac. The DoS becomes more spread out as the number of sampled points increases increases, as with a larger grid size, more vibrations are sampled and thus more features appear in the dispersion.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;As the grid size increases more and more of the possible vibrations are sampled and more features appear - which grid size is the minimum for a reasonable approximation to the density of states ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
A grid size of 16x16x16 was found to be the optimal grid size. As expected, the DoS curve produced from this grid size was smooth. This curve was proved to be a good optimization through looking at the Hemholtz free energy for each of the simulated grid sizes. As the accuracy of the Hemholtz free energy result directly depends on the number of k-space points summed over in the calculations, the larger the grid size, and therefore the large the number of k-points summed over, the more accurate the result. Comparing the 16x16x16 to the 32x32x32 grid; which on higher order grids did not change the free energy and therefore was the best approximation, the 16x16x16 was accurate to within 0.001 meV or 2.4434 × 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; %&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does the density of states computed at this optimal grid size compare to that computed for smaller and larger grids ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
At this grid size of 16x16x16, compared to grids that are smaller it appears more smooth, and similar to a single band for a macrostructure. Larger grid sizes increase the smoothness of the band &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How is the density of states related to the dispersion curves ?&#039;&#039;&#039;&lt;br /&gt;
Both the DoS and dispersion curves are plotted with one axis being energy; or in this case frequency of vibration, and so can be related. Through potting both the DoS and dispersion curves on the same axis one can see the relationship between the DoS and dispersion&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Would this optimal grid size for MgO (4.212 Å &amp;lt;ref&amp;gt; A. CIMINO, P. PORTA and M. VALIGI, J. Am. Ceram. Soc, 1966, &#039;&#039;&#039;49&#039;&#039;&#039;, 152–156 &amp;lt;/ref&amp;gt;)be appropriate for a calculation on;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a similar oxide (eg: CaO) ?&#039;&#039;&#039;&lt;br /&gt;
CaO has a lattice parameter of 4.864 Å &amp;lt;ref&amp;gt;Mackrodt, W. C., Harrison, N. M., Saunders, V. R., Allan, N. L. and Towler, M. D., Aprà, E., Dovesi, R., Philos. Mag. A, 1993 , &#039;&#039;&#039;68&#039;&#039;&#039;, 653-666 &amp;lt;/ref&amp;gt;, slightly larger than that of MgO. This leads to a slightly smaller grid size being optimal, as the larger lattice parameter leads to a smaller brillouin zone in reciprocal space as if the lattice parameter &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; in the range of  &amp;lt;math&amp;gt; [0, \frac{\pi}{a}]&amp;lt;/math&amp;gt; is larger, then the range will be smaller. This in turn allows less points to be sampled inside the region to give the same spacing of points, and therefore accuracy for the DoS as for MgO.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a Zeolite (eg: Faujasite) ?&#039;&#039;&#039;&lt;br /&gt;
Faujsite has an extremely large lattice parameter of 25.132 Å &amp;lt;ref&amp;gt;E. Dempsey, G. H. Kuhl, and D. H. Olson, Phys. Chem., 1969, &#039;&#039;&#039;73&#039;&#039;&#039;, 387–390 &amp;lt;/ref&amp;gt;, in comparison to MgO (4.212 Å). This; as with the case of CaO but more exaggerated, leads to a much smaller brillouin zone in reciprocal space, and so allows for a much smaller grid size to give the same accuracy as the MgO DoS calculation&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a metal (eg: lithium) ?&#039;&#039;&#039;&lt;br /&gt;
In comparison to MgO, CaO and Faujsite, Lithium has a smaller lattice spacing of 3.51 Å &amp;lt;ref&amp;gt;M.R. Nadler and C.P. Kempfer, Anal. Chem., 1959, &#039;&#039;&#039;31&#039;&#039;&#039;, 2109-2111&amp;lt;/ref&amp;gt;. Therefore the brillouin zone &amp;lt;math&amp;gt; [0, \frac{\pi}{a}] &amp;lt;/math&amp;gt; for Lithium will be larger than for MgO, and so require a larger grid size to obtain the same spacing between sampled k-space points and therefore accuracy of the calculated DoS&lt;br /&gt;
&lt;br /&gt;
=== Computing the Free Energy - The harmonic approximation ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does the free energy vary with grid size ?&#039;&#039;&#039;&lt;br /&gt;
Figure 4 plots Hemholtz free energy against grid size using ep. 2, showing that above grid sizes of 32x32x32, there is no change in the free energy of the system, and so has converged to a minima.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Which grid size is appropriate for calculations accurate to 1 meV, 0.5 meV and 0.1 meV per cell ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Would this optimal grid size for MgO be appropriate for a calculation on; a similar oxide (eg: CaO) ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a Zeolite (eg: Faujasite) ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a metal (eg: lithium) ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== The Thermal Expansion of MgO ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Plot the free energy against temperature&#039;&#039;&#039;&lt;br /&gt;
Done&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Plot the lattice constant against temperature&#039;&#039;&#039;&lt;br /&gt;
Done&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Comment on the shape of these curves.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Compute the coefficient of thermal expansion for MgO&#039;&#039;&#039;&lt;br /&gt;
0.00002906591&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does this compare to that measured ? Find a measurement in the literature or on the web - at what temperature was the measurement made ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;What are the main approximations in your calculation ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;What is the physical origin of thermal expansion ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;As the temperature approaches the melting point of MgO how well do the phonon modes represent the actual motions of the ions ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In a diatomic molecule with an exactly harmonic potential would you expect the bond length to increase with temperature ? Why does it increase in the solid when we are using an quasi-harmonic approximation ?&#039;&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Ft1015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=File:Ft1015Latticevolumevskelvin.png&amp;diff=651725</id>
		<title>File:Ft1015Latticevolumevskelvin.png</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=File:Ft1015Latticevolumevskelvin.png&amp;diff=651725"/>
		<updated>2017-12-16T21:44:19Z</updated>

		<summary type="html">&lt;p&gt;Ft1015: Ft1015 uploaded a new version of File:Ft1015Latticevolumevskelvin.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ft1015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=File:Ft1015Latticevolumevskelvin.png&amp;diff=651719</id>
		<title>File:Ft1015Latticevolumevskelvin.png</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=File:Ft1015Latticevolumevskelvin.png&amp;diff=651719"/>
		<updated>2017-12-16T21:41:18Z</updated>

		<summary type="html">&lt;p&gt;Ft1015: Ft1015 uploaded a new version of File:Ft1015Latticevolumevskelvin.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ft1015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=File:Ft1015Hemholtzvskelvin.png&amp;diff=651710</id>
		<title>File:Ft1015Hemholtzvskelvin.png</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=File:Ft1015Hemholtzvskelvin.png&amp;diff=651710"/>
		<updated>2017-12-16T21:33:18Z</updated>

		<summary type="html">&lt;p&gt;Ft1015: Ft1015 uploaded a new version of File:Ft1015Hemholtzvskelvin.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ft1015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=File:Ft1015Latticevolumevskelvin.png&amp;diff=651708</id>
		<title>File:Ft1015Latticevolumevskelvin.png</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=File:Ft1015Latticevolumevskelvin.png&amp;diff=651708"/>
		<updated>2017-12-16T21:33:04Z</updated>

		<summary type="html">&lt;p&gt;Ft1015: Ft1015 uploaded a new version of File:Ft1015Latticevolumevskelvin.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ft1015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=File:Ft1015Latticeparametervskelvin.png&amp;diff=651707</id>
		<title>File:Ft1015Latticeparametervskelvin.png</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=File:Ft1015Latticeparametervskelvin.png&amp;diff=651707"/>
		<updated>2017-12-16T21:32:48Z</updated>

		<summary type="html">&lt;p&gt;Ft1015: Ft1015 uploaded a new version of File:Ft1015Latticeparametervskelvin.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ft1015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=File:Ft1015Latticevolumevskelvin.png&amp;diff=651669</id>
		<title>File:Ft1015Latticevolumevskelvin.png</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=File:Ft1015Latticevolumevskelvin.png&amp;diff=651669"/>
		<updated>2017-12-16T20:48:32Z</updated>

		<summary type="html">&lt;p&gt;Ft1015: Ft1015 uploaded a new version of File:Ft1015Latticevolumevskelvin.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ft1015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=File:Ft1015Hemholtzvskelvin.png&amp;diff=651661</id>
		<title>File:Ft1015Hemholtzvskelvin.png</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=File:Ft1015Hemholtzvskelvin.png&amp;diff=651661"/>
		<updated>2017-12-16T20:45:16Z</updated>

		<summary type="html">&lt;p&gt;Ft1015: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ft1015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=File:Ft1015Latticeparametervskelvin.png&amp;diff=651660</id>
		<title>File:Ft1015Latticeparametervskelvin.png</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=File:Ft1015Latticeparametervskelvin.png&amp;diff=651660"/>
		<updated>2017-12-16T20:44:50Z</updated>

		<summary type="html">&lt;p&gt;Ft1015: Ft1015 uploaded a new version of File:Ft1015Latticeparametervskelvin.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ft1015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=651646</id>
		<title>Rep:FabianThomasThirdYearMgOSimulation</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=651646"/>
		<updated>2017-12-16T20:20:44Z</updated>

		<summary type="html">&lt;p&gt;Ft1015: /* Thermal Expansion of MgO */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Abstract ==&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Theory ===&lt;br /&gt;
The quasi-harmonic approximation expands upon the harmonic [[phonon]] model of lattice dynamics. The harmonic phonon model states that all interatomic forces are purely [[Harmonic Oscillator|harmonic]], but such a model is inadequate to explain [[thermal expansion]], as the equilibrium distance between atoms in such a model is independent of temperature.&lt;br /&gt;
&lt;br /&gt;
Thus in the quasi-harmonic model, from a phonon point of view, phonon frequencies become volume-dependent in the quasi-harmonic approximation, such that for each volume, the harmonic approximation holds.&lt;br /&gt;
&lt;br /&gt;
For a lattice, the Helmholtz free energy &#039;&#039;F&#039;&#039; in the quasi-harmonic approximation is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;F(T,V) = U(V) + E_{ZP}(V) - T S(T,V)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;U&#039;&#039; is the internal [[lattice energy]], &#039;&#039;E&amp;lt;sub&amp;gt;ZP&amp;lt;/sub&amp;gt;&#039;&#039; is the vibrational [[zero-point energy]] of the lattice, &#039;&#039;T&#039;&#039; is the absolute temperature, &#039;&#039;V&#039;&#039; is the volume and &#039;&#039;S&#039;&#039; is the [[entropy]] due to the vibrational degrees of freedom. The specific definition of the volume is of no particular importance, as long as the definition is used consistently throughout. It can be the volume per primitive unit cell, volume per conventional unit cell, or even molar volume. This choice does not affect the following in any way.&lt;br /&gt;
&lt;br /&gt;
The zero-point energy term equals&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; E_{ZP}(V) = \frac{1}{N} \sum_{\mathbf{k}, i} \frac{1}{2} h \nu_{\mathbf{k},i}(V) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;N&#039;&#039; is the number of terms in the sum, &#039;&#039;&#039;k&#039;&#039;&#039; is a [[wave vector]], &#039;&#039;i&#039;&#039; denotes a phonon band, &#039;&#039;h&#039;&#039; is [[Planck&#039;s constant]] and ν&amp;lt;sub&amp;gt;&#039;&#039;&#039;k&#039;&#039;&#039;,&#039;&#039;i&#039;&#039;&amp;lt;/sub&amp;gt;(V) is the frequency of a phonon with wave vector &#039;&#039;&#039;k&#039;&#039;&#039; in the &#039;&#039;i&#039;&#039;-th band at volume &#039;&#039;V&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
The entropy term equals&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S(V) = -\frac{1}{N} \sum_{\mathbf{k}, i} k_B \ln \left[ 1 - \exp\left( -\frac{h \nu_{\mathbf{k},i}(V)}{ k_BT }\right) \right] + \frac{1}{N} \sum_{\mathbf{k},i} k_B \frac{h \nu_{\mathbf{k},i}(V)}{k_B T} \left[ \exp\left( \frac{h \nu_{\mathbf{k},i}(V)}{ k_BT } \right) - 1 \right]^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;k&#039;&#039;&amp;lt;sub&amp;gt;B&amp;lt;/sub&amp;gt; is the [[Boltzmann constant]]. The frequency ν as a function of &#039;&#039;&#039;k&#039;&#039;&#039; is the [[dispersion relation]].  Note that for a constant value of &#039;&#039;V&#039;&#039;, these equations corresponds to that of the harmonic approximation.&lt;br /&gt;
&lt;br /&gt;
By applying a [[Legendre transform]], it is possible to obtain the [[Gibbs free energy]] &#039;&#039;G&#039;&#039; of the system as a function of temperature and pressure.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G(T,P) = \min_V \left[ U(V) + E_{ZP}(V) - T S(T,V) + P V \right]&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &#039;&#039;P&#039;&#039; is the pressure. The minimal value for &#039;&#039;G&#039;&#039; is found at the equilibrium volume for a given &#039;&#039;T&#039;&#039; and &#039;&#039;P&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The system used&lt;br /&gt;
&lt;br /&gt;
The methodology/theory used MOLECULAR DYNAMICS (MD) - Brillouin zones&lt;br /&gt;
&lt;br /&gt;
The aims of the exercise - To compare the to predict how the material expands when heated, to calculate the thermal expansion coefficient for MgO, to compute vibrational energy levels of MgO, to understand the phonon dispersion of a material, the vibrational density of state, to simulate the vibrations as random motions of atoms inside a cell, to compare QUASI-HARMONIC APPROXIMATION with MOLECULAR DYNAMICS results.&lt;br /&gt;
&lt;br /&gt;
The tools/programs in use - DLV&lt;br /&gt;
&lt;br /&gt;
The quasi-harmonic approximation for phonons builds upon the harmonic approximation for phonon dynamics, and therefore to explain the quasi-harmonic approximation we must first discuss the harmonic approximation&lt;br /&gt;
&lt;br /&gt;
For a regular, linear chain which is composed of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; number of particles, the forces between a pair of atoms can be assumed to be a potential energy function &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; which depends on the distance of the separation between the atoms. The main contributing forces to the potential are described by an electric force, such as electrostatic attractions, covalent bonds or Van der Waals forces. Therefore the potential energy of the entire lattice made up of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; atoms is the sum of the potential energies between each pair of atoms with a separation r from each other shown below in eq 1.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV(r)&amp;lt;/math&amp;gt;       &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, allowing each atom to deviate slightly from its equilibrium position by a displacement &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;, if the deviations are small in comparison to the distance between each atom &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;, the energy of this chain is able to be calculated via a taylor expansion summing over all of the atoms in the chain.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV + \sum_{s\ge 1} \frac {1}{s !} \frac {\partial^s V}{\partial u^s} \sum_{n}&lt;br /&gt;
 (u_n - u_{n+1})^s&amp;lt;/math&amp;gt;     &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;u_n&amp;lt;/math&amp;gt; is the displacement of the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;th atom from its equilibrium postition&lt;br /&gt;
&lt;br /&gt;
Two approximations are used in order to reach this equation, which together forms the harmonic approximation and it&#039;s respective equation. The first approximation states that the sum of the pair potential energies is completed over only neighboring atoms, as although there are electric forces between all atoms, these forces on atoms far away from one another are greatly diminished by screening by the atoms in between, and that the potential energies are treated as harmonic potential energies. In this equation, as the expansion was done around the equilibrium point, therefore the first derivative is zero, whereas higher order terms are not, and so the first term can be dropped, and the second term is used where &amp;lt;math&amp;gt;s = 2&amp;lt;/math&amp;gt;, with higher order terms being neglected. These higher order terms are ignored as harmonic equations of motion have exact solutions, while anharmonic equations do not have exact solutions to them and require more approximations. Thus the energy of the lattice is thus the same as the energy of the set of harmonic oscillators. The error in this equation remains small for small values of &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;&lt;br /&gt;
as the value of higher order terms will remain low.&lt;br /&gt;
CITE BOOK&lt;br /&gt;
&lt;br /&gt;
== Results and Discussion ==&lt;br /&gt;
&lt;br /&gt;
=== Phonon modes and Free Energy of MgO ===&lt;br /&gt;
[[File:Ft1015MgO_phonon_dispersion.PNG|480px|thumb|left|&#039;&#039;&#039;Figure 1&#039;&#039;&#039;: A phonon dispersion plot for MgO]]&lt;br /&gt;
[[File:Ft1015MgO_DoS.PNG|480px|thumb|right|&#039;&#039;&#039;Figure 2&#039;&#039;&#039;: A plot of the density of states for MgO using a 1x1x1 grid size]]&lt;br /&gt;
&lt;br /&gt;
From figures 1 and 2, we can see the computed phonon dispersion curve and density of states for a 1x1x1 grid size containing one k-point. Correlating the density of states with the dispersion curve via their shared axis of frequency of vibration yields the k-point L on the dispersion curve as the singular k-point used for the calculation. The density of states shows bands at 286 and 351 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 676 and 806 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, with the intensities of the first two bands double that of the final two bands. These bands correspond to three acoustic and three optical branches, with the first two bands of 0.333 intensity corresponding to a k-point where two branches are overlapping and are therefore degenerate states.&lt;br /&gt;
&lt;br /&gt;
Varying the grid size used for the calculation greatly affected the accuracy and precision of the results of calculations through increasing the number of k-points sampled in eq. 1ː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\omega ^{2}(k) = C(\frac{1}{M_{Mg}} + \frac{1}{M_{O}}) \pm \sqrt {(\frac{1}{M_{Mg}} + \frac{1}{M_{O}})^{2} - \frac{4sin^{2}(ka)}{M_{Mg}}}&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; is the spring force constant, &amp;lt;math&amp;gt;M_{Mg}&amp;lt;/math&amp;gt; is the molar mass of magnesium and &amp;lt;math&amp;gt;M_{O}&amp;lt;/math&amp;gt; is the molar mass of oxygen&lt;br /&gt;
&lt;br /&gt;
[[File:Ft1015MgO_DoS_20x20x20.PNG|480px|thumb|left|&#039;&#039;&#039;Figure 3&#039;&#039;&#039;: The optimised plot of the density of states for MgO using a 16x16x16 grid size]]&lt;br /&gt;
As the grid size increases, and thus the more k-points sampled, more and more features become visible, with the increase in number of points sampled along the dispersion curve leading to the increase in number of bands seen in the density of states. Optimising the grid size led to a grid size of 16x16x16 being optimal. As expected, the density of states plot produced from this grid size was smooth, as can be seen in figure 3. This curve was proved to be a good optimisation through looking at the Hemholtz free energy for each of the simulated grid sizes. As the accuracy of the Helmholtz free energy result directly depends on the number of k-space points sampled in the calculations as can be seen in eq. 2. Similarly to eq. 1, the larger the grid size, and therefore the more k-points sampled, the more accurate the result. Comparing the free energy of the 16x16x16 grid to the 32x32x32 grid; which for higher order grids remained constant and so had converged, the 16x16x16 was accurate to within 0.001 meV or 2.4434 × 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; %.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; F = E_0 + \frac {1}{2}\sum_{k,j}^{} \hbar \omega _k + k_B T \sum_{k,j}^{}ln(1-e^{\frac {-\hbar \omega _k }{k_B T}})&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;F&amp;lt;/math&amp;gt; is the Hemholtz free energy and &amp;lt;math&amp;gt;E_0&amp;lt;/math&amp;gt; is the lattice energy&lt;br /&gt;
&lt;br /&gt;
In comparison to smaller grid sizes, the 16x16x16 grid size curve appears more smooth, and more akin to a single band as seen for macrostructures. Larger grid sizes, while greatly increasing the computation time of the calculation did not largely increase the accuracy of the calculations as stated above, and therefore the 16x16x16 grid size was the optimal choice for these simulations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 1. Calculated Total Difference in Hemholtz Free Energy &lt;br /&gt;
! Grid Size&lt;br /&gt;
! Total Difference in Free Energy&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 3.818&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.126&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -0.051&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -0.033&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -0.001&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| -0.000&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| 0.000&lt;br /&gt;
|-&lt;br /&gt;
| 64&lt;br /&gt;
| 0.000&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Table 1 shows the difference between the calculated free energy for grid size and the final converged free energy. Looking at this, we can see that for grid sizes larger than 24x24x24, there is no change in the free energy of the system and so the free energy has converged to a minima, although it may not be the global minimum. The accuracy of simulations also increase rapidly with grid size, for example for accurate simulated energies to 1, 0.5 and 0.1 meV per cell, grid sizes of 2x2x2, 4x4x4 and 8x8x8 respectively can be used. This rapid increase in the accuracy of the calculation can be attributed to the large increase in k-points sampled over within the summations in eq. 2 with increasing grid size.&lt;br /&gt;
&lt;br /&gt;
However, the optimal grid size dependent on the material used due to the relationship between the lattice parameter, and the size of the first brillouin zone in k-space. For a similar oxide such as CaO, in comparsion to the lattice parameter of MgO of 4.212 Å &amp;lt;ref&amp;gt; A. CIMINO, P. PORTA and M. VALIGI, J. Am. Ceram. Soc, 1966, &#039;&#039;&#039;49&#039;&#039;&#039;, 152–156 &amp;lt;/ref&amp;gt;, the parameter of CaO is 4.864 Å &amp;lt;ref&amp;gt;Mackrodt, W. C., Harrison, N. M., Saunders, V. R., Allan, N. L. and Towler, M. D., Aprà, E., Dovesi, R., Philos. Mag. A, 1993 , &#039;&#039;&#039;68&#039;&#039;&#039;, 653-666 &amp;lt;/ref&amp;gt;, slightly larger than that of MgO. This leads to a slightly smaller grid size being optimal, as the larger lattice parameter leads to a smaller brillouin zone in reciprocal space as if the lattice parameter &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; is larger, then the size of the first brillouin zone &amp;lt;math&amp;gt;a^{*}= \frac {2 \pi}{a} &amp;lt;/math&amp;gt;will be smaller. This in turn allows less points to be sampled inside the region to give the same spacing of points, and therefore accuracy for the density of states as for MgO. Similarly, the zeolite faujsite has an extremely large lattice parameter of 25.132 Å &amp;lt;ref&amp;gt;E. Dempsey, G. H. Kuhl, and D. H. Olson, Phys. Chem., 1969, &#039;&#039;&#039;73&#039;&#039;&#039;, 387–390 &amp;lt;/ref&amp;gt;, in comparison to MgO. This; as with the case of CaO but more exaggerated, leads to a much smaller brillouin zone in reciprocal space, and so allows for a much smaller grid size to give the same accuracy as the MgO calculation due to the extremely small value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; obtained for faujsite.&lt;br /&gt;
Conversely, lithium has a smaller lattice spacing of 3.51 Å &amp;lt;ref&amp;gt;M.R. Nadler and C.P. Kempfer, Anal. Chem., 1959, &#039;&#039;&#039;31&#039;&#039;&#039;, 2109-2111&amp;lt;/ref&amp;gt;. Therefore the value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; for lithium will be larger than for MgO, and so require a larger grid size to obtain the same spacing between sampled k-space points and therefore accuracy of the calculated density of states.&lt;br /&gt;
&lt;br /&gt;
=== Thermal Expansion of MgO ===&lt;br /&gt;
[[File:Ft1015Latticeparametervskelvin.png|480px|thumb|left|&#039;&#039;&#039;Figure 4&#039;&#039;&#039;: A phonon dispersion plot for MgO]]&lt;br /&gt;
[[File:Ft1015Latticevolumevskelvin.png|480px|thumb|right|&#039;&#039;&#039;Figure 5&#039;&#039;&#039;: A phonon dispersion plot for MgO]]&lt;br /&gt;
&lt;br /&gt;
Figures 4 &amp;amp; 5 show the effect of change on temperature on the lattice parameter and volume of MgO in the range of 100-2900 K. As we can seen from the figures, from 50-400 K, a change in temperature does not largely increase the volume, while above 400 K the trend seems to be linear with respect to volume increase through an increase in temperature. This is however not the case at higher temperatures above 2200 K where the trend is more quadratic in nature.&lt;br /&gt;
&lt;br /&gt;
From 50-400 K, the dominating term for the free energy is the zero point energy, and thus a change in temperature does not greatly change the free energy of the lattice and so volume changes at low temperatures are minimal. At temperatures above 2200 K not only is the entropic term completely dominating all other terms for the free energy, but also higher order anharmonic terms for the free energy that were excluded in the harmonic approximation part of the equation begin to play a large role in the free energy. This leads to the gradient no longer being linear and so the data deviating from a linear relationship to a polynomial one. &amp;lt;ref&amp;gt;Masanori Matsui, Geoffrey D. Price and Atul Patel, Geophys. Res. Lett., 1994, &#039;&#039;&#039;21&#039;&#039;&#039;,  1659-1662 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Table 2 displays thermal expansion coefficients for the linear and polynomial fits for MgO, alongside the temperature range that the fit was made over.&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
== Tasks ==&lt;br /&gt;
&lt;br /&gt;
=== Calculating the phonon modes of MgO ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The density of states for 1x1x1 grid was computed for a single k-point. Can you work out which k-point by examining the dispersion curves ? look in the Log File to check.&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Through correlating the DoS for the single k-point with the dispersion curve, the k-point that was used can be found. The DoS shows bands at 286 and 351 cm-1 with intensities of 0.333, and bands at 676 and 806 cm-1 with intensities half that of the first two bands. These points can be seen to correspond to the L k-point on the dispersion curve. This k-point shows three acoustic and optical branches, with the first two points of 0.333 intensity corresponding to a point where two branches are overlapping.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does the density of states vary with grid size ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The increase in number of points sampled along the dispersion curve leads to the increase in number of bands seen in the DoS, and ac. The DoS becomes more spread out as the number of sampled points increases increases, as with a larger grid size, more vibrations are sampled and thus more features appear in the dispersion.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;As the grid size increases more and more of the possible vibrations are sampled and more features appear - which grid size is the minimum for a reasonable approximation to the density of states ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
A grid size of 16x16x16 was found to be the optimal grid size. As expected, the DoS curve produced from this grid size was smooth. This curve was proved to be a good optimization through looking at the Hemholtz free energy for each of the simulated grid sizes. As the accuracy of the Hemholtz free energy result directly depends on the number of k-space points summed over in the calculations, the larger the grid size, and therefore the large the number of k-points summed over, the more accurate the result. Comparing the 16x16x16 to the 32x32x32 grid; which on higher order grids did not change the free energy and therefore was the best approximation, the 16x16x16 was accurate to within 0.001 meV or 2.4434 × 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; %&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does the density of states computed at this optimal grid size compare to that computed for smaller and larger grids ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
At this grid size of 16x16x16, compared to grids that are smaller it appears more smooth, and similar to a single band for a macrostructure. Larger grid sizes increase the smoothness of the band &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How is the density of states related to the dispersion curves ?&#039;&#039;&#039;&lt;br /&gt;
Both the DoS and dispersion curves are plotted with one axis being energy; or in this case frequency of vibration, and so can be related. Through potting both the DoS and dispersion curves on the same axis one can see the relationship between the DoS and dispersion&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Would this optimal grid size for MgO (4.212 Å &amp;lt;ref&amp;gt; A. CIMINO, P. PORTA and M. VALIGI, J. Am. Ceram. Soc, 1966, &#039;&#039;&#039;49&#039;&#039;&#039;, 152–156 &amp;lt;/ref&amp;gt;)be appropriate for a calculation on;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a similar oxide (eg: CaO) ?&#039;&#039;&#039;&lt;br /&gt;
CaO has a lattice parameter of 4.864 Å &amp;lt;ref&amp;gt;Mackrodt, W. C., Harrison, N. M., Saunders, V. R., Allan, N. L. and Towler, M. D., Aprà, E., Dovesi, R., Philos. Mag. A, 1993 , &#039;&#039;&#039;68&#039;&#039;&#039;, 653-666 &amp;lt;/ref&amp;gt;, slightly larger than that of MgO. This leads to a slightly smaller grid size being optimal, as the larger lattice parameter leads to a smaller brillouin zone in reciprocal space as if the lattice parameter &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; in the range of  &amp;lt;math&amp;gt; [0, \frac{\pi}{a}]&amp;lt;/math&amp;gt; is larger, then the range will be smaller. This in turn allows less points to be sampled inside the region to give the same spacing of points, and therefore accuracy for the DoS as for MgO.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a Zeolite (eg: Faujasite) ?&#039;&#039;&#039;&lt;br /&gt;
Faujsite has an extremely large lattice parameter of 25.132 Å &amp;lt;ref&amp;gt;E. Dempsey, G. H. Kuhl, and D. H. Olson, Phys. Chem., 1969, &#039;&#039;&#039;73&#039;&#039;&#039;, 387–390 &amp;lt;/ref&amp;gt;, in comparison to MgO (4.212 Å). This; as with the case of CaO but more exaggerated, leads to a much smaller brillouin zone in reciprocal space, and so allows for a much smaller grid size to give the same accuracy as the MgO DoS calculation&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a metal (eg: lithium) ?&#039;&#039;&#039;&lt;br /&gt;
In comparison to MgO, CaO and Faujsite, Lithium has a smaller lattice spacing of 3.51 Å &amp;lt;ref&amp;gt;M.R. Nadler and C.P. Kempfer, Anal. Chem., 1959, &#039;&#039;&#039;31&#039;&#039;&#039;, 2109-2111&amp;lt;/ref&amp;gt;. Therefore the brillouin zone &amp;lt;math&amp;gt; [0, \frac{\pi}{a}] &amp;lt;/math&amp;gt; for Lithium will be larger than for MgO, and so require a larger grid size to obtain the same spacing between sampled k-space points and therefore accuracy of the calculated DoS&lt;br /&gt;
&lt;br /&gt;
=== Computing the Free Energy - The harmonic approximation ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does the free energy vary with grid size ?&#039;&#039;&#039;&lt;br /&gt;
Figure 4 plots Hemholtz free energy against grid size using ep. 2, showing that above grid sizes of 32x32x32, there is no change in the free energy of the system, and so has converged to a minima.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Which grid size is appropriate for calculations accurate to 1 meV, 0.5 meV and 0.1 meV per cell ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Would this optimal grid size for MgO be appropriate for a calculation on; a similar oxide (eg: CaO) ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a Zeolite (eg: Faujasite) ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a metal (eg: lithium) ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== The Thermal Expansion of MgO ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Plot the free energy against temperature&#039;&#039;&#039;&lt;br /&gt;
Done&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Plot the lattice constant against temperature&#039;&#039;&#039;&lt;br /&gt;
Done&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Comment on the shape of these curves.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Compute the coefficient of thermal expansion for MgO&#039;&#039;&#039;&lt;br /&gt;
0.00002906591&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does this compare to that measured ? Find a measurement in the literature or on the web - at what temperature was the measurement made ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;What are the main approximations in your calculation ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;What is the physical origin of thermal expansion ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;As the temperature approaches the melting point of MgO how well do the phonon modes represent the actual motions of the ions ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In a diatomic molecule with an exactly harmonic potential would you expect the bond length to increase with temperature ? Why does it increase in the solid when we are using an quasi-harmonic approximation ?&#039;&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Ft1015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=651259</id>
		<title>Rep:FabianThomasThirdYearMgOSimulation</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=651259"/>
		<updated>2017-12-15T17:37:56Z</updated>

		<summary type="html">&lt;p&gt;Ft1015: /* Results and Discussion */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Abstract ==&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Theory ===&lt;br /&gt;
The quasi-harmonic approximation expands upon the harmonic [[phonon]] model of lattice dynamics. The harmonic phonon model states that all interatomic forces are purely [[Harmonic Oscillator|harmonic]], but such a model is inadequate to explain [[thermal expansion]], as the equilibrium distance between atoms in such a model is independent of temperature.&lt;br /&gt;
&lt;br /&gt;
Thus in the quasi-harmonic model, from a phonon point of view, phonon frequencies become volume-dependent in the quasi-harmonic approximation, such that for each volume, the harmonic approximation holds.&lt;br /&gt;
&lt;br /&gt;
For a lattice, the Helmholtz free energy &#039;&#039;F&#039;&#039; in the quasi-harmonic approximation is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;F(T,V) = U(V) + E_{ZP}(V) - T S(T,V)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;U&#039;&#039; is the internal [[lattice energy]], &#039;&#039;E&amp;lt;sub&amp;gt;ZP&amp;lt;/sub&amp;gt;&#039;&#039; is the vibrational [[zero-point energy]] of the lattice, &#039;&#039;T&#039;&#039; is the absolute temperature, &#039;&#039;V&#039;&#039; is the volume and &#039;&#039;S&#039;&#039; is the [[entropy]] due to the vibrational degrees of freedom. The specific definition of the volume is of no particular importance, as long as the definition is used consistently throughout. It can be the volume per primitive unit cell, volume per conventional unit cell, or even molar volume. This choice does not affect the following in any way.&lt;br /&gt;
&lt;br /&gt;
The zero-point energy term equals&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; E_{ZP}(V) = \frac{1}{N} \sum_{\mathbf{k}, i} \frac{1}{2} h \nu_{\mathbf{k},i}(V) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;N&#039;&#039; is the number of terms in the sum, &#039;&#039;&#039;k&#039;&#039;&#039; is a [[wave vector]], &#039;&#039;i&#039;&#039; denotes a phonon band, &#039;&#039;h&#039;&#039; is [[Planck&#039;s constant]] and ν&amp;lt;sub&amp;gt;&#039;&#039;&#039;k&#039;&#039;&#039;,&#039;&#039;i&#039;&#039;&amp;lt;/sub&amp;gt;(V) is the frequency of a phonon with wave vector &#039;&#039;&#039;k&#039;&#039;&#039; in the &#039;&#039;i&#039;&#039;-th band at volume &#039;&#039;V&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
The entropy term equals&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S(V) = -\frac{1}{N} \sum_{\mathbf{k}, i} k_B \ln \left[ 1 - \exp\left( -\frac{h \nu_{\mathbf{k},i}(V)}{ k_BT }\right) \right] + \frac{1}{N} \sum_{\mathbf{k},i} k_B \frac{h \nu_{\mathbf{k},i}(V)}{k_B T} \left[ \exp\left( \frac{h \nu_{\mathbf{k},i}(V)}{ k_BT } \right) - 1 \right]^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;k&#039;&#039;&amp;lt;sub&amp;gt;B&amp;lt;/sub&amp;gt; is the [[Boltzmann constant]]. The frequency ν as a function of &#039;&#039;&#039;k&#039;&#039;&#039; is the [[dispersion relation]].  Note that for a constant value of &#039;&#039;V&#039;&#039;, these equations corresponds to that of the harmonic approximation.&lt;br /&gt;
&lt;br /&gt;
By applying a [[Legendre transform]], it is possible to obtain the [[Gibbs free energy]] &#039;&#039;G&#039;&#039; of the system as a function of temperature and pressure.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G(T,P) = \min_V \left[ U(V) + E_{ZP}(V) - T S(T,V) + P V \right]&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &#039;&#039;P&#039;&#039; is the pressure. The minimal value for &#039;&#039;G&#039;&#039; is found at the equilibrium volume for a given &#039;&#039;T&#039;&#039; and &#039;&#039;P&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The system used&lt;br /&gt;
&lt;br /&gt;
The methodology/theory used MOLECULAR DYNAMICS (MD) - Brillouin zones&lt;br /&gt;
&lt;br /&gt;
The aims of the exercise - To compare the to predict how the material expands when heated, to calculate the thermal expansion coefficient for MgO, to compute vibrational energy levels of MgO, to understand the phonon dispersion of a material, the vibrational density of state, to simulate the vibrations as random motions of atoms inside a cell, to compare QUASI-HARMONIC APPROXIMATION with MOLECULAR DYNAMICS results.&lt;br /&gt;
&lt;br /&gt;
The tools/programs in use - DLV&lt;br /&gt;
&lt;br /&gt;
The quasi-harmonic approximation for phonons builds upon the harmonic approximation for phonon dynamics, and therefore to explain the quasi-harmonic approximation we must first discuss the harmonic approximation&lt;br /&gt;
&lt;br /&gt;
For a regular, linear chain which is composed of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; number of particles, the forces between a pair of atoms can be assumed to be a potential energy function &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; which depends on the distance of the separation between the atoms. The main contributing forces to the potential are described by an electric force, such as electrostatic attractions, covalent bonds or Van der Waals forces. Therefore the potential energy of the entire lattice made up of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; atoms is the sum of the potential energies between each pair of atoms with a separation r from each other shown below in eq 1.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV(r)&amp;lt;/math&amp;gt;       &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, allowing each atom to deviate slightly from its equilibrium position by a displacement &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;, if the deviations are small in comparison to the distance between each atom &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;, the energy of this chain is able to be calculated via a taylor expansion summing over all of the atoms in the chain.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV + \sum_{s\ge 1} \frac {1}{s !} \frac {\partial^s V}{\partial u^s} \sum_{n}&lt;br /&gt;
 (u_n - u_{n+1})^s&amp;lt;/math&amp;gt;     &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;u_n&amp;lt;/math&amp;gt; is the displacement of the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;th atom from its equilibrium postition&lt;br /&gt;
&lt;br /&gt;
Two approximations are used in order to reach this equation, which together forms the harmonic approximation and it&#039;s respective equation. The first approximation states that the sum of the pair potential energies is completed over only neighboring atoms, as although there are electric forces between all atoms, these forces on atoms far away from one another are greatly diminished by screening by the atoms in between, and that the potential energies are treated as harmonic potential energies. In this equation, as the expansion was done around the equilibrium point, therefore the first derivative is zero, whereas higher order terms are not, and so the first term can be dropped, and the second term is used where &amp;lt;math&amp;gt;s = 2&amp;lt;/math&amp;gt;, with higher order terms being neglected. These higher order terms are ignored as harmonic equations of motion have exact solutions, while anharmonic equations do not have exact solutions to them and require more approximations. Thus the energy of the lattice is thus the same as the energy of the set of harmonic oscillators. The error in this equation remains small for small values of &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;&lt;br /&gt;
as the value of higher order terms will remain low.&lt;br /&gt;
CITE BOOK&lt;br /&gt;
&lt;br /&gt;
== Results and Discussion ==&lt;br /&gt;
&lt;br /&gt;
=== Phonon modes and Free Energy of MgO ===&lt;br /&gt;
[[File:Ft1015MgO_phonon_dispersion.PNG|480px|thumb|left|&#039;&#039;&#039;Figure 1&#039;&#039;&#039;: A phonon dispersion plot for MgO]]&lt;br /&gt;
[[File:Ft1015MgO_DoS.PNG|480px|thumb|right|&#039;&#039;&#039;Figure 2&#039;&#039;&#039;: A plot of the density of states for MgO using a 1x1x1 grid size]]&lt;br /&gt;
&lt;br /&gt;
From figures 1 and 2, we can see the computed phonon dispersion curve and density of states for a 1x1x1 grid size containing one k-point. Correlating the density of states with the dispersion curve via their shared axis of frequency of vibration yields the k-point L on the dispersion curve as the singular k-point used for the calculation. The density of states shows bands at 286 and 351 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 676 and 806 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, with the intensities of the first two bands double that of the final two bands. These bands correspond to three acoustic and three optical branches, with the first two bands of 0.333 intensity corresponding to a k-point where two branches are overlapping and are therefore degenerate states.&lt;br /&gt;
&lt;br /&gt;
Varying the grid size used for the calculation greatly affected the accuracy and precision of the results of calculations through increasing the number of k-points sampled in eq. 1ː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\omega ^{2}(k) = C(\frac{1}{M_{Mg}} + \frac{1}{M_{O}}) \pm \sqrt {(\frac{1}{M_{Mg}} + \frac{1}{M_{O}})^{2} - \frac{4sin^{2}(ka)}{M_{Mg}}}&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; is the spring force constant, &amp;lt;math&amp;gt;M_{Mg}&amp;lt;/math&amp;gt; is the molar mass of magnesium and &amp;lt;math&amp;gt;M_{O}&amp;lt;/math&amp;gt; is the molar mass of oxygen&lt;br /&gt;
&lt;br /&gt;
[[File:Ft1015MgO_DoS_20x20x20.PNG|480px|thumb|left|&#039;&#039;&#039;Figure 3&#039;&#039;&#039;: The optimised plot of the density of states for MgO using a 16x16x16 grid size]]&lt;br /&gt;
As the grid size increases, and thus the more k-points sampled, more and more features become visible, with the increase in number of points sampled along the dispersion curve leading to the increase in number of bands seen in the density of states. Optimising the grid size led to a grid size of 16x16x16 being optimal. As expected, the density of states plot produced from this grid size was smooth, as can be seen in figure 3. This curve was proved to be a good optimisation through looking at the Hemholtz free energy for each of the simulated grid sizes. As the accuracy of the Helmholtz free energy result directly depends on the number of k-space points sampled in the calculations as can be seen in eq. 2. Similarly to eq. 1, the larger the grid size, and therefore the more k-points sampled, the more accurate the result. Comparing the free energy of the 16x16x16 grid to the 32x32x32 grid; which for higher order grids remained constant and so had converged, the 16x16x16 was accurate to within 0.001 meV or 2.4434 × 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; %.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; F = E_0 + \frac {1}{2}\sum_{k,j}^{} \hbar \omega _k + k_B T \sum_{k,j}^{}ln(1-e^{\frac {-\hbar \omega _k }{k_B T}})&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;F&amp;lt;/math&amp;gt; is the Hemholtz free energy and &amp;lt;math&amp;gt;E_0&amp;lt;/math&amp;gt; is the lattice energy&lt;br /&gt;
&lt;br /&gt;
In comparison to smaller grid sizes, the 16x16x16 grid size curve appears more smooth, and more akin to a single band as seen for macrostructures. Larger grid sizes, while greatly increasing the computation time of the calculation did not largely increase the accuracy of the calculations as stated above, and therefore the 16x16x16 grid size was the optimal choice for these simulations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 1. Calculated Total Difference in Hemholtz Free Energy &lt;br /&gt;
! Grid Size&lt;br /&gt;
! Total Difference in Free Energy&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 3.818&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.126&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -0.051&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -0.033&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -0.001&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| -0.000&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| 0.000&lt;br /&gt;
|-&lt;br /&gt;
| 64&lt;br /&gt;
| 0.000&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Table 1 shows the difference between the calculated free energy for grid size and the final converged free energy. Looking at this, we can see that for grid sizes larger than 24x24x24, there is no change in the free energy of the system and so the free energy has converged to a minima, although it may not be the global minimum. The accuracy of simulations also increase rapidly with grid size, for example for accurate simulated energies to 1, 0.5 and 0.1 meV per cell, grid sizes of 2x2x2, 4x4x4 and 8x8x8 respectively can be used. This rapid increase in the accuracy of the calculation can be attributed to the large increase in k-points sampled over within the summations in eq. 2 with increasing grid size.&lt;br /&gt;
&lt;br /&gt;
However, the optimal grid size dependent on the material used due to the relationship between the lattice parameter, and the size of the first brillouin zone in k-space. For a similar oxide such as CaO, in comparsion to the lattice parameter of MgO of 4.212 Å &amp;lt;ref&amp;gt; A. CIMINO, P. PORTA and M. VALIGI, J. Am. Ceram. Soc, 1966, &#039;&#039;&#039;49&#039;&#039;&#039;, 152–156 &amp;lt;/ref&amp;gt;, the parameter of CaO is 4.864 Å &amp;lt;ref&amp;gt;Mackrodt, W. C., Harrison, N. M., Saunders, V. R., Allan, N. L. and Towler, M. D., Aprà, E., Dovesi, R., Philos. Mag. A, 1993 , &#039;&#039;&#039;68&#039;&#039;&#039;, 653-666 &amp;lt;/ref&amp;gt;, slightly larger than that of MgO. This leads to a slightly smaller grid size being optimal, as the larger lattice parameter leads to a smaller brillouin zone in reciprocal space as if the lattice parameter &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; is larger, then the size of the first brillouin zone &amp;lt;math&amp;gt;a^{*}= \frac {2 \pi}{a} &amp;lt;/math&amp;gt;will be smaller. This in turn allows less points to be sampled inside the region to give the same spacing of points, and therefore accuracy for the density of states as for MgO. Similarly, the zeolite faujsite has an extremely large lattice parameter of 25.132 Å &amp;lt;ref&amp;gt;E. Dempsey, G. H. Kuhl, and D. H. Olson, Phys. Chem., 1969, &#039;&#039;&#039;73&#039;&#039;&#039;, 387–390 &amp;lt;/ref&amp;gt;, in comparison to MgO. This; as with the case of CaO but more exaggerated, leads to a much smaller brillouin zone in reciprocal space, and so allows for a much smaller grid size to give the same accuracy as the MgO calculation due to the extremely small value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; obtained for faujsite.&lt;br /&gt;
Conversely, lithium has a smaller lattice spacing of 3.51 Å &amp;lt;ref&amp;gt;M.R. Nadler and C.P. Kempfer, Anal. Chem., 1959, &#039;&#039;&#039;31&#039;&#039;&#039;, 2109-2111&amp;lt;/ref&amp;gt;. Therefore the value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; for lithium will be larger than for MgO, and so require a larger grid size to obtain the same spacing between sampled k-space points and therefore accuracy of the calculated density of states.&lt;br /&gt;
&lt;br /&gt;
=== Thermal Expansion of MgO ===&lt;br /&gt;
[[File:Ft1015Latticeparametervskelvin.png|480px|thumb|left|&#039;&#039;&#039;Figure 4&#039;&#039;&#039;: A phonon dispersion plot for MgO]]&lt;br /&gt;
[[File:Ft1015Latticevolumevskelvin.png|480px|thumb|left|&#039;&#039;&#039;Figure 5&#039;&#039;&#039;: A phonon dispersion plot for MgO]]&lt;br /&gt;
&lt;br /&gt;
Figures 4 &amp;amp; 5 show the effect of change on temperature on the lattice parameter and volume of MgO in the range of 100-2900 K&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
== Tasks ==&lt;br /&gt;
&lt;br /&gt;
=== Calculating the phonon modes of MgO ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The density of states for 1x1x1 grid was computed for a single k-point. Can you work out which k-point by examining the dispersion curves ? look in the Log File to check.&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Through correlating the DoS for the single k-point with the dispersion curve, the k-point that was used can be found. The DoS shows bands at 286 and 351 cm-1 with intensities of 0.333, and bands at 676 and 806 cm-1 with intensities half that of the first two bands. These points can be seen to correspond to the L k-point on the dispersion curve. This k-point shows three acoustic and optical branches, with the first two points of 0.333 intensity corresponding to a point where two branches are overlapping.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does the density of states vary with grid size ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The increase in number of points sampled along the dispersion curve leads to the increase in number of bands seen in the DoS, and ac. The DoS becomes more spread out as the number of sampled points increases increases, as with a larger grid size, more vibrations are sampled and thus more features appear in the dispersion.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;As the grid size increases more and more of the possible vibrations are sampled and more features appear - which grid size is the minimum for a reasonable approximation to the density of states ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
A grid size of 16x16x16 was found to be the optimal grid size. As expected, the DoS curve produced from this grid size was smooth. This curve was proved to be a good optimization through looking at the Hemholtz free energy for each of the simulated grid sizes. As the accuracy of the Hemholtz free energy result directly depends on the number of k-space points summed over in the calculations, the larger the grid size, and therefore the large the number of k-points summed over, the more accurate the result. Comparing the 16x16x16 to the 32x32x32 grid; which on higher order grids did not change the free energy and therefore was the best approximation, the 16x16x16 was accurate to within 0.001 meV or 2.4434 × 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; %&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does the density of states computed at this optimal grid size compare to that computed for smaller and larger grids ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
At this grid size of 16x16x16, compared to grids that are smaller it appears more smooth, and similar to a single band for a macrostructure. Larger grid sizes increase the smoothness of the band &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How is the density of states related to the dispersion curves ?&#039;&#039;&#039;&lt;br /&gt;
Both the DoS and dispersion curves are plotted with one axis being energy; or in this case frequency of vibration, and so can be related. Through potting both the DoS and dispersion curves on the same axis one can see the relationship between the DoS and dispersion&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Would this optimal grid size for MgO (4.212 Å &amp;lt;ref&amp;gt; A. CIMINO, P. PORTA and M. VALIGI, J. Am. Ceram. Soc, 1966, &#039;&#039;&#039;49&#039;&#039;&#039;, 152–156 &amp;lt;/ref&amp;gt;)be appropriate for a calculation on;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a similar oxide (eg: CaO) ?&#039;&#039;&#039;&lt;br /&gt;
CaO has a lattice parameter of 4.864 Å &amp;lt;ref&amp;gt;Mackrodt, W. C., Harrison, N. M., Saunders, V. R., Allan, N. L. and Towler, M. D., Aprà, E., Dovesi, R., Philos. Mag. A, 1993 , &#039;&#039;&#039;68&#039;&#039;&#039;, 653-666 &amp;lt;/ref&amp;gt;, slightly larger than that of MgO. This leads to a slightly smaller grid size being optimal, as the larger lattice parameter leads to a smaller brillouin zone in reciprocal space as if the lattice parameter &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; in the range of  &amp;lt;math&amp;gt; [0, \frac{\pi}{a}]&amp;lt;/math&amp;gt; is larger, then the range will be smaller. This in turn allows less points to be sampled inside the region to give the same spacing of points, and therefore accuracy for the DoS as for MgO.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a Zeolite (eg: Faujasite) ?&#039;&#039;&#039;&lt;br /&gt;
Faujsite has an extremely large lattice parameter of 25.132 Å &amp;lt;ref&amp;gt;E. Dempsey, G. H. Kuhl, and D. H. Olson, Phys. Chem., 1969, &#039;&#039;&#039;73&#039;&#039;&#039;, 387–390 &amp;lt;/ref&amp;gt;, in comparison to MgO (4.212 Å). This; as with the case of CaO but more exaggerated, leads to a much smaller brillouin zone in reciprocal space, and so allows for a much smaller grid size to give the same accuracy as the MgO DoS calculation&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a metal (eg: lithium) ?&#039;&#039;&#039;&lt;br /&gt;
In comparison to MgO, CaO and Faujsite, Lithium has a smaller lattice spacing of 3.51 Å &amp;lt;ref&amp;gt;M.R. Nadler and C.P. Kempfer, Anal. Chem., 1959, &#039;&#039;&#039;31&#039;&#039;&#039;, 2109-2111&amp;lt;/ref&amp;gt;. Therefore the brillouin zone &amp;lt;math&amp;gt; [0, \frac{\pi}{a}] &amp;lt;/math&amp;gt; for Lithium will be larger than for MgO, and so require a larger grid size to obtain the same spacing between sampled k-space points and therefore accuracy of the calculated DoS&lt;br /&gt;
&lt;br /&gt;
=== Computing the Free Energy - The harmonic approximation ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does the free energy vary with grid size ?&#039;&#039;&#039;&lt;br /&gt;
Figure 4 plots Hemholtz free energy against grid size using ep. 2, showing that above grid sizes of 32x32x32, there is no change in the free energy of the system, and so has converged to a minima.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Which grid size is appropriate for calculations accurate to 1 meV, 0.5 meV and 0.1 meV per cell ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Would this optimal grid size for MgO be appropriate for a calculation on; a similar oxide (eg: CaO) ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a Zeolite (eg: Faujasite) ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a metal (eg: lithium) ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== The Thermal Expansion of MgO ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Plot the free energy against temperature&#039;&#039;&#039;&lt;br /&gt;
Done&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Plot the lattice constant against temperature&#039;&#039;&#039;&lt;br /&gt;
Done&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Comment on the shape of these curves.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Compute the coefficient of thermal expansion for MgO&#039;&#039;&#039;&lt;br /&gt;
0.00002906591&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does this compare to that measured ? Find a measurement in the literature or on the web - at what temperature was the measurement made ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;What are the main approximations in your calculation ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;What is the physical origin of thermal expansion ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;As the temperature approaches the melting point of MgO how well do the phonon modes represent the actual motions of the ions ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In a diatomic molecule with an exactly harmonic potential would you expect the bond length to increase with temperature ? Why does it increase in the solid when we are using an quasi-harmonic approximation ?&#039;&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Ft1015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=651182</id>
		<title>Rep:FabianThomasThirdYearMgOSimulation</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=651182"/>
		<updated>2017-12-15T16:23:42Z</updated>

		<summary type="html">&lt;p&gt;Ft1015: /* Results and Discussion */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Abstract ==&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Theory ===&lt;br /&gt;
The quasi-harmonic approximation expands upon the harmonic [[phonon]] model of lattice dynamics. The harmonic phonon model states that all interatomic forces are purely [[Harmonic Oscillator|harmonic]], but such a model is inadequate to explain [[thermal expansion]], as the equilibrium distance between atoms in such a model is independent of temperature.&lt;br /&gt;
&lt;br /&gt;
Thus in the quasi-harmonic model, from a phonon point of view, phonon frequencies become volume-dependent in the quasi-harmonic approximation, such that for each volume, the harmonic approximation holds.&lt;br /&gt;
&lt;br /&gt;
For a lattice, the Helmholtz free energy &#039;&#039;F&#039;&#039; in the quasi-harmonic approximation is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;F(T,V) = U(V) + E_{ZP}(V) - T S(T,V)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;U&#039;&#039; is the internal [[lattice energy]], &#039;&#039;E&amp;lt;sub&amp;gt;ZP&amp;lt;/sub&amp;gt;&#039;&#039; is the vibrational [[zero-point energy]] of the lattice, &#039;&#039;T&#039;&#039; is the absolute temperature, &#039;&#039;V&#039;&#039; is the volume and &#039;&#039;S&#039;&#039; is the [[entropy]] due to the vibrational degrees of freedom. The specific definition of the volume is of no particular importance, as long as the definition is used consistently throughout. It can be the volume per primitive unit cell, volume per conventional unit cell, or even molar volume. This choice does not affect the following in any way.&lt;br /&gt;
&lt;br /&gt;
The zero-point energy term equals&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; E_{ZP}(V) = \frac{1}{N} \sum_{\mathbf{k}, i} \frac{1}{2} h \nu_{\mathbf{k},i}(V) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;N&#039;&#039; is the number of terms in the sum, &#039;&#039;&#039;k&#039;&#039;&#039; is a [[wave vector]], &#039;&#039;i&#039;&#039; denotes a phonon band, &#039;&#039;h&#039;&#039; is [[Planck&#039;s constant]] and ν&amp;lt;sub&amp;gt;&#039;&#039;&#039;k&#039;&#039;&#039;,&#039;&#039;i&#039;&#039;&amp;lt;/sub&amp;gt;(V) is the frequency of a phonon with wave vector &#039;&#039;&#039;k&#039;&#039;&#039; in the &#039;&#039;i&#039;&#039;-th band at volume &#039;&#039;V&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
The entropy term equals&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S(V) = -\frac{1}{N} \sum_{\mathbf{k}, i} k_B \ln \left[ 1 - \exp\left( -\frac{h \nu_{\mathbf{k},i}(V)}{ k_BT }\right) \right] + \frac{1}{N} \sum_{\mathbf{k},i} k_B \frac{h \nu_{\mathbf{k},i}(V)}{k_B T} \left[ \exp\left( \frac{h \nu_{\mathbf{k},i}(V)}{ k_BT } \right) - 1 \right]^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;k&#039;&#039;&amp;lt;sub&amp;gt;B&amp;lt;/sub&amp;gt; is the [[Boltzmann constant]]. The frequency ν as a function of &#039;&#039;&#039;k&#039;&#039;&#039; is the [[dispersion relation]].  Note that for a constant value of &#039;&#039;V&#039;&#039;, these equations corresponds to that of the harmonic approximation.&lt;br /&gt;
&lt;br /&gt;
By applying a [[Legendre transform]], it is possible to obtain the [[Gibbs free energy]] &#039;&#039;G&#039;&#039; of the system as a function of temperature and pressure.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G(T,P) = \min_V \left[ U(V) + E_{ZP}(V) - T S(T,V) + P V \right]&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &#039;&#039;P&#039;&#039; is the pressure. The minimal value for &#039;&#039;G&#039;&#039; is found at the equilibrium volume for a given &#039;&#039;T&#039;&#039; and &#039;&#039;P&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The system used&lt;br /&gt;
&lt;br /&gt;
The methodology/theory used MOLECULAR DYNAMICS (MD) - Brillouin zones&lt;br /&gt;
&lt;br /&gt;
The aims of the exercise - To compare the to predict how the material expands when heated, to calculate the thermal expansion coefficient for MgO, to compute vibrational energy levels of MgO, to understand the phonon dispersion of a material, the vibrational density of state, to simulate the vibrations as random motions of atoms inside a cell, to compare QUASI-HARMONIC APPROXIMATION with MOLECULAR DYNAMICS results.&lt;br /&gt;
&lt;br /&gt;
The tools/programs in use - DLV&lt;br /&gt;
&lt;br /&gt;
The quasi-harmonic approximation for phonons builds upon the harmonic approximation for phonon dynamics, and therefore to explain the quasi-harmonic approximation we must first discuss the harmonic approximation&lt;br /&gt;
&lt;br /&gt;
For a regular, linear chain which is composed of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; number of particles, the forces between a pair of atoms can be assumed to be a potential energy function &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; which depends on the distance of the separation between the atoms. The main contributing forces to the potential are described by an electric force, such as electrostatic attractions, covalent bonds or Van der Waals forces. Therefore the potential energy of the entire lattice made up of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; atoms is the sum of the potential energies between each pair of atoms with a separation r from each other shown below in eq 1.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV(r)&amp;lt;/math&amp;gt;       &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, allowing each atom to deviate slightly from its equilibrium position by a displacement &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;, if the deviations are small in comparison to the distance between each atom &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;, the energy of this chain is able to be calculated via a taylor expansion summing over all of the atoms in the chain.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV + \sum_{s\ge 1} \frac {1}{s !} \frac {\partial^s V}{\partial u^s} \sum_{n}&lt;br /&gt;
 (u_n - u_{n+1})^s&amp;lt;/math&amp;gt;     &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;u_n&amp;lt;/math&amp;gt; is the displacement of the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;th atom from its equilibrium postition&lt;br /&gt;
&lt;br /&gt;
Two approximations are used in order to reach this equation, which together forms the harmonic approximation and it&#039;s respective equation. The first approximation states that the sum of the pair potential energies is completed over only neighboring atoms, as although there are electric forces between all atoms, these forces on atoms far away from one another are greatly diminished by screening by the atoms in between, and that the potential energies are treated as harmonic potential energies. In this equation, as the expansion was done around the equilibrium point, therefore the first derivative is zero, whereas higher order terms are not, and so the first term can be dropped, and the second term is used where &amp;lt;math&amp;gt;s = 2&amp;lt;/math&amp;gt;, with higher order terms being neglected. These higher order terms are ignored as harmonic equations of motion have exact solutions, while anharmonic equations do not have exact solutions to them and require more approximations. Thus the energy of the lattice is thus the same as the energy of the set of harmonic oscillators. The error in this equation remains small for small values of &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;&lt;br /&gt;
as the value of higher order terms will remain low.&lt;br /&gt;
CITE BOOK&lt;br /&gt;
&lt;br /&gt;
== Results and Discussion ==&lt;br /&gt;
&lt;br /&gt;
[[File:Ft1015MgO_phonon_dispersion.PNG|480px|thumb|left|&#039;&#039;&#039;Figure 1&#039;&#039;&#039;: A phonon dispersion plot for MgO]]&lt;br /&gt;
[[File:Ft1015MgO_DoS.PNG|480px|thumb|right|&#039;&#039;&#039;Figure 2&#039;&#039;&#039;: A plot of the density of states for MgO using a 1x1x1 grid size]]&lt;br /&gt;
&lt;br /&gt;
From figures 1 and 2, we can see the computed phonon dispersion curve and density of states for a 1x1x1 grid size containing one k-point. Correlating the density of states with the dispersion curve via their shared axis of frequency of vibration yields the k-point L on the dispersion curve as the singular k-point used for the calculation. The density of states shows bands at 286 and 351 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 676 and 806 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, with the intensities of the first two bands double that of the final two bands. These bands correspond to three acoustic and three optical branches, with the first two bands of 0.333 intensity corresponding to a k-point where two branches are overlapping and are therefore degenerate states.&lt;br /&gt;
&lt;br /&gt;
Varying the grid size used for the calculation greatly affected the accuracy and precision of the results of calculations through increasing the number of k-points sampled in eq. 1ː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\omega ^{2}(k) = C(\frac{1}{M_{Mg}} + \frac{1}{M_{O}}) \pm \sqrt {(\frac{1}{M_{Mg}} + \frac{1}{M_{O}})^{2} - \frac{4sin^{2}(ka)}{M_{Mg}}}&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; is the spring force constant, &amp;lt;math&amp;gt;M_{Mg}&amp;lt;/math&amp;gt; is the molar mass of magnesium and &amp;lt;math&amp;gt;M_{O}&amp;lt;/math&amp;gt; is the molar mass of oxygen&lt;br /&gt;
&lt;br /&gt;
[[File:Ft1015MgO_DoS_20x20x20.PNG|480px|thumb|left|&#039;&#039;&#039;Figure 3&#039;&#039;&#039;: The optimised plot of the density of states for MgO using a 16x16x16 grid size]]&lt;br /&gt;
As the grid size increases, and thus the more k-points sampled, more and more features become visible, with the increase in number of points sampled along the dispersion curve leading to the increase in number of bands seen in the density of states. Optimising the grid size led to a grid size of 16x16x16 being optimal. As expected, the density of states plot produced from this grid size was smooth, as can be seen in figure 3. This curve was proved to be a good optimisation through looking at the Hemholtz free energy for each of the simulated grid sizes. As the accuracy of the Helmholtz free energy result directly depends on the number of k-space points sampled in the calculations as can be seen in eq. 2. Similarly to eq. 1, the larger the grid size, and therefore the more k-points sampled, the more accurate the result. Comparing the free energy of the 16x16x16 grid to the 32x32x32 grid; which for higher order grids remained constant and so had converged, the 16x16x16 was accurate to within 0.001 meV or 2.4434 × 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; %.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; F = E_0 + \frac {1}{2}\sum_{k,j}^{} \hbar \omega _k + k_B T \sum_{k,j}^{}ln(1-e^{\frac {-\hbar \omega _k }{k_B T}})&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;F&amp;lt;/math&amp;gt; is the Hemholtz free energy and &amp;lt;math&amp;gt;E_0&amp;lt;/math&amp;gt; is the lattice energy&lt;br /&gt;
&lt;br /&gt;
In comparison to smaller grid sizes, the 16x16x16 grid size curve appears more smooth, and more akin to a single band as seen for macrostructures. Larger grid sizes, while greatly increasing the computation time of the calculation did not largely increase the accuracy of the calculations as stated above, and therefore the 16x16x16 grid size was the optimal choice for these simulations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 1. Calculated Total Difference in Hemholtz Free Energy &lt;br /&gt;
! Grid Size&lt;br /&gt;
! Total Difference in Free Energy&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 3.818&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.126&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -0.051&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -0.033&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -0.001&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| -0.000&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| 0.000&lt;br /&gt;
|-&lt;br /&gt;
| 64&lt;br /&gt;
| 0.000&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Table 1 shows the difference between the calculated free energy for grid size and the final converged free energy. Looking at this, we can see that for grid sizes larger than 24x24x24, there is no change in the free energy of the system and so the free energy has converged to a minima, although it may not be the global minimum. The accuracy of simulations also increase rapidly with grid size, for example for accurate simulated energies to 1, 0.5 and 0.1 meV per cell, grid sizes of 2x2x2, 4x4x4 and 8x8x8 respectively can be used. This rapid increase in the accuracy of the calculation can be attributed to the large increase in k-points sampled over within the summations in eq. 2 with increasing grid size.&lt;br /&gt;
&lt;br /&gt;
However, the optimal grid size dependent on the material used due to the relationship between the lattice parameter, and the size of the first brillouin zone in k-space. For a similar oxide such as CaO, in comparsion to the lattice parameter of MgO of 4.212 Å &amp;lt;ref&amp;gt; A. CIMINO, P. PORTA and M. VALIGI, J. Am. Ceram. Soc, 1966, &#039;&#039;&#039;49&#039;&#039;&#039;, 152–156 &amp;lt;/ref&amp;gt;, the parameter of CaO is 4.864 Å &amp;lt;ref&amp;gt;Mackrodt, W. C., Harrison, N. M., Saunders, V. R., Allan, N. L. and Towler, M. D., Aprà, E., Dovesi, R., Philos. Mag. A, 1993 , &#039;&#039;&#039;68&#039;&#039;&#039;, 653-666 &amp;lt;/ref&amp;gt;, slightly larger than that of MgO. This leads to a slightly smaller grid size being optimal, as the larger lattice parameter leads to a smaller brillouin zone in reciprocal space as if the lattice parameter &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; is larger, then the size of the first brillouin zone &amp;lt;math&amp;gt;a^{*}= \frac {2 \pi}{a} &amp;lt;/math&amp;gt;will be smaller. This in turn allows less points to be sampled inside the region to give the same spacing of points, and therefore accuracy for the density of states as for MgO. Similarly, the zeolite faujsite has an extremely large lattice parameter of 25.132 Å &amp;lt;ref&amp;gt;E. Dempsey, G. H. Kuhl, and D. H. Olson, Phys. Chem., 1969, &#039;&#039;&#039;73&#039;&#039;&#039;, 387–390 &amp;lt;/ref&amp;gt;, in comparison to MgO. This; as with the case of CaO but more exaggerated, leads to a much smaller brillouin zone in reciprocal space, and so allows for a much smaller grid size to give the same accuracy as the MgO calculation due to the extremely small value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; obtained for faujsite.&lt;br /&gt;
Conversely, lithium has a smaller lattice spacing of 3.51 Å &amp;lt;ref&amp;gt;M.R. Nadler and C.P. Kempfer, Anal. Chem., 1959, &#039;&#039;&#039;31&#039;&#039;&#039;, 2109-2111&amp;lt;/ref&amp;gt;. Therefore the value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; for lithium will be larger than for MgO, and so require a larger grid size to obtain the same spacing between sampled k-space points and therefore accuracy of the calculated density of states.&lt;br /&gt;
&lt;br /&gt;
[[File:Ft1015Latticeparametervskelvin.png|480px|thumb|left|&#039;&#039;&#039;Figure 4&#039;&#039;&#039;: A phonon dispersion plot for MgO]]&lt;br /&gt;
[[File:Ft1015Latticevolumevskelvin.png|480px|thumb|left|&#039;&#039;&#039;Figure 5&#039;&#039;&#039;: A phonon dispersion plot for MgO]]&lt;br /&gt;
&lt;br /&gt;
Figures 4 &amp;amp; 5 show the effect of change on temperature on the lattice parameter and volume of MgO in the range of 100-2900 K&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
== Tasks ==&lt;br /&gt;
&lt;br /&gt;
=== Calculating the phonon modes of MgO ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The density of states for 1x1x1 grid was computed for a single k-point. Can you work out which k-point by examining the dispersion curves ? look in the Log File to check.&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Through correlating the DoS for the single k-point with the dispersion curve, the k-point that was used can be found. The DoS shows bands at 286 and 351 cm-1 with intensities of 0.333, and bands at 676 and 806 cm-1 with intensities half that of the first two bands. These points can be seen to correspond to the L k-point on the dispersion curve. This k-point shows three acoustic and optical branches, with the first two points of 0.333 intensity corresponding to a point where two branches are overlapping.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does the density of states vary with grid size ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The increase in number of points sampled along the dispersion curve leads to the increase in number of bands seen in the DoS, and ac. The DoS becomes more spread out as the number of sampled points increases increases, as with a larger grid size, more vibrations are sampled and thus more features appear in the dispersion.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;As the grid size increases more and more of the possible vibrations are sampled and more features appear - which grid size is the minimum for a reasonable approximation to the density of states ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
A grid size of 16x16x16 was found to be the optimal grid size. As expected, the DoS curve produced from this grid size was smooth. This curve was proved to be a good optimization through looking at the Hemholtz free energy for each of the simulated grid sizes. As the accuracy of the Hemholtz free energy result directly depends on the number of k-space points summed over in the calculations, the larger the grid size, and therefore the large the number of k-points summed over, the more accurate the result. Comparing the 16x16x16 to the 32x32x32 grid; which on higher order grids did not change the free energy and therefore was the best approximation, the 16x16x16 was accurate to within 0.001 meV or 2.4434 × 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; %&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does the density of states computed at this optimal grid size compare to that computed for smaller and larger grids ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
At this grid size of 16x16x16, compared to grids that are smaller it appears more smooth, and similar to a single band for a macrostructure. Larger grid sizes increase the smoothness of the band &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How is the density of states related to the dispersion curves ?&#039;&#039;&#039;&lt;br /&gt;
Both the DoS and dispersion curves are plotted with one axis being energy; or in this case frequency of vibration, and so can be related. Through potting both the DoS and dispersion curves on the same axis one can see the relationship between the DoS and dispersion&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Would this optimal grid size for MgO (4.212 Å &amp;lt;ref&amp;gt; A. CIMINO, P. PORTA and M. VALIGI, J. Am. Ceram. Soc, 1966, &#039;&#039;&#039;49&#039;&#039;&#039;, 152–156 &amp;lt;/ref&amp;gt;)be appropriate for a calculation on;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a similar oxide (eg: CaO) ?&#039;&#039;&#039;&lt;br /&gt;
CaO has a lattice parameter of 4.864 Å &amp;lt;ref&amp;gt;Mackrodt, W. C., Harrison, N. M., Saunders, V. R., Allan, N. L. and Towler, M. D., Aprà, E., Dovesi, R., Philos. Mag. A, 1993 , &#039;&#039;&#039;68&#039;&#039;&#039;, 653-666 &amp;lt;/ref&amp;gt;, slightly larger than that of MgO. This leads to a slightly smaller grid size being optimal, as the larger lattice parameter leads to a smaller brillouin zone in reciprocal space as if the lattice parameter &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; in the range of  &amp;lt;math&amp;gt; [0, \frac{\pi}{a}]&amp;lt;/math&amp;gt; is larger, then the range will be smaller. This in turn allows less points to be sampled inside the region to give the same spacing of points, and therefore accuracy for the DoS as for MgO.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a Zeolite (eg: Faujasite) ?&#039;&#039;&#039;&lt;br /&gt;
Faujsite has an extremely large lattice parameter of 25.132 Å &amp;lt;ref&amp;gt;E. Dempsey, G. H. Kuhl, and D. H. Olson, Phys. Chem., 1969, &#039;&#039;&#039;73&#039;&#039;&#039;, 387–390 &amp;lt;/ref&amp;gt;, in comparison to MgO (4.212 Å). This; as with the case of CaO but more exaggerated, leads to a much smaller brillouin zone in reciprocal space, and so allows for a much smaller grid size to give the same accuracy as the MgO DoS calculation&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a metal (eg: lithium) ?&#039;&#039;&#039;&lt;br /&gt;
In comparison to MgO, CaO and Faujsite, Lithium has a smaller lattice spacing of 3.51 Å &amp;lt;ref&amp;gt;M.R. Nadler and C.P. Kempfer, Anal. Chem., 1959, &#039;&#039;&#039;31&#039;&#039;&#039;, 2109-2111&amp;lt;/ref&amp;gt;. Therefore the brillouin zone &amp;lt;math&amp;gt; [0, \frac{\pi}{a}] &amp;lt;/math&amp;gt; for Lithium will be larger than for MgO, and so require a larger grid size to obtain the same spacing between sampled k-space points and therefore accuracy of the calculated DoS&lt;br /&gt;
&lt;br /&gt;
=== Computing the Free Energy - The harmonic approximation ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does the free energy vary with grid size ?&#039;&#039;&#039;&lt;br /&gt;
Figure 4 plots Hemholtz free energy against grid size using ep. 2, showing that above grid sizes of 32x32x32, there is no change in the free energy of the system, and so has converged to a minima.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Which grid size is appropriate for calculations accurate to 1 meV, 0.5 meV and 0.1 meV per cell ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Would this optimal grid size for MgO be appropriate for a calculation on; a similar oxide (eg: CaO) ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a Zeolite (eg: Faujasite) ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a metal (eg: lithium) ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== The Thermal Expansion of MgO ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Plot the free energy against temperature&#039;&#039;&#039;&lt;br /&gt;
Done&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Plot the lattice constant against temperature&#039;&#039;&#039;&lt;br /&gt;
Done&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Comment on the shape of these curves.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Compute the coefficient of thermal expansion for MgO&#039;&#039;&#039;&lt;br /&gt;
0.00002906591&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does this compare to that measured ? Find a measurement in the literature or on the web - at what temperature was the measurement made ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;What are the main approximations in your calculation ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;What is the physical origin of thermal expansion ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;As the temperature approaches the melting point of MgO how well do the phonon modes represent the actual motions of the ions ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In a diatomic molecule with an exactly harmonic potential would you expect the bond length to increase with temperature ? Why does it increase in the solid when we are using an quasi-harmonic approximation ?&#039;&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Ft1015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=650840</id>
		<title>Rep:FabianThomasThirdYearMgOSimulation</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=650840"/>
		<updated>2017-12-15T12:28:23Z</updated>

		<summary type="html">&lt;p&gt;Ft1015: /* Introduction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Abstract ==&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Theory ===&lt;br /&gt;
The quasi-harmonic approximation expands upon the harmonic [[phonon]] model of lattice dynamics. The harmonic phonon model states that all interatomic forces are purely [[Harmonic Oscillator|harmonic]], but such a model is inadequate to explain [[thermal expansion]], as the equilibrium distance between atoms in such a model is independent of temperature.&lt;br /&gt;
&lt;br /&gt;
Thus in the quasi-harmonic model, from a phonon point of view, phonon frequencies become volume-dependent in the quasi-harmonic approximation, such that for each volume, the harmonic approximation holds.&lt;br /&gt;
&lt;br /&gt;
For a lattice, the Helmholtz free energy &#039;&#039;F&#039;&#039; in the quasi-harmonic approximation is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;F(T,V) = U(V) + E_{ZP}(V) - T S(T,V)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;U&#039;&#039; is the internal [[lattice energy]], &#039;&#039;E&amp;lt;sub&amp;gt;ZP&amp;lt;/sub&amp;gt;&#039;&#039; is the vibrational [[zero-point energy]] of the lattice, &#039;&#039;T&#039;&#039; is the absolute temperature, &#039;&#039;V&#039;&#039; is the volume and &#039;&#039;S&#039;&#039; is the [[entropy]] due to the vibrational degrees of freedom. The specific definition of the volume is of no particular importance, as long as the definition is used consistently throughout. It can be the volume per primitive unit cell, volume per conventional unit cell, or even molar volume. This choice does not affect the following in any way.&lt;br /&gt;
&lt;br /&gt;
The zero-point energy term equals&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; E_{ZP}(V) = \frac{1}{N} \sum_{\mathbf{k}, i} \frac{1}{2} h \nu_{\mathbf{k},i}(V) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;N&#039;&#039; is the number of terms in the sum, &#039;&#039;&#039;k&#039;&#039;&#039; is a [[wave vector]], &#039;&#039;i&#039;&#039; denotes a phonon band, &#039;&#039;h&#039;&#039; is [[Planck&#039;s constant]] and ν&amp;lt;sub&amp;gt;&#039;&#039;&#039;k&#039;&#039;&#039;,&#039;&#039;i&#039;&#039;&amp;lt;/sub&amp;gt;(V) is the frequency of a phonon with wave vector &#039;&#039;&#039;k&#039;&#039;&#039; in the &#039;&#039;i&#039;&#039;-th band at volume &#039;&#039;V&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
The entropy term equals&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S(V) = -\frac{1}{N} \sum_{\mathbf{k}, i} k_B \ln \left[ 1 - \exp\left( -\frac{h \nu_{\mathbf{k},i}(V)}{ k_BT }\right) \right] + \frac{1}{N} \sum_{\mathbf{k},i} k_B \frac{h \nu_{\mathbf{k},i}(V)}{k_B T} \left[ \exp\left( \frac{h \nu_{\mathbf{k},i}(V)}{ k_BT } \right) - 1 \right]^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;k&#039;&#039;&amp;lt;sub&amp;gt;B&amp;lt;/sub&amp;gt; is the [[Boltzmann constant]]. The frequency ν as a function of &#039;&#039;&#039;k&#039;&#039;&#039; is the [[dispersion relation]].  Note that for a constant value of &#039;&#039;V&#039;&#039;, these equations corresponds to that of the harmonic approximation.&lt;br /&gt;
&lt;br /&gt;
By applying a [[Legendre transform]], it is possible to obtain the [[Gibbs free energy]] &#039;&#039;G&#039;&#039; of the system as a function of temperature and pressure.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G(T,P) = \min_V \left[ U(V) + E_{ZP}(V) - T S(T,V) + P V \right]&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &#039;&#039;P&#039;&#039; is the pressure. The minimal value for &#039;&#039;G&#039;&#039; is found at the equilibrium volume for a given &#039;&#039;T&#039;&#039; and &#039;&#039;P&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The system used&lt;br /&gt;
&lt;br /&gt;
The methodology/theory used MOLECULAR DYNAMICS (MD) - Brillouin zones&lt;br /&gt;
&lt;br /&gt;
The aims of the exercise - To compare the to predict how the material expands when heated, to calculate the thermal expansion coefficient for MgO, to compute vibrational energy levels of MgO, to understand the phonon dispersion of a material, the vibrational density of state, to simulate the vibrations as random motions of atoms inside a cell, to compare QUASI-HARMONIC APPROXIMATION with MOLECULAR DYNAMICS results.&lt;br /&gt;
&lt;br /&gt;
The tools/programs in use - DLV&lt;br /&gt;
&lt;br /&gt;
The quasi-harmonic approximation for phonons builds upon the harmonic approximation for phonon dynamics, and therefore to explain the quasi-harmonic approximation we must first discuss the harmonic approximation&lt;br /&gt;
&lt;br /&gt;
For a regular, linear chain which is composed of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; number of particles, the forces between a pair of atoms can be assumed to be a potential energy function &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; which depends on the distance of the separation between the atoms. The main contributing forces to the potential are described by an electric force, such as electrostatic attractions, covalent bonds or Van der Waals forces. Therefore the potential energy of the entire lattice made up of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; atoms is the sum of the potential energies between each pair of atoms with a separation r from each other shown below in eq 1.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV(r)&amp;lt;/math&amp;gt;       &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, allowing each atom to deviate slightly from its equilibrium position by a displacement &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;, if the deviations are small in comparison to the distance between each atom &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;, the energy of this chain is able to be calculated via a taylor expansion summing over all of the atoms in the chain.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV + \sum_{s\ge 1} \frac {1}{s !} \frac {\partial^s V}{\partial u^s} \sum_{n}&lt;br /&gt;
 (u_n - u_{n+1})^s&amp;lt;/math&amp;gt;     &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;u_n&amp;lt;/math&amp;gt; is the displacement of the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;th atom from its equilibrium postition&lt;br /&gt;
&lt;br /&gt;
Two approximations are used in order to reach this equation, which together forms the harmonic approximation and it&#039;s respective equation. The first approximation states that the sum of the pair potential energies is completed over only neighboring atoms, as although there are electric forces between all atoms, these forces on atoms far away from one another are greatly diminished by screening by the atoms in between, and that the potential energies are treated as harmonic potential energies. In this equation, as the expansion was done around the equilibrium point, therefore the first derivative is zero, whereas higher order terms are not, and so the first term can be dropped, and the second term is used where &amp;lt;math&amp;gt;s = 2&amp;lt;/math&amp;gt;, with higher order terms being neglected. These higher order terms are ignored as harmonic equations of motion have exact solutions, while anharmonic equations do not have exact solutions to them and require more approximations. Thus the energy of the lattice is thus the same as the energy of the set of harmonic oscillators. The error in this equation remains small for small values of &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;&lt;br /&gt;
as the value of higher order terms will remain low.&lt;br /&gt;
CITE BOOK&lt;br /&gt;
&lt;br /&gt;
== Results and Discussion ==&lt;br /&gt;
&lt;br /&gt;
[[File:Ft1015MgO_phonon_dispersion.PNG|480px|thumb|left|&#039;&#039;&#039;Figure 1&#039;&#039;&#039;: A phonon dispersion plot for MgO]]&lt;br /&gt;
[[File:Ft1015MgO_DoS.PNG|480px|thumb|right|&#039;&#039;&#039;Figure 2&#039;&#039;&#039;: A plot of the density of states for MgO using a 1x1x1 grid size]]&lt;br /&gt;
&lt;br /&gt;
From figures 1 and 2, we can see the computed phonon dispersion curve and density of states for a 1x1x1 grid size containing one k-point. Correlating the density of states with the dispersion curve via their shared axis of frequency of vibration yields the k-point L on the dispersion curve as the singular k-point used for the calculation. The density of states shows bands at 286 and 351 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 676 and 806 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, with the intensities of the first two bands double that of the final two bands. These bands correspond to three acoustic and three optical branches, with the first two bands of 0.333 intensity corresponding to a k-point where two branches are overlapping and are therefore degenerate states.&lt;br /&gt;
&lt;br /&gt;
Varying the grid size used for the calculation greatly affected the accuracy and precision of the results of calculations through increasing the number of k-points sampled in eq. 1ː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\omega ^{2}(k) = C(\frac{1}{M_{Mg}} + \frac{1}{M_{O}}) \pm \sqrt {(\frac{1}{M_{Mg}} + \frac{1}{M_{O}})^{2} - \frac{4sin^{2}(ka)}{M_{Mg}}}&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; is the spring force constant, &amp;lt;math&amp;gt;M_{Mg}&amp;lt;/math&amp;gt; is the molar mass of magnesium and &amp;lt;math&amp;gt;M_{O}&amp;lt;/math&amp;gt; is the molar mass of oxygen&lt;br /&gt;
&lt;br /&gt;
[[File:Ft1015MgO_DoS_20x20x20.PNG|480px|thumb|left|&#039;&#039;&#039;Figure 3&#039;&#039;&#039;: The optimised plot of the density of states for MgO using a 16x16x16 grid size]]&lt;br /&gt;
As the grid size increases, and thus the more k-points sampled, more and more features become visible, with the increase in number of points sampled along the dispersion curve leading to the increase in number of bands seen in the density of states. Optimising the grid size led to a grid size of 16x16x16 being optimal. As expected, the density of states plot produced from this grid size was smooth, as can be seen in figure 3. This curve was proved to be a good optimisation through looking at the Hemholtz free energy for each of the simulated grid sizes. As the accuracy of the Helmholtz free energy result directly depends on the number of k-space points sampled in the calculations as can be seen in eq. 2. Similarly to eq. 1, the larger the grid size, and therefore the more k-points sampled, the more accurate the result. Comparing the free energy of the 16x16x16 grid to the 32x32x32 grid; which for higher order grids remained constant and so had converged, the 16x16x16 was accurate to within 0.001 meV or 2.4434 × 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; %.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; F = E_0 + \frac {1}{2}\sum_{k,j}^{} \hbar \omega _k + k_B T \sum_{k,j}^{}ln(1-e^{\frac {-\hbar \omega _k }{k_B T}})&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;F&amp;lt;/math&amp;gt; is the Hemholtz free energy and &amp;lt;math&amp;gt;E_0&amp;lt;/math&amp;gt; is the lattice energy&lt;br /&gt;
&lt;br /&gt;
In comparison to smaller grid sizes, the 16x16x16 grid size curve appears more smooth, and more akin to a single band as seen for macrostructures. Larger grid sizes, while greatly increasing the computation time of the calculation did not largely increase the accuracy of the calculations as stated above, and therefore the 16x16x16 grid size was the optimal choice for these simulations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 1. Calculated Total Difference in Hemholtz Free Energy &lt;br /&gt;
! Grid Size&lt;br /&gt;
! Total Difference in Free Energy&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 3.818&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.126&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -0.051&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -0.033&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -0.001&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| -0.000&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| 0.000&lt;br /&gt;
|-&lt;br /&gt;
| 64&lt;br /&gt;
| 0.000&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Table 1 shows the difference between the calculated free energy for grid size and the final converged free energy. Looking at this, we can see that for grid sizes larger than 24x24x24, there is no change in the free energy of the system and so the free energy has converged to a minima, although it may not be the global minimum. The accuracy of simulations also increase rapidly with grid size, for example for accurate simulated energies to 1, 0.5 and 0.1 meV per cell, grid sizes of 2x2x2, 4x4x4 and 8x8x8 respectively can be used. This rapid increase in the accuracy of the calculation can be attributed to the large increase in k-points sampled over within the summations in eq. 2 with increasing grid size.&lt;br /&gt;
&lt;br /&gt;
However, the optimal grid size dependent on the material used due to the relationship between the lattice parameter, and the size of the first brillouin zone in k-space. For a similar oxide such as CaO, in comparsion to the lattice parameter of MgO of 4.212 Å &amp;lt;ref&amp;gt; A. CIMINO, P. PORTA and M. VALIGI, J. Am. Ceram. Soc, 1966, &#039;&#039;&#039;49&#039;&#039;&#039;, 152–156 &amp;lt;/ref&amp;gt;, the parameter of CaO is 4.864 Å &amp;lt;ref&amp;gt;Mackrodt, W. C., Harrison, N. M., Saunders, V. R., Allan, N. L. and Towler, M. D., Aprà, E., Dovesi, R., Philos. Mag. A, 1993 , &#039;&#039;&#039;68&#039;&#039;&#039;, 653-666 &amp;lt;/ref&amp;gt;, slightly larger than that of MgO. This leads to a slightly smaller grid size being optimal, as the larger lattice parameter leads to a smaller brillouin zone in reciprocal space as if the lattice parameter &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; is larger, then the size of the first brillouin zone &amp;lt;math&amp;gt;a^{*}= \frac {2 \pi}{a} &amp;lt;/math&amp;gt;will be smaller. This in turn allows less points to be sampled inside the region to give the same spacing of points, and therefore accuracy for the density of states as for MgO. Similarly, the zeolite faujsite has an extremely large lattice parameter of 25.132 Å &amp;lt;ref&amp;gt;E. Dempsey, G. H. Kuhl, and D. H. Olson, Phys. Chem., 1969, &#039;&#039;&#039;73&#039;&#039;&#039;, 387–390 &amp;lt;/ref&amp;gt;, in comparison to MgO. This; as with the case of CaO but more exaggerated, leads to a much smaller brillouin zone in reciprocal space, and so allows for a much smaller grid size to give the same accuracy as the MgO calculation due to the extremely small value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; obtained for faujsite.&lt;br /&gt;
Conversely, lithium has a smaller lattice spacing of 3.51 Å &amp;lt;ref&amp;gt;M.R. Nadler and C.P. Kempfer, Anal. Chem., 1959, &#039;&#039;&#039;31&#039;&#039;&#039;, 2109-2111&amp;lt;/ref&amp;gt;. Therefore the value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; for lithium will be larger than for MgO, and so require a larger grid size to obtain the same spacing between sampled k-space points and therefore accuracy of the calculated density of states.&lt;br /&gt;
&lt;br /&gt;
[[File:Ft1015Latticeparametervskelvin.png|480px|thumb|left|&#039;&#039;&#039;Figure 4&#039;&#039;&#039;: A phonon dispersion plot for MgO]]&lt;br /&gt;
[[File:Ft1015Latticevolumevskelvin.png|480px|thumb|left|&#039;&#039;&#039;Figure 5&#039;&#039;&#039;: A phonon dispersion plot for MgO]]&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
== Tasks ==&lt;br /&gt;
&lt;br /&gt;
=== Calculating the phonon modes of MgO ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The density of states for 1x1x1 grid was computed for a single k-point. Can you work out which k-point by examining the dispersion curves ? look in the Log File to check.&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Through correlating the DoS for the single k-point with the dispersion curve, the k-point that was used can be found. The DoS shows bands at 286 and 351 cm-1 with intensities of 0.333, and bands at 676 and 806 cm-1 with intensities half that of the first two bands. These points can be seen to correspond to the L k-point on the dispersion curve. This k-point shows three acoustic and optical branches, with the first two points of 0.333 intensity corresponding to a point where two branches are overlapping.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does the density of states vary with grid size ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The increase in number of points sampled along the dispersion curve leads to the increase in number of bands seen in the DoS, and ac. The DoS becomes more spread out as the number of sampled points increases increases, as with a larger grid size, more vibrations are sampled and thus more features appear in the dispersion.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;As the grid size increases more and more of the possible vibrations are sampled and more features appear - which grid size is the minimum for a reasonable approximation to the density of states ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
A grid size of 16x16x16 was found to be the optimal grid size. As expected, the DoS curve produced from this grid size was smooth. This curve was proved to be a good optimization through looking at the Hemholtz free energy for each of the simulated grid sizes. As the accuracy of the Hemholtz free energy result directly depends on the number of k-space points summed over in the calculations, the larger the grid size, and therefore the large the number of k-points summed over, the more accurate the result. Comparing the 16x16x16 to the 32x32x32 grid; which on higher order grids did not change the free energy and therefore was the best approximation, the 16x16x16 was accurate to within 0.001 meV or 2.4434 × 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; %&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does the density of states computed at this optimal grid size compare to that computed for smaller and larger grids ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
At this grid size of 16x16x16, compared to grids that are smaller it appears more smooth, and similar to a single band for a macrostructure. Larger grid sizes increase the smoothness of the band &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How is the density of states related to the dispersion curves ?&#039;&#039;&#039;&lt;br /&gt;
Both the DoS and dispersion curves are plotted with one axis being energy; or in this case frequency of vibration, and so can be related. Through potting both the DoS and dispersion curves on the same axis one can see the relationship between the DoS and dispersion&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Would this optimal grid size for MgO (4.212 Å &amp;lt;ref&amp;gt; A. CIMINO, P. PORTA and M. VALIGI, J. Am. Ceram. Soc, 1966, &#039;&#039;&#039;49&#039;&#039;&#039;, 152–156 &amp;lt;/ref&amp;gt;)be appropriate for a calculation on;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a similar oxide (eg: CaO) ?&#039;&#039;&#039;&lt;br /&gt;
CaO has a lattice parameter of 4.864 Å &amp;lt;ref&amp;gt;Mackrodt, W. C., Harrison, N. M., Saunders, V. R., Allan, N. L. and Towler, M. D., Aprà, E., Dovesi, R., Philos. Mag. A, 1993 , &#039;&#039;&#039;68&#039;&#039;&#039;, 653-666 &amp;lt;/ref&amp;gt;, slightly larger than that of MgO. This leads to a slightly smaller grid size being optimal, as the larger lattice parameter leads to a smaller brillouin zone in reciprocal space as if the lattice parameter &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; in the range of  &amp;lt;math&amp;gt; [0, \frac{\pi}{a}]&amp;lt;/math&amp;gt; is larger, then the range will be smaller. This in turn allows less points to be sampled inside the region to give the same spacing of points, and therefore accuracy for the DoS as for MgO.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a Zeolite (eg: Faujasite) ?&#039;&#039;&#039;&lt;br /&gt;
Faujsite has an extremely large lattice parameter of 25.132 Å &amp;lt;ref&amp;gt;E. Dempsey, G. H. Kuhl, and D. H. Olson, Phys. Chem., 1969, &#039;&#039;&#039;73&#039;&#039;&#039;, 387–390 &amp;lt;/ref&amp;gt;, in comparison to MgO (4.212 Å). This; as with the case of CaO but more exaggerated, leads to a much smaller brillouin zone in reciprocal space, and so allows for a much smaller grid size to give the same accuracy as the MgO DoS calculation&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a metal (eg: lithium) ?&#039;&#039;&#039;&lt;br /&gt;
In comparison to MgO, CaO and Faujsite, Lithium has a smaller lattice spacing of 3.51 Å &amp;lt;ref&amp;gt;M.R. Nadler and C.P. Kempfer, Anal. Chem., 1959, &#039;&#039;&#039;31&#039;&#039;&#039;, 2109-2111&amp;lt;/ref&amp;gt;. Therefore the brillouin zone &amp;lt;math&amp;gt; [0, \frac{\pi}{a}] &amp;lt;/math&amp;gt; for Lithium will be larger than for MgO, and so require a larger grid size to obtain the same spacing between sampled k-space points and therefore accuracy of the calculated DoS&lt;br /&gt;
&lt;br /&gt;
=== Computing the Free Energy - The harmonic approximation ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does the free energy vary with grid size ?&#039;&#039;&#039;&lt;br /&gt;
Figure 4 plots Hemholtz free energy against grid size using ep. 2, showing that above grid sizes of 32x32x32, there is no change in the free energy of the system, and so has converged to a minima.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Which grid size is appropriate for calculations accurate to 1 meV, 0.5 meV and 0.1 meV per cell ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Would this optimal grid size for MgO be appropriate for a calculation on; a similar oxide (eg: CaO) ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a Zeolite (eg: Faujasite) ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a metal (eg: lithium) ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== The Thermal Expansion of MgO ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Plot the free energy against temperature&#039;&#039;&#039;&lt;br /&gt;
Done&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Plot the lattice constant against temperature&#039;&#039;&#039;&lt;br /&gt;
Done&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Comment on the shape of these curves.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Compute the coefficient of thermal expansion for MgO&#039;&#039;&#039;&lt;br /&gt;
0.00002906591&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does this compare to that measured ? Find a measurement in the literature or on the web - at what temperature was the measurement made ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;What are the main approximations in your calculation ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;What is the physical origin of thermal expansion ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;As the temperature approaches the melting point of MgO how well do the phonon modes represent the actual motions of the ions ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In a diatomic molecule with an exactly harmonic potential would you expect the bond length to increase with temperature ? Why does it increase in the solid when we are using an quasi-harmonic approximation ?&#039;&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Ft1015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=650839</id>
		<title>Rep:FabianThomasThirdYearMgOSimulation</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=650839"/>
		<updated>2017-12-15T12:27:51Z</updated>

		<summary type="html">&lt;p&gt;Ft1015: /* Introduction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Abstract ==&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Theory ===&lt;br /&gt;
The quasi-harmonic approximation expands upon the harmonic [[phonon]] model of lattice dynamics. The harmonic phonon model states that all interatomic forces are purely [[Harmonic Oscillator|harmonic]], but such a model is inadequate to explain [[thermal expansion]], as the equilibrium distance between atoms in such a model is independent of temperature.&lt;br /&gt;
&lt;br /&gt;
Thus in the quasi-harmonic model, from a phonon point of view, phonon frequencies become volume-dependent in the quasi-harmonic approximation, such that for each volume, the harmonic approximation holds.&lt;br /&gt;
&lt;br /&gt;
For a lattice, the Helmholtz free energy &#039;&#039;F&#039;&#039; in the quasi-harmonic approximation is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;F(T,V) = U(V) + E_{ZP}(V) - T S(T,V)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;U&#039;&#039; is the internal [[lattice energy]], &#039;&#039;E&amp;lt;sub&amp;gt;ZP&amp;lt;/sub&amp;gt;&#039;&#039; is the vibrational [[zero-point energy]] of the lattice, &#039;&#039;T&#039;&#039; is the absolute temperature, &#039;&#039;V&#039;&#039; is the volume and &#039;&#039;S&#039;&#039; is the [[entropy]] due to the vibrational degrees of freedom. The specific definition of the volume is of no particular importance, as long as the definition is used consistently throughout. It can be the volume per primitive unit cell, volume per conventional unit cell, or even molar volume. This choice does not affect the following in any way.&lt;br /&gt;
&lt;br /&gt;
The zero-point energy term equals&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; E_{ZP}(V) = \frac{1}{N} \sum_{\mathbf{k}, i} \frac{1}{2} h \nu_{\mathbf{k},i}(V) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;N&#039;&#039; is the number of terms in the sum, &#039;&#039;&#039;k&#039;&#039;&#039; is a [[wave vector]], &#039;&#039;i&#039;&#039; denotes a phonon band, &#039;&#039;h&#039;&#039; is [[Planck&#039;s constant]] and ν&amp;lt;sub&amp;gt;&#039;&#039;&#039;k&#039;&#039;&#039;,&#039;&#039;i&#039;&#039;&amp;lt;/sub&amp;gt;(V) is the frequency of a phonon with wave vector &#039;&#039;&#039;k&#039;&#039;&#039; in the &#039;&#039;i&#039;&#039;-th band at volume &#039;&#039;V&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
The entropy term equals&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S(V) = -\frac{1}{N} \sum_{\mathbf{k}, i} k_B \ln \left[ 1 - \exp\left( -\frac{h \nu_{\mathbf{k},i}(V)}{ k_BT }\right) \right] + \frac{1}{N} \sum_{\mathbf{k},i} k_B \frac{h \nu_{\mathbf{k},i}(V)}{k_B T} \left[ \exp\left( \frac{h \nu_{\mathbf{k},i}(V)}{ k_BT } \right) - 1 \right]^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;k&#039;&#039;&amp;lt;sub&amp;gt;B&amp;lt;/sub&amp;gt; is the [[Boltzmann constant]]. The frequency ν as a function of &#039;&#039;&#039;k&#039;&#039;&#039; is the [[dispersion relation]].  Note that for a constant value of &#039;&#039;V&#039;&#039;, these equations corresponds to that of the harmonic approximation.&lt;br /&gt;
&lt;br /&gt;
By applying a [[Legendre transform]], it is possible to obtain the [[Gibbs free energy]] &#039;&#039;G&#039;&#039; of the system as a function of temperature and pressure.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G(T,P) = \min_V \left[ U(V) + E_{ZP}(V) - T S(T,V) + P V \right]&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &#039;&#039;P&#039;&#039; is the pressure. The minimal value for &#039;&#039;G&#039;&#039; is found at the equilibrium volume for a given &#039;&#039;T&#039;&#039; and &#039;&#039;P&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The system used&lt;br /&gt;
&lt;br /&gt;
The methodology/theory used MOLECULAR DYNAMICS (MD) - Brillouin zones&lt;br /&gt;
&lt;br /&gt;
The aims of the exercise - To compare the to predict how the material expands when heated, to calculate the thermal expansion coefficient for MgO, to compute vibrational energy levels of MgO, to understand the phonon dispersion of a material, the vibrational density of state, to simulate the vibrations as random motions of atoms inside a cell, to compare QUASI-HARMONIC APPROXIMATION with MOLECULAR DYNAMICS results.&lt;br /&gt;
&lt;br /&gt;
The tools/programs in use - DLV&lt;br /&gt;
&lt;br /&gt;
The quasi-harmonic approximation for phonons builds upon the harmonic approximation for phonon dynamics, and therefore to explain the quasi-harmonic approximation we must first discuss the harmonic approximation&lt;br /&gt;
&lt;br /&gt;
For a regular, linear chain which is composed of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; number of particles, the forces between a pair of atoms can be assumed to be a potential energy function &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; which depends on the distance of the separation between the atoms. The main contributing forces to the potential are described by an electric force, such as electrostatic attractions, covalent bonds or Van der Waals forces. Therefore the potential energy of the entire lattice made up of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; atoms is the sum of the potential energies between each pair of atoms with a separation r from each other shown below in eq 1.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV(r)&amp;lt;/math&amp;gt;       &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, allowing each atom to deviate slightly from its equilibrium position by a displacement &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;, if the deviations are small in comparison to the distance between each atom &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;, the energy of this chain is able to be calculated via a taylor expansion summing over all of the atoms in the chain.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV + \sum_{s\ge 1} \frac {1}{s !} \frac {\partial^s V}{\partial u^s} \sum_{n}&lt;br /&gt;
 (u_n - u_{n+1})^s&amp;lt;/math&amp;gt;     &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;u_n&amp;lt;/math&amp;gt; is the displacement of the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;th atom from its equilibrium postition&lt;br /&gt;
&lt;br /&gt;
Two approximations are used in order to reach this equation, which together forms the harmonic approximation and it&#039;s respective equation. The first approximation states that the sum of the pair potential energies is completed over only neighboring atoms, as although there are electric forces between all atoms, these forces on atoms far away from one another are greatly diminished by screening by the atoms in between, and that the potential energies are treated as harmonic potential energies. In this equation, as the expansion was done around the equilibrium point, therefore the first derivative is zero, whereas higher order terms are not, and so the first term can be dropped, and the second term is used where &amp;lt;math&amp;gt;s = 2&amp;lt;/math&amp;gt;, with higher order terms being neglected. These higher order terms are ignored as harmonic equations of motion have exact solutions, while anharmonic equations do not have exact solutions to them and require more approximations. Thus the energy of the lattice is thus the same as the energy of the set of harmonic oscillators. The error in this equation remains small for small values of &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;&lt;br /&gt;
as the value of higher order terms will remain low.&lt;br /&gt;
&lt;br /&gt;
== Results and Discussion ==&lt;br /&gt;
&lt;br /&gt;
[[File:Ft1015MgO_phonon_dispersion.PNG|480px|thumb|left|&#039;&#039;&#039;Figure 1&#039;&#039;&#039;: A phonon dispersion plot for MgO]]&lt;br /&gt;
[[File:Ft1015MgO_DoS.PNG|480px|thumb|right|&#039;&#039;&#039;Figure 2&#039;&#039;&#039;: A plot of the density of states for MgO using a 1x1x1 grid size]]&lt;br /&gt;
&lt;br /&gt;
From figures 1 and 2, we can see the computed phonon dispersion curve and density of states for a 1x1x1 grid size containing one k-point. Correlating the density of states with the dispersion curve via their shared axis of frequency of vibration yields the k-point L on the dispersion curve as the singular k-point used for the calculation. The density of states shows bands at 286 and 351 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 676 and 806 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, with the intensities of the first two bands double that of the final two bands. These bands correspond to three acoustic and three optical branches, with the first two bands of 0.333 intensity corresponding to a k-point where two branches are overlapping and are therefore degenerate states.&lt;br /&gt;
&lt;br /&gt;
Varying the grid size used for the calculation greatly affected the accuracy and precision of the results of calculations through increasing the number of k-points sampled in eq. 1ː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\omega ^{2}(k) = C(\frac{1}{M_{Mg}} + \frac{1}{M_{O}}) \pm \sqrt {(\frac{1}{M_{Mg}} + \frac{1}{M_{O}})^{2} - \frac{4sin^{2}(ka)}{M_{Mg}}}&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; is the spring force constant, &amp;lt;math&amp;gt;M_{Mg}&amp;lt;/math&amp;gt; is the molar mass of magnesium and &amp;lt;math&amp;gt;M_{O}&amp;lt;/math&amp;gt; is the molar mass of oxygen&lt;br /&gt;
&lt;br /&gt;
[[File:Ft1015MgO_DoS_20x20x20.PNG|480px|thumb|left|&#039;&#039;&#039;Figure 3&#039;&#039;&#039;: The optimised plot of the density of states for MgO using a 16x16x16 grid size]]&lt;br /&gt;
As the grid size increases, and thus the more k-points sampled, more and more features become visible, with the increase in number of points sampled along the dispersion curve leading to the increase in number of bands seen in the density of states. Optimising the grid size led to a grid size of 16x16x16 being optimal. As expected, the density of states plot produced from this grid size was smooth, as can be seen in figure 3. This curve was proved to be a good optimisation through looking at the Hemholtz free energy for each of the simulated grid sizes. As the accuracy of the Helmholtz free energy result directly depends on the number of k-space points sampled in the calculations as can be seen in eq. 2. Similarly to eq. 1, the larger the grid size, and therefore the more k-points sampled, the more accurate the result. Comparing the free energy of the 16x16x16 grid to the 32x32x32 grid; which for higher order grids remained constant and so had converged, the 16x16x16 was accurate to within 0.001 meV or 2.4434 × 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; %.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; F = E_0 + \frac {1}{2}\sum_{k,j}^{} \hbar \omega _k + k_B T \sum_{k,j}^{}ln(1-e^{\frac {-\hbar \omega _k }{k_B T}})&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;F&amp;lt;/math&amp;gt; is the Hemholtz free energy and &amp;lt;math&amp;gt;E_0&amp;lt;/math&amp;gt; is the lattice energy&lt;br /&gt;
&lt;br /&gt;
In comparison to smaller grid sizes, the 16x16x16 grid size curve appears more smooth, and more akin to a single band as seen for macrostructures. Larger grid sizes, while greatly increasing the computation time of the calculation did not largely increase the accuracy of the calculations as stated above, and therefore the 16x16x16 grid size was the optimal choice for these simulations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 1. Calculated Total Difference in Hemholtz Free Energy &lt;br /&gt;
! Grid Size&lt;br /&gt;
! Total Difference in Free Energy&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 3.818&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.126&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -0.051&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -0.033&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -0.001&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| -0.000&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| 0.000&lt;br /&gt;
|-&lt;br /&gt;
| 64&lt;br /&gt;
| 0.000&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Table 1 shows the difference between the calculated free energy for grid size and the final converged free energy. Looking at this, we can see that for grid sizes larger than 24x24x24, there is no change in the free energy of the system and so the free energy has converged to a minima, although it may not be the global minimum. The accuracy of simulations also increase rapidly with grid size, for example for accurate simulated energies to 1, 0.5 and 0.1 meV per cell, grid sizes of 2x2x2, 4x4x4 and 8x8x8 respectively can be used. This rapid increase in the accuracy of the calculation can be attributed to the large increase in k-points sampled over within the summations in eq. 2 with increasing grid size.&lt;br /&gt;
&lt;br /&gt;
However, the optimal grid size dependent on the material used due to the relationship between the lattice parameter, and the size of the first brillouin zone in k-space. For a similar oxide such as CaO, in comparsion to the lattice parameter of MgO of 4.212 Å &amp;lt;ref&amp;gt; A. CIMINO, P. PORTA and M. VALIGI, J. Am. Ceram. Soc, 1966, &#039;&#039;&#039;49&#039;&#039;&#039;, 152–156 &amp;lt;/ref&amp;gt;, the parameter of CaO is 4.864 Å &amp;lt;ref&amp;gt;Mackrodt, W. C., Harrison, N. M., Saunders, V. R., Allan, N. L. and Towler, M. D., Aprà, E., Dovesi, R., Philos. Mag. A, 1993 , &#039;&#039;&#039;68&#039;&#039;&#039;, 653-666 &amp;lt;/ref&amp;gt;, slightly larger than that of MgO. This leads to a slightly smaller grid size being optimal, as the larger lattice parameter leads to a smaller brillouin zone in reciprocal space as if the lattice parameter &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; is larger, then the size of the first brillouin zone &amp;lt;math&amp;gt;a^{*}= \frac {2 \pi}{a} &amp;lt;/math&amp;gt;will be smaller. This in turn allows less points to be sampled inside the region to give the same spacing of points, and therefore accuracy for the density of states as for MgO. Similarly, the zeolite faujsite has an extremely large lattice parameter of 25.132 Å &amp;lt;ref&amp;gt;E. Dempsey, G. H. Kuhl, and D. H. Olson, Phys. Chem., 1969, &#039;&#039;&#039;73&#039;&#039;&#039;, 387–390 &amp;lt;/ref&amp;gt;, in comparison to MgO. This; as with the case of CaO but more exaggerated, leads to a much smaller brillouin zone in reciprocal space, and so allows for a much smaller grid size to give the same accuracy as the MgO calculation due to the extremely small value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; obtained for faujsite.&lt;br /&gt;
Conversely, lithium has a smaller lattice spacing of 3.51 Å &amp;lt;ref&amp;gt;M.R. Nadler and C.P. Kempfer, Anal. Chem., 1959, &#039;&#039;&#039;31&#039;&#039;&#039;, 2109-2111&amp;lt;/ref&amp;gt;. Therefore the value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; for lithium will be larger than for MgO, and so require a larger grid size to obtain the same spacing between sampled k-space points and therefore accuracy of the calculated density of states.&lt;br /&gt;
&lt;br /&gt;
[[File:Ft1015Latticeparametervskelvin.png|480px|thumb|left|&#039;&#039;&#039;Figure 4&#039;&#039;&#039;: A phonon dispersion plot for MgO]]&lt;br /&gt;
[[File:Ft1015Latticevolumevskelvin.png|480px|thumb|left|&#039;&#039;&#039;Figure 5&#039;&#039;&#039;: A phonon dispersion plot for MgO]]&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
== Tasks ==&lt;br /&gt;
&lt;br /&gt;
=== Calculating the phonon modes of MgO ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The density of states for 1x1x1 grid was computed for a single k-point. Can you work out which k-point by examining the dispersion curves ? look in the Log File to check.&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Through correlating the DoS for the single k-point with the dispersion curve, the k-point that was used can be found. The DoS shows bands at 286 and 351 cm-1 with intensities of 0.333, and bands at 676 and 806 cm-1 with intensities half that of the first two bands. These points can be seen to correspond to the L k-point on the dispersion curve. This k-point shows three acoustic and optical branches, with the first two points of 0.333 intensity corresponding to a point where two branches are overlapping.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does the density of states vary with grid size ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The increase in number of points sampled along the dispersion curve leads to the increase in number of bands seen in the DoS, and ac. The DoS becomes more spread out as the number of sampled points increases increases, as with a larger grid size, more vibrations are sampled and thus more features appear in the dispersion.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;As the grid size increases more and more of the possible vibrations are sampled and more features appear - which grid size is the minimum for a reasonable approximation to the density of states ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
A grid size of 16x16x16 was found to be the optimal grid size. As expected, the DoS curve produced from this grid size was smooth. This curve was proved to be a good optimization through looking at the Hemholtz free energy for each of the simulated grid sizes. As the accuracy of the Hemholtz free energy result directly depends on the number of k-space points summed over in the calculations, the larger the grid size, and therefore the large the number of k-points summed over, the more accurate the result. Comparing the 16x16x16 to the 32x32x32 grid; which on higher order grids did not change the free energy and therefore was the best approximation, the 16x16x16 was accurate to within 0.001 meV or 2.4434 × 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; %&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does the density of states computed at this optimal grid size compare to that computed for smaller and larger grids ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
At this grid size of 16x16x16, compared to grids that are smaller it appears more smooth, and similar to a single band for a macrostructure. Larger grid sizes increase the smoothness of the band &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How is the density of states related to the dispersion curves ?&#039;&#039;&#039;&lt;br /&gt;
Both the DoS and dispersion curves are plotted with one axis being energy; or in this case frequency of vibration, and so can be related. Through potting both the DoS and dispersion curves on the same axis one can see the relationship between the DoS and dispersion&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Would this optimal grid size for MgO (4.212 Å &amp;lt;ref&amp;gt; A. CIMINO, P. PORTA and M. VALIGI, J. Am. Ceram. Soc, 1966, &#039;&#039;&#039;49&#039;&#039;&#039;, 152–156 &amp;lt;/ref&amp;gt;)be appropriate for a calculation on;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a similar oxide (eg: CaO) ?&#039;&#039;&#039;&lt;br /&gt;
CaO has a lattice parameter of 4.864 Å &amp;lt;ref&amp;gt;Mackrodt, W. C., Harrison, N. M., Saunders, V. R., Allan, N. L. and Towler, M. D., Aprà, E., Dovesi, R., Philos. Mag. A, 1993 , &#039;&#039;&#039;68&#039;&#039;&#039;, 653-666 &amp;lt;/ref&amp;gt;, slightly larger than that of MgO. This leads to a slightly smaller grid size being optimal, as the larger lattice parameter leads to a smaller brillouin zone in reciprocal space as if the lattice parameter &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; in the range of  &amp;lt;math&amp;gt; [0, \frac{\pi}{a}]&amp;lt;/math&amp;gt; is larger, then the range will be smaller. This in turn allows less points to be sampled inside the region to give the same spacing of points, and therefore accuracy for the DoS as for MgO.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a Zeolite (eg: Faujasite) ?&#039;&#039;&#039;&lt;br /&gt;
Faujsite has an extremely large lattice parameter of 25.132 Å &amp;lt;ref&amp;gt;E. Dempsey, G. H. Kuhl, and D. H. Olson, Phys. Chem., 1969, &#039;&#039;&#039;73&#039;&#039;&#039;, 387–390 &amp;lt;/ref&amp;gt;, in comparison to MgO (4.212 Å). This; as with the case of CaO but more exaggerated, leads to a much smaller brillouin zone in reciprocal space, and so allows for a much smaller grid size to give the same accuracy as the MgO DoS calculation&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a metal (eg: lithium) ?&#039;&#039;&#039;&lt;br /&gt;
In comparison to MgO, CaO and Faujsite, Lithium has a smaller lattice spacing of 3.51 Å &amp;lt;ref&amp;gt;M.R. Nadler and C.P. Kempfer, Anal. Chem., 1959, &#039;&#039;&#039;31&#039;&#039;&#039;, 2109-2111&amp;lt;/ref&amp;gt;. Therefore the brillouin zone &amp;lt;math&amp;gt; [0, \frac{\pi}{a}] &amp;lt;/math&amp;gt; for Lithium will be larger than for MgO, and so require a larger grid size to obtain the same spacing between sampled k-space points and therefore accuracy of the calculated DoS&lt;br /&gt;
&lt;br /&gt;
=== Computing the Free Energy - The harmonic approximation ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does the free energy vary with grid size ?&#039;&#039;&#039;&lt;br /&gt;
Figure 4 plots Hemholtz free energy against grid size using ep. 2, showing that above grid sizes of 32x32x32, there is no change in the free energy of the system, and so has converged to a minima.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Which grid size is appropriate for calculations accurate to 1 meV, 0.5 meV and 0.1 meV per cell ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Would this optimal grid size for MgO be appropriate for a calculation on; a similar oxide (eg: CaO) ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a Zeolite (eg: Faujasite) ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a metal (eg: lithium) ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== The Thermal Expansion of MgO ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Plot the free energy against temperature&#039;&#039;&#039;&lt;br /&gt;
Done&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Plot the lattice constant against temperature&#039;&#039;&#039;&lt;br /&gt;
Done&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Comment on the shape of these curves.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Compute the coefficient of thermal expansion for MgO&#039;&#039;&#039;&lt;br /&gt;
0.00002906591&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does this compare to that measured ? Find a measurement in the literature or on the web - at what temperature was the measurement made ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;What are the main approximations in your calculation ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;What is the physical origin of thermal expansion ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;As the temperature approaches the melting point of MgO how well do the phonon modes represent the actual motions of the ions ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In a diatomic molecule with an exactly harmonic potential would you expect the bond length to increase with temperature ? Why does it increase in the solid when we are using an quasi-harmonic approximation ?&#039;&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Ft1015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=650837</id>
		<title>Rep:FabianThomasThirdYearMgOSimulation</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:FabianThomasThirdYearMgOSimulation&amp;diff=650837"/>
		<updated>2017-12-15T12:27:30Z</updated>

		<summary type="html">&lt;p&gt;Ft1015: /* Theory */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Abstract ==&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Theory ===&lt;br /&gt;
For example: a rigid regular, crystalline (not [[amorphous solid|amorphous]]), lattice is composed of &#039;&#039;N&#039;&#039; particles. These particles may be atoms or molecules. &#039;&#039;N&#039;&#039; is a large number, say of the order of 10&amp;lt;sup&amp;gt;23&amp;lt;/sup&amp;gt;, or on the order of [[Avogadro&#039;s number]] for a typical sample of a solid. Since the lattice is rigid, the atoms must be exerting [[force]]s on one another to keep each atom near its equilibrium position. These forces may be [[Van der Waals force]]s, [[covalent bond]]s, [[electrostatic attraction]]s, and others, all of which are ultimately due to the [[electric field|electric]] force. [[magnetism|Magnetic]] and [[gravity|gravitational]] forces are generally negligible. The forces between each pair of atoms may be characterized by a [[potential energy]] function &#039;&#039;V&#039;&#039; that depends on the distance of separation of the atoms. The potential energy of the entire lattice is the sum of all pairwise potential energies:&amp;lt;ref name=latticemechanics3&amp;gt;{{cite book&lt;br /&gt;
 | last = Krauth| first = Werner| title =Statistical mechanics: algorithms and computations &lt;br /&gt;
 | publisher =Oxford University Press| date =April 2006| location =International publishing locations| pages =231–232 &lt;br /&gt;
 | url =https://books.google.com/books?id=EnabPPmmS4sC&amp;amp;pg=RA1-PA231&amp;amp;dq=Mechanics+of+particles+on+a+lattice#v=onepage&amp;amp;q=Mechanics%20of%20particles%20on%20a%20lattice&amp;amp;f=false| isbn =978-0-19-851536-4}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\sum_{i \neq j} V\left(r_i - r_j\right)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;r&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;&#039;&#039; is the [[space|position]] of the &#039;&#039;i&#039;&#039;th atom, and &#039;&#039;V&#039;&#039; is the [[potential energy]] between two atoms.&lt;br /&gt;
&lt;br /&gt;
It is difficult to solve this [[many-body problem]] explicitly in either classical or quantum mechanics. In order to simplify the task, two important [[approximation]]s are usually imposed. First, the sum is only performed over neighboring atoms. Although the electric forces in real solids extend to infinity, this approximation is still valid because the fields produced by distant atoms are effectively [[electric field screening|screened]]. Secondly, the potentials &#039;&#039;V&#039;&#039; are treated as [[harmonic oscillator|harmonic potentials]]. This is permissible as long as the atoms remain close to their equilibrium positions. Formally, this is accomplished by [[Taylor series|Taylor expanding]] &#039;&#039;V&#039;&#039; about its equilibrium value to quadratic order, giving &#039;&#039;V&#039;&#039; proportional to the displacement &#039;&#039;x&#039;&#039;&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; and the elastic force simply proportional to &#039;&#039;x&#039;&#039;. The error in ignoring higher order terms remains small if &#039;&#039;x&#039;&#039; remains close to the equilibrium position.&lt;br /&gt;
&lt;br /&gt;
The resulting lattice may be visualized as a system of balls connected by springs. The following figure shows a cubic lattice, which is a good model for many types of crystalline solid. Other lattices include a linear chain, which is a very simple lattice which we will shortly use for modeling phonons. (For other common lattices, see [[crystal structure]].)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The quasi-harmonic approximation expands upon the harmonic [[phonon]] model of lattice dynamics. The harmonic phonon model states that all interatomic forces are purely [[Harmonic Oscillator|harmonic]], but such a model is inadequate to explain [[thermal expansion]], as the equilibrium distance between atoms in such a model is independent of temperature.&lt;br /&gt;
&lt;br /&gt;
Thus in the quasi-harmonic model, from a phonon point of view, phonon frequencies become volume-dependent in the quasi-harmonic approximation, such that for each volume, the harmonic approximation holds.&lt;br /&gt;
&lt;br /&gt;
For a lattice, the Helmholtz free energy &#039;&#039;F&#039;&#039; in the quasi-harmonic approximation is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;F(T,V) = U(V) + E_{ZP}(V) - T S(T,V)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;U&#039;&#039; is the internal [[lattice energy]], &#039;&#039;E&amp;lt;sub&amp;gt;ZP&amp;lt;/sub&amp;gt;&#039;&#039; is the vibrational [[zero-point energy]] of the lattice, &#039;&#039;T&#039;&#039; is the absolute temperature, &#039;&#039;V&#039;&#039; is the volume and &#039;&#039;S&#039;&#039; is the [[entropy]] due to the vibrational degrees of freedom. The specific definition of the volume is of no particular importance, as long as the definition is used consistently throughout. It can be the volume per primitive unit cell, volume per conventional unit cell, or even molar volume. This choice does not affect the following in any way.&lt;br /&gt;
&lt;br /&gt;
The zero-point energy term equals&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; E_{ZP}(V) = \frac{1}{N} \sum_{\mathbf{k}, i} \frac{1}{2} h \nu_{\mathbf{k},i}(V) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;N&#039;&#039; is the number of terms in the sum, &#039;&#039;&#039;k&#039;&#039;&#039; is a [[wave vector]], &#039;&#039;i&#039;&#039; denotes a phonon band, &#039;&#039;h&#039;&#039; is [[Planck&#039;s constant]] and ν&amp;lt;sub&amp;gt;&#039;&#039;&#039;k&#039;&#039;&#039;,&#039;&#039;i&#039;&#039;&amp;lt;/sub&amp;gt;(V) is the frequency of a phonon with wave vector &#039;&#039;&#039;k&#039;&#039;&#039; in the &#039;&#039;i&#039;&#039;-th band at volume &#039;&#039;V&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
The entropy term equals&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S(V) = -\frac{1}{N} \sum_{\mathbf{k}, i} k_B \ln \left[ 1 - \exp\left( -\frac{h \nu_{\mathbf{k},i}(V)}{ k_BT }\right) \right] + \frac{1}{N} \sum_{\mathbf{k},i} k_B \frac{h \nu_{\mathbf{k},i}(V)}{k_B T} \left[ \exp\left( \frac{h \nu_{\mathbf{k},i}(V)}{ k_BT } \right) - 1 \right]^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;k&#039;&#039;&amp;lt;sub&amp;gt;B&amp;lt;/sub&amp;gt; is the [[Boltzmann constant]]. The frequency ν as a function of &#039;&#039;&#039;k&#039;&#039;&#039; is the [[dispersion relation]].  Note that for a constant value of &#039;&#039;V&#039;&#039;, these equations corresponds to that of the harmonic approximation.&lt;br /&gt;
&lt;br /&gt;
By applying a [[Legendre transform]], it is possible to obtain the [[Gibbs free energy]] &#039;&#039;G&#039;&#039; of the system as a function of temperature and pressure.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G(T,P) = \min_V \left[ U(V) + E_{ZP}(V) - T S(T,V) + P V \right]&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &#039;&#039;P&#039;&#039; is the pressure. The minimal value for &#039;&#039;G&#039;&#039; is found at the equilibrium volume for a given &#039;&#039;T&#039;&#039; and &#039;&#039;P&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The system used&lt;br /&gt;
&lt;br /&gt;
The methodology/theory used MOLECULAR DYNAMICS (MD) - Brillouin zones&lt;br /&gt;
&lt;br /&gt;
The aims of the exercise - To compare the to predict how the material expands when heated, to calculate the thermal expansion coefficient for MgO, to compute vibrational energy levels of MgO, to understand the phonon dispersion of a material, the vibrational density of state, to simulate the vibrations as random motions of atoms inside a cell, to compare QUASI-HARMONIC APPROXIMATION with MOLECULAR DYNAMICS results.&lt;br /&gt;
&lt;br /&gt;
The tools/programs in use - DLV&lt;br /&gt;
&lt;br /&gt;
The quasi-harmonic approximation for phonons builds upon the harmonic approximation for phonon dynamics, and therefore to explain the quasi-harmonic approximation we must first discuss the harmonic approximation&lt;br /&gt;
&lt;br /&gt;
For a regular, linear chain which is composed of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; number of particles, the forces between a pair of atoms can be assumed to be a potential energy function &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; which depends on the distance of the separation between the atoms. The main contributing forces to the potential are described by an electric force, such as electrostatic attractions, covalent bonds or Van der Waals forces. Therefore the potential energy of the entire lattice made up of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; atoms is the sum of the potential energies between each pair of atoms with a separation r from each other shown below in eq 1.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV(r)&amp;lt;/math&amp;gt;       &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, allowing each atom to deviate slightly from its equilibrium position by a displacement &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;, if the deviations are small in comparison to the distance between each atom &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;, the energy of this chain is able to be calculated via a taylor expansion summing over all of the atoms in the chain.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;E = NV + \sum_{s\ge 1} \frac {1}{s !} \frac {\partial^s V}{\partial u^s} \sum_{n}&lt;br /&gt;
 (u_n - u_{n+1})^s&amp;lt;/math&amp;gt;     &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;u_n&amp;lt;/math&amp;gt; is the displacement of the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;th atom from its equilibrium postition&lt;br /&gt;
&lt;br /&gt;
Two approximations are used in order to reach this equation, which together forms the harmonic approximation and it&#039;s respective equation. The first approximation states that the sum of the pair potential energies is completed over only neighboring atoms, as although there are electric forces between all atoms, these forces on atoms far away from one another are greatly diminished by screening by the atoms in between, and that the potential energies are treated as harmonic potential energies. In this equation, as the expansion was done around the equilibrium point, therefore the first derivative is zero, whereas higher order terms are not, and so the first term can be dropped, and the second term is used where &amp;lt;math&amp;gt;s = 2&amp;lt;/math&amp;gt;, with higher order terms being neglected. These higher order terms are ignored as harmonic equations of motion have exact solutions, while anharmonic equations do not have exact solutions to them and require more approximations. Thus the energy of the lattice is thus the same as the energy of the set of harmonic oscillators. The error in this equation remains small for small values of &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;&lt;br /&gt;
as the value of higher order terms will remain low.&lt;br /&gt;
&lt;br /&gt;
== Results and Discussion ==&lt;br /&gt;
&lt;br /&gt;
[[File:Ft1015MgO_phonon_dispersion.PNG|480px|thumb|left|&#039;&#039;&#039;Figure 1&#039;&#039;&#039;: A phonon dispersion plot for MgO]]&lt;br /&gt;
[[File:Ft1015MgO_DoS.PNG|480px|thumb|right|&#039;&#039;&#039;Figure 2&#039;&#039;&#039;: A plot of the density of states for MgO using a 1x1x1 grid size]]&lt;br /&gt;
&lt;br /&gt;
From figures 1 and 2, we can see the computed phonon dispersion curve and density of states for a 1x1x1 grid size containing one k-point. Correlating the density of states with the dispersion curve via their shared axis of frequency of vibration yields the k-point L on the dispersion curve as the singular k-point used for the calculation. The density of states shows bands at 286 and 351 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; and 676 and 806 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, with the intensities of the first two bands double that of the final two bands. These bands correspond to three acoustic and three optical branches, with the first two bands of 0.333 intensity corresponding to a k-point where two branches are overlapping and are therefore degenerate states.&lt;br /&gt;
&lt;br /&gt;
Varying the grid size used for the calculation greatly affected the accuracy and precision of the results of calculations through increasing the number of k-points sampled in eq. 1ː&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\omega ^{2}(k) = C(\frac{1}{M_{Mg}} + \frac{1}{M_{O}}) \pm \sqrt {(\frac{1}{M_{Mg}} + \frac{1}{M_{O}})^{2} - \frac{4sin^{2}(ka)}{M_{Mg}}}&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(1)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; is the spring force constant, &amp;lt;math&amp;gt;M_{Mg}&amp;lt;/math&amp;gt; is the molar mass of magnesium and &amp;lt;math&amp;gt;M_{O}&amp;lt;/math&amp;gt; is the molar mass of oxygen&lt;br /&gt;
&lt;br /&gt;
[[File:Ft1015MgO_DoS_20x20x20.PNG|480px|thumb|left|&#039;&#039;&#039;Figure 3&#039;&#039;&#039;: The optimised plot of the density of states for MgO using a 16x16x16 grid size]]&lt;br /&gt;
As the grid size increases, and thus the more k-points sampled, more and more features become visible, with the increase in number of points sampled along the dispersion curve leading to the increase in number of bands seen in the density of states. Optimising the grid size led to a grid size of 16x16x16 being optimal. As expected, the density of states plot produced from this grid size was smooth, as can be seen in figure 3. This curve was proved to be a good optimisation through looking at the Hemholtz free energy for each of the simulated grid sizes. As the accuracy of the Helmholtz free energy result directly depends on the number of k-space points sampled in the calculations as can be seen in eq. 2. Similarly to eq. 1, the larger the grid size, and therefore the more k-points sampled, the more accurate the result. Comparing the free energy of the 16x16x16 grid to the 32x32x32 grid; which for higher order grids remained constant and so had converged, the 16x16x16 was accurate to within 0.001 meV or 2.4434 × 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; %.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; F = E_0 + \frac {1}{2}\sum_{k,j}^{} \hbar \omega _k + k_B T \sum_{k,j}^{}ln(1-e^{\frac {-\hbar \omega _k }{k_B T}})&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt;(2)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;F&amp;lt;/math&amp;gt; is the Hemholtz free energy and &amp;lt;math&amp;gt;E_0&amp;lt;/math&amp;gt; is the lattice energy&lt;br /&gt;
&lt;br /&gt;
In comparison to smaller grid sizes, the 16x16x16 grid size curve appears more smooth, and more akin to a single band as seen for macrostructures. Larger grid sizes, while greatly increasing the computation time of the calculation did not largely increase the accuracy of the calculations as stated above, and therefore the 16x16x16 grid size was the optimal choice for these simulations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Table 1. Calculated Total Difference in Hemholtz Free Energy &lt;br /&gt;
! Grid Size&lt;br /&gt;
! Total Difference in Free Energy&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 3.818&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.126&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| -0.051&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| -0.033&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| -0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16&lt;br /&gt;
| -0.001&lt;br /&gt;
|-&lt;br /&gt;
| 24&lt;br /&gt;
| -0.000&lt;br /&gt;
|-&lt;br /&gt;
| 32&lt;br /&gt;
| 0.000&lt;br /&gt;
|-&lt;br /&gt;
| 64&lt;br /&gt;
| 0.000&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Table 1 shows the difference between the calculated free energy for grid size and the final converged free energy. Looking at this, we can see that for grid sizes larger than 24x24x24, there is no change in the free energy of the system and so the free energy has converged to a minima, although it may not be the global minimum. The accuracy of simulations also increase rapidly with grid size, for example for accurate simulated energies to 1, 0.5 and 0.1 meV per cell, grid sizes of 2x2x2, 4x4x4 and 8x8x8 respectively can be used. This rapid increase in the accuracy of the calculation can be attributed to the large increase in k-points sampled over within the summations in eq. 2 with increasing grid size.&lt;br /&gt;
&lt;br /&gt;
However, the optimal grid size dependent on the material used due to the relationship between the lattice parameter, and the size of the first brillouin zone in k-space. For a similar oxide such as CaO, in comparsion to the lattice parameter of MgO of 4.212 Å &amp;lt;ref&amp;gt; A. CIMINO, P. PORTA and M. VALIGI, J. Am. Ceram. Soc, 1966, &#039;&#039;&#039;49&#039;&#039;&#039;, 152–156 &amp;lt;/ref&amp;gt;, the parameter of CaO is 4.864 Å &amp;lt;ref&amp;gt;Mackrodt, W. C., Harrison, N. M., Saunders, V. R., Allan, N. L. and Towler, M. D., Aprà, E., Dovesi, R., Philos. Mag. A, 1993 , &#039;&#039;&#039;68&#039;&#039;&#039;, 653-666 &amp;lt;/ref&amp;gt;, slightly larger than that of MgO. This leads to a slightly smaller grid size being optimal, as the larger lattice parameter leads to a smaller brillouin zone in reciprocal space as if the lattice parameter &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; is larger, then the size of the first brillouin zone &amp;lt;math&amp;gt;a^{*}= \frac {2 \pi}{a} &amp;lt;/math&amp;gt;will be smaller. This in turn allows less points to be sampled inside the region to give the same spacing of points, and therefore accuracy for the density of states as for MgO. Similarly, the zeolite faujsite has an extremely large lattice parameter of 25.132 Å &amp;lt;ref&amp;gt;E. Dempsey, G. H. Kuhl, and D. H. Olson, Phys. Chem., 1969, &#039;&#039;&#039;73&#039;&#039;&#039;, 387–390 &amp;lt;/ref&amp;gt;, in comparison to MgO. This; as with the case of CaO but more exaggerated, leads to a much smaller brillouin zone in reciprocal space, and so allows for a much smaller grid size to give the same accuracy as the MgO calculation due to the extremely small value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; obtained for faujsite.&lt;br /&gt;
Conversely, lithium has a smaller lattice spacing of 3.51 Å &amp;lt;ref&amp;gt;M.R. Nadler and C.P. Kempfer, Anal. Chem., 1959, &#039;&#039;&#039;31&#039;&#039;&#039;, 2109-2111&amp;lt;/ref&amp;gt;. Therefore the value of &amp;lt;math&amp;gt;a^{*}&amp;lt;/math&amp;gt; for lithium will be larger than for MgO, and so require a larger grid size to obtain the same spacing between sampled k-space points and therefore accuracy of the calculated density of states.&lt;br /&gt;
&lt;br /&gt;
[[File:Ft1015Latticeparametervskelvin.png|480px|thumb|left|&#039;&#039;&#039;Figure 4&#039;&#039;&#039;: A phonon dispersion plot for MgO]]&lt;br /&gt;
[[File:Ft1015Latticevolumevskelvin.png|480px|thumb|left|&#039;&#039;&#039;Figure 5&#039;&#039;&#039;: A phonon dispersion plot for MgO]]&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
== Tasks ==&lt;br /&gt;
&lt;br /&gt;
=== Calculating the phonon modes of MgO ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The density of states for 1x1x1 grid was computed for a single k-point. Can you work out which k-point by examining the dispersion curves ? look in the Log File to check.&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Through correlating the DoS for the single k-point with the dispersion curve, the k-point that was used can be found. The DoS shows bands at 286 and 351 cm-1 with intensities of 0.333, and bands at 676 and 806 cm-1 with intensities half that of the first two bands. These points can be seen to correspond to the L k-point on the dispersion curve. This k-point shows three acoustic and optical branches, with the first two points of 0.333 intensity corresponding to a point where two branches are overlapping.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does the density of states vary with grid size ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The increase in number of points sampled along the dispersion curve leads to the increase in number of bands seen in the DoS, and ac. The DoS becomes more spread out as the number of sampled points increases increases, as with a larger grid size, more vibrations are sampled and thus more features appear in the dispersion.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;As the grid size increases more and more of the possible vibrations are sampled and more features appear - which grid size is the minimum for a reasonable approximation to the density of states ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
A grid size of 16x16x16 was found to be the optimal grid size. As expected, the DoS curve produced from this grid size was smooth. This curve was proved to be a good optimization through looking at the Hemholtz free energy for each of the simulated grid sizes. As the accuracy of the Hemholtz free energy result directly depends on the number of k-space points summed over in the calculations, the larger the grid size, and therefore the large the number of k-points summed over, the more accurate the result. Comparing the 16x16x16 to the 32x32x32 grid; which on higher order grids did not change the free energy and therefore was the best approximation, the 16x16x16 was accurate to within 0.001 meV or 2.4434 × 10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; %&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does the density of states computed at this optimal grid size compare to that computed for smaller and larger grids ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
At this grid size of 16x16x16, compared to grids that are smaller it appears more smooth, and similar to a single band for a macrostructure. Larger grid sizes increase the smoothness of the band &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How is the density of states related to the dispersion curves ?&#039;&#039;&#039;&lt;br /&gt;
Both the DoS and dispersion curves are plotted with one axis being energy; or in this case frequency of vibration, and so can be related. Through potting both the DoS and dispersion curves on the same axis one can see the relationship between the DoS and dispersion&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Would this optimal grid size for MgO (4.212 Å &amp;lt;ref&amp;gt; A. CIMINO, P. PORTA and M. VALIGI, J. Am. Ceram. Soc, 1966, &#039;&#039;&#039;49&#039;&#039;&#039;, 152–156 &amp;lt;/ref&amp;gt;)be appropriate for a calculation on;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a similar oxide (eg: CaO) ?&#039;&#039;&#039;&lt;br /&gt;
CaO has a lattice parameter of 4.864 Å &amp;lt;ref&amp;gt;Mackrodt, W. C., Harrison, N. M., Saunders, V. R., Allan, N. L. and Towler, M. D., Aprà, E., Dovesi, R., Philos. Mag. A, 1993 , &#039;&#039;&#039;68&#039;&#039;&#039;, 653-666 &amp;lt;/ref&amp;gt;, slightly larger than that of MgO. This leads to a slightly smaller grid size being optimal, as the larger lattice parameter leads to a smaller brillouin zone in reciprocal space as if the lattice parameter &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; in the range of  &amp;lt;math&amp;gt; [0, \frac{\pi}{a}]&amp;lt;/math&amp;gt; is larger, then the range will be smaller. This in turn allows less points to be sampled inside the region to give the same spacing of points, and therefore accuracy for the DoS as for MgO.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a Zeolite (eg: Faujasite) ?&#039;&#039;&#039;&lt;br /&gt;
Faujsite has an extremely large lattice parameter of 25.132 Å &amp;lt;ref&amp;gt;E. Dempsey, G. H. Kuhl, and D. H. Olson, Phys. Chem., 1969, &#039;&#039;&#039;73&#039;&#039;&#039;, 387–390 &amp;lt;/ref&amp;gt;, in comparison to MgO (4.212 Å). This; as with the case of CaO but more exaggerated, leads to a much smaller brillouin zone in reciprocal space, and so allows for a much smaller grid size to give the same accuracy as the MgO DoS calculation&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a metal (eg: lithium) ?&#039;&#039;&#039;&lt;br /&gt;
In comparison to MgO, CaO and Faujsite, Lithium has a smaller lattice spacing of 3.51 Å &amp;lt;ref&amp;gt;M.R. Nadler and C.P. Kempfer, Anal. Chem., 1959, &#039;&#039;&#039;31&#039;&#039;&#039;, 2109-2111&amp;lt;/ref&amp;gt;. Therefore the brillouin zone &amp;lt;math&amp;gt; [0, \frac{\pi}{a}] &amp;lt;/math&amp;gt; for Lithium will be larger than for MgO, and so require a larger grid size to obtain the same spacing between sampled k-space points and therefore accuracy of the calculated DoS&lt;br /&gt;
&lt;br /&gt;
=== Computing the Free Energy - The harmonic approximation ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does the free energy vary with grid size ?&#039;&#039;&#039;&lt;br /&gt;
Figure 4 plots Hemholtz free energy against grid size using ep. 2, showing that above grid sizes of 32x32x32, there is no change in the free energy of the system, and so has converged to a minima.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Which grid size is appropriate for calculations accurate to 1 meV, 0.5 meV and 0.1 meV per cell ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Would this optimal grid size for MgO be appropriate for a calculation on; a similar oxide (eg: CaO) ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a Zeolite (eg: Faujasite) ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a metal (eg: lithium) ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== The Thermal Expansion of MgO ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Plot the free energy against temperature&#039;&#039;&#039;&lt;br /&gt;
Done&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Plot the lattice constant against temperature&#039;&#039;&#039;&lt;br /&gt;
Done&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Comment on the shape of these curves.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Compute the coefficient of thermal expansion for MgO&#039;&#039;&#039;&lt;br /&gt;
0.00002906591&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How does this compare to that measured ? Find a measurement in the literature or on the web - at what temperature was the measurement made ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;What are the main approximations in your calculation ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;What is the physical origin of thermal expansion ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;As the temperature approaches the melting point of MgO how well do the phonon modes represent the actual motions of the ions ?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In a diatomic molecule with an exactly harmonic potential would you expect the bond length to increase with temperature ? Why does it increase in the solid when we are using an quasi-harmonic approximation ?&#039;&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Ft1015</name></author>
	</entry>
</feed>