<?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=Dl2613</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=Dl2613"/>
	<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/wiki/Special:Contributions/Dl2613"/>
	<updated>2026-05-23T13:41:10Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=552346</id>
		<title>Rep:Mod:Dl2613</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=552346"/>
		<updated>2016-03-10T15:26:09Z</updated>

		<summary type="html">&lt;p&gt;Dl2613: /* Appendix */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== &amp;lt;u&amp;gt;Introduction&amp;lt;/u&amp;gt; ==&lt;br /&gt;
The aim of this experiment was to use a simple model of atomic interactions to calculate the energy and vibrations of a crystal of MgO. This was then used to compute the free energy, phonon dispersions and to predict how MgO expands when heated. The quasi-harmonic approximation (QHA) and molecular dynamics methods were used to do these calculations.&lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon based model of solid-state physics and can describe volume-dependant thermal effects of structures, such as the MgO crystal. This assumption assumes that for every lattice value the harmonic oscillator assumption is true. MD is a type of N-body simulation, it allows atoms and molecules to interact for a fixed period of time showing the dynamics of a system. In this experiment the MD was run on an isothermal-isobaric (NPT) ensemble in which the amount of substance, pressure and temperature are fixed. MD allows motion in three dimensions&amp;lt;ref name=&amp;quot;Studies in molecular dynamics&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The software used for this experiment was RedHat Linux. DLVisualize (DLV) was used for the visualisation of the structure and properties of the MgO crystal. General Utility Lattice Program (GULP) is a supporting interface of DLV and was used to perform analytical solutions on MgO through the use of lattice dynamics.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Internal Energy Calculation on MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Better_unit_cell.png|300px|thumb|right|Figure 1: MgO Primitive Unit Cell]]&lt;br /&gt;
In this first exercise the internal energy and structure of MgO was calculated using GULP from the primitive unit cell of the crystal (Fig 1). An ionic potential model was used, without shells included and at a single point. The primitive unit cell is the simplest cell to describe the crystal structure of MgO and contains 2 atoms. The lattice vectors of this cell are:&lt;br /&gt;
&lt;br /&gt;
0.000   2.106   2.106&lt;br /&gt;
&lt;br /&gt;
2.106   0.000   2.106&lt;br /&gt;
&lt;br /&gt;
2.106   2.106   0.000&lt;br /&gt;
&lt;br /&gt;
From the [[Media:MgO_0_DHL.out| log file]] it can be seen that the lattice parameters are defined by the length 2.978Å and the angle 60º, giving the primitive unit cell the shape of a rhombohedron. Each primitive cell was calculated to have an energy of -40.08 eV and this corresponds to the binding energy of the crystal. The primitive cell can be used to build up a lattice by repeating its structure.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Calculation of phonon modes of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Computing the Phonon Dispersion Curves: ===&lt;br /&gt;
[[File:MgO_Phonon_Dispersion_DHL.png|300px|thumb|left|Figure 2: MgO Phonon Dispersion]]&lt;br /&gt;
The phonon frequencies were then computed along the symmetry points &amp;lt;math&amp;gt;W, L, G, W, X, K&amp;lt;/math&amp;gt; in k space. The calculation was set up for 50 Npoints with phonon eigenvectors included in the calculation. For a 3D crystal of diatomic molecules with two atom types, six vibration modes are observed in the phonon dispersion curves (Fig 2). A positive dispersion relation results in optical modes and a negative dispersion relation results in acoustic modes. Two adjacent different atoms move with each other in the optical mode, but move against each other in the acoustic mode. The acoustic modes equal 0   cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;  at the point Γ whereas the optical modes do not. It can be seen that there are three acoustic modes and three optical modes. The three acoustic modes can be split into one longitudinal acoustic mode and two transverse acoustic modes. The two transverse modes become degenerate between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;. The phonon dispersion curve agrees with that found in literature&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== The Phonon Density of States: ===&lt;br /&gt;
A simpler energy level diagram than the phonon dispersion relation is the density of states (DOS). The DOS is an average over the time and space demains of the MgO system and was calculated for the phonons as a function of the wave vector k. The dimensional limits of the MgO crystal affects the DOS and therefore it is expected that the DOS will change with the grid size of the MgO crystal.&lt;br /&gt;
&lt;br /&gt;
To begin with the DOS calculation was ran on a 1x1x1 grid, corresponding to a single k point. Comparison between Figure 2 and 3 shows that the single k point is the symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The frequencies of the phonon dispersions are identical in the two graphs. Four peaks instead of six are observed due to the fact that 2 pairs of modes become degenerate between &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. These degenerate modes correspond to the peaks between 250 and 400 cm &amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, explaining why those peaks are double the intensity of the high frequency peaks. It can been seen that a grid size of 1x1x1 is not a good representative of the DOS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_Phonon_DOS_DHL.png|300px|none|thumb|left|Figure 3: MgO Phonon DOS 1x1x1]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_3x3x3_DHL.png|300px|none|thumb|middle|Figure 4: MgO Phonon DOS 3x3x3]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_8x8x8_DHL.png|300px|none|thumb|middle|Figure 5: MgO Phonon DOS 8x8x8]]&lt;br /&gt;
|}&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_phonon_DOS_16x16x16_DHL.png|300px|none|thumb|left|Figure 6: MgO Phonon DOS 16x16x16]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_32x32x32_DHL.png|300px|none|thumb|left|Figure 7: MgO Phonon DOS 32x32x32]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_40x40x40_DHL.png|300px|none|thumb|middle|Figure 8: MgO Phonon DOS 40x40x40]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Several grid sizes were investigated up to 50x50x50 to find a compromise between an accurate DOS and the time taken to run the calculation. As the grid size is increased a more true depiction of the DOS is obtained for the MgO structure. Increasing the grid size increases the number of peaks and then changes the graph from random sharp intensities to a smoother curve. However, the highest intensity point remains at 400 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; throughout all grid sizes and the higher frequencies having lower intensities. The bigger the grid size, the more k points that are sampled and the more representative the DOS plots. It can be seen in the figures above that the DOS curve is unchanged between 32x32x32 and 40x40x40, however, the running time increases greatly for the 40x40x40 grid size. Therefore, it was decided that the 32x32x32 grid size was the optimum and was used in further calculations.&lt;br /&gt;
&lt;br /&gt;
The size of the grid set in the calculations is inversely related to the size of the structure in real space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This equation shows that the bigger a* (size of grid in k space) the smaller a (size of cell in real space). Therefore the bigger the cell in real space, the smaller the grid size needed for the calculation of DOS. This means that a similar oxide such as CaO will require a similar grid size as MgO for the calculation of DOS. Faujasite, a zeolite, has a lattice parameter in the range 24.2 - 25.1 Å &amp;lt;ref name=&amp;quot;Zeolite&amp;quot;/&amp;gt; and would therefore need a small grid size for the DOS calculation. Lithium, a small metal, has a lattice parameter of 3.51 Å &amp;lt;ref name=&amp;quot;Lithium&amp;quot;/&amp;gt; and would therefore need a large grid size for the DOS calculation to represent its small cell size in real space.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Computing the Free Energy&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Task_3_graph.png|300px|thumb|right|Graph 1: A Graph to show how the Free Energy changes with Grid Size]]&lt;br /&gt;
The Helmholtz Free Energy of MgO was then computed using the quasi-harmonic approximation on the same grid sizes as in the previous section at a temperature of 300K. Helmholtz Free Energy is given by the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A=Helmholtz Free Energy, U=Internal Energy, S=Entropy and T=Temperature&lt;br /&gt;
&lt;br /&gt;
This states that the Helmholtz Free Energy should increase with increasing internal energy and decreasing temperature and entropy. This said, the Helmholtz Free Energy should decrease with increasing grid size. This can be explained with the aid of the following statistical mechanics equation of entropy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt; where S=Entropy, k=Boltzmann Constant and W=number of microstates&lt;br /&gt;
&lt;br /&gt;
As the grid size increases the number of microstates sampled also increases. This in turn increases the entropy and decreases the TS term in the Helmholtz Free Energy equation. The decrease in Helmholtz Free Energy can be further explained using the following equation of internal energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt; where U=internal Energy, H=Enthalpy, P=Pressure and V=Volume&lt;br /&gt;
&lt;br /&gt;
As the grid size increases so does its volume, therefore decreasing the internal energy. This further decreases the Helmholtz Free Energy. It can be seen in Graph 1 that initially the Helmholtz Free Energy increases with grid size from 1x1x1 to 3x3x3 and then begins to follow the expected trend and decrease with increasing grid size. Table 1 shows that the accuracy of the Helmholtz Free Energy increases with grid size.&lt;br /&gt;
The Helmholtz Free Energy converges to a value of -40.93 eV, with the 32x32x32 grid size being the most appropriate to run calculations from, providing the correct Helmholtz Free Energy and a suitable length of time to run the calculation.&lt;br /&gt;
&lt;br /&gt;
For CaO, a similar sized crystal to MgO (lattice constant CaO = 4.811 Å, lattice constant MgO = 4.212 Å)&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;/&amp;gt;, a similar size grid will be required for the calculation of the Helmholtz Free Energy. Faujasite would require a smaller grid size due to its large lattice constant and lithium a larger grid size than MgO due to its small lattice constant.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;The Thermal Expansion of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Thermal expansion is the ability of matter to change size, volume and shape in a response to the change in temperature. When a substance is heated the molecules vibrate and begin to move more, and their average separation increases&amp;lt;ref name=&amp;quot;therm exp&amp;quot;/&amp;gt;. This thermal expansion is indicated by the Coefficient of Linear Thermal Expansion (CTE). Uniform linear objects have a thermal expansion proportional to temperate over a small range of temperatures. The equation used to calculate the linear CTE is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;=linear CTE, &amp;lt;math&amp;gt;{L_0}&amp;lt;/math&amp;gt;=lattice constant at 0K and &amp;lt;math&amp;gt;dL/dT&amp;lt;/math&amp;gt;=rate of change of lattice constant with respect to temperature&lt;br /&gt;
&lt;br /&gt;
A volumetric CTE can also be calculated using the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt;=volumetric CTE, &amp;lt;math&amp;gt;{V}&amp;lt;/math&amp;gt;= volume and &amp;lt;math&amp;gt;\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;= partial derivative of volume with respect to temperature at constant pressure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Quasi-harmonic Approximation: ===&lt;br /&gt;
[[File:Task_4_graph_1.png|300px|thumb|left|Graph 2: A graph to show how the free energy of MgO changes with temperature]]&lt;br /&gt;
[[File:Task_4_graph_2.png|300px|thumb|right|Graph 3: A graph to show how the lattice constant of MgO changes with temperature]]&lt;br /&gt;
Using the 32x32x32 grid size of MgO the free energy was then optimised. The optimisation opts was set to optimise Gibbs Free Energy and the temperature was varied from 0 - 1000K. The free energy decreases with increasing temperature in a parabolic fashion to the order of 2. This negative correlation can be explained using the equation for Gibbs Free Energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G=H-TS&amp;lt;/math&amp;gt; where G=Gibbs Free Energy, H=Enthalpy, T=Temperature and S=Entropy&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Increasing the temperature decreases the TS term therefore decreasing the Gibbs Free Energy.&lt;br /&gt;
&lt;br /&gt;
The lattice constant increases in a parabolic fashion to the order of 2 with increasing temperature due to the thermal expansion.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Calculation of CTE: ====&lt;br /&gt;
Coefficient of Linear Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{2.9894}\,\frac{3.0056-2.9894}{1000}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=5.419\times10^{-6}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Coefficient of Volumetric Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{26.71481005}\,\left(\frac{27.15148242-26.71481005}{1000}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V=1.634\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It can be seen that the α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt; is 3.015 times that of the α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;. This is because MgO expands at the same rate in all three directions in three-dimensions, it is an isotropic compound. The CFE values are close to those found in literature at &amp;lt;math&amp;gt;\alpha_L=7.88\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=2.36\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; which were calculated using a temperature range close to that used in this experiment at 301.15-1273.15 K&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;/&amp;gt; (results from experiment give &amp;lt;math&amp;gt;\alpha_L=5.789\times10^{-6}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=1.747\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; if calculated from 300-1000K).&lt;br /&gt;
&lt;br /&gt;
The main approximation in the calculations of the thermal expansion is to do with the anharmonic contributions to the harmonic approximation. In order to simplify, the phonon frequencies are set to be volume dependent and so at a higher temperature the anharmonic factor increases. The Born-Oppenheimer Approximation, which assumes that the motion of atomic nuclei and electrons in a molecule can be separated, is another assumption.&lt;br /&gt;
&lt;br /&gt;
This approximation cannot be used when the temperature approaches that of the melting point of MgO due to the new lattice parameters. Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; begin to behave as separate ions as MgO begins to melt and becomes molten. Therefore the quasi-harmonic approximation cannot be used as it only takes into account linear movement.&lt;br /&gt;
&lt;br /&gt;
For a diatomic molecule with an exactly harmonic potential the bond is not allowed to break and the bond length is fixed around that of its equilibrium length. Therefore the lattice constant will only increase up to a distance just prior to bond cleavage. However, in these calculations the quasi-harmonic approximation allows the bonds to break within MgO and so the lattice constant can, in theory, increase to infinity.&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamics: ===&lt;br /&gt;
[[File:32_structure_dhl.png|300px|thumb|left|Figure 9: 32 unit MgO structure used for MD calculations]]&lt;br /&gt;
[[File:32_random_dhl.png|300px|thumb|right|Figure 10: 32 unit MgO structure post MD calculations]]&lt;br /&gt;
For the final section of this experiment the thermal expansion of MgO was once again calculated, but this time using the molecular dynamics method. This method allows the system to evolve according to Newton&#039;s Second Law &amp;lt;math&amp;gt; F= ma&amp;lt;/math&amp;gt;. The ensemble used was NPT, meaning the amount of substance, the pressure and the temperature were all set to be constant. The timestep at which the vibrations to be sampled was set to be 1 femtosecond (fs) and the number of equilibration steps and production steps were set to 500, with the temperature being avried from 100-1000K. When the number of sampled configurations are sufficiently large, the average calculated is representative for the time averaged system obeying the ergodic hypothesis. A structure containing 32 units and therefore 64 atoms was used in this calculation (Fig 9), and in order to compare the volumes between the quasi-harmonic approximation and the molecular dynamics method, the volumes produced were divided by 32.&lt;br /&gt;
[[File:MD_and_QH_comparison.png|300px|thumb|right|Graph 4: Comparison of Cell Volume change between QHA and MD]]&lt;br /&gt;
It can be seen that both methods show the same trend, that of the volume increasing with increasing temperature, however throughout the whole temperature range the QHA cell volume values are slightly higher than the MD values.. The QHA becomes the exact same linear trend as the MD results at 400-1000K. At these temperatures the Coefficient of Volumetric Thermal Expansion are very similar:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_VQHA=1.730\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_VMD=1.824\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the range of 0-400K there is little anharmonicity and so the QHA predicts the thermal expansion more accurately and produces the curved graph. The MD method does not predict this trend at lower temperatures and can only predict a linear trend for the thermal expansion of MgO. The QHA graph is more similar to that found in literature than the MD graph&amp;lt;ref name=&amp;quot;Thermal Expansion graph&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The 32 unit structure used for the MD calculations is a 2x2x2 lattice of the conventional unit cell. This is a lot smaller than the size used to compute the thermal expansion of MgO using the QHA, and therefore, to have accurate results from the MD method, a larger size should be used.&lt;br /&gt;
&lt;br /&gt;
The MD method allows movement in three dimensions whereas the QHA only allows movement in one dimension. Therefore, at higher temperatures it is expected that the MD method will give much higher volumes than the QHA.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Conclusion&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
The free energy and phonon dispersions were successfully computed for MgO, and the thermal expansion studied using the QHA and the MD method. All results tended to agree with literature values well and it was found that the QHA gave a more realistic trend for the change in cell volume with respect to temperature at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;References&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;&amp;gt; X. Wu, W. Li, W. Rui. Effect of temperature on elastic constants, generalized stacking fault energy and dislocation cores in MgO and CaO. &#039;&#039;Computational Condensed Matter&#039;&#039;. 2014: 38-44. Available from: DOI: 10.1016/j.cocom.2014.10.005&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Zeolite&amp;quot;&amp;gt; J. A Kaduk, J. Faber. Crystal Structure of Zeolite Y as a function of Ion Exchange. &#039;&#039;The Rigaku Journal&#039;&#039;. 1995;12: 14. Available from: http://www.rigaku.com/downloads/journal/Vol12.2.1995/kaduk.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Lithium&amp;quot;&amp;gt; M. R. Nadler, C. P Kempter. Crystallographic Data 186. Lithium. &#039;&#039;Analytical Chemistry&#039;&#039;. 1959;31:2109. Available from: &lt;br /&gt;
DOI: 10.1021/ac60156a007&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;&amp;gt; D. K. Smith, H. R. Leider. Low-Temperature Thermal Expansion of LiH, MgO and CaO. &#039;&#039;Journal of Applied Crystallography&#039;&#039;. 1968;1: 246-249. Available from: DOI: 10.1107/S0021889868005418&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;&amp;gt; J. F. W. Bowles, R. A. Howie, D. J. Vaughan, J. Zussman. Rock-forming Minerals: Non-silicates: oxides, hydroxides and sulphides 2nd ed. London: The Geological Society;2011 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion graph&amp;quot;&amp;gt; L.S. Dubrovinsky, S.K. Saxena. Thermal Expansion of Periclase (MgO) and Tungsten (W)to Melting Temperatures. &#039;&#039;Physics and Chemistry of Minerals&#039;&#039;. 1999;24(8): 547-550. Available from: DOI: 10.1007/s002690050070&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Studies in molecular dynamics&amp;quot;&amp;gt; B. J. Alder, T. E. Wainwright. Studies in Molecular Dynamics. I. General Method. &#039;&#039;The Journal of Chemical Physics&#039;&#039;. 1959;31: 459-466. Available from: DOI:10.1063/1.1730376&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;therm exp&amp;quot;&amp;gt; P. A. Tipler, G. Mosca. Physics for Scientists and Engineers, Volume 1, 6th ed. New York: Worth Publisher;2008&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Appendix&amp;lt;/u&amp;gt; ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Grid Size !! Helmholtz Free Energy (eV)!! Accuracy (meV)&lt;br /&gt;
|-&lt;br /&gt;
| 1x1x1 || -40.9303|| 4&lt;br /&gt;
|-&lt;br /&gt;
| 2x2x2 || -40.9266|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 3x3x3 || -40.9264|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 8x8x8 || -40.9265|| 0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16x16x16 || -40.9265|| 0.001&lt;br /&gt;
|-&lt;br /&gt;
| 32x32x32 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 40x40x40 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 50x50x50 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;3&amp;quot; |Table 1: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Grid Size&lt;br /&gt;
&lt;br /&gt;
(Computing Free Energy)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Helmholtz Free Energy (eV)&lt;br /&gt;
|-&lt;br /&gt;
| 0 || -40.9019        &lt;br /&gt;
|-&lt;br /&gt;
| 100 || -40.9024&lt;br /&gt;
|-&lt;br /&gt;
| 200 || -40.9094&lt;br /&gt;
|-&lt;br /&gt;
| 300 || -40.9281&lt;br /&gt;
|-&lt;br /&gt;
| 400 || -40.9585&lt;br /&gt;
|-&lt;br /&gt;
| 500 || -40.9994&lt;br /&gt;
|-&lt;br /&gt;
| 600 || -41.0493&lt;br /&gt;
|-&lt;br /&gt;
| 700 || -41.1071&lt;br /&gt;
|-&lt;br /&gt;
| 800 || -41.1719&lt;br /&gt;
|-&lt;br /&gt;
| 900 || -41.2440&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || -41.3198&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 2: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Temperature&lt;br /&gt;
&lt;br /&gt;
(Quasi-harmonic Approximation)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Lattice Constant (Å)&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 2.9894      &lt;br /&gt;
|-&lt;br /&gt;
| 100 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 300 || 2.9883&lt;br /&gt;
|-&lt;br /&gt;
| 400 || 2.9894&lt;br /&gt;
|-&lt;br /&gt;
| 500 || 2.9916&lt;br /&gt;
|-&lt;br /&gt;
| 600 || 2.9941&lt;br /&gt;
|-&lt;br /&gt;
| 700 || 2.9968&lt;br /&gt;
|-&lt;br /&gt;
| 800 || 2.9996&lt;br /&gt;
|-&lt;br /&gt;
| 900 || 3.0026&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 3.0056&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 3: Raw Data showing change in&lt;br /&gt;
Lattice Constant with Temperature&lt;br /&gt;
&lt;br /&gt;
(Quasi-harmonic Approximation)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Volume (Å&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| 100 || 18.7348    &lt;br /&gt;
|-&lt;br /&gt;
| 200 || 18.7833&lt;br /&gt;
|-&lt;br /&gt;
| 300 || 18.8348&lt;br /&gt;
|-&lt;br /&gt;
| 400 || 18.8940&lt;br /&gt;
|-&lt;br /&gt;
| 500 || 18.9476&lt;br /&gt;
|-&lt;br /&gt;
| 600 || 19.0052&lt;br /&gt;
|-&lt;br /&gt;
| 700 || 19.0652&lt;br /&gt;
|-&lt;br /&gt;
| 800 || 19.1282&lt;br /&gt;
|-&lt;br /&gt;
| 900 || 19.1894&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 19.1894&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 4: Raw Data showing change in&lt;br /&gt;
Volume with Temperature&lt;br /&gt;
&lt;br /&gt;
(Molecular Dynamics)&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dl2613</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=552330</id>
		<title>Rep:Mod:Dl2613</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=552330"/>
		<updated>2016-03-10T15:24:37Z</updated>

		<summary type="html">&lt;p&gt;Dl2613: /* Molecular Dynamics: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== &amp;lt;u&amp;gt;Introduction&amp;lt;/u&amp;gt; ==&lt;br /&gt;
The aim of this experiment was to use a simple model of atomic interactions to calculate the energy and vibrations of a crystal of MgO. This was then used to compute the free energy, phonon dispersions and to predict how MgO expands when heated. The quasi-harmonic approximation (QHA) and molecular dynamics methods were used to do these calculations.&lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon based model of solid-state physics and can describe volume-dependant thermal effects of structures, such as the MgO crystal. This assumption assumes that for every lattice value the harmonic oscillator assumption is true. MD is a type of N-body simulation, it allows atoms and molecules to interact for a fixed period of time showing the dynamics of a system. In this experiment the MD was run on an isothermal-isobaric (NPT) ensemble in which the amount of substance, pressure and temperature are fixed. MD allows motion in three dimensions&amp;lt;ref name=&amp;quot;Studies in molecular dynamics&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The software used for this experiment was RedHat Linux. DLVisualize (DLV) was used for the visualisation of the structure and properties of the MgO crystal. General Utility Lattice Program (GULP) is a supporting interface of DLV and was used to perform analytical solutions on MgO through the use of lattice dynamics.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Internal Energy Calculation on MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Better_unit_cell.png|300px|thumb|right|Figure 1: MgO Primitive Unit Cell]]&lt;br /&gt;
In this first exercise the internal energy and structure of MgO was calculated using GULP from the primitive unit cell of the crystal (Fig 1). An ionic potential model was used, without shells included and at a single point. The primitive unit cell is the simplest cell to describe the crystal structure of MgO and contains 2 atoms. The lattice vectors of this cell are:&lt;br /&gt;
&lt;br /&gt;
0.000   2.106   2.106&lt;br /&gt;
&lt;br /&gt;
2.106   0.000   2.106&lt;br /&gt;
&lt;br /&gt;
2.106   2.106   0.000&lt;br /&gt;
&lt;br /&gt;
From the [[Media:MgO_0_DHL.out| log file]] it can be seen that the lattice parameters are defined by the length 2.978Å and the angle 60º, giving the primitive unit cell the shape of a rhombohedron. Each primitive cell was calculated to have an energy of -40.08 eV and this corresponds to the binding energy of the crystal. The primitive cell can be used to build up a lattice by repeating its structure.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Calculation of phonon modes of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Computing the Phonon Dispersion Curves: ===&lt;br /&gt;
[[File:MgO_Phonon_Dispersion_DHL.png|300px|thumb|left|Figure 2: MgO Phonon Dispersion]]&lt;br /&gt;
The phonon frequencies were then computed along the symmetry points &amp;lt;math&amp;gt;W, L, G, W, X, K&amp;lt;/math&amp;gt; in k space. The calculation was set up for 50 Npoints with phonon eigenvectors included in the calculation. For a 3D crystal of diatomic molecules with two atom types, six vibration modes are observed in the phonon dispersion curves (Fig 2). A positive dispersion relation results in optical modes and a negative dispersion relation results in acoustic modes. Two adjacent different atoms move with each other in the optical mode, but move against each other in the acoustic mode. The acoustic modes equal 0   cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;  at the point Γ whereas the optical modes do not. It can be seen that there are three acoustic modes and three optical modes. The three acoustic modes can be split into one longitudinal acoustic mode and two transverse acoustic modes. The two transverse modes become degenerate between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;. The phonon dispersion curve agrees with that found in literature&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== The Phonon Density of States: ===&lt;br /&gt;
A simpler energy level diagram than the phonon dispersion relation is the density of states (DOS). The DOS is an average over the time and space demains of the MgO system and was calculated for the phonons as a function of the wave vector k. The dimensional limits of the MgO crystal affects the DOS and therefore it is expected that the DOS will change with the grid size of the MgO crystal.&lt;br /&gt;
&lt;br /&gt;
To begin with the DOS calculation was ran on a 1x1x1 grid, corresponding to a single k point. Comparison between Figure 2 and 3 shows that the single k point is the symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The frequencies of the phonon dispersions are identical in the two graphs. Four peaks instead of six are observed due to the fact that 2 pairs of modes become degenerate between &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. These degenerate modes correspond to the peaks between 250 and 400 cm &amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, explaining why those peaks are double the intensity of the high frequency peaks. It can been seen that a grid size of 1x1x1 is not a good representative of the DOS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_Phonon_DOS_DHL.png|300px|none|thumb|left|Figure 3: MgO Phonon DOS 1x1x1]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_3x3x3_DHL.png|300px|none|thumb|middle|Figure 4: MgO Phonon DOS 3x3x3]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_8x8x8_DHL.png|300px|none|thumb|middle|Figure 5: MgO Phonon DOS 8x8x8]]&lt;br /&gt;
|}&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_phonon_DOS_16x16x16_DHL.png|300px|none|thumb|left|Figure 6: MgO Phonon DOS 16x16x16]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_32x32x32_DHL.png|300px|none|thumb|left|Figure 7: MgO Phonon DOS 32x32x32]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_40x40x40_DHL.png|300px|none|thumb|middle|Figure 8: MgO Phonon DOS 40x40x40]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Several grid sizes were investigated up to 50x50x50 to find a compromise between an accurate DOS and the time taken to run the calculation. As the grid size is increased a more true depiction of the DOS is obtained for the MgO structure. Increasing the grid size increases the number of peaks and then changes the graph from random sharp intensities to a smoother curve. However, the highest intensity point remains at 400 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; throughout all grid sizes and the higher frequencies having lower intensities. The bigger the grid size, the more k points that are sampled and the more representative the DOS plots. It can be seen in the figures above that the DOS curve is unchanged between 32x32x32 and 40x40x40, however, the running time increases greatly for the 40x40x40 grid size. Therefore, it was decided that the 32x32x32 grid size was the optimum and was used in further calculations.&lt;br /&gt;
&lt;br /&gt;
The size of the grid set in the calculations is inversely related to the size of the structure in real space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This equation shows that the bigger a* (size of grid in k space) the smaller a (size of cell in real space). Therefore the bigger the cell in real space, the smaller the grid size needed for the calculation of DOS. This means that a similar oxide such as CaO will require a similar grid size as MgO for the calculation of DOS. Faujasite, a zeolite, has a lattice parameter in the range 24.2 - 25.1 Å &amp;lt;ref name=&amp;quot;Zeolite&amp;quot;/&amp;gt; and would therefore need a small grid size for the DOS calculation. Lithium, a small metal, has a lattice parameter of 3.51 Å &amp;lt;ref name=&amp;quot;Lithium&amp;quot;/&amp;gt; and would therefore need a large grid size for the DOS calculation to represent its small cell size in real space.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Computing the Free Energy&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Task_3_graph.png|300px|thumb|right|Graph 1: A Graph to show how the Free Energy changes with Grid Size]]&lt;br /&gt;
The Helmholtz Free Energy of MgO was then computed using the quasi-harmonic approximation on the same grid sizes as in the previous section at a temperature of 300K. Helmholtz Free Energy is given by the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A=Helmholtz Free Energy, U=Internal Energy, S=Entropy and T=Temperature&lt;br /&gt;
&lt;br /&gt;
This states that the Helmholtz Free Energy should increase with increasing internal energy and decreasing temperature and entropy. This said, the Helmholtz Free Energy should decrease with increasing grid size. This can be explained with the aid of the following statistical mechanics equation of entropy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt; where S=Entropy, k=Boltzmann Constant and W=number of microstates&lt;br /&gt;
&lt;br /&gt;
As the grid size increases the number of microstates sampled also increases. This in turn increases the entropy and decreases the TS term in the Helmholtz Free Energy equation. The decrease in Helmholtz Free Energy can be further explained using the following equation of internal energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt; where U=internal Energy, H=Enthalpy, P=Pressure and V=Volume&lt;br /&gt;
&lt;br /&gt;
As the grid size increases so does its volume, therefore decreasing the internal energy. This further decreases the Helmholtz Free Energy. It can be seen in Graph 1 that initially the Helmholtz Free Energy increases with grid size from 1x1x1 to 3x3x3 and then begins to follow the expected trend and decrease with increasing grid size. Table 1 shows that the accuracy of the Helmholtz Free Energy increases with grid size.&lt;br /&gt;
The Helmholtz Free Energy converges to a value of -40.93 eV, with the 32x32x32 grid size being the most appropriate to run calculations from, providing the correct Helmholtz Free Energy and a suitable length of time to run the calculation.&lt;br /&gt;
&lt;br /&gt;
For CaO, a similar sized crystal to MgO (lattice constant CaO = 4.811 Å, lattice constant MgO = 4.212 Å)&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;/&amp;gt;, a similar size grid will be required for the calculation of the Helmholtz Free Energy. Faujasite would require a smaller grid size due to its large lattice constant and lithium a larger grid size than MgO due to its small lattice constant.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;The Thermal Expansion of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Thermal expansion is the ability of matter to change size, volume and shape in a response to the change in temperature. When a substance is heated the molecules vibrate and begin to move more, and their average separation increases&amp;lt;ref name=&amp;quot;therm exp&amp;quot;/&amp;gt;. This thermal expansion is indicated by the Coefficient of Linear Thermal Expansion (CTE). Uniform linear objects have a thermal expansion proportional to temperate over a small range of temperatures. The equation used to calculate the linear CTE is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;=linear CTE, &amp;lt;math&amp;gt;{L_0}&amp;lt;/math&amp;gt;=lattice constant at 0K and &amp;lt;math&amp;gt;dL/dT&amp;lt;/math&amp;gt;=rate of change of lattice constant with respect to temperature&lt;br /&gt;
&lt;br /&gt;
A volumetric CTE can also be calculated using the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt;=volumetric CTE, &amp;lt;math&amp;gt;{V}&amp;lt;/math&amp;gt;= volume and &amp;lt;math&amp;gt;\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;= partial derivative of volume with respect to temperature at constant pressure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Quasi-harmonic Approximation: ===&lt;br /&gt;
[[File:Task_4_graph_1.png|300px|thumb|left|Graph 2: A graph to show how the free energy of MgO changes with temperature]]&lt;br /&gt;
[[File:Task_4_graph_2.png|300px|thumb|right|Graph 3: A graph to show how the lattice constant of MgO changes with temperature]]&lt;br /&gt;
Using the 32x32x32 grid size of MgO the free energy was then optimised. The optimisation opts was set to optimise Gibbs Free Energy and the temperature was varied from 0 - 1000K. The free energy decreases with increasing temperature in a parabolic fashion to the order of 2. This negative correlation can be explained using the equation for Gibbs Free Energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G=H-TS&amp;lt;/math&amp;gt; where G=Gibbs Free Energy, H=Enthalpy, T=Temperature and S=Entropy&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Increasing the temperature decreases the TS term therefore decreasing the Gibbs Free Energy.&lt;br /&gt;
&lt;br /&gt;
The lattice constant increases in a parabolic fashion to the order of 2 with increasing temperature due to the thermal expansion.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Calculation of CTE: ====&lt;br /&gt;
Coefficient of Linear Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{2.9894}\,\frac{3.0056-2.9894}{1000}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=5.419\times10^{-6}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Coefficient of Volumetric Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{26.71481005}\,\left(\frac{27.15148242-26.71481005}{1000}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V=1.634\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It can be seen that the α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt; is 3.015 times that of the α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;. This is because MgO expands at the same rate in all three directions in three-dimensions, it is an isotropic compound. The CFE values are close to those found in literature at &amp;lt;math&amp;gt;\alpha_L=7.88\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=2.36\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; which were calculated using a temperature range close to that used in this experiment at 301.15-1273.15 K&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;/&amp;gt; (results from experiment give &amp;lt;math&amp;gt;\alpha_L=5.789\times10^{-6}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=1.747\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; if calculated from 300-1000K).&lt;br /&gt;
&lt;br /&gt;
The main approximation in the calculations of the thermal expansion is to do with the anharmonic contributions to the harmonic approximation. In order to simplify, the phonon frequencies are set to be volume dependent and so at a higher temperature the anharmonic factor increases. The Born-Oppenheimer Approximation, which assumes that the motion of atomic nuclei and electrons in a molecule can be separated, is another assumption.&lt;br /&gt;
&lt;br /&gt;
This approximation cannot be used when the temperature approaches that of the melting point of MgO due to the new lattice parameters. Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; begin to behave as separate ions as MgO begins to melt and becomes molten. Therefore the quasi-harmonic approximation cannot be used as it only takes into account linear movement.&lt;br /&gt;
&lt;br /&gt;
For a diatomic molecule with an exactly harmonic potential the bond is not allowed to break and the bond length is fixed around that of its equilibrium length. Therefore the lattice constant will only increase up to a distance just prior to bond cleavage. However, in these calculations the quasi-harmonic approximation allows the bonds to break within MgO and so the lattice constant can, in theory, increase to infinity.&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamics: ===&lt;br /&gt;
[[File:32_structure_dhl.png|300px|thumb|left|Figure 9: 32 unit MgO structure used for MD calculations]]&lt;br /&gt;
[[File:32_random_dhl.png|300px|thumb|right|Figure 10: 32 unit MgO structure post MD calculations]]&lt;br /&gt;
For the final section of this experiment the thermal expansion of MgO was once again calculated, but this time using the molecular dynamics method. This method allows the system to evolve according to Newton&#039;s Second Law &amp;lt;math&amp;gt; F= ma&amp;lt;/math&amp;gt;. The ensemble used was NPT, meaning the amount of substance, the pressure and the temperature were all set to be constant. The timestep at which the vibrations to be sampled was set to be 1 femtosecond (fs) and the number of equilibration steps and production steps were set to 500, with the temperature being avried from 100-1000K. When the number of sampled configurations are sufficiently large, the average calculated is representative for the time averaged system obeying the ergodic hypothesis. A structure containing 32 units and therefore 64 atoms was used in this calculation (Fig 9), and in order to compare the volumes between the quasi-harmonic approximation and the molecular dynamics method, the volumes produced were divided by 32.&lt;br /&gt;
[[File:MD_and_QH_comparison.png|300px|thumb|right|Graph 4: Comparison of Cell Volume change between QHA and MD]]&lt;br /&gt;
It can be seen that both methods show the same trend, that of the volume increasing with increasing temperature, however throughout the whole temperature range the QHA cell volume values are slightly higher than the MD values.. The QHA becomes the exact same linear trend as the MD results at 400-1000K. At these temperatures the Coefficient of Volumetric Thermal Expansion are very similar:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_VQHA=1.730\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_VMD=1.824\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the range of 0-400K there is little anharmonicity and so the QHA predicts the thermal expansion more accurately and produces the curved graph. The MD method does not predict this trend at lower temperatures and can only predict a linear trend for the thermal expansion of MgO. The QHA graph is more similar to that found in literature than the MD graph&amp;lt;ref name=&amp;quot;Thermal Expansion graph&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The 32 unit structure used for the MD calculations is a 2x2x2 lattice of the conventional unit cell. This is a lot smaller than the size used to compute the thermal expansion of MgO using the QHA, and therefore, to have accurate results from the MD method, a larger size should be used.&lt;br /&gt;
&lt;br /&gt;
The MD method allows movement in three dimensions whereas the QHA only allows movement in one dimension. Therefore, at higher temperatures it is expected that the MD method will give much higher volumes than the QHA.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Conclusion&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
The free energy and phonon dispersions were successfully computed for MgO, and the thermal expansion studied using the QHA and the MD method. All results tended to agree with literature values well and it was found that the QHA gave a more realistic trend for the change in cell volume with respect to temperature at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;References&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;&amp;gt; X. Wu, W. Li, W. Rui. Effect of temperature on elastic constants, generalized stacking fault energy and dislocation cores in MgO and CaO. &#039;&#039;Computational Condensed Matter&#039;&#039;. 2014: 38-44. Available from: DOI: 10.1016/j.cocom.2014.10.005&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Zeolite&amp;quot;&amp;gt; J. A Kaduk, J. Faber. Crystal Structure of Zeolite Y as a function of Ion Exchange. &#039;&#039;The Rigaku Journal&#039;&#039;. 1995;12: 14. Available from: http://www.rigaku.com/downloads/journal/Vol12.2.1995/kaduk.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Lithium&amp;quot;&amp;gt; M. R. Nadler, C. P Kempter. Crystallographic Data 186. Lithium. &#039;&#039;Analytical Chemistry&#039;&#039;. 1959;31:2109. Available from: &lt;br /&gt;
DOI: 10.1021/ac60156a007&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;&amp;gt; D. K. Smith, H. R. Leider. Low-Temperature Thermal Expansion of LiH, MgO and CaO. &#039;&#039;Journal of Applied Crystallography&#039;&#039;. 1968;1: 246-249. Available from: DOI: 10.1107/S0021889868005418&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;&amp;gt; J. F. W. Bowles, R. A. Howie, D. J. Vaughan, J. Zussman. Rock-forming Minerals: Non-silicates: oxides, hydroxides and sulphides 2nd ed. London: The Geological Society;2011 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion graph&amp;quot;&amp;gt; L.S. Dubrovinsky, S.K. Saxena. Thermal Expansion of Periclase (MgO) and Tungsten (W)to Melting Temperatures. &#039;&#039;Physics and Chemistry of Minerals&#039;&#039;. 1999;24(8): 547-550. Available from: DOI: 10.1007/s002690050070&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Studies in molecular dynamics&amp;quot;&amp;gt; B. J. Alder, T. E. Wainwright. Studies in Molecular Dynamics. I. General Method. &#039;&#039;The Journal of Chemical Physics&#039;&#039;. 1959;31: 459-466. Available from: DOI:10.1063/1.1730376&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;therm exp&amp;quot;&amp;gt; P. A. Tipler, G. Mosca. Physics for Scientists and Engineers, Volume 1, 6th ed. New York: Worth Publisher;2008&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Appendix&amp;lt;/u&amp;gt; ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Grid Size !! Helmholtz Free Energy (eV)!! Accuracy (meV)&lt;br /&gt;
|-&lt;br /&gt;
| 1x1x1 || -40.9303|| 4&lt;br /&gt;
|-&lt;br /&gt;
| 2x2x2 || -40.9266|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 3x3x3 || -40.9264|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 8x8x8 || -40.9265|| 0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16x16x16 || -40.9265|| 0.001&lt;br /&gt;
|-&lt;br /&gt;
| 32x32x32 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 40x40x40 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 50x50x50 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;3&amp;quot; |Table 1: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Grid Size&lt;br /&gt;
&lt;br /&gt;
(Computing Free Energy)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Helmholtz Free Energy (eV)&lt;br /&gt;
|-&lt;br /&gt;
| 0 || -40.9019        &lt;br /&gt;
|-&lt;br /&gt;
| 100 || -40.9024&lt;br /&gt;
|-&lt;br /&gt;
| 200 || -40.9094&lt;br /&gt;
|-&lt;br /&gt;
| 300 || -40.9281&lt;br /&gt;
|-&lt;br /&gt;
| 400 || -40.9585&lt;br /&gt;
|-&lt;br /&gt;
| 500 || -40.9994&lt;br /&gt;
|-&lt;br /&gt;
| 600 || -41.0493&lt;br /&gt;
|-&lt;br /&gt;
| 700 || -41.1071&lt;br /&gt;
|-&lt;br /&gt;
| 800 || -41.1719&lt;br /&gt;
|-&lt;br /&gt;
| 900 || -41.2440&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || -41.3198&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 2: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Temperature&lt;br /&gt;
&lt;br /&gt;
(Quasi-harmonic Approximation)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Lattice Constant&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 2.9894      &lt;br /&gt;
|-&lt;br /&gt;
| 100 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 300 || 2.9883&lt;br /&gt;
|-&lt;br /&gt;
| 400 || 2.9894&lt;br /&gt;
|-&lt;br /&gt;
| 500 || 2.9916&lt;br /&gt;
|-&lt;br /&gt;
| 600 || 2.9941&lt;br /&gt;
|-&lt;br /&gt;
| 700 || 2.9968&lt;br /&gt;
|-&lt;br /&gt;
| 800 || 2.9996&lt;br /&gt;
|-&lt;br /&gt;
| 900 || 3.0026&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 3.0056&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 3: Raw Data showing change in&lt;br /&gt;
Lattice Constant with Temperature&lt;br /&gt;
&lt;br /&gt;
(Quasi-harmonic Approximation)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Lattice Constant&lt;br /&gt;
|-&lt;br /&gt;
| 100 || 18.7348    &lt;br /&gt;
|-&lt;br /&gt;
| 200 || 18.7833&lt;br /&gt;
|-&lt;br /&gt;
| 300 || 18.8348&lt;br /&gt;
|-&lt;br /&gt;
| 400 || 18.8940&lt;br /&gt;
|-&lt;br /&gt;
| 500 || 18.9476&lt;br /&gt;
|-&lt;br /&gt;
| 600 || 19.0052&lt;br /&gt;
|-&lt;br /&gt;
| 700 || 19.0652&lt;br /&gt;
|-&lt;br /&gt;
| 800 || 19.1282&lt;br /&gt;
|-&lt;br /&gt;
| 900 || 19.1894&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 19.1894&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 4: Raw Data showing change in&lt;br /&gt;
Volume with Temperature&lt;br /&gt;
&lt;br /&gt;
(Molecular Dynamics)&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dl2613</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=552326</id>
		<title>Rep:Mod:Dl2613</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=552326"/>
		<updated>2016-03-10T15:24:21Z</updated>

		<summary type="html">&lt;p&gt;Dl2613: /* Molecular Dynamics: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== &amp;lt;u&amp;gt;Introduction&amp;lt;/u&amp;gt; ==&lt;br /&gt;
The aim of this experiment was to use a simple model of atomic interactions to calculate the energy and vibrations of a crystal of MgO. This was then used to compute the free energy, phonon dispersions and to predict how MgO expands when heated. The quasi-harmonic approximation (QHA) and molecular dynamics methods were used to do these calculations.&lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon based model of solid-state physics and can describe volume-dependant thermal effects of structures, such as the MgO crystal. This assumption assumes that for every lattice value the harmonic oscillator assumption is true. MD is a type of N-body simulation, it allows atoms and molecules to interact for a fixed period of time showing the dynamics of a system. In this experiment the MD was run on an isothermal-isobaric (NPT) ensemble in which the amount of substance, pressure and temperature are fixed. MD allows motion in three dimensions&amp;lt;ref name=&amp;quot;Studies in molecular dynamics&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The software used for this experiment was RedHat Linux. DLVisualize (DLV) was used for the visualisation of the structure and properties of the MgO crystal. General Utility Lattice Program (GULP) is a supporting interface of DLV and was used to perform analytical solutions on MgO through the use of lattice dynamics.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Internal Energy Calculation on MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Better_unit_cell.png|300px|thumb|right|Figure 1: MgO Primitive Unit Cell]]&lt;br /&gt;
In this first exercise the internal energy and structure of MgO was calculated using GULP from the primitive unit cell of the crystal (Fig 1). An ionic potential model was used, without shells included and at a single point. The primitive unit cell is the simplest cell to describe the crystal structure of MgO and contains 2 atoms. The lattice vectors of this cell are:&lt;br /&gt;
&lt;br /&gt;
0.000   2.106   2.106&lt;br /&gt;
&lt;br /&gt;
2.106   0.000   2.106&lt;br /&gt;
&lt;br /&gt;
2.106   2.106   0.000&lt;br /&gt;
&lt;br /&gt;
From the [[Media:MgO_0_DHL.out| log file]] it can be seen that the lattice parameters are defined by the length 2.978Å and the angle 60º, giving the primitive unit cell the shape of a rhombohedron. Each primitive cell was calculated to have an energy of -40.08 eV and this corresponds to the binding energy of the crystal. The primitive cell can be used to build up a lattice by repeating its structure.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Calculation of phonon modes of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Computing the Phonon Dispersion Curves: ===&lt;br /&gt;
[[File:MgO_Phonon_Dispersion_DHL.png|300px|thumb|left|Figure 2: MgO Phonon Dispersion]]&lt;br /&gt;
The phonon frequencies were then computed along the symmetry points &amp;lt;math&amp;gt;W, L, G, W, X, K&amp;lt;/math&amp;gt; in k space. The calculation was set up for 50 Npoints with phonon eigenvectors included in the calculation. For a 3D crystal of diatomic molecules with two atom types, six vibration modes are observed in the phonon dispersion curves (Fig 2). A positive dispersion relation results in optical modes and a negative dispersion relation results in acoustic modes. Two adjacent different atoms move with each other in the optical mode, but move against each other in the acoustic mode. The acoustic modes equal 0   cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;  at the point Γ whereas the optical modes do not. It can be seen that there are three acoustic modes and three optical modes. The three acoustic modes can be split into one longitudinal acoustic mode and two transverse acoustic modes. The two transverse modes become degenerate between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;. The phonon dispersion curve agrees with that found in literature&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== The Phonon Density of States: ===&lt;br /&gt;
A simpler energy level diagram than the phonon dispersion relation is the density of states (DOS). The DOS is an average over the time and space demains of the MgO system and was calculated for the phonons as a function of the wave vector k. The dimensional limits of the MgO crystal affects the DOS and therefore it is expected that the DOS will change with the grid size of the MgO crystal.&lt;br /&gt;
&lt;br /&gt;
To begin with the DOS calculation was ran on a 1x1x1 grid, corresponding to a single k point. Comparison between Figure 2 and 3 shows that the single k point is the symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The frequencies of the phonon dispersions are identical in the two graphs. Four peaks instead of six are observed due to the fact that 2 pairs of modes become degenerate between &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. These degenerate modes correspond to the peaks between 250 and 400 cm &amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, explaining why those peaks are double the intensity of the high frequency peaks. It can been seen that a grid size of 1x1x1 is not a good representative of the DOS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_Phonon_DOS_DHL.png|300px|none|thumb|left|Figure 3: MgO Phonon DOS 1x1x1]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_3x3x3_DHL.png|300px|none|thumb|middle|Figure 4: MgO Phonon DOS 3x3x3]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_8x8x8_DHL.png|300px|none|thumb|middle|Figure 5: MgO Phonon DOS 8x8x8]]&lt;br /&gt;
|}&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_phonon_DOS_16x16x16_DHL.png|300px|none|thumb|left|Figure 6: MgO Phonon DOS 16x16x16]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_32x32x32_DHL.png|300px|none|thumb|left|Figure 7: MgO Phonon DOS 32x32x32]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_40x40x40_DHL.png|300px|none|thumb|middle|Figure 8: MgO Phonon DOS 40x40x40]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Several grid sizes were investigated up to 50x50x50 to find a compromise between an accurate DOS and the time taken to run the calculation. As the grid size is increased a more true depiction of the DOS is obtained for the MgO structure. Increasing the grid size increases the number of peaks and then changes the graph from random sharp intensities to a smoother curve. However, the highest intensity point remains at 400 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; throughout all grid sizes and the higher frequencies having lower intensities. The bigger the grid size, the more k points that are sampled and the more representative the DOS plots. It can be seen in the figures above that the DOS curve is unchanged between 32x32x32 and 40x40x40, however, the running time increases greatly for the 40x40x40 grid size. Therefore, it was decided that the 32x32x32 grid size was the optimum and was used in further calculations.&lt;br /&gt;
&lt;br /&gt;
The size of the grid set in the calculations is inversely related to the size of the structure in real space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This equation shows that the bigger a* (size of grid in k space) the smaller a (size of cell in real space). Therefore the bigger the cell in real space, the smaller the grid size needed for the calculation of DOS. This means that a similar oxide such as CaO will require a similar grid size as MgO for the calculation of DOS. Faujasite, a zeolite, has a lattice parameter in the range 24.2 - 25.1 Å &amp;lt;ref name=&amp;quot;Zeolite&amp;quot;/&amp;gt; and would therefore need a small grid size for the DOS calculation. Lithium, a small metal, has a lattice parameter of 3.51 Å &amp;lt;ref name=&amp;quot;Lithium&amp;quot;/&amp;gt; and would therefore need a large grid size for the DOS calculation to represent its small cell size in real space.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Computing the Free Energy&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Task_3_graph.png|300px|thumb|right|Graph 1: A Graph to show how the Free Energy changes with Grid Size]]&lt;br /&gt;
The Helmholtz Free Energy of MgO was then computed using the quasi-harmonic approximation on the same grid sizes as in the previous section at a temperature of 300K. Helmholtz Free Energy is given by the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A=Helmholtz Free Energy, U=Internal Energy, S=Entropy and T=Temperature&lt;br /&gt;
&lt;br /&gt;
This states that the Helmholtz Free Energy should increase with increasing internal energy and decreasing temperature and entropy. This said, the Helmholtz Free Energy should decrease with increasing grid size. This can be explained with the aid of the following statistical mechanics equation of entropy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt; where S=Entropy, k=Boltzmann Constant and W=number of microstates&lt;br /&gt;
&lt;br /&gt;
As the grid size increases the number of microstates sampled also increases. This in turn increases the entropy and decreases the TS term in the Helmholtz Free Energy equation. The decrease in Helmholtz Free Energy can be further explained using the following equation of internal energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt; where U=internal Energy, H=Enthalpy, P=Pressure and V=Volume&lt;br /&gt;
&lt;br /&gt;
As the grid size increases so does its volume, therefore decreasing the internal energy. This further decreases the Helmholtz Free Energy. It can be seen in Graph 1 that initially the Helmholtz Free Energy increases with grid size from 1x1x1 to 3x3x3 and then begins to follow the expected trend and decrease with increasing grid size. Table 1 shows that the accuracy of the Helmholtz Free Energy increases with grid size.&lt;br /&gt;
The Helmholtz Free Energy converges to a value of -40.93 eV, with the 32x32x32 grid size being the most appropriate to run calculations from, providing the correct Helmholtz Free Energy and a suitable length of time to run the calculation.&lt;br /&gt;
&lt;br /&gt;
For CaO, a similar sized crystal to MgO (lattice constant CaO = 4.811 Å, lattice constant MgO = 4.212 Å)&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;/&amp;gt;, a similar size grid will be required for the calculation of the Helmholtz Free Energy. Faujasite would require a smaller grid size due to its large lattice constant and lithium a larger grid size than MgO due to its small lattice constant.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;The Thermal Expansion of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Thermal expansion is the ability of matter to change size, volume and shape in a response to the change in temperature. When a substance is heated the molecules vibrate and begin to move more, and their average separation increases&amp;lt;ref name=&amp;quot;therm exp&amp;quot;/&amp;gt;. This thermal expansion is indicated by the Coefficient of Linear Thermal Expansion (CTE). Uniform linear objects have a thermal expansion proportional to temperate over a small range of temperatures. The equation used to calculate the linear CTE is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;=linear CTE, &amp;lt;math&amp;gt;{L_0}&amp;lt;/math&amp;gt;=lattice constant at 0K and &amp;lt;math&amp;gt;dL/dT&amp;lt;/math&amp;gt;=rate of change of lattice constant with respect to temperature&lt;br /&gt;
&lt;br /&gt;
A volumetric CTE can also be calculated using the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt;=volumetric CTE, &amp;lt;math&amp;gt;{V}&amp;lt;/math&amp;gt;= volume and &amp;lt;math&amp;gt;\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;= partial derivative of volume with respect to temperature at constant pressure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Quasi-harmonic Approximation: ===&lt;br /&gt;
[[File:Task_4_graph_1.png|300px|thumb|left|Graph 2: A graph to show how the free energy of MgO changes with temperature]]&lt;br /&gt;
[[File:Task_4_graph_2.png|300px|thumb|right|Graph 3: A graph to show how the lattice constant of MgO changes with temperature]]&lt;br /&gt;
Using the 32x32x32 grid size of MgO the free energy was then optimised. The optimisation opts was set to optimise Gibbs Free Energy and the temperature was varied from 0 - 1000K. The free energy decreases with increasing temperature in a parabolic fashion to the order of 2. This negative correlation can be explained using the equation for Gibbs Free Energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G=H-TS&amp;lt;/math&amp;gt; where G=Gibbs Free Energy, H=Enthalpy, T=Temperature and S=Entropy&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Increasing the temperature decreases the TS term therefore decreasing the Gibbs Free Energy.&lt;br /&gt;
&lt;br /&gt;
The lattice constant increases in a parabolic fashion to the order of 2 with increasing temperature due to the thermal expansion.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Calculation of CTE: ====&lt;br /&gt;
Coefficient of Linear Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{2.9894}\,\frac{3.0056-2.9894}{1000}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=5.419\times10^{-6}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Coefficient of Volumetric Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{26.71481005}\,\left(\frac{27.15148242-26.71481005}{1000}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V=1.634\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It can be seen that the α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt; is 3.015 times that of the α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;. This is because MgO expands at the same rate in all three directions in three-dimensions, it is an isotropic compound. The CFE values are close to those found in literature at &amp;lt;math&amp;gt;\alpha_L=7.88\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=2.36\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; which were calculated using a temperature range close to that used in this experiment at 301.15-1273.15 K&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;/&amp;gt; (results from experiment give &amp;lt;math&amp;gt;\alpha_L=5.789\times10^{-6}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=1.747\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; if calculated from 300-1000K).&lt;br /&gt;
&lt;br /&gt;
The main approximation in the calculations of the thermal expansion is to do with the anharmonic contributions to the harmonic approximation. In order to simplify, the phonon frequencies are set to be volume dependent and so at a higher temperature the anharmonic factor increases. The Born-Oppenheimer Approximation, which assumes that the motion of atomic nuclei and electrons in a molecule can be separated, is another assumption.&lt;br /&gt;
&lt;br /&gt;
This approximation cannot be used when the temperature approaches that of the melting point of MgO due to the new lattice parameters. Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; begin to behave as separate ions as MgO begins to melt and becomes molten. Therefore the quasi-harmonic approximation cannot be used as it only takes into account linear movement.&lt;br /&gt;
&lt;br /&gt;
For a diatomic molecule with an exactly harmonic potential the bond is not allowed to break and the bond length is fixed around that of its equilibrium length. Therefore the lattice constant will only increase up to a distance just prior to bond cleavage. However, in these calculations the quasi-harmonic approximation allows the bonds to break within MgO and so the lattice constant can, in theory, increase to infinity.&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamics: ===&lt;br /&gt;
[[File:32_structure_dhl.png|300px|thumb|left|Figure 9: 32 unit MgO structure used for MD calculations]]&lt;br /&gt;
[[File:32_random_dhl.png|300px|thumb|right|Figure 10: 32 unit MgO structure post MD calculations]]&lt;br /&gt;
For the final section of this experiment the thermal expansion of MgO was once again calculated, but this time using the molecular dynamics method. This method allows the system to evolve according to Newton&#039;s Second Law &amp;lt;math&amp;gt; F= ma&amp;lt;/math&amp;gt;. The ensemble used was NPT, meaning the amount of substance, the pressure and the temperature were all set to be constant. The timestep at which the vibrations to be sampled was set to be 1 femtosecond (fs) and the number of equilibration steps and production steps were set to 500, with the temperature being avried from 100-1000K. When the number of sampled configurations are sufficiently large, the average calculated is representative for the time averaged system obeying the ergodic hypothesis. A structure containing 32 units and therefore 64 atoms was used in this calculation (Fig 12), and in order to compare the volumes between the quasi-harmonic approximation and the molecular dynamics method, the volumes produced were divided by 32.&lt;br /&gt;
[[File:MD_and_QH_comparison.png|300px|thumb|right|Graph 4: Comparison of Cell Volume change between QHA and MD]]&lt;br /&gt;
It can be seen that both methods show the same trend, that of the volume increasing with increasing temperature, however throughout the whole temperature range the QHA cell volume values are slightly higher than the MD values.. The QHA becomes the exact same linear trend as the MD results at 400-1000K. At these temperatures the Coefficient of Volumetric Thermal Expansion are very similar:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_VQHA=1.730\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_VMD=1.824\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the range of 0-400K there is little anharmonicity and so the QHA predicts the thermal expansion more accurately and produces the curved graph. The MD method does not predict this trend at lower temperatures and can only predict a linear trend for the thermal expansion of MgO. The QHA graph is more similar to that found in literature than the MD graph&amp;lt;ref name=&amp;quot;Thermal Expansion graph&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The 32 unit structure used for the MD calculations is a 2x2x2 lattice of the conventional unit cell. This is a lot smaller than the size used to compute the thermal expansion of MgO using the QHA, and therefore, to have accurate results from the MD method, a larger size should be used.&lt;br /&gt;
&lt;br /&gt;
The MD method allows movement in three dimensions whereas the QHA only allows movement in one dimension. Therefore, at higher temperatures it is expected that the MD method will give much higher volumes than the QHA.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Conclusion&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
The free energy and phonon dispersions were successfully computed for MgO, and the thermal expansion studied using the QHA and the MD method. All results tended to agree with literature values well and it was found that the QHA gave a more realistic trend for the change in cell volume with respect to temperature at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;References&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;&amp;gt; X. Wu, W. Li, W. Rui. Effect of temperature on elastic constants, generalized stacking fault energy and dislocation cores in MgO and CaO. &#039;&#039;Computational Condensed Matter&#039;&#039;. 2014: 38-44. Available from: DOI: 10.1016/j.cocom.2014.10.005&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Zeolite&amp;quot;&amp;gt; J. A Kaduk, J. Faber. Crystal Structure of Zeolite Y as a function of Ion Exchange. &#039;&#039;The Rigaku Journal&#039;&#039;. 1995;12: 14. Available from: http://www.rigaku.com/downloads/journal/Vol12.2.1995/kaduk.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Lithium&amp;quot;&amp;gt; M. R. Nadler, C. P Kempter. Crystallographic Data 186. Lithium. &#039;&#039;Analytical Chemistry&#039;&#039;. 1959;31:2109. Available from: &lt;br /&gt;
DOI: 10.1021/ac60156a007&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;&amp;gt; D. K. Smith, H. R. Leider. Low-Temperature Thermal Expansion of LiH, MgO and CaO. &#039;&#039;Journal of Applied Crystallography&#039;&#039;. 1968;1: 246-249. Available from: DOI: 10.1107/S0021889868005418&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;&amp;gt; J. F. W. Bowles, R. A. Howie, D. J. Vaughan, J. Zussman. Rock-forming Minerals: Non-silicates: oxides, hydroxides and sulphides 2nd ed. London: The Geological Society;2011 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion graph&amp;quot;&amp;gt; L.S. Dubrovinsky, S.K. Saxena. Thermal Expansion of Periclase (MgO) and Tungsten (W)to Melting Temperatures. &#039;&#039;Physics and Chemistry of Minerals&#039;&#039;. 1999;24(8): 547-550. Available from: DOI: 10.1007/s002690050070&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Studies in molecular dynamics&amp;quot;&amp;gt; B. J. Alder, T. E. Wainwright. Studies in Molecular Dynamics. I. General Method. &#039;&#039;The Journal of Chemical Physics&#039;&#039;. 1959;31: 459-466. Available from: DOI:10.1063/1.1730376&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;therm exp&amp;quot;&amp;gt; P. A. Tipler, G. Mosca. Physics for Scientists and Engineers, Volume 1, 6th ed. New York: Worth Publisher;2008&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Appendix&amp;lt;/u&amp;gt; ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Grid Size !! Helmholtz Free Energy (eV)!! Accuracy (meV)&lt;br /&gt;
|-&lt;br /&gt;
| 1x1x1 || -40.9303|| 4&lt;br /&gt;
|-&lt;br /&gt;
| 2x2x2 || -40.9266|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 3x3x3 || -40.9264|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 8x8x8 || -40.9265|| 0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16x16x16 || -40.9265|| 0.001&lt;br /&gt;
|-&lt;br /&gt;
| 32x32x32 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 40x40x40 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 50x50x50 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;3&amp;quot; |Table 1: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Grid Size&lt;br /&gt;
&lt;br /&gt;
(Computing Free Energy)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Helmholtz Free Energy (eV)&lt;br /&gt;
|-&lt;br /&gt;
| 0 || -40.9019        &lt;br /&gt;
|-&lt;br /&gt;
| 100 || -40.9024&lt;br /&gt;
|-&lt;br /&gt;
| 200 || -40.9094&lt;br /&gt;
|-&lt;br /&gt;
| 300 || -40.9281&lt;br /&gt;
|-&lt;br /&gt;
| 400 || -40.9585&lt;br /&gt;
|-&lt;br /&gt;
| 500 || -40.9994&lt;br /&gt;
|-&lt;br /&gt;
| 600 || -41.0493&lt;br /&gt;
|-&lt;br /&gt;
| 700 || -41.1071&lt;br /&gt;
|-&lt;br /&gt;
| 800 || -41.1719&lt;br /&gt;
|-&lt;br /&gt;
| 900 || -41.2440&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || -41.3198&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 2: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Temperature&lt;br /&gt;
&lt;br /&gt;
(Quasi-harmonic Approximation)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Lattice Constant&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 2.9894      &lt;br /&gt;
|-&lt;br /&gt;
| 100 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 300 || 2.9883&lt;br /&gt;
|-&lt;br /&gt;
| 400 || 2.9894&lt;br /&gt;
|-&lt;br /&gt;
| 500 || 2.9916&lt;br /&gt;
|-&lt;br /&gt;
| 600 || 2.9941&lt;br /&gt;
|-&lt;br /&gt;
| 700 || 2.9968&lt;br /&gt;
|-&lt;br /&gt;
| 800 || 2.9996&lt;br /&gt;
|-&lt;br /&gt;
| 900 || 3.0026&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 3.0056&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 3: Raw Data showing change in&lt;br /&gt;
Lattice Constant with Temperature&lt;br /&gt;
&lt;br /&gt;
(Quasi-harmonic Approximation)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Lattice Constant&lt;br /&gt;
|-&lt;br /&gt;
| 100 || 18.7348    &lt;br /&gt;
|-&lt;br /&gt;
| 200 || 18.7833&lt;br /&gt;
|-&lt;br /&gt;
| 300 || 18.8348&lt;br /&gt;
|-&lt;br /&gt;
| 400 || 18.8940&lt;br /&gt;
|-&lt;br /&gt;
| 500 || 18.9476&lt;br /&gt;
|-&lt;br /&gt;
| 600 || 19.0052&lt;br /&gt;
|-&lt;br /&gt;
| 700 || 19.0652&lt;br /&gt;
|-&lt;br /&gt;
| 800 || 19.1282&lt;br /&gt;
|-&lt;br /&gt;
| 900 || 19.1894&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 19.1894&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 4: Raw Data showing change in&lt;br /&gt;
Volume with Temperature&lt;br /&gt;
&lt;br /&gt;
(Molecular Dynamics)&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dl2613</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=552268</id>
		<title>Rep:Mod:Dl2613</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=552268"/>
		<updated>2016-03-10T15:17:59Z</updated>

		<summary type="html">&lt;p&gt;Dl2613: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== &amp;lt;u&amp;gt;Introduction&amp;lt;/u&amp;gt; ==&lt;br /&gt;
The aim of this experiment was to use a simple model of atomic interactions to calculate the energy and vibrations of a crystal of MgO. This was then used to compute the free energy, phonon dispersions and to predict how MgO expands when heated. The quasi-harmonic approximation (QHA) and molecular dynamics methods were used to do these calculations.&lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon based model of solid-state physics and can describe volume-dependant thermal effects of structures, such as the MgO crystal. This assumption assumes that for every lattice value the harmonic oscillator assumption is true. MD is a type of N-body simulation, it allows atoms and molecules to interact for a fixed period of time showing the dynamics of a system. In this experiment the MD was run on an isothermal-isobaric (NPT) ensemble in which the amount of substance, pressure and temperature are fixed. MD allows motion in three dimensions&amp;lt;ref name=&amp;quot;Studies in molecular dynamics&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The software used for this experiment was RedHat Linux. DLVisualize (DLV) was used for the visualisation of the structure and properties of the MgO crystal. General Utility Lattice Program (GULP) is a supporting interface of DLV and was used to perform analytical solutions on MgO through the use of lattice dynamics.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Internal Energy Calculation on MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Better_unit_cell.png|300px|thumb|right|Figure 1: MgO Primitive Unit Cell]]&lt;br /&gt;
In this first exercise the internal energy and structure of MgO was calculated using GULP from the primitive unit cell of the crystal (Fig 1). An ionic potential model was used, without shells included and at a single point. The primitive unit cell is the simplest cell to describe the crystal structure of MgO and contains 2 atoms. The lattice vectors of this cell are:&lt;br /&gt;
&lt;br /&gt;
0.000   2.106   2.106&lt;br /&gt;
&lt;br /&gt;
2.106   0.000   2.106&lt;br /&gt;
&lt;br /&gt;
2.106   2.106   0.000&lt;br /&gt;
&lt;br /&gt;
From the [[Media:MgO_0_DHL.out| log file]] it can be seen that the lattice parameters are defined by the length 2.978Å and the angle 60º, giving the primitive unit cell the shape of a rhombohedron. Each primitive cell was calculated to have an energy of -40.08 eV and this corresponds to the binding energy of the crystal. The primitive cell can be used to build up a lattice by repeating its structure.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Calculation of phonon modes of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Computing the Phonon Dispersion Curves: ===&lt;br /&gt;
[[File:MgO_Phonon_Dispersion_DHL.png|300px|thumb|left|Figure 2: MgO Phonon Dispersion]]&lt;br /&gt;
The phonon frequencies were then computed along the symmetry points &amp;lt;math&amp;gt;W, L, G, W, X, K&amp;lt;/math&amp;gt; in k space. The calculation was set up for 50 Npoints with phonon eigenvectors included in the calculation. For a 3D crystal of diatomic molecules with two atom types, six vibration modes are observed in the phonon dispersion curves (Fig 2). A positive dispersion relation results in optical modes and a negative dispersion relation results in acoustic modes. Two adjacent different atoms move with each other in the optical mode, but move against each other in the acoustic mode. The acoustic modes equal 0   cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;  at the point Γ whereas the optical modes do not. It can be seen that there are three acoustic modes and three optical modes. The three acoustic modes can be split into one longitudinal acoustic mode and two transverse acoustic modes. The two transverse modes become degenerate between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;. The phonon dispersion curve agrees with that found in literature&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== The Phonon Density of States: ===&lt;br /&gt;
A simpler energy level diagram than the phonon dispersion relation is the density of states (DOS). The DOS is an average over the time and space demains of the MgO system and was calculated for the phonons as a function of the wave vector k. The dimensional limits of the MgO crystal affects the DOS and therefore it is expected that the DOS will change with the grid size of the MgO crystal.&lt;br /&gt;
&lt;br /&gt;
To begin with the DOS calculation was ran on a 1x1x1 grid, corresponding to a single k point. Comparison between Figure 2 and 3 shows that the single k point is the symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The frequencies of the phonon dispersions are identical in the two graphs. Four peaks instead of six are observed due to the fact that 2 pairs of modes become degenerate between &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. These degenerate modes correspond to the peaks between 250 and 400 cm &amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, explaining why those peaks are double the intensity of the high frequency peaks. It can been seen that a grid size of 1x1x1 is not a good representative of the DOS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_Phonon_DOS_DHL.png|300px|none|thumb|left|Figure 3: MgO Phonon DOS 1x1x1]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_3x3x3_DHL.png|300px|none|thumb|middle|Figure 4: MgO Phonon DOS 3x3x3]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_8x8x8_DHL.png|300px|none|thumb|middle|Figure 5: MgO Phonon DOS 8x8x8]]&lt;br /&gt;
|}&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_phonon_DOS_16x16x16_DHL.png|300px|none|thumb|left|Figure 6: MgO Phonon DOS 16x16x16]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_32x32x32_DHL.png|300px|none|thumb|left|Figure 7: MgO Phonon DOS 32x32x32]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_40x40x40_DHL.png|300px|none|thumb|middle|Figure 8: MgO Phonon DOS 40x40x40]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Several grid sizes were investigated up to 50x50x50 to find a compromise between an accurate DOS and the time taken to run the calculation. As the grid size is increased a more true depiction of the DOS is obtained for the MgO structure. Increasing the grid size increases the number of peaks and then changes the graph from random sharp intensities to a smoother curve. However, the highest intensity point remains at 400 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; throughout all grid sizes and the higher frequencies having lower intensities. The bigger the grid size, the more k points that are sampled and the more representative the DOS plots. It can be seen in the figures above that the DOS curve is unchanged between 32x32x32 and 40x40x40, however, the running time increases greatly for the 40x40x40 grid size. Therefore, it was decided that the 32x32x32 grid size was the optimum and was used in further calculations.&lt;br /&gt;
&lt;br /&gt;
The size of the grid set in the calculations is inversely related to the size of the structure in real space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This equation shows that the bigger a* (size of grid in k space) the smaller a (size of cell in real space). Therefore the bigger the cell in real space, the smaller the grid size needed for the calculation of DOS. This means that a similar oxide such as CaO will require a similar grid size as MgO for the calculation of DOS. Faujasite, a zeolite, has a lattice parameter in the range 24.2 - 25.1 Å &amp;lt;ref name=&amp;quot;Zeolite&amp;quot;/&amp;gt; and would therefore need a small grid size for the DOS calculation. Lithium, a small metal, has a lattice parameter of 3.51 Å &amp;lt;ref name=&amp;quot;Lithium&amp;quot;/&amp;gt; and would therefore need a large grid size for the DOS calculation to represent its small cell size in real space.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Computing the Free Energy&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Task_3_graph.png|300px|thumb|right|Graph 1: A Graph to show how the Free Energy changes with Grid Size]]&lt;br /&gt;
The Helmholtz Free Energy of MgO was then computed using the quasi-harmonic approximation on the same grid sizes as in the previous section at a temperature of 300K. Helmholtz Free Energy is given by the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A=Helmholtz Free Energy, U=Internal Energy, S=Entropy and T=Temperature&lt;br /&gt;
&lt;br /&gt;
This states that the Helmholtz Free Energy should increase with increasing internal energy and decreasing temperature and entropy. This said, the Helmholtz Free Energy should decrease with increasing grid size. This can be explained with the aid of the following statistical mechanics equation of entropy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt; where S=Entropy, k=Boltzmann Constant and W=number of microstates&lt;br /&gt;
&lt;br /&gt;
As the grid size increases the number of microstates sampled also increases. This in turn increases the entropy and decreases the TS term in the Helmholtz Free Energy equation. The decrease in Helmholtz Free Energy can be further explained using the following equation of internal energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt; where U=internal Energy, H=Enthalpy, P=Pressure and V=Volume&lt;br /&gt;
&lt;br /&gt;
As the grid size increases so does its volume, therefore decreasing the internal energy. This further decreases the Helmholtz Free Energy. It can be seen in Graph 1 that initially the Helmholtz Free Energy increases with grid size from 1x1x1 to 3x3x3 and then begins to follow the expected trend and decrease with increasing grid size. Table 1 shows that the accuracy of the Helmholtz Free Energy increases with grid size.&lt;br /&gt;
The Helmholtz Free Energy converges to a value of -40.93 eV, with the 32x32x32 grid size being the most appropriate to run calculations from, providing the correct Helmholtz Free Energy and a suitable length of time to run the calculation.&lt;br /&gt;
&lt;br /&gt;
For CaO, a similar sized crystal to MgO (lattice constant CaO = 4.811 Å, lattice constant MgO = 4.212 Å)&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;/&amp;gt;, a similar size grid will be required for the calculation of the Helmholtz Free Energy. Faujasite would require a smaller grid size due to its large lattice constant and lithium a larger grid size than MgO due to its small lattice constant.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;The Thermal Expansion of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Thermal expansion is the ability of matter to change size, volume and shape in a response to the change in temperature. When a substance is heated the molecules vibrate and begin to move more, and their average separation increases&amp;lt;ref name=&amp;quot;therm exp&amp;quot;/&amp;gt;. This thermal expansion is indicated by the Coefficient of Linear Thermal Expansion (CTE). Uniform linear objects have a thermal expansion proportional to temperate over a small range of temperatures. The equation used to calculate the linear CTE is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;=linear CTE, &amp;lt;math&amp;gt;{L_0}&amp;lt;/math&amp;gt;=lattice constant at 0K and &amp;lt;math&amp;gt;dL/dT&amp;lt;/math&amp;gt;=rate of change of lattice constant with respect to temperature&lt;br /&gt;
&lt;br /&gt;
A volumetric CTE can also be calculated using the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt;=volumetric CTE, &amp;lt;math&amp;gt;{V}&amp;lt;/math&amp;gt;= volume and &amp;lt;math&amp;gt;\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;= partial derivative of volume with respect to temperature at constant pressure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Quasi-harmonic Approximation: ===&lt;br /&gt;
[[File:Task_4_graph_1.png|300px|thumb|left|Graph 2: A graph to show how the free energy of MgO changes with temperature]]&lt;br /&gt;
[[File:Task_4_graph_2.png|300px|thumb|right|Graph 3: A graph to show how the lattice constant of MgO changes with temperature]]&lt;br /&gt;
Using the 32x32x32 grid size of MgO the free energy was then optimised. The optimisation opts was set to optimise Gibbs Free Energy and the temperature was varied from 0 - 1000K. The free energy decreases with increasing temperature in a parabolic fashion to the order of 2. This negative correlation can be explained using the equation for Gibbs Free Energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G=H-TS&amp;lt;/math&amp;gt; where G=Gibbs Free Energy, H=Enthalpy, T=Temperature and S=Entropy&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Increasing the temperature decreases the TS term therefore decreasing the Gibbs Free Energy.&lt;br /&gt;
&lt;br /&gt;
The lattice constant increases in a parabolic fashion to the order of 2 with increasing temperature due to the thermal expansion.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Calculation of CTE: ====&lt;br /&gt;
Coefficient of Linear Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{2.9894}\,\frac{3.0056-2.9894}{1000}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=5.419\times10^{-6}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Coefficient of Volumetric Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{26.71481005}\,\left(\frac{27.15148242-26.71481005}{1000}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V=1.634\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It can be seen that the α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt; is 3.015 times that of the α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;. This is because MgO expands at the same rate in all three directions in three-dimensions, it is an isotropic compound. The CFE values are close to those found in literature at &amp;lt;math&amp;gt;\alpha_L=7.88\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=2.36\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; which were calculated using a temperature range close to that used in this experiment at 301.15-1273.15 K&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;/&amp;gt; (results from experiment give &amp;lt;math&amp;gt;\alpha_L=5.789\times10^{-6}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=1.747\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; if calculated from 300-1000K).&lt;br /&gt;
&lt;br /&gt;
The main approximation in the calculations of the thermal expansion is to do with the anharmonic contributions to the harmonic approximation. In order to simplify, the phonon frequencies are set to be volume dependent and so at a higher temperature the anharmonic factor increases. The Born-Oppenheimer Approximation, which assumes that the motion of atomic nuclei and electrons in a molecule can be separated, is another assumption.&lt;br /&gt;
&lt;br /&gt;
This approximation cannot be used when the temperature approaches that of the melting point of MgO due to the new lattice parameters. Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; begin to behave as separate ions as MgO begins to melt and becomes molten. Therefore the quasi-harmonic approximation cannot be used as it only takes into account linear movement.&lt;br /&gt;
&lt;br /&gt;
For a diatomic molecule with an exactly harmonic potential the bond is not allowed to break and the bond length is fixed around that of its equilibrium length. Therefore the lattice constant will only increase up to a distance just prior to bond cleavage. However, in these calculations the quasi-harmonic approximation allows the bonds to break within MgO and so the lattice constant can, in theory, increase to infinity.&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamics: ===&lt;br /&gt;
[[File:32_structure_dhl.png|300px|thumb|left|Figure 10: 32 unit MgO structure used for MD calculations]]&lt;br /&gt;
[[File:32_random_dhl.png|300px|thumb|right|Figure 11: 32 unit MgO structure post MD calculations]]&lt;br /&gt;
For the final section of this experiment the thermal expansion of MgO was once again calculated, but this time using the molecular dynamics method. This method allows the system to evolve according to Newton&#039;s Second Law &amp;lt;math&amp;gt; F= ma&amp;lt;/math&amp;gt;. The ensemble used was NPT, meaning the amount of substance, the pressure and the temperature were all set to be constant. The timestep at which the vibrations to be sampled was set to be 1 femtosecond (fs) and the number of equilibration steps and production steps were set to 500, with the temperature being avried from 100-1000K. When the number of sampled configurations are sufficiently large, the average calculated is representative for the time averaged system obeying the ergodic hypothesis. A structure containing 32 units and therefore 64 atoms was used in this calculation (Fig 12), and in order to compare the volumes between the quasi-harmonic approximation and the molecular dynamics method, the volumes produced were divided by 32.&lt;br /&gt;
[[File:MD_and_QH_comparison.png|300px|thumb|right|Graph 4: Comparison of Cell Volume change between QHA and MD]]&lt;br /&gt;
It can be seen that both methods show the same trend, that of the volume increasing with increasing temperature, however throughout the whole temperature range the QHA cell volume values are slightly higher than the MD values.. The QHA becomes the exact same linear trend as the MD results at 400-1000K. At these temperatures the Coefficient of Volumetric Thermal Expansion are very similar:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_VQHA=1.730\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_VMD=1.824\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the range of 0-400K there is little anharmonicity and so the QHA predicts the thermal expansion more accurately and produces the curved graph. The MD method does not predict this trend at lower temperatures and can only predict a linear trend for the thermal expansion of MgO. The QHA graph is more similar to that found in literature than the MD graph&amp;lt;ref name=&amp;quot;Thermal Expansion graph&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The 32 unit structure used for the MD calculations is a 2x2x2 lattice of the conventional unit cell. This is a lot smaller than the size used to compute the thermal expansion of MgO using the QHA, and therefore, to have accurate results from the MD method, a larger size should be used.&lt;br /&gt;
&lt;br /&gt;
The MD method allows movement in three dimensions whereas the QHA only allows movement in one dimension. Therefore, at higher temperatures it is expected that the MD method will give much higher volumes than the QHA.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Conclusion&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
The free energy and phonon dispersions were successfully computed for MgO, and the thermal expansion studied using the QHA and the MD method. All results tended to agree with literature values well and it was found that the QHA gave a more realistic trend for the change in cell volume with respect to temperature at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;References&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;&amp;gt; X. Wu, W. Li, W. Rui. Effect of temperature on elastic constants, generalized stacking fault energy and dislocation cores in MgO and CaO. &#039;&#039;Computational Condensed Matter&#039;&#039;. 2014: 38-44. Available from: DOI: 10.1016/j.cocom.2014.10.005&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Zeolite&amp;quot;&amp;gt; J. A Kaduk, J. Faber. Crystal Structure of Zeolite Y as a function of Ion Exchange. &#039;&#039;The Rigaku Journal&#039;&#039;. 1995;12: 14. Available from: http://www.rigaku.com/downloads/journal/Vol12.2.1995/kaduk.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Lithium&amp;quot;&amp;gt; M. R. Nadler, C. P Kempter. Crystallographic Data 186. Lithium. &#039;&#039;Analytical Chemistry&#039;&#039;. 1959;31:2109. Available from: &lt;br /&gt;
DOI: 10.1021/ac60156a007&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;&amp;gt; D. K. Smith, H. R. Leider. Low-Temperature Thermal Expansion of LiH, MgO and CaO. &#039;&#039;Journal of Applied Crystallography&#039;&#039;. 1968;1: 246-249. Available from: DOI: 10.1107/S0021889868005418&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;&amp;gt; J. F. W. Bowles, R. A. Howie, D. J. Vaughan, J. Zussman. Rock-forming Minerals: Non-silicates: oxides, hydroxides and sulphides 2nd ed. London: The Geological Society;2011 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion graph&amp;quot;&amp;gt; L.S. Dubrovinsky, S.K. Saxena. Thermal Expansion of Periclase (MgO) and Tungsten (W)to Melting Temperatures. &#039;&#039;Physics and Chemistry of Minerals&#039;&#039;. 1999;24(8): 547-550. Available from: DOI: 10.1007/s002690050070&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Studies in molecular dynamics&amp;quot;&amp;gt; B. J. Alder, T. E. Wainwright. Studies in Molecular Dynamics. I. General Method. &#039;&#039;The Journal of Chemical Physics&#039;&#039;. 1959;31: 459-466. Available from: DOI:10.1063/1.1730376&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;therm exp&amp;quot;&amp;gt; P. A. Tipler, G. Mosca. Physics for Scientists and Engineers, Volume 1, 6th ed. New York: Worth Publisher;2008&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Appendix&amp;lt;/u&amp;gt; ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Grid Size !! Helmholtz Free Energy (eV)!! Accuracy (meV)&lt;br /&gt;
|-&lt;br /&gt;
| 1x1x1 || -40.9303|| 4&lt;br /&gt;
|-&lt;br /&gt;
| 2x2x2 || -40.9266|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 3x3x3 || -40.9264|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 8x8x8 || -40.9265|| 0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16x16x16 || -40.9265|| 0.001&lt;br /&gt;
|-&lt;br /&gt;
| 32x32x32 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 40x40x40 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 50x50x50 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;3&amp;quot; |Table 1: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Grid Size&lt;br /&gt;
&lt;br /&gt;
(Computing Free Energy)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Helmholtz Free Energy (eV)&lt;br /&gt;
|-&lt;br /&gt;
| 0 || -40.9019        &lt;br /&gt;
|-&lt;br /&gt;
| 100 || -40.9024&lt;br /&gt;
|-&lt;br /&gt;
| 200 || -40.9094&lt;br /&gt;
|-&lt;br /&gt;
| 300 || -40.9281&lt;br /&gt;
|-&lt;br /&gt;
| 400 || -40.9585&lt;br /&gt;
|-&lt;br /&gt;
| 500 || -40.9994&lt;br /&gt;
|-&lt;br /&gt;
| 600 || -41.0493&lt;br /&gt;
|-&lt;br /&gt;
| 700 || -41.1071&lt;br /&gt;
|-&lt;br /&gt;
| 800 || -41.1719&lt;br /&gt;
|-&lt;br /&gt;
| 900 || -41.2440&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || -41.3198&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 2: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Temperature&lt;br /&gt;
&lt;br /&gt;
(Quasi-harmonic Approximation)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Lattice Constant&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 2.9894      &lt;br /&gt;
|-&lt;br /&gt;
| 100 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 300 || 2.9883&lt;br /&gt;
|-&lt;br /&gt;
| 400 || 2.9894&lt;br /&gt;
|-&lt;br /&gt;
| 500 || 2.9916&lt;br /&gt;
|-&lt;br /&gt;
| 600 || 2.9941&lt;br /&gt;
|-&lt;br /&gt;
| 700 || 2.9968&lt;br /&gt;
|-&lt;br /&gt;
| 800 || 2.9996&lt;br /&gt;
|-&lt;br /&gt;
| 900 || 3.0026&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 3.0056&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 3: Raw Data showing change in&lt;br /&gt;
Lattice Constant with Temperature&lt;br /&gt;
&lt;br /&gt;
(Quasi-harmonic Approximation)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Lattice Constant&lt;br /&gt;
|-&lt;br /&gt;
| 100 || 18.7348    &lt;br /&gt;
|-&lt;br /&gt;
| 200 || 18.7833&lt;br /&gt;
|-&lt;br /&gt;
| 300 || 18.8348&lt;br /&gt;
|-&lt;br /&gt;
| 400 || 18.8940&lt;br /&gt;
|-&lt;br /&gt;
| 500 || 18.9476&lt;br /&gt;
|-&lt;br /&gt;
| 600 || 19.0052&lt;br /&gt;
|-&lt;br /&gt;
| 700 || 19.0652&lt;br /&gt;
|-&lt;br /&gt;
| 800 || 19.1282&lt;br /&gt;
|-&lt;br /&gt;
| 900 || 19.1894&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 19.1894&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 4: Raw Data showing change in&lt;br /&gt;
Volume with Temperature&lt;br /&gt;
&lt;br /&gt;
(Molecular Dynamics)&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dl2613</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=552170</id>
		<title>Rep:Mod:Dl2613</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=552170"/>
		<updated>2016-03-10T15:07:08Z</updated>

		<summary type="html">&lt;p&gt;Dl2613: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== &amp;lt;u&amp;gt;Introduction&amp;lt;/u&amp;gt; ==&lt;br /&gt;
The aim of this experiment was to use a simple model of atomic interactions to calculate the energy and vibrations of a crystal of MgO. This was then used to compute the free energy, phonon dispersions and to predict how MgO expands when heated. The quasi-harmonic approximation (QHA) and molecular dynamics methods were used to do these calculations.&lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon based model of solid-state physics and can describe volume-dependant thermal effects of structures, such as the MgO crystal. This assumption assumes that for every lattice value the harmonic oscillator assumption is true. MD is a type of N-body simulation, it allows atoms and molecules to interact for a fixed period of time showing the dynamics of a system. In this experiment the MD was run on an isothermal-isobaric (NPT) ensemble in which the amount of substance, pressure and temperature are fixed. MD allows motion in three dimensions&amp;lt;ref name=&amp;quot;Studies in molecular dynamics&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The software used for this experiment was RedHat Linux. DLVisualize (DLV) was used for the visualisation of the structure and properties of the MgO crystal. General Utility Lattice Program (GULP) is a supporting interface of DLV and was used to perform analytical solutions on MgO through the use of lattice dynamics.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Internal Energy Calculation on MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Better_unit_cell.png|300px|thumb|right|Figure 1: MgO Primitive Unit Cell]]&lt;br /&gt;
In this first exercise the internal energy and structure of MgO was calculated using GULP from the primitive unit cell of the crystal (Fig 1). An ionic potential model was used, without shells included and at a single point. The primitive unit cell is the simplest cell to describe the crystal structure of MgO and contains 2 atoms. The lattice vectors of this cell are:&lt;br /&gt;
&lt;br /&gt;
0.000   2.106   2.106&lt;br /&gt;
&lt;br /&gt;
2.106   0.000   2.106&lt;br /&gt;
&lt;br /&gt;
2.106   2.106   0.000&lt;br /&gt;
&lt;br /&gt;
From the [[Media:MgO_0_DHL.out| log file]] it can be seen that the lattice parameters are defined by the length 2.978Å and the angle 60º, giving the primitive unit cell the shape of a rhombohedron. Each primitive cell was calculated to have an energy of -40.08 eV and this corresponds to the binding energy of the crystal. The primitive cell can be used to build up a lattice by repeating its structure.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Calculation of phonon modes of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Computing the Phonon Dispersion Curves: ===&lt;br /&gt;
[[File:MgO_Phonon_Dispersion_DHL.png|300px|thumb|left|Figure 2: MgO Phonon Dispersion]]&lt;br /&gt;
The phonon frequencies were then computed along the symmetry points &amp;lt;math&amp;gt;W, L, G, W, X, K&amp;lt;/math&amp;gt; in k space. The calculation was set up for 50 Npoints with phonon eigenvectors included in the calculation. For a 3D crystal of diatomic molecules with two atom types, six vibration modes are observed in the phonon dispersion curves (Fig 2). A positive dispersion relation results in optical modes and a negative dispersion relation results in acoustic modes. Two adjacent different atoms move with each other in the optical mode, but move against each other in the acoustic mode. The acoustic modes equal 0   cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;  at the point Γ whereas the optical modes do not. It can be seen that there are three acoustic modes and three optical modes. The three acoustic modes can be split into one longitudinal acoustic mode and two transverse acoustic modes. The two transverse modes become degenerate between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;. The phonon dispersion curve agrees with that found in literature&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== The Phonon Density of States: ===&lt;br /&gt;
A simpler energy level diagram than the phonon dispersion relation is the density of states (DOS). The DOS is an average over the time and space demains of the MgO system and was calculated for the phonons as a function of the wave vector k. The dimensional limits of the MgO crystal affects the DOS and therefore it is expected that the DOS will change with the grid size of the MgO crystal.&lt;br /&gt;
&lt;br /&gt;
To begin with the DOS calculation was ran on a 1x1x1 grid, corresponding to a single k point. Comparison between Figure 2 and 3 shows that the single k point is the symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The frequencies of the phonon dispersions are identical in the two graphs. Four peaks instead of six are observed due to the fact that 2 pairs of modes become degenerate between &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. These degenerate modes correspond to the peaks between 250 and 400 cm &amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, explaining why those peaks are double the intensity of the high frequency peaks. It can been seen that a grid size of 1x1x1 is not a good representative of the DOS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_Phonon_DOS_DHL.png|300px|none|thumb|left|Figure 3: MgO Phonon DOS 1x1x1]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_3x3x3_DHL.png|300px|none|thumb|middle|Figure 4: MgO Phonon DOS 3x3x3]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_8x8x8_DHL.png|300px|none|thumb|middle|Figure 5: MgO Phonon DOS 8x8x8]]&lt;br /&gt;
|}&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_phonon_DOS_16x16x16_DHL.png|300px|none|thumb|left|Figure 6: MgO Phonon DOS 16x16x16]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_32x32x32_DHL.png|300px|none|thumb|left|Figure 7: MgO Phonon DOS 32x32x32]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_40x40x40_DHL.png|300px|none|thumb|middle|Figure 8: MgO Phonon DOS 40x40x40]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Several grid sizes were investigated up to 50x50x50 to find a compromise between an accurate DOS and the time taken to run the calculation. As the grid size is increased a more true depiction of the DOS is obtained for the MgO structure. Increasing the grid size increases the number of peaks and then changes the graph from random sharp intensities to a smoother curve. However, the highest intensity point remains at 400 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; throughout all grid sizes and the higher frequencies having lower intensities. The bigger the grid size, the more k points that are sampled and the more representative the DOS plots. It can be seen in the figures above that the DOS curve is unchanged between 32x32x32 and 40x40x40, however, the running time increases greatly for the 40x40x40 grid size. Therefore, it was decided that the 32x32x32 grid size was the optimum and was used in further calculations.&lt;br /&gt;
&lt;br /&gt;
The size of the grid set in the calculations is inversely related to the size of the structure in real space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This equation shows that the bigger a* (size of grid in k space) the smaller a (size of cell in real space). Therefore the bigger the cell in real space, the smaller the grid size needed for the calculation of DOS. This means that a similar oxide such as CaO will require a similar grid size as MgO for the calculation of DOS. Faujasite, a zeolite, has a lattice parameter in the range 24.2 - 25.1 Å &amp;lt;ref name=&amp;quot;Zeolite&amp;quot;/&amp;gt; and would therefore need a small grid size for the DOS calculation. Lithium, a small metal, has a lattice parameter of 3.51 Å &amp;lt;ref name=&amp;quot;Lithium&amp;quot;/&amp;gt; and would therefore need a large grid size for the DOS calculation to represent its small cell size in real space.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Computing the Free Energy&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Task_3_graph.png|300px|thumb|right|Graph 1: A Graph to show how the Free Energy changes with Grid Size]]&lt;br /&gt;
The Helmholtz Free Energy of MgO was then computed using the quasi-harmonic approximation on the same grid sizes as in the previous section at a temperature of 300K. Helmholtz Free Energy is given by the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A=Helmholtz Free Energy, U=Internal Energy, S=Entropy and T=Temperature&lt;br /&gt;
&lt;br /&gt;
This states that the Helmholtz Free Energy should increase with increasing internal energy and decreasing temperature and entropy. This said, the Helmholtz Free Energy should decrease with increasing grid size. This can be explained with the aid of the following statistical mechanics equation of entropy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt; where S=Entropy, k=Boltzmann Constant and W=number of microstates&lt;br /&gt;
&lt;br /&gt;
As the grid size increases the number of microstates sampled also increases. This in turn increases the entropy and decreases the TS term in the Helmholtz Free Energy equation. The decrease in Helmholtz Free Energy can be further explained using the following equation of internal energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt; where U=internal Energy, H=Enthalpy, P=Pressure and V=Volume&lt;br /&gt;
&lt;br /&gt;
As the grid size increases so does its volume, therefore decreasing the internal energy. This further decreases the Helmholtz Free Energy. It can be seen in Graph 1 that initially the Helmholtz Free Energy increases with grid size from 1x1x1 to 3x3x3 and then begins to follow the expected trend and decrease with increasing grid size. Table 1 shows that the accuracy of the Helmholtz Free Energy increases with grid size.&lt;br /&gt;
The Helmholtz Free Energy converges to a value of -40.93 eV, with the 32x32x32 grid size being the most appropriate to run calculations from, providing the correct Helmholtz Free Energy and a suitable length of time to run the calculation.&lt;br /&gt;
&lt;br /&gt;
For CaO, a similar sized crystal to MgO (lattice constant CaO = 4.811 Å, lattice constant MgO = 4.212 Å)&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;/&amp;gt;, a similar size grid will be required for the calculation of the Helmholtz Free Energy. Faujasite would require a smaller grid size due to its large lattice constant and lithium a larger grid size than MgO due to its small lattice constant.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;The Thermal Expansion of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Thermal expansion is the ability of matter to change size, volume and shape in a response to the change in temperature. When a substance is heated the molecules vibrate and begin to move more, and their average separation increases. This thermal expansion is indicated by the Coefficient of Linear Thermal Expansion (CTE). Uniform linear objects have a thermal expansion proportional to temperate over a small range of temperatures. The equation used to calculate the linear CTE is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;=linear CTE, &amp;lt;math&amp;gt;{L_0}&amp;lt;/math&amp;gt;=lattice constant at 0K and &amp;lt;math&amp;gt;dL/dT&amp;lt;/math&amp;gt;=rate of change of lattice constant with respect to temperature&lt;br /&gt;
&lt;br /&gt;
A volumetric CTE can also be calculated using the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt;=volumetric CTE, &amp;lt;math&amp;gt;{V}&amp;lt;/math&amp;gt;= volume and &amp;lt;math&amp;gt;\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;= partial derivative of volume with respect to temperature at constant pressure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Quasi-harmonic Approximation: ===&lt;br /&gt;
[[File:Task_4_graph_1.png|300px|thumb|left|Graph 2: A graph to show how the free energy of MgO changes with temperature]]&lt;br /&gt;
[[File:Task_4_graph_2.png|300px|thumb|right|Graph 3: A graph to show how the lattice constant of MgO changes with temperature]]&lt;br /&gt;
Using the 32x32x32 grid size of MgO the free energy was then optimised. The optimisation opts was set to optimise Gibbs Free Energy and the temperature was varied from 0 - 1000K. The free energy decreases with increasing temperature in a parabolic fashion to the order of 2. This negative correlation can be explained using the equation for Gibbs Free Energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G=H-TS&amp;lt;/math&amp;gt; where G=Gibbs Free Energy, H=Enthalpy, T=Temperature and S=Entropy&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Increasing the temperature decreases the TS term therefore decreasing the Gibbs Free Energy.&lt;br /&gt;
&lt;br /&gt;
The lattice constant increases in a parabolic fashion to the order of 2 with increasing temperature due to the thermal expansion.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Calculation of CTE: ====&lt;br /&gt;
Coefficient of Linear Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{2.9894}\,\frac{3.0056-2.9894}{1000}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=5.419\times10^{-6}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Coefficient of Volumetric Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{26.71481005}\,\left(\frac{27.15148242-26.71481005}{1000}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V=1.634\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It can be seen that the α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt; is 3.015 times that of the α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;. This is because MgO expands at the same rate in all three directions in three-dimensions, it is an isotropic compound. The CFE values are close to those found in literature at &amp;lt;math&amp;gt;\alpha_L=7.88\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=2.36\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; which were calculated using a temperature range close to that used in this experiment at 301.15-1273.15 K&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;/&amp;gt; (results from experiment give &amp;lt;math&amp;gt;\alpha_L=5.789\times10^{-6}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=1.747\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; if calculated from 300-1000K).&lt;br /&gt;
&lt;br /&gt;
The main approximation in the calculations of the thermal expansion is to do with the anharmonic contributions to the harmonic approximation. In order to simplify, the phonon frequencies are set to be volume dependent and so at a higher temperature the anharmonic factor increases. The Born-Oppenheimer Approximation, which assumes that the motion of atomic nuclei and electrons in a molecule can be separated, is another assumption.&lt;br /&gt;
&lt;br /&gt;
This approximation cannot be used when the temperature approaches that of the melting point of MgO due to the new lattice parameters. Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; begin to behave as separate ions as MgO begins to melt and becomes molten. Therefore the quasi-harmonic approximation cannot be used as it only takes into account linear movement.&lt;br /&gt;
&lt;br /&gt;
For a diatomic molecule with an exactly harmonic potential the bond is not allowed to break and the bond length is fixed around that of its equilibrium length. Therefore the lattice constant will only increase up to a distance just prior to bond cleavage. However, in these calculations the quasi-harmonic approximation allows the bonds to break within MgO and so the lattice constant can, in theory, increase to infinity.&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamics: ===&lt;br /&gt;
[[File:32_structure_dhl.png|300px|thumb|left|Figure 10: 32 unit MgO structure used for MD calculations]]&lt;br /&gt;
[[File:32_random_dhl.png|300px|thumb|right|Figure 11: 32 unit MgO structure post MD calculations]]&lt;br /&gt;
For the final section of this experiment the thermal expansion of MgO was once again calculated, but this time using the molecular dynamics method. This method allows the system to evolve according to Newton&#039;s Second Law &amp;lt;math&amp;gt; F= ma&amp;lt;/math&amp;gt;. The ensemble used was NPT, meaning the amount of substance, the pressure and the temperature were all set to be constant. The timestep at which the vibrations to be sampled was set to be 1 femtosecond (fs) and the number of equilibration steps and production steps were set to 500, with the temperature being avried from 100-1000K. When the number of sampled configurations are sufficiently large, the average calculated is representative for the time averaged system obeying the ergodic hypothesis. A structure containing 32 units and therefore 64 atoms was used in this calculation (Fig 12), and in order to compare the volumes between the quasi-harmonic approximation and the molecular dynamics method, the volumes produced were divided by 32.&lt;br /&gt;
[[File:MD_and_QH_comparison.png|300px|thumb|right|Graph 4: Comparison of Cell Volume change between QHA and MD]]&lt;br /&gt;
It can be seen that both methods show the same trend, that of the volume increasing with increasing temperature, however throughout the whole temperature range the QHA cell volume values are slightly higher than the MD values.. The QHA becomes the exact same linear trend as the MD results at 400-1000K. At these temperatures the Coefficient of Volumetric Thermal Expansion are very similar:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_VQHA=1.730\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_VMD=1.824\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the range of 0-400K there is little anharmonicity and so the QHA predicts the thermal expansion more accurately and produces the curved graph. The MD method does not predict this trend at lower temperatures and can only predict a linear trend for the thermal expansion of MgO. The QHA graph is more similar to that found in literature than the MD graph&amp;lt;ref name=&amp;quot;Thermal Expansion graph&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The 32 unit structure used for the MD calculations is a 2x2x2 lattice of the conventional unit cell. This is a lot smaller than the size used to compute the thermal expansion of MgO using the QHA, and therefore, to have accurate results from the MD method, a larger size should be used.&lt;br /&gt;
&lt;br /&gt;
The MD method allows movement in three dimensions whereas the QHA only allows movement in one dimension. Therefore, at higher temperatures it is expected that the MD method will give much higher volumes than the QHA.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Conclusion&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
The free energy and phonon dispersions were successfully computed for MgO, and the thermal expansion studied using the QHA and the MD method. All results tended to agree with literature values well and it was found that the QHA gave a more realistic trend for the change in cell volume with respect to temperature at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;References&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;&amp;gt; X. Wu, W. Li, W. Rui. Effect of temperature on elastic constants, generalized stacking fault energy and dislocation cores in MgO and CaO. &#039;&#039;Computational Condensed Matter&#039;&#039;. 2014: 38-44. Available from: DOI: 10.1016/j.cocom.2014.10.005&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Zeolite&amp;quot;&amp;gt; J. A Kaduk, J. Faber. Crystal Structure of Zeolite Y as a function of Ion Exchange. &#039;&#039;The Rigaku Journal&#039;&#039;. 1995;12: 14. Available from: http://www.rigaku.com/downloads/journal/Vol12.2.1995/kaduk.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Lithium&amp;quot;&amp;gt; M. R. Nadler, C. P Kempter. Crystallographic Data 186. Lithium. &#039;&#039;Analytical Chemistry&#039;&#039;. 1959;31:2109. Available from: &lt;br /&gt;
DOI: 10.1021/ac60156a007&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;&amp;gt; D. K. Smith, H. R. Leider. Low-Temperature Thermal Expansion of LiH, MgO and CaO. &#039;&#039;Journal of Applied Crystallography&#039;&#039;. 1968;1: 246-249. Available from: DOI: 10.1107/S0021889868005418&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;&amp;gt; J. F. W. Bowles, R. A. Howie, D. J. Vaughan, J. Zussman. Rock-forming Minerals: Non-silicates: oxides, hydroxides and sulphides 2nd ed. London: The Geological Society;2011 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion graph&amp;quot;&amp;gt; L.S. Dubrovinsky, S.K. Saxena. Thermal Expansion of Periclase (MgO) and Tungsten (W)to Melting Temperatures. &#039;&#039;Physics and Chemistry of Minerals&#039;&#039;. 1999;24(8): 547-550. Available from: DOI: 10.1007/s002690050070&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Studies in molecular dynamics&amp;quot;&amp;gt; B. J. Alder, T. E. Wainwright. Studies in Molecular Dynamics. I. General Method. &#039;&#039;The Journal of Chemical Physics&#039;&#039;. 1959;31: 459-466. Available from: DOI:10.1063/1.1730376&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Appendix&amp;lt;/u&amp;gt; ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Grid Size !! Helmholtz Free Energy (eV)!! Accuracy (meV)&lt;br /&gt;
|-&lt;br /&gt;
| 1x1x1 || -40.9303|| 4&lt;br /&gt;
|-&lt;br /&gt;
| 2x2x2 || -40.9266|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 3x3x3 || -40.9264|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 8x8x8 || -40.9265|| 0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16x16x16 || -40.9265|| 0.001&lt;br /&gt;
|-&lt;br /&gt;
| 32x32x32 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 40x40x40 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 50x50x50 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;3&amp;quot; |Table 1: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Grid Size&lt;br /&gt;
&lt;br /&gt;
(Computing Free Energy)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Helmholtz Free Energy (eV)&lt;br /&gt;
|-&lt;br /&gt;
| 0 || -40.9019        &lt;br /&gt;
|-&lt;br /&gt;
| 100 || -40.9024&lt;br /&gt;
|-&lt;br /&gt;
| 200 || -40.9094&lt;br /&gt;
|-&lt;br /&gt;
| 300 || -40.9281&lt;br /&gt;
|-&lt;br /&gt;
| 400 || -40.9585&lt;br /&gt;
|-&lt;br /&gt;
| 500 || -40.9994&lt;br /&gt;
|-&lt;br /&gt;
| 600 || -41.0493&lt;br /&gt;
|-&lt;br /&gt;
| 700 || -41.1071&lt;br /&gt;
|-&lt;br /&gt;
| 800 || -41.1719&lt;br /&gt;
|-&lt;br /&gt;
| 900 || -41.2440&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || -41.3198&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 2: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Temperature&lt;br /&gt;
&lt;br /&gt;
(Quasi-harmonic Approximation)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Lattice Constant&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 2.9894      &lt;br /&gt;
|-&lt;br /&gt;
| 100 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 300 || 2.9883&lt;br /&gt;
|-&lt;br /&gt;
| 400 || 2.9894&lt;br /&gt;
|-&lt;br /&gt;
| 500 || 2.9916&lt;br /&gt;
|-&lt;br /&gt;
| 600 || 2.9941&lt;br /&gt;
|-&lt;br /&gt;
| 700 || 2.9968&lt;br /&gt;
|-&lt;br /&gt;
| 800 || 2.9996&lt;br /&gt;
|-&lt;br /&gt;
| 900 || 3.0026&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 3.0056&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 3: Raw Data showing change in&lt;br /&gt;
Lattice Constant with Temperature&lt;br /&gt;
&lt;br /&gt;
(Quasi-harmonic Approximation)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Lattice Constant&lt;br /&gt;
|-&lt;br /&gt;
| 100 || 18.7348    &lt;br /&gt;
|-&lt;br /&gt;
| 200 || 18.7833&lt;br /&gt;
|-&lt;br /&gt;
| 300 || 18.8348&lt;br /&gt;
|-&lt;br /&gt;
| 400 || 18.8940&lt;br /&gt;
|-&lt;br /&gt;
| 500 || 18.9476&lt;br /&gt;
|-&lt;br /&gt;
| 600 || 19.0052&lt;br /&gt;
|-&lt;br /&gt;
| 700 || 19.0652&lt;br /&gt;
|-&lt;br /&gt;
| 800 || 19.1282&lt;br /&gt;
|-&lt;br /&gt;
| 900 || 19.1894&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 19.1894&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 4: Raw Data showing change in&lt;br /&gt;
Volume with Temperature&lt;br /&gt;
&lt;br /&gt;
(Molecular Dynamics)&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dl2613</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=551265</id>
		<title>Rep:Mod:Dl2613</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=551265"/>
		<updated>2016-03-09T16:04:58Z</updated>

		<summary type="html">&lt;p&gt;Dl2613: /* Molecular Dynamics: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== &amp;lt;u&amp;gt;Introduction&amp;lt;/u&amp;gt; ==&lt;br /&gt;
The aim of this experiment was to use a simple model of atomic interactions to calculate the energy and vibrations of a crystal of MgO. This was then used to compute the free energy, phonon dispersions and to predict how MgO expands when heated. The quasi-harmonic approximation (QHA) and molecular dynamics methods were used to do these calculations.&lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon based model of solid-state physics and can describe volume-dependant thermal effects of structures, such as the MgO crystal. This assumption assumes that for every lattice value the harmonic oscillator assumption is true. MD is a type of N-body simulation, it allows atoms and molecules to interact for a fixed period of time showing the dynamics of a system. In this experiment the MD was run on an isothermal-isobaric (NPT) ensemble in which the amount of substance, pressure and temperature are fixed. MD allows motion in three dimensions.&lt;br /&gt;
&lt;br /&gt;
The software used for this experiment was RedHat Linux. DLVisualize (DLV) was used for the visualisation of the structure and properties of the MgO crystal. General Utility Lattice Program (GULP) is a supporting interface of DLV and was used to perform analytical solutions on MgO through the use of lattice dynamics.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Internal Energy Calculation on MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Better_unit_cell.png|300px|thumb|right|Figure 1: MgO Primitive Unit Cell]]&lt;br /&gt;
In this first exercise the internal energy and structure of MgO was calculated using GULP from the primitive unit cell of the crystal (Fig 1). An ionic potential model was used, without shells included and at a single point. The primitive unit cell is the simplest cell to describe the crystal structure of MgO and contains 2 atoms. The lattice vectors of this cell are:&lt;br /&gt;
&lt;br /&gt;
0.000   2.106   2.106&lt;br /&gt;
&lt;br /&gt;
2.106   0.000   2.106&lt;br /&gt;
&lt;br /&gt;
2.106   2.106   0.000&lt;br /&gt;
&lt;br /&gt;
From the [[Media:MgO_0_DHL.out| log file]] it can be seen that the lattice parameters are defined by the length 2.978Å and the angle 60º, giving the primitive unit cell the shape of a rhombohedron. Each primitive cell was calculated to have an energy of -40.08 eV and this corresponds to the binding energy of the crystal. The primitive cell can be used to build up a lattice by repeating its structure.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Calculation of phonon modes of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Computing the Phonon Dispersion Curves: ===&lt;br /&gt;
[[File:MgO_Phonon_Dispersion_DHL.png|300px|thumb|left|Figure 2: MgO Phonon Dispersion]]&lt;br /&gt;
The phonon frequencies were then computed along the symmetry points &amp;lt;math&amp;gt;W, L, G, W, X, K&amp;lt;/math&amp;gt; in k space. The calculation was set up for 50 Npoints with phonon eigenvectors included in the calculation. For a 3D crystal of diatomic molecules with two atom types, six vibration modes are observed in the phonon dispersion curves (Fig 2). A positive dispersion relation results in optical modes and a negative dispersion relation results in acoustic modes. Two adjacent different atoms move with each other in the optical mode, but move against each other in the acoustic mode. The acoustic modes equal 0   cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;  at the point Γ whereas the optical modes do not. It can be seen that there are three acoustic modes and three optical modes. The three acoustic modes can be split into one longitudinal acoustic mode and two transverse acoustic modes. The two transverse modes become degenerate between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;. The phonon dispersion curve agrees with that found in literature&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== The Phonon Density of States: ===&lt;br /&gt;
A simpler energy level diagram than the phonon dispersion relation is the density of states (DOS). The DOS is an average over the time and space demains of the MgO system and was calculated for the phonons as a function of the wave vector k. The dimensional limits of the MgO crystal affects the DOS and therefore it is expected that the DOS will change with the grid size of the MgO crystal.&lt;br /&gt;
&lt;br /&gt;
To begin with the DOS calculation was ran on a 1x1x1 grid, corresponding to a single k point. Comparison between Figure 2 and 3 shows that the single k point is the symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The frequencies of the phonon dispersions are identical in the two graphs. Four peaks instead of six are observed due to the fact that 2 pairs of modes become degenerate between &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. These degenerate modes correspond to the peaks between 250 and 400 cm &amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, explaining why those peaks are double the intensity of the high frequency peaks. It can been seen that a grid size of 1x1x1 is not a good representative of the DOS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_Phonon_DOS_DHL.png|300px|none|thumb|left|Figure 3: MgO Phonon DOS 1x1x1]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_3x3x3_DHL.png|300px|none|thumb|middle|Figure 4: MgO Phonon DOS 3x3x3]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_8x8x8_DHL.png|300px|none|thumb|middle|Figure 5: MgO Phonon DOS 8x8x8]]&lt;br /&gt;
|}&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_phonon_DOS_16x16x16_DHL.png|300px|none|thumb|left|Figure 6: MgO Phonon DOS 16x16x16]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_32x32x32_DHL.png|300px|none|thumb|left|Figure 7: MgO Phonon DOS 32x32x32]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_40x40x40_DHL.png|300px|none|thumb|middle|Figure 8: MgO Phonon DOS 40x40x40]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Several grid sizes were investigated up to 50x50x50 to find a compromise between an accurate DOS and the time taken to run the calculation. As the grid size is increased a more true depiction of the DOS is obtained for the MgO structure. Increasing the grid size increases the number of peaks and then changes the graph from random sharp intensities to a smoother curve. However, the highest intensity point remains at 400 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; throughout all grid sizes and the higher frequencies having lower intensities. The bigger the grid size, the more k points that are sampled and the more representative the DOS plots. It can be seen in the figures above that the DOS curve is unchanged between 32x32x32 and 40x40x40, however, the running time increases greatly for the 40x40x40 grid size. Therefore, it was decided that the 32x32x32 grid size was the optimum and was used in further calculations.&lt;br /&gt;
&lt;br /&gt;
The size of the grid set in the calculations is inversely related to the size of the structure in real space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This equation shows that the bigger a* (size of grid in k space) the smaller a (size of cell in real space). Therefore the bigger the cell in real space, the smaller the grid size needed for the calculation of DOS. This means that a similar oxide such as CaO will require a similar grid size as MgO for the calculation of DOS. Faujasite, a zeolite, has a lattice parameter in the range 24.2 - 25.1 Å &amp;lt;ref name=&amp;quot;Zeolite&amp;quot;/&amp;gt; and would therefore need a small grid size for the DOS calculation. Lithium, a small metal, has a lattice parameter of 3.51 Å &amp;lt;ref name=&amp;quot;Lithium&amp;quot;/&amp;gt; and would therefore need a large grid size for the DOS calculation to represent its small cell size in real space.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Computing the Free Energy&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Task_3_graph.png|300px|thumb|right|Graph 1: A Graph to show how the Free Energy changes with Grid Size]]&lt;br /&gt;
The Helmholtz Free Energy of MgO was then computed using the quasi-harmonic approximation on the same grid sizes as in the previous section at a temperature of 300K. Helmholtz Free Energy is given by the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A=Helmholtz Free Energy, U=Internal Energy, S=Entropy and T=Temperature&lt;br /&gt;
&lt;br /&gt;
This states that the Helmholtz Free Energy should increase with increasing internal energy and decreasing temperature and entropy. This said, the Helmholtz Free Energy should decrease with increasing grid size. This can be explained with the aid of the following statistical mechanics equation of entropy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt; where S=Entropy, k=Boltzmann Constant and W=number of microstates&lt;br /&gt;
&lt;br /&gt;
As the grid size increases the number of microstates sampled also increases. This in turn increases the entropy and decreases the TS term in the Helmholtz Free Energy equation. The decrease in Helmholtz Free Energy can be further explained using the following equation of internal energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt; where U=internal Energy, H=Enthalpy, P=Pressure and V=Volume&lt;br /&gt;
&lt;br /&gt;
As the grid size increases so does its volume, therefore decreasing the internal energy. This further decreases the Helmholtz Free Energy. It can be seen in Graph 1 that initially the Helmholtz Free Energy increases with grid size from 1x1x1 to 3x3x3 and then begins to follow the expected trend and decrease with increasing grid size. Table 1 shows that the accuracy of the Helmholtz Free Energy increases with grid size.&lt;br /&gt;
The Helmholtz Free Energy converges to a value of -40.93 eV, with the 32x32x32 grid size being the most appropriate to run calculations from, providing the correct Helmholtz Free Energy and a suitable length of time to run the calculation.&lt;br /&gt;
&lt;br /&gt;
For CaO, a similar sized crystal to MgO (lattice constant CaO = 4.811 Å, lattice constant MgO = 4.212 Å)&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;/&amp;gt;, a similar size grid will be required for the calculation of the Helmholtz Free Energy. Faujasite would require a smaller grid size due to its large lattice constant and lithium a larger grid size than MgO due to its small lattice constant.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;The Thermal Expansion of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Thermal expansion is the ability of matter to change size, volume and shape in a response to the change in temperature. When a substance is heated the molecules vibrate and begin to move more, and their average separation increases. This thermal expansion is indicated by the Coefficient of Linear Thermal Expansion (CTE). Uniform linear objects have a thermal expansion proportional to temperate over a small range of temperatures. The equation used to calculate the linear CTE is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;=linear CTE, &amp;lt;math&amp;gt;{L_0}&amp;lt;/math&amp;gt;=lattice constant at 0K and &amp;lt;math&amp;gt;dL/dT&amp;lt;/math&amp;gt;=rate of change of lattice constant with respect to temperature&lt;br /&gt;
&lt;br /&gt;
A volumetric CTE can also be calculated using the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt;=volumetric CTE, &amp;lt;math&amp;gt;{V}&amp;lt;/math&amp;gt;= volume and &amp;lt;math&amp;gt;\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;= partial derivative of volume with respect to temperature at constant pressure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Quasi-harmonic Approximation: ===&lt;br /&gt;
[[File:Task_4_graph_1.png|300px|thumb|left|Graph 2: A graph to show how the free energy of MgO changes with temperature]]&lt;br /&gt;
[[File:Task_4_graph_2.png|300px|thumb|right|Graph 3: A graph to show how the lattice constant of MgO changes with temperature]]&lt;br /&gt;
Using the 32x32x32 grid size of MgO the free energy was then optimised. The optimisation opts was set to optimise Gibbs Free Energy and the temperature was varied from 0 - 1000K. The free energy decreases with increasing temperature in a parabolic fashion to the order of 2. This negative correlation can be explained using the equation for Gibbs Free Energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G=H-TS&amp;lt;/math&amp;gt; where G=Gibbs Free Energy, H=Enthalpy, T=Temperature and S=Entropy&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Increasing the temperature decreases the TS term therefore decreasing the Gibbs Free Energy.&lt;br /&gt;
&lt;br /&gt;
The lattice constant increases in a parabolic fashion to the order of 2 with increasing temperature due to the thermal expansion.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Calculation of CTE: ====&lt;br /&gt;
Coefficient of Linear Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{2.9894}\,\frac{3.0056-2.9894}{1000}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=5.419\times10^{-6}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Coefficient of Volumetric Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{26.71481005}\,\left(\frac{27.15148242-26.71481005}{1000}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V=1.634\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It can be seen that the α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt; is 3.015 times that of the α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;. This is because MgO expands at the same rate in all three directions in three-dimensions, it is an isotropic compound. The CFE values are close to those found in literature at &amp;lt;math&amp;gt;\alpha_L=7.88\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=2.36\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; which were calculated using a temperature range close to that used in this experiment at 301.15-1273.15 K&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;/&amp;gt; (results from experiment give &amp;lt;math&amp;gt;\alpha_L=5.789\times10^{-6}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=1.747\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; if calculated from 300-1000K).&lt;br /&gt;
&lt;br /&gt;
The main approximation in the calculations of the thermal expansion is to do with the anharmonic contributions to the harmonic approximation. In order to simplify, the phonon frequencies are set to be volume dependent and so at a higher temperature the anharmonic factor increases. The Born-Oppenheimer Approximation, which assumes that the motion of atomic nuclei and electrons in a molecule can be separated, is another assumption.&lt;br /&gt;
&lt;br /&gt;
This approximation cannot be used when the temperature approaches that of the melting point of MgO due to the new lattice parameters. Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; begin to behave as separate ions as MgO begins to melt and becomes molten. Therefore the quasi-harmonic approximation cannot be used as it only takes into account linear movement.&lt;br /&gt;
&lt;br /&gt;
For a diatomic molecule with an exactly harmonic potential the bond is not allowed to break and the bond length is fixed around that of its equilibrium length. Therefore the lattice constant will only increase up to a distance just prior to bond cleavage. However, in these calculations the quasi-harmonic approximation allows the bonds to break within MgO and so the lattice constant can, in theory, increase to infinity.&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamics: ===&lt;br /&gt;
[[File:32_structure_dhl.png|300px|thumb|left|Figure 10: 32 unit MgO structure used for MD calculations]]&lt;br /&gt;
[[File:32_random_dhl.png|300px|thumb|right|Figure 11: 32 unit MgO structure post MD calculations]]&lt;br /&gt;
For the final section of this experiment the thermal expansion of MgO was once again calculated, but this time using the molecular dynamics method. This method allows the system to evolve according to Newton&#039;s Second Law &amp;lt;math&amp;gt; F= ma&amp;lt;/math&amp;gt;. The ensemble used was NPT, meaning the amount of substance, the pressure and the temperature were all set to be constant. The timestep at which the vibrations to be sampled was set to be 1 femtosecond (fs) and the number of equilibration steps and production steps were set to 500, with the temperature being avried from 100-1000K. When the number of sampled configurations are sufficiently large, the average calculated is representative for the time averaged system obeying the ergodic hypothesis. A structure containing 32 units and therefore 64 atoms was used in this calculation (Fig 12), and in order to compare the volumes between the quasi-harmonic approximation and the molecular dynamics method, the volumes produced were divided by 32.&lt;br /&gt;
[[File:MD_and_QH_comparison.png|300px|thumb|right|Graph 4: Comparison of Cell Volume change between QHA and MD]]&lt;br /&gt;
It can be seen that both methods show the same trend, that of the volume increasing with increasing temperature, however throughout the whole temperature range the QHA cell volume values are slightly higher than the MD values.. The QHA becomes the exact same linear trend as the MD results at 400-1000K. At these temperatures the Coefficient of Volumetric Thermal Expansion are very similar:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_VQHA=1.730\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_VMD=1.824\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the range of 0-400K there is little anharmonicity and so the QHA predicts the thermal expansion more accurately and produces the curved graph. The MD method does not predict this trend at lower temperatures and can only predict a linear trend for the thermal expansion of MgO. The QHA graph is more similar to that found in literature than the MD graph&amp;lt;ref name=&amp;quot;Thermal Expansion graph&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The 32 unit structure used for the MD calculations is a 2x2x2 lattice of the conventional unit cell. This is a lot smaller than the size used to compute the thermal expansion of MgO using the QHA, and therefore, to have accurate results from the MD method, a larger size should be used.&lt;br /&gt;
&lt;br /&gt;
The MD method allows movement in three dimensions whereas the QHA only allows movement in one dimension. Therefore, at higher temperatures it is expected that the MD method will give much higher volumes than the QHA.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Conclusion&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
The free energy and phonon dispersions were successfully computed for MgO, and the thermal expansion studied using the QHA and the MD method. All results tended to agree with literature values well and it was found that the QHA gave a more realistic trend for the change in cell volume with respect to temperature at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;References&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;&amp;gt; X. Wu, W. Li, W. Rui. Effect of temperature on elastic constants, generalized stacking fault energy and dislocation cores in MgO and CaO. &#039;&#039;Computational Condensed Matter&#039;&#039;. 2014: 38-44. Available from: DOI: 10.1016/j.cocom.2014.10.005&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Zeolite&amp;quot;&amp;gt; J. A Kaduk, J. Faber. Crystal Structure of Zeolite Y as a function of Ion Exchange. &#039;&#039;The Rigaku Journal&#039;&#039;. 1995;12: 14. Available from: http://www.rigaku.com/downloads/journal/Vol12.2.1995/kaduk.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Lithium&amp;quot;&amp;gt; M. R. Nadler, C. P Kempter. Crystallographic Data 186. Lithium. &#039;&#039;Analytical Chemistry&#039;&#039;. 1959;31:2109. Available from: &lt;br /&gt;
DOI: 10.1021/ac60156a007&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;&amp;gt; D. K. Smith, H. R. Leider. Low-Temperature Thermal Expansion of LiH, MgO and CaO. &#039;&#039;Journal of Applied Crystallography&#039;&#039;. 1968;1: 246-249. Available from: DOI: 10.1107/S0021889868005418&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;&amp;gt; J. F. W. Bowles, R. A. Howie, D. J. Vaughan, J. Zussman. Rock-forming Minerals: Non-silicates: oxides, hydroxides and sulphides 2nd ed. London: The Geological Society;2011 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion graph&amp;quot;&amp;gt; L.S. Dubrovinsky, S.K. Saxena. Thermal Expansion of Periclase (MgO) and Tungsten (W)to Melting Temperatures. &#039;&#039;Physics and Chemistry of Minerals&#039;&#039;. 1999;24(8): 547-550. Available from: DOI: 10.1007/s002690050070&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Appendix&amp;lt;/u&amp;gt; ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Grid Size !! Helmholtz Free Energy (eV)!! Accuracy (meV)&lt;br /&gt;
|-&lt;br /&gt;
| 1x1x1 || -40.9303|| 4&lt;br /&gt;
|-&lt;br /&gt;
| 2x2x2 || -40.9266|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 3x3x3 || -40.9264|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 8x8x8 || -40.9265|| 0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16x16x16 || -40.9265|| 0.001&lt;br /&gt;
|-&lt;br /&gt;
| 32x32x32 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 40x40x40 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 50x50x50 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;3&amp;quot; |Table 1: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Grid Size&lt;br /&gt;
&lt;br /&gt;
(Computing Free Energy)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Helmholtz Free Energy (eV)&lt;br /&gt;
|-&lt;br /&gt;
| 0 || -40.9019        &lt;br /&gt;
|-&lt;br /&gt;
| 100 || -40.9024&lt;br /&gt;
|-&lt;br /&gt;
| 200 || -40.9094&lt;br /&gt;
|-&lt;br /&gt;
| 300 || -40.9281&lt;br /&gt;
|-&lt;br /&gt;
| 400 || -40.9585&lt;br /&gt;
|-&lt;br /&gt;
| 500 || -40.9994&lt;br /&gt;
|-&lt;br /&gt;
| 600 || -41.0493&lt;br /&gt;
|-&lt;br /&gt;
| 700 || -41.1071&lt;br /&gt;
|-&lt;br /&gt;
| 800 || -41.1719&lt;br /&gt;
|-&lt;br /&gt;
| 900 || -41.2440&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || -41.3198&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 2: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Temperature&lt;br /&gt;
&lt;br /&gt;
(Quasi-harmonic Approximation)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Lattice Constant&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 2.9894      &lt;br /&gt;
|-&lt;br /&gt;
| 100 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 300 || 2.9883&lt;br /&gt;
|-&lt;br /&gt;
| 400 || 2.9894&lt;br /&gt;
|-&lt;br /&gt;
| 500 || 2.9916&lt;br /&gt;
|-&lt;br /&gt;
| 600 || 2.9941&lt;br /&gt;
|-&lt;br /&gt;
| 700 || 2.9968&lt;br /&gt;
|-&lt;br /&gt;
| 800 || 2.9996&lt;br /&gt;
|-&lt;br /&gt;
| 900 || 3.0026&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 3.0056&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 3: Raw Data showing change in&lt;br /&gt;
Lattice Constant with Temperature&lt;br /&gt;
&lt;br /&gt;
(Quasi-harmonic Approximation)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Lattice Constant&lt;br /&gt;
|-&lt;br /&gt;
| 100 || 18.7348    &lt;br /&gt;
|-&lt;br /&gt;
| 200 || 18.7833&lt;br /&gt;
|-&lt;br /&gt;
| 300 || 18.8348&lt;br /&gt;
|-&lt;br /&gt;
| 400 || 18.8940&lt;br /&gt;
|-&lt;br /&gt;
| 500 || 18.9476&lt;br /&gt;
|-&lt;br /&gt;
| 600 || 19.0052&lt;br /&gt;
|-&lt;br /&gt;
| 700 || 19.0652&lt;br /&gt;
|-&lt;br /&gt;
| 800 || 19.1282&lt;br /&gt;
|-&lt;br /&gt;
| 900 || 19.1894&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 19.1894&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 4: Raw Data showing change in&lt;br /&gt;
Volume with Temperature&lt;br /&gt;
&lt;br /&gt;
(Molecular Dynamics)&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dl2613</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=551260</id>
		<title>Rep:Mod:Dl2613</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=551260"/>
		<updated>2016-03-09T16:01:53Z</updated>

		<summary type="html">&lt;p&gt;Dl2613: /* Quasi-harmonic Approximation: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== &amp;lt;u&amp;gt;Introduction&amp;lt;/u&amp;gt; ==&lt;br /&gt;
The aim of this experiment was to use a simple model of atomic interactions to calculate the energy and vibrations of a crystal of MgO. This was then used to compute the free energy, phonon dispersions and to predict how MgO expands when heated. The quasi-harmonic approximation (QHA) and molecular dynamics methods were used to do these calculations.&lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon based model of solid-state physics and can describe volume-dependant thermal effects of structures, such as the MgO crystal. This assumption assumes that for every lattice value the harmonic oscillator assumption is true. MD is a type of N-body simulation, it allows atoms and molecules to interact for a fixed period of time showing the dynamics of a system. In this experiment the MD was run on an isothermal-isobaric (NPT) ensemble in which the amount of substance, pressure and temperature are fixed. MD allows motion in three dimensions.&lt;br /&gt;
&lt;br /&gt;
The software used for this experiment was RedHat Linux. DLVisualize (DLV) was used for the visualisation of the structure and properties of the MgO crystal. General Utility Lattice Program (GULP) is a supporting interface of DLV and was used to perform analytical solutions on MgO through the use of lattice dynamics.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Internal Energy Calculation on MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Better_unit_cell.png|300px|thumb|right|Figure 1: MgO Primitive Unit Cell]]&lt;br /&gt;
In this first exercise the internal energy and structure of MgO was calculated using GULP from the primitive unit cell of the crystal (Fig 1). An ionic potential model was used, without shells included and at a single point. The primitive unit cell is the simplest cell to describe the crystal structure of MgO and contains 2 atoms. The lattice vectors of this cell are:&lt;br /&gt;
&lt;br /&gt;
0.000   2.106   2.106&lt;br /&gt;
&lt;br /&gt;
2.106   0.000   2.106&lt;br /&gt;
&lt;br /&gt;
2.106   2.106   0.000&lt;br /&gt;
&lt;br /&gt;
From the [[Media:MgO_0_DHL.out| log file]] it can be seen that the lattice parameters are defined by the length 2.978Å and the angle 60º, giving the primitive unit cell the shape of a rhombohedron. Each primitive cell was calculated to have an energy of -40.08 eV and this corresponds to the binding energy of the crystal. The primitive cell can be used to build up a lattice by repeating its structure.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Calculation of phonon modes of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Computing the Phonon Dispersion Curves: ===&lt;br /&gt;
[[File:MgO_Phonon_Dispersion_DHL.png|300px|thumb|left|Figure 2: MgO Phonon Dispersion]]&lt;br /&gt;
The phonon frequencies were then computed along the symmetry points &amp;lt;math&amp;gt;W, L, G, W, X, K&amp;lt;/math&amp;gt; in k space. The calculation was set up for 50 Npoints with phonon eigenvectors included in the calculation. For a 3D crystal of diatomic molecules with two atom types, six vibration modes are observed in the phonon dispersion curves (Fig 2). A positive dispersion relation results in optical modes and a negative dispersion relation results in acoustic modes. Two adjacent different atoms move with each other in the optical mode, but move against each other in the acoustic mode. The acoustic modes equal 0   cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;  at the point Γ whereas the optical modes do not. It can be seen that there are three acoustic modes and three optical modes. The three acoustic modes can be split into one longitudinal acoustic mode and two transverse acoustic modes. The two transverse modes become degenerate between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;. The phonon dispersion curve agrees with that found in literature&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== The Phonon Density of States: ===&lt;br /&gt;
A simpler energy level diagram than the phonon dispersion relation is the density of states (DOS). The DOS is an average over the time and space demains of the MgO system and was calculated for the phonons as a function of the wave vector k. The dimensional limits of the MgO crystal affects the DOS and therefore it is expected that the DOS will change with the grid size of the MgO crystal.&lt;br /&gt;
&lt;br /&gt;
To begin with the DOS calculation was ran on a 1x1x1 grid, corresponding to a single k point. Comparison between Figure 2 and 3 shows that the single k point is the symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The frequencies of the phonon dispersions are identical in the two graphs. Four peaks instead of six are observed due to the fact that 2 pairs of modes become degenerate between &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. These degenerate modes correspond to the peaks between 250 and 400 cm &amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, explaining why those peaks are double the intensity of the high frequency peaks. It can been seen that a grid size of 1x1x1 is not a good representative of the DOS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_Phonon_DOS_DHL.png|300px|none|thumb|left|Figure 3: MgO Phonon DOS 1x1x1]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_3x3x3_DHL.png|300px|none|thumb|middle|Figure 4: MgO Phonon DOS 3x3x3]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_8x8x8_DHL.png|300px|none|thumb|middle|Figure 5: MgO Phonon DOS 8x8x8]]&lt;br /&gt;
|}&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_phonon_DOS_16x16x16_DHL.png|300px|none|thumb|left|Figure 6: MgO Phonon DOS 16x16x16]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_32x32x32_DHL.png|300px|none|thumb|left|Figure 7: MgO Phonon DOS 32x32x32]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_40x40x40_DHL.png|300px|none|thumb|middle|Figure 8: MgO Phonon DOS 40x40x40]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Several grid sizes were investigated up to 50x50x50 to find a compromise between an accurate DOS and the time taken to run the calculation. As the grid size is increased a more true depiction of the DOS is obtained for the MgO structure. Increasing the grid size increases the number of peaks and then changes the graph from random sharp intensities to a smoother curve. However, the highest intensity point remains at 400 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; throughout all grid sizes and the higher frequencies having lower intensities. The bigger the grid size, the more k points that are sampled and the more representative the DOS plots. It can be seen in the figures above that the DOS curve is unchanged between 32x32x32 and 40x40x40, however, the running time increases greatly for the 40x40x40 grid size. Therefore, it was decided that the 32x32x32 grid size was the optimum and was used in further calculations.&lt;br /&gt;
&lt;br /&gt;
The size of the grid set in the calculations is inversely related to the size of the structure in real space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This equation shows that the bigger a* (size of grid in k space) the smaller a (size of cell in real space). Therefore the bigger the cell in real space, the smaller the grid size needed for the calculation of DOS. This means that a similar oxide such as CaO will require a similar grid size as MgO for the calculation of DOS. Faujasite, a zeolite, has a lattice parameter in the range 24.2 - 25.1 Å &amp;lt;ref name=&amp;quot;Zeolite&amp;quot;/&amp;gt; and would therefore need a small grid size for the DOS calculation. Lithium, a small metal, has a lattice parameter of 3.51 Å &amp;lt;ref name=&amp;quot;Lithium&amp;quot;/&amp;gt; and would therefore need a large grid size for the DOS calculation to represent its small cell size in real space.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Computing the Free Energy&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Task_3_graph.png|300px|thumb|right|Graph 1: A Graph to show how the Free Energy changes with Grid Size]]&lt;br /&gt;
The Helmholtz Free Energy of MgO was then computed using the quasi-harmonic approximation on the same grid sizes as in the previous section at a temperature of 300K. Helmholtz Free Energy is given by the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A=Helmholtz Free Energy, U=Internal Energy, S=Entropy and T=Temperature&lt;br /&gt;
&lt;br /&gt;
This states that the Helmholtz Free Energy should increase with increasing internal energy and decreasing temperature and entropy. This said, the Helmholtz Free Energy should decrease with increasing grid size. This can be explained with the aid of the following statistical mechanics equation of entropy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt; where S=Entropy, k=Boltzmann Constant and W=number of microstates&lt;br /&gt;
&lt;br /&gt;
As the grid size increases the number of microstates sampled also increases. This in turn increases the entropy and decreases the TS term in the Helmholtz Free Energy equation. The decrease in Helmholtz Free Energy can be further explained using the following equation of internal energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt; where U=internal Energy, H=Enthalpy, P=Pressure and V=Volume&lt;br /&gt;
&lt;br /&gt;
As the grid size increases so does its volume, therefore decreasing the internal energy. This further decreases the Helmholtz Free Energy. It can be seen in Graph 1 that initially the Helmholtz Free Energy increases with grid size from 1x1x1 to 3x3x3 and then begins to follow the expected trend and decrease with increasing grid size. Table 1 shows that the accuracy of the Helmholtz Free Energy increases with grid size.&lt;br /&gt;
The Helmholtz Free Energy converges to a value of -40.93 eV, with the 32x32x32 grid size being the most appropriate to run calculations from, providing the correct Helmholtz Free Energy and a suitable length of time to run the calculation.&lt;br /&gt;
&lt;br /&gt;
For CaO, a similar sized crystal to MgO (lattice constant CaO = 4.811 Å, lattice constant MgO = 4.212 Å)&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;/&amp;gt;, a similar size grid will be required for the calculation of the Helmholtz Free Energy. Faujasite would require a smaller grid size due to its large lattice constant and lithium a larger grid size than MgO due to its small lattice constant.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;The Thermal Expansion of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Thermal expansion is the ability of matter to change size, volume and shape in a response to the change in temperature. When a substance is heated the molecules vibrate and begin to move more, and their average separation increases. This thermal expansion is indicated by the Coefficient of Linear Thermal Expansion (CTE). Uniform linear objects have a thermal expansion proportional to temperate over a small range of temperatures. The equation used to calculate the linear CTE is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;=linear CTE, &amp;lt;math&amp;gt;{L_0}&amp;lt;/math&amp;gt;=lattice constant at 0K and &amp;lt;math&amp;gt;dL/dT&amp;lt;/math&amp;gt;=rate of change of lattice constant with respect to temperature&lt;br /&gt;
&lt;br /&gt;
A volumetric CTE can also be calculated using the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt;=volumetric CTE, &amp;lt;math&amp;gt;{V}&amp;lt;/math&amp;gt;= volume and &amp;lt;math&amp;gt;\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;= partial derivative of volume with respect to temperature at constant pressure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Quasi-harmonic Approximation: ===&lt;br /&gt;
[[File:Task_4_graph_1.png|300px|thumb|left|Graph 2: A graph to show how the free energy of MgO changes with temperature]]&lt;br /&gt;
[[File:Task_4_graph_2.png|300px|thumb|right|Graph 3: A graph to show how the lattice constant of MgO changes with temperature]]&lt;br /&gt;
Using the 32x32x32 grid size of MgO the free energy was then optimised. The optimisation opts was set to optimise Gibbs Free Energy and the temperature was varied from 0 - 1000K. The free energy decreases with increasing temperature in a parabolic fashion to the order of 2. This negative correlation can be explained using the equation for Gibbs Free Energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G=H-TS&amp;lt;/math&amp;gt; where G=Gibbs Free Energy, H=Enthalpy, T=Temperature and S=Entropy&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Increasing the temperature decreases the TS term therefore decreasing the Gibbs Free Energy.&lt;br /&gt;
&lt;br /&gt;
The lattice constant increases in a parabolic fashion to the order of 2 with increasing temperature due to the thermal expansion.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Calculation of CTE: ====&lt;br /&gt;
Coefficient of Linear Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{2.9894}\,\frac{3.0056-2.9894}{1000}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=5.419\times10^{-6}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Coefficient of Volumetric Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{26.71481005}\,\left(\frac{27.15148242-26.71481005}{1000}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V=1.634\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It can be seen that the α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt; is 3.015 times that of the α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;. This is because MgO expands at the same rate in all three directions in three-dimensions, it is an isotropic compound. The CFE values are close to those found in literature at &amp;lt;math&amp;gt;\alpha_L=7.88\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=2.36\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; which were calculated using a temperature range close to that used in this experiment at 301.15-1273.15 K&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;/&amp;gt; (results from experiment give &amp;lt;math&amp;gt;\alpha_L=5.789\times10^{-6}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=1.747\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; if calculated from 300-1000K).&lt;br /&gt;
&lt;br /&gt;
The main approximation in the calculations of the thermal expansion is to do with the anharmonic contributions to the harmonic approximation. In order to simplify, the phonon frequencies are set to be volume dependent and so at a higher temperature the anharmonic factor increases. The Born-Oppenheimer Approximation, which assumes that the motion of atomic nuclei and electrons in a molecule can be separated, is another assumption.&lt;br /&gt;
&lt;br /&gt;
This approximation cannot be used when the temperature approaches that of the melting point of MgO due to the new lattice parameters. Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; begin to behave as separate ions as MgO begins to melt and becomes molten. Therefore the quasi-harmonic approximation cannot be used as it only takes into account linear movement.&lt;br /&gt;
&lt;br /&gt;
For a diatomic molecule with an exactly harmonic potential the bond is not allowed to break and the bond length is fixed around that of its equilibrium length. Therefore the lattice constant will only increase up to a distance just prior to bond cleavage. However, in these calculations the quasi-harmonic approximation allows the bonds to break within MgO and so the lattice constant can, in theory, increase to infinity.&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamics: ===&lt;br /&gt;
[[File:32_structure_dhl.png|300px|thumb|left|Figure 10: 32 unit MgO structure used for MD calculations]]&lt;br /&gt;
[[File:32_random_dhl.png|300px|thumb|right|Figure 11: 32 unit MgO structure post MD calculations]]&lt;br /&gt;
For the final section of this experiment the thermal expansion of MgO was once again calculated, but this time using the molecular dynamics method. This method allows the system to evolve according to Newton&#039;s Second Law &amp;lt;math&amp;gt; F= ma&amp;lt;/math&amp;gt;. The ensemble used was NPT, meaning the number of particles, the pressure and the temperature were all set to be constant. The timestep at which the vibrations to be sampled was set to be 1 femtosecond (fs) and the number of equilibration steps and production steps were set to 500, with the temperature being avried from 100-1000K. When the number of sampled configurations are sufficiently large, the average calculated is representative for the time averaged system obeying the ergodic hypothesis. A structure containing 32 units and therefore 64 atoms was used in this calculation (Fig 12), and in order to compare the volumes between the quasi-harmonic approximation and the molecular dynamics method, the volumes produced were divided by 32.&lt;br /&gt;
[[File:MD_and_QH_comparison.png|300px|thumb|right|Graph 4: Comparison of Cell Volume change between QHA and MD]]&lt;br /&gt;
It can be seen that both methods show the same trend, that of the volume increasing with increasing temperature, however throughout the whole temperature range the QHA cell volume values are slightly higher than the MD values.. The QHA becomes the exact same linear trend as the MD results at 400-1000K. At these temperatures the Coefficient of Volumetric Thermal Expansion are very similar:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_VQHA=1.730\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_VMD=1.824\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the range of 0-400K there is little anharmonicity and so the QHA predicts the thermal expansion more accurately and produces the curved graph. The MD method does not predict this trend at lower temperatures and can only predict a linear trend for the thermal expansion of MgO. The QHA graph is more similar to that found in literature than the MD graph&amp;lt;ref name=&amp;quot;Thermal Expansion graph&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The 32 unit structure used for the MD calculations is a 2x2x2 lattice of the conventional unit cell. This is a lot smaller than the size used to compute the thermal expansion of MgO using the QHA, and therefore, to have accurate results from the MD method, a larger size should be used.&lt;br /&gt;
&lt;br /&gt;
The MD method allows movement in three dimensions whereas the QHA only allows movement in one dimension. Therefore, at higher temperatures it is expected that the MD method will give much higher volume values than the QHA.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Conclusion&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
The free energy and phonon dispersions were successfully computed for MgO, and the thermal expansion studied using the QHA and the MD method. All results tended to agree with literature values well and it was found that the QHA gave a more realistic trend for the change in cell volume with respect to temperature at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;References&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;&amp;gt; X. Wu, W. Li, W. Rui. Effect of temperature on elastic constants, generalized stacking fault energy and dislocation cores in MgO and CaO. &#039;&#039;Computational Condensed Matter&#039;&#039;. 2014: 38-44. Available from: DOI: 10.1016/j.cocom.2014.10.005&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Zeolite&amp;quot;&amp;gt; J. A Kaduk, J. Faber. Crystal Structure of Zeolite Y as a function of Ion Exchange. &#039;&#039;The Rigaku Journal&#039;&#039;. 1995;12: 14. Available from: http://www.rigaku.com/downloads/journal/Vol12.2.1995/kaduk.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Lithium&amp;quot;&amp;gt; M. R. Nadler, C. P Kempter. Crystallographic Data 186. Lithium. &#039;&#039;Analytical Chemistry&#039;&#039;. 1959;31:2109. Available from: &lt;br /&gt;
DOI: 10.1021/ac60156a007&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;&amp;gt; D. K. Smith, H. R. Leider. Low-Temperature Thermal Expansion of LiH, MgO and CaO. &#039;&#039;Journal of Applied Crystallography&#039;&#039;. 1968;1: 246-249. Available from: DOI: 10.1107/S0021889868005418&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;&amp;gt; J. F. W. Bowles, R. A. Howie, D. J. Vaughan, J. Zussman. Rock-forming Minerals: Non-silicates: oxides, hydroxides and sulphides 2nd ed. London: The Geological Society;2011 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion graph&amp;quot;&amp;gt; L.S. Dubrovinsky, S.K. Saxena. Thermal Expansion of Periclase (MgO) and Tungsten (W)to Melting Temperatures. &#039;&#039;Physics and Chemistry of Minerals&#039;&#039;. 1999;24(8): 547-550. Available from: DOI: 10.1007/s002690050070&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Appendix&amp;lt;/u&amp;gt; ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Grid Size !! Helmholtz Free Energy (eV)!! Accuracy (meV)&lt;br /&gt;
|-&lt;br /&gt;
| 1x1x1 || -40.9303|| 4&lt;br /&gt;
|-&lt;br /&gt;
| 2x2x2 || -40.9266|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 3x3x3 || -40.9264|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 8x8x8 || -40.9265|| 0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16x16x16 || -40.9265|| 0.001&lt;br /&gt;
|-&lt;br /&gt;
| 32x32x32 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 40x40x40 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 50x50x50 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;3&amp;quot; |Table 1: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Grid Size&lt;br /&gt;
&lt;br /&gt;
(Computing Free Energy)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Helmholtz Free Energy (eV)&lt;br /&gt;
|-&lt;br /&gt;
| 0 || -40.9019        &lt;br /&gt;
|-&lt;br /&gt;
| 100 || -40.9024&lt;br /&gt;
|-&lt;br /&gt;
| 200 || -40.9094&lt;br /&gt;
|-&lt;br /&gt;
| 300 || -40.9281&lt;br /&gt;
|-&lt;br /&gt;
| 400 || -40.9585&lt;br /&gt;
|-&lt;br /&gt;
| 500 || -40.9994&lt;br /&gt;
|-&lt;br /&gt;
| 600 || -41.0493&lt;br /&gt;
|-&lt;br /&gt;
| 700 || -41.1071&lt;br /&gt;
|-&lt;br /&gt;
| 800 || -41.1719&lt;br /&gt;
|-&lt;br /&gt;
| 900 || -41.2440&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || -41.3198&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 2: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Temperature&lt;br /&gt;
&lt;br /&gt;
(Quasi-harmonic Approximation)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Lattice Constant&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 2.9894      &lt;br /&gt;
|-&lt;br /&gt;
| 100 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 300 || 2.9883&lt;br /&gt;
|-&lt;br /&gt;
| 400 || 2.9894&lt;br /&gt;
|-&lt;br /&gt;
| 500 || 2.9916&lt;br /&gt;
|-&lt;br /&gt;
| 600 || 2.9941&lt;br /&gt;
|-&lt;br /&gt;
| 700 || 2.9968&lt;br /&gt;
|-&lt;br /&gt;
| 800 || 2.9996&lt;br /&gt;
|-&lt;br /&gt;
| 900 || 3.0026&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 3.0056&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 3: Raw Data showing change in&lt;br /&gt;
Lattice Constant with Temperature&lt;br /&gt;
&lt;br /&gt;
(Quasi-harmonic Approximation)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Lattice Constant&lt;br /&gt;
|-&lt;br /&gt;
| 100 || 18.7348    &lt;br /&gt;
|-&lt;br /&gt;
| 200 || 18.7833&lt;br /&gt;
|-&lt;br /&gt;
| 300 || 18.8348&lt;br /&gt;
|-&lt;br /&gt;
| 400 || 18.8940&lt;br /&gt;
|-&lt;br /&gt;
| 500 || 18.9476&lt;br /&gt;
|-&lt;br /&gt;
| 600 || 19.0052&lt;br /&gt;
|-&lt;br /&gt;
| 700 || 19.0652&lt;br /&gt;
|-&lt;br /&gt;
| 800 || 19.1282&lt;br /&gt;
|-&lt;br /&gt;
| 900 || 19.1894&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 19.1894&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 4: Raw Data showing change in&lt;br /&gt;
Volume with Temperature&lt;br /&gt;
&lt;br /&gt;
(Molecular Dynamics)&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dl2613</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=551257</id>
		<title>Rep:Mod:Dl2613</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=551257"/>
		<updated>2016-03-09T15:59:07Z</updated>

		<summary type="html">&lt;p&gt;Dl2613: /* The Thermal Expansion of MgO */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== &amp;lt;u&amp;gt;Introduction&amp;lt;/u&amp;gt; ==&lt;br /&gt;
The aim of this experiment was to use a simple model of atomic interactions to calculate the energy and vibrations of a crystal of MgO. This was then used to compute the free energy, phonon dispersions and to predict how MgO expands when heated. The quasi-harmonic approximation (QHA) and molecular dynamics methods were used to do these calculations.&lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon based model of solid-state physics and can describe volume-dependant thermal effects of structures, such as the MgO crystal. This assumption assumes that for every lattice value the harmonic oscillator assumption is true. MD is a type of N-body simulation, it allows atoms and molecules to interact for a fixed period of time showing the dynamics of a system. In this experiment the MD was run on an isothermal-isobaric (NPT) ensemble in which the amount of substance, pressure and temperature are fixed. MD allows motion in three dimensions.&lt;br /&gt;
&lt;br /&gt;
The software used for this experiment was RedHat Linux. DLVisualize (DLV) was used for the visualisation of the structure and properties of the MgO crystal. General Utility Lattice Program (GULP) is a supporting interface of DLV and was used to perform analytical solutions on MgO through the use of lattice dynamics.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Internal Energy Calculation on MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Better_unit_cell.png|300px|thumb|right|Figure 1: MgO Primitive Unit Cell]]&lt;br /&gt;
In this first exercise the internal energy and structure of MgO was calculated using GULP from the primitive unit cell of the crystal (Fig 1). An ionic potential model was used, without shells included and at a single point. The primitive unit cell is the simplest cell to describe the crystal structure of MgO and contains 2 atoms. The lattice vectors of this cell are:&lt;br /&gt;
&lt;br /&gt;
0.000   2.106   2.106&lt;br /&gt;
&lt;br /&gt;
2.106   0.000   2.106&lt;br /&gt;
&lt;br /&gt;
2.106   2.106   0.000&lt;br /&gt;
&lt;br /&gt;
From the [[Media:MgO_0_DHL.out| log file]] it can be seen that the lattice parameters are defined by the length 2.978Å and the angle 60º, giving the primitive unit cell the shape of a rhombohedron. Each primitive cell was calculated to have an energy of -40.08 eV and this corresponds to the binding energy of the crystal. The primitive cell can be used to build up a lattice by repeating its structure.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Calculation of phonon modes of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Computing the Phonon Dispersion Curves: ===&lt;br /&gt;
[[File:MgO_Phonon_Dispersion_DHL.png|300px|thumb|left|Figure 2: MgO Phonon Dispersion]]&lt;br /&gt;
The phonon frequencies were then computed along the symmetry points &amp;lt;math&amp;gt;W, L, G, W, X, K&amp;lt;/math&amp;gt; in k space. The calculation was set up for 50 Npoints with phonon eigenvectors included in the calculation. For a 3D crystal of diatomic molecules with two atom types, six vibration modes are observed in the phonon dispersion curves (Fig 2). A positive dispersion relation results in optical modes and a negative dispersion relation results in acoustic modes. Two adjacent different atoms move with each other in the optical mode, but move against each other in the acoustic mode. The acoustic modes equal 0   cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;  at the point Γ whereas the optical modes do not. It can be seen that there are three acoustic modes and three optical modes. The three acoustic modes can be split into one longitudinal acoustic mode and two transverse acoustic modes. The two transverse modes become degenerate between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;. The phonon dispersion curve agrees with that found in literature&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== The Phonon Density of States: ===&lt;br /&gt;
A simpler energy level diagram than the phonon dispersion relation is the density of states (DOS). The DOS is an average over the time and space demains of the MgO system and was calculated for the phonons as a function of the wave vector k. The dimensional limits of the MgO crystal affects the DOS and therefore it is expected that the DOS will change with the grid size of the MgO crystal.&lt;br /&gt;
&lt;br /&gt;
To begin with the DOS calculation was ran on a 1x1x1 grid, corresponding to a single k point. Comparison between Figure 2 and 3 shows that the single k point is the symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The frequencies of the phonon dispersions are identical in the two graphs. Four peaks instead of six are observed due to the fact that 2 pairs of modes become degenerate between &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. These degenerate modes correspond to the peaks between 250 and 400 cm &amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, explaining why those peaks are double the intensity of the high frequency peaks. It can been seen that a grid size of 1x1x1 is not a good representative of the DOS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_Phonon_DOS_DHL.png|300px|none|thumb|left|Figure 3: MgO Phonon DOS 1x1x1]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_3x3x3_DHL.png|300px|none|thumb|middle|Figure 4: MgO Phonon DOS 3x3x3]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_8x8x8_DHL.png|300px|none|thumb|middle|Figure 5: MgO Phonon DOS 8x8x8]]&lt;br /&gt;
|}&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_phonon_DOS_16x16x16_DHL.png|300px|none|thumb|left|Figure 6: MgO Phonon DOS 16x16x16]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_32x32x32_DHL.png|300px|none|thumb|left|Figure 7: MgO Phonon DOS 32x32x32]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_40x40x40_DHL.png|300px|none|thumb|middle|Figure 8: MgO Phonon DOS 40x40x40]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Several grid sizes were investigated up to 50x50x50 to find a compromise between an accurate DOS and the time taken to run the calculation. As the grid size is increased a more true depiction of the DOS is obtained for the MgO structure. Increasing the grid size increases the number of peaks and then changes the graph from random sharp intensities to a smoother curve. However, the highest intensity point remains at 400 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; throughout all grid sizes and the higher frequencies having lower intensities. The bigger the grid size, the more k points that are sampled and the more representative the DOS plots. It can be seen in the figures above that the DOS curve is unchanged between 32x32x32 and 40x40x40, however, the running time increases greatly for the 40x40x40 grid size. Therefore, it was decided that the 32x32x32 grid size was the optimum and was used in further calculations.&lt;br /&gt;
&lt;br /&gt;
The size of the grid set in the calculations is inversely related to the size of the structure in real space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This equation shows that the bigger a* (size of grid in k space) the smaller a (size of cell in real space). Therefore the bigger the cell in real space, the smaller the grid size needed for the calculation of DOS. This means that a similar oxide such as CaO will require a similar grid size as MgO for the calculation of DOS. Faujasite, a zeolite, has a lattice parameter in the range 24.2 - 25.1 Å &amp;lt;ref name=&amp;quot;Zeolite&amp;quot;/&amp;gt; and would therefore need a small grid size for the DOS calculation. Lithium, a small metal, has a lattice parameter of 3.51 Å &amp;lt;ref name=&amp;quot;Lithium&amp;quot;/&amp;gt; and would therefore need a large grid size for the DOS calculation to represent its small cell size in real space.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Computing the Free Energy&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Task_3_graph.png|300px|thumb|right|Graph 1: A Graph to show how the Free Energy changes with Grid Size]]&lt;br /&gt;
The Helmholtz Free Energy of MgO was then computed using the quasi-harmonic approximation on the same grid sizes as in the previous section at a temperature of 300K. Helmholtz Free Energy is given by the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A=Helmholtz Free Energy, U=Internal Energy, S=Entropy and T=Temperature&lt;br /&gt;
&lt;br /&gt;
This states that the Helmholtz Free Energy should increase with increasing internal energy and decreasing temperature and entropy. This said, the Helmholtz Free Energy should decrease with increasing grid size. This can be explained with the aid of the following statistical mechanics equation of entropy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt; where S=Entropy, k=Boltzmann Constant and W=number of microstates&lt;br /&gt;
&lt;br /&gt;
As the grid size increases the number of microstates sampled also increases. This in turn increases the entropy and decreases the TS term in the Helmholtz Free Energy equation. The decrease in Helmholtz Free Energy can be further explained using the following equation of internal energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt; where U=internal Energy, H=Enthalpy, P=Pressure and V=Volume&lt;br /&gt;
&lt;br /&gt;
As the grid size increases so does its volume, therefore decreasing the internal energy. This further decreases the Helmholtz Free Energy. It can be seen in Graph 1 that initially the Helmholtz Free Energy increases with grid size from 1x1x1 to 3x3x3 and then begins to follow the expected trend and decrease with increasing grid size. Table 1 shows that the accuracy of the Helmholtz Free Energy increases with grid size.&lt;br /&gt;
The Helmholtz Free Energy converges to a value of -40.93 eV, with the 32x32x32 grid size being the most appropriate to run calculations from, providing the correct Helmholtz Free Energy and a suitable length of time to run the calculation.&lt;br /&gt;
&lt;br /&gt;
For CaO, a similar sized crystal to MgO (lattice constant CaO = 4.811 Å, lattice constant MgO = 4.212 Å)&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;/&amp;gt;, a similar size grid will be required for the calculation of the Helmholtz Free Energy. Faujasite would require a smaller grid size due to its large lattice constant and lithium a larger grid size than MgO due to its small lattice constant.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;The Thermal Expansion of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Thermal expansion is the ability of matter to change size, volume and shape in a response to the change in temperature. When a substance is heated the molecules vibrate and begin to move more, and their average separation increases. This thermal expansion is indicated by the Coefficient of Linear Thermal Expansion (CTE). Uniform linear objects have a thermal expansion proportional to temperate over a small range of temperatures. The equation used to calculate the linear CTE is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;=linear CTE, &amp;lt;math&amp;gt;{L_0}&amp;lt;/math&amp;gt;=lattice constant at 0K and &amp;lt;math&amp;gt;dL/dT&amp;lt;/math&amp;gt;=rate of change of lattice constant with respect to temperature&lt;br /&gt;
&lt;br /&gt;
A volumetric CTE can also be calculated using the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt;=volumetric CTE, &amp;lt;math&amp;gt;{V}&amp;lt;/math&amp;gt;= volume and &amp;lt;math&amp;gt;\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;= partial derivative of volume with respect to temperature at constant pressure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Quasi-harmonic Approximation: ===&lt;br /&gt;
[[File:Task_4_graph_1.png|300px|thumb|left|Graph 2: A graph to show how the free energy of MgO changes with temperature]]&lt;br /&gt;
[[File:Task_4_graph_2.png|300px|thumb|right|Graph 3: A graph to show how the lattice constant of MgO changes with temperature]]&lt;br /&gt;
Using the 32x32x32 grid size of MgO the free energy was then optimised. The optimisation opts was set to optimise Gibbs Free Energy and the temperature was varied from 0 - 1000k. The free energy decreases with increasing temperature in a parabolic fashion to the order of 2. This negative correlation can be explained using the equation for Gibbs Free Energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G=H-TS&amp;lt;/math&amp;gt; where G=Gibbs Free Energy, H=Enthalpy, T=Temperature and S=Entropy&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Increasing the temperature decreases the TS term therefore decreasing the Gibbs Free Energy.&lt;br /&gt;
&lt;br /&gt;
The lattice constant increases in a parabolic fashion to the order of 2 with increasing temperature due to the thermal expansion.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Calculation of CTE: ====&lt;br /&gt;
Coefficient of Linear Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{2.9894}\,\frac{3.0056-2.9894}{1000}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=5.419\times10^{-6}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Coefficient of Volumetric Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{26.71481005}\,\left(\frac{27.15148242-26.71481005}{1000}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V=1.634\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It can be seen that the α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt; is 3.015 times that of the α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;. This is because MgO expands at the same rate in all three directions in three-dimensions, it is an isotropic compound. The CFE values are close to those found in literature at &amp;lt;math&amp;gt;\alpha_L=7.88\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=2.36\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; which were calculated using a temperature range close to that used in this experiment at 301.15-1273.15 K&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;/&amp;gt; (results from experiment give &amp;lt;math&amp;gt;\alpha_L=5.789\times10^{-6}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=1.747\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; if calculated from 300-1000k).&lt;br /&gt;
&lt;br /&gt;
The main approximation in the calculations of the thermal expansion is to do with the anharmonic contributions to the harmonic approximation. In order to simplify the phonon frequencies are set to be volume dependent and so at a higher temperature the anharmonic factor increases. The Born-Oppenheimer Approximation which assumes that the motion of atomic nuclei and electron in a molecule can be separated is another assumption.&lt;br /&gt;
&lt;br /&gt;
This approximation cannot be used when the temperature approaches that of the melting point of MgO due to the new lattice parameters. Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; begin to behave as separate ions as MgO begins to melt and becomes molten. Therefore the quasi-harmonic approximation cannot be used as it only takes into account linear movement.&lt;br /&gt;
&lt;br /&gt;
For a diatomic molecule with an exactly harmonic potential the bond is not allowed to break and the bond length is fixed around that of its equilibrium length. Therefore the lattice constant will only increase up to a distance just prior to bond cleavage. However, in these calculations the quasi-harmonic approximation allows the bonds to break within MgO and so the lattice constant can, in theory, increase to infinity.&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamics: ===&lt;br /&gt;
[[File:32_structure_dhl.png|300px|thumb|left|Figure 10: 32 unit MgO structure used for MD calculations]]&lt;br /&gt;
[[File:32_random_dhl.png|300px|thumb|right|Figure 11: 32 unit MgO structure post MD calculations]]&lt;br /&gt;
For the final section of this experiment the thermal expansion of MgO was once again calculated, but this time using the molecular dynamics method. This method allows the system to evolve according to Newton&#039;s Second Law &amp;lt;math&amp;gt; F= ma&amp;lt;/math&amp;gt;. The ensemble used was NPT, meaning the number of particles, the pressure and the temperature were all set to be constant. The timestep at which the vibrations to be sampled was set to be 1 femtosecond (fs) and the number of equilibration steps and production steps were set to 500, with the temperature being avried from 100-1000K. When the number of sampled configurations are sufficiently large, the average calculated is representative for the time averaged system obeying the ergodic hypothesis. A structure containing 32 units and therefore 64 atoms was used in this calculation (Fig 12), and in order to compare the volumes between the quasi-harmonic approximation and the molecular dynamics method, the volumes produced were divided by 32.&lt;br /&gt;
[[File:MD_and_QH_comparison.png|300px|thumb|right|Graph 4: Comparison of Cell Volume change between QHA and MD]]&lt;br /&gt;
It can be seen that both methods show the same trend, that of the volume increasing with increasing temperature, however throughout the whole temperature range the QHA cell volume values are slightly higher than the MD values.. The QHA becomes the exact same linear trend as the MD results at 400-1000K. At these temperatures the Coefficient of Volumetric Thermal Expansion are very similar:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_VQHA=1.730\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_VMD=1.824\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the range of 0-400K there is little anharmonicity and so the QHA predicts the thermal expansion more accurately and produces the curved graph. The MD method does not predict this trend at lower temperatures and can only predict a linear trend for the thermal expansion of MgO. The QHA graph is more similar to that found in literature than the MD graph&amp;lt;ref name=&amp;quot;Thermal Expansion graph&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The 32 unit structure used for the MD calculations is a 2x2x2 lattice of the conventional unit cell. This is a lot smaller than the size used to compute the thermal expansion of MgO using the QHA, and therefore, to have accurate results from the MD method, a larger size should be used.&lt;br /&gt;
&lt;br /&gt;
The MD method allows movement in three dimensions whereas the QHA only allows movement in one dimension. Therefore, at higher temperatures it is expected that the MD method will give much higher volume values than the QHA.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Conclusion&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
The free energy and phonon dispersions were successfully computed for MgO, and the thermal expansion studied using the QHA and the MD method. All results tended to agree with literature values well and it was found that the QHA gave a more realistic trend for the change in cell volume with respect to temperature at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;References&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;&amp;gt; X. Wu, W. Li, W. Rui. Effect of temperature on elastic constants, generalized stacking fault energy and dislocation cores in MgO and CaO. &#039;&#039;Computational Condensed Matter&#039;&#039;. 2014: 38-44. Available from: DOI: 10.1016/j.cocom.2014.10.005&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Zeolite&amp;quot;&amp;gt; J. A Kaduk, J. Faber. Crystal Structure of Zeolite Y as a function of Ion Exchange. &#039;&#039;The Rigaku Journal&#039;&#039;. 1995;12: 14. Available from: http://www.rigaku.com/downloads/journal/Vol12.2.1995/kaduk.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Lithium&amp;quot;&amp;gt; M. R. Nadler, C. P Kempter. Crystallographic Data 186. Lithium. &#039;&#039;Analytical Chemistry&#039;&#039;. 1959;31:2109. Available from: &lt;br /&gt;
DOI: 10.1021/ac60156a007&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;&amp;gt; D. K. Smith, H. R. Leider. Low-Temperature Thermal Expansion of LiH, MgO and CaO. &#039;&#039;Journal of Applied Crystallography&#039;&#039;. 1968;1: 246-249. Available from: DOI: 10.1107/S0021889868005418&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;&amp;gt; J. F. W. Bowles, R. A. Howie, D. J. Vaughan, J. Zussman. Rock-forming Minerals: Non-silicates: oxides, hydroxides and sulphides 2nd ed. London: The Geological Society;2011 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion graph&amp;quot;&amp;gt; L.S. Dubrovinsky, S.K. Saxena. Thermal Expansion of Periclase (MgO) and Tungsten (W)to Melting Temperatures. &#039;&#039;Physics and Chemistry of Minerals&#039;&#039;. 1999;24(8): 547-550. Available from: DOI: 10.1007/s002690050070&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Appendix&amp;lt;/u&amp;gt; ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Grid Size !! Helmholtz Free Energy (eV)!! Accuracy (meV)&lt;br /&gt;
|-&lt;br /&gt;
| 1x1x1 || -40.9303|| 4&lt;br /&gt;
|-&lt;br /&gt;
| 2x2x2 || -40.9266|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 3x3x3 || -40.9264|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 8x8x8 || -40.9265|| 0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16x16x16 || -40.9265|| 0.001&lt;br /&gt;
|-&lt;br /&gt;
| 32x32x32 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 40x40x40 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 50x50x50 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;3&amp;quot; |Table 1: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Grid Size&lt;br /&gt;
&lt;br /&gt;
(Computing Free Energy)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Helmholtz Free Energy (eV)&lt;br /&gt;
|-&lt;br /&gt;
| 0 || -40.9019        &lt;br /&gt;
|-&lt;br /&gt;
| 100 || -40.9024&lt;br /&gt;
|-&lt;br /&gt;
| 200 || -40.9094&lt;br /&gt;
|-&lt;br /&gt;
| 300 || -40.9281&lt;br /&gt;
|-&lt;br /&gt;
| 400 || -40.9585&lt;br /&gt;
|-&lt;br /&gt;
| 500 || -40.9994&lt;br /&gt;
|-&lt;br /&gt;
| 600 || -41.0493&lt;br /&gt;
|-&lt;br /&gt;
| 700 || -41.1071&lt;br /&gt;
|-&lt;br /&gt;
| 800 || -41.1719&lt;br /&gt;
|-&lt;br /&gt;
| 900 || -41.2440&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || -41.3198&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 2: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Temperature&lt;br /&gt;
&lt;br /&gt;
(Quasi-harmonic Approximation)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Lattice Constant&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 2.9894      &lt;br /&gt;
|-&lt;br /&gt;
| 100 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 300 || 2.9883&lt;br /&gt;
|-&lt;br /&gt;
| 400 || 2.9894&lt;br /&gt;
|-&lt;br /&gt;
| 500 || 2.9916&lt;br /&gt;
|-&lt;br /&gt;
| 600 || 2.9941&lt;br /&gt;
|-&lt;br /&gt;
| 700 || 2.9968&lt;br /&gt;
|-&lt;br /&gt;
| 800 || 2.9996&lt;br /&gt;
|-&lt;br /&gt;
| 900 || 3.0026&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 3.0056&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 3: Raw Data showing change in&lt;br /&gt;
Lattice Constant with Temperature&lt;br /&gt;
&lt;br /&gt;
(Quasi-harmonic Approximation)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Lattice Constant&lt;br /&gt;
|-&lt;br /&gt;
| 100 || 18.7348    &lt;br /&gt;
|-&lt;br /&gt;
| 200 || 18.7833&lt;br /&gt;
|-&lt;br /&gt;
| 300 || 18.8348&lt;br /&gt;
|-&lt;br /&gt;
| 400 || 18.8940&lt;br /&gt;
|-&lt;br /&gt;
| 500 || 18.9476&lt;br /&gt;
|-&lt;br /&gt;
| 600 || 19.0052&lt;br /&gt;
|-&lt;br /&gt;
| 700 || 19.0652&lt;br /&gt;
|-&lt;br /&gt;
| 800 || 19.1282&lt;br /&gt;
|-&lt;br /&gt;
| 900 || 19.1894&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 19.1894&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 4: Raw Data showing change in&lt;br /&gt;
Volume with Temperature&lt;br /&gt;
&lt;br /&gt;
(Molecular Dynamics)&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dl2613</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=551256</id>
		<title>Rep:Mod:Dl2613</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=551256"/>
		<updated>2016-03-09T15:58:03Z</updated>

		<summary type="html">&lt;p&gt;Dl2613: /* Computing the Free Energy */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== &amp;lt;u&amp;gt;Introduction&amp;lt;/u&amp;gt; ==&lt;br /&gt;
The aim of this experiment was to use a simple model of atomic interactions to calculate the energy and vibrations of a crystal of MgO. This was then used to compute the free energy, phonon dispersions and to predict how MgO expands when heated. The quasi-harmonic approximation (QHA) and molecular dynamics methods were used to do these calculations.&lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon based model of solid-state physics and can describe volume-dependant thermal effects of structures, such as the MgO crystal. This assumption assumes that for every lattice value the harmonic oscillator assumption is true. MD is a type of N-body simulation, it allows atoms and molecules to interact for a fixed period of time showing the dynamics of a system. In this experiment the MD was run on an isothermal-isobaric (NPT) ensemble in which the amount of substance, pressure and temperature are fixed. MD allows motion in three dimensions.&lt;br /&gt;
&lt;br /&gt;
The software used for this experiment was RedHat Linux. DLVisualize (DLV) was used for the visualisation of the structure and properties of the MgO crystal. General Utility Lattice Program (GULP) is a supporting interface of DLV and was used to perform analytical solutions on MgO through the use of lattice dynamics.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Internal Energy Calculation on MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Better_unit_cell.png|300px|thumb|right|Figure 1: MgO Primitive Unit Cell]]&lt;br /&gt;
In this first exercise the internal energy and structure of MgO was calculated using GULP from the primitive unit cell of the crystal (Fig 1). An ionic potential model was used, without shells included and at a single point. The primitive unit cell is the simplest cell to describe the crystal structure of MgO and contains 2 atoms. The lattice vectors of this cell are:&lt;br /&gt;
&lt;br /&gt;
0.000   2.106   2.106&lt;br /&gt;
&lt;br /&gt;
2.106   0.000   2.106&lt;br /&gt;
&lt;br /&gt;
2.106   2.106   0.000&lt;br /&gt;
&lt;br /&gt;
From the [[Media:MgO_0_DHL.out| log file]] it can be seen that the lattice parameters are defined by the length 2.978Å and the angle 60º, giving the primitive unit cell the shape of a rhombohedron. Each primitive cell was calculated to have an energy of -40.08 eV and this corresponds to the binding energy of the crystal. The primitive cell can be used to build up a lattice by repeating its structure.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Calculation of phonon modes of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Computing the Phonon Dispersion Curves: ===&lt;br /&gt;
[[File:MgO_Phonon_Dispersion_DHL.png|300px|thumb|left|Figure 2: MgO Phonon Dispersion]]&lt;br /&gt;
The phonon frequencies were then computed along the symmetry points &amp;lt;math&amp;gt;W, L, G, W, X, K&amp;lt;/math&amp;gt; in k space. The calculation was set up for 50 Npoints with phonon eigenvectors included in the calculation. For a 3D crystal of diatomic molecules with two atom types, six vibration modes are observed in the phonon dispersion curves (Fig 2). A positive dispersion relation results in optical modes and a negative dispersion relation results in acoustic modes. Two adjacent different atoms move with each other in the optical mode, but move against each other in the acoustic mode. The acoustic modes equal 0   cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;  at the point Γ whereas the optical modes do not. It can be seen that there are three acoustic modes and three optical modes. The three acoustic modes can be split into one longitudinal acoustic mode and two transverse acoustic modes. The two transverse modes become degenerate between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;. The phonon dispersion curve agrees with that found in literature&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== The Phonon Density of States: ===&lt;br /&gt;
A simpler energy level diagram than the phonon dispersion relation is the density of states (DOS). The DOS is an average over the time and space demains of the MgO system and was calculated for the phonons as a function of the wave vector k. The dimensional limits of the MgO crystal affects the DOS and therefore it is expected that the DOS will change with the grid size of the MgO crystal.&lt;br /&gt;
&lt;br /&gt;
To begin with the DOS calculation was ran on a 1x1x1 grid, corresponding to a single k point. Comparison between Figure 2 and 3 shows that the single k point is the symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The frequencies of the phonon dispersions are identical in the two graphs. Four peaks instead of six are observed due to the fact that 2 pairs of modes become degenerate between &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. These degenerate modes correspond to the peaks between 250 and 400 cm &amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, explaining why those peaks are double the intensity of the high frequency peaks. It can been seen that a grid size of 1x1x1 is not a good representative of the DOS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_Phonon_DOS_DHL.png|300px|none|thumb|left|Figure 3: MgO Phonon DOS 1x1x1]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_3x3x3_DHL.png|300px|none|thumb|middle|Figure 4: MgO Phonon DOS 3x3x3]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_8x8x8_DHL.png|300px|none|thumb|middle|Figure 5: MgO Phonon DOS 8x8x8]]&lt;br /&gt;
|}&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_phonon_DOS_16x16x16_DHL.png|300px|none|thumb|left|Figure 6: MgO Phonon DOS 16x16x16]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_32x32x32_DHL.png|300px|none|thumb|left|Figure 7: MgO Phonon DOS 32x32x32]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_40x40x40_DHL.png|300px|none|thumb|middle|Figure 8: MgO Phonon DOS 40x40x40]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Several grid sizes were investigated up to 50x50x50 to find a compromise between an accurate DOS and the time taken to run the calculation. As the grid size is increased a more true depiction of the DOS is obtained for the MgO structure. Increasing the grid size increases the number of peaks and then changes the graph from random sharp intensities to a smoother curve. However, the highest intensity point remains at 400 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; throughout all grid sizes and the higher frequencies having lower intensities. The bigger the grid size, the more k points that are sampled and the more representative the DOS plots. It can be seen in the figures above that the DOS curve is unchanged between 32x32x32 and 40x40x40, however, the running time increases greatly for the 40x40x40 grid size. Therefore, it was decided that the 32x32x32 grid size was the optimum and was used in further calculations.&lt;br /&gt;
&lt;br /&gt;
The size of the grid set in the calculations is inversely related to the size of the structure in real space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This equation shows that the bigger a* (size of grid in k space) the smaller a (size of cell in real space). Therefore the bigger the cell in real space, the smaller the grid size needed for the calculation of DOS. This means that a similar oxide such as CaO will require a similar grid size as MgO for the calculation of DOS. Faujasite, a zeolite, has a lattice parameter in the range 24.2 - 25.1 Å &amp;lt;ref name=&amp;quot;Zeolite&amp;quot;/&amp;gt; and would therefore need a small grid size for the DOS calculation. Lithium, a small metal, has a lattice parameter of 3.51 Å &amp;lt;ref name=&amp;quot;Lithium&amp;quot;/&amp;gt; and would therefore need a large grid size for the DOS calculation to represent its small cell size in real space.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Computing the Free Energy&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Task_3_graph.png|300px|thumb|right|Graph 1: A Graph to show how the Free Energy changes with Grid Size]]&lt;br /&gt;
The Helmholtz Free Energy of MgO was then computed using the quasi-harmonic approximation on the same grid sizes as in the previous section at a temperature of 300K. Helmholtz Free Energy is given by the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A=Helmholtz Free Energy, U=Internal Energy, S=Entropy and T=Temperature&lt;br /&gt;
&lt;br /&gt;
This states that the Helmholtz Free Energy should increase with increasing internal energy and decreasing temperature and entropy. This said, the Helmholtz Free Energy should decrease with increasing grid size. This can be explained with the aid of the following statistical mechanics equation of entropy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt; where S=Entropy, k=Boltzmann Constant and W=number of microstates&lt;br /&gt;
&lt;br /&gt;
As the grid size increases the number of microstates sampled also increases. This in turn increases the entropy and decreases the TS term in the Helmholtz Free Energy equation. The decrease in Helmholtz Free Energy can be further explained using the following equation of internal energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt; where U=internal Energy, H=Enthalpy, P=Pressure and V=Volume&lt;br /&gt;
&lt;br /&gt;
As the grid size increases so does its volume, therefore decreasing the internal energy. This further decreases the Helmholtz Free Energy. It can be seen in Graph 1 that initially the Helmholtz Free Energy increases with grid size from 1x1x1 to 3x3x3 and then begins to follow the expected trend and decrease with increasing grid size. Table 1 shows that the accuracy of the Helmholtz Free Energy increases with grid size.&lt;br /&gt;
The Helmholtz Free Energy converges to a value of -40.93 eV, with the 32x32x32 grid size being the most appropriate to run calculations from, providing the correct Helmholtz Free Energy and a suitable length of time to run the calculation.&lt;br /&gt;
&lt;br /&gt;
For CaO, a similar sized crystal to MgO (lattice constant CaO = 4.811 Å, lattice constant MgO = 4.212 Å)&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;/&amp;gt;, a similar size grid will be required for the calculation of the Helmholtz Free Energy. Faujasite would require a smaller grid size due to its large lattice constant and lithium a larger grid size than MgO due to its small lattice constant.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;The Thermal Expansion of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Thermal expansion is the ability of matter to change size, volume and shape in a response to the change in temperature. When a substance is heated the molecules vibrate and begin to move more, and their average separation increases. This thermal expansion is indicated by the Coefficient of Linear Thermal Expansion (CTE). Uniform linear objects have a thermally expand proportional to temperate over a small range of temperatures. The equation used to calculate the linear CTE is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;=linear CTE, &amp;lt;math&amp;gt;{L_0}&amp;lt;/math&amp;gt;=lattice constant at 0K and &amp;lt;math&amp;gt;dL/dT&amp;lt;/math&amp;gt;=rate of change of lattice constant with respect to temperature&lt;br /&gt;
&lt;br /&gt;
A volumetric CTE can also be calculated using the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt;=volumetric CTE, &amp;lt;math&amp;gt;{V}&amp;lt;/math&amp;gt;= volume and &amp;lt;math&amp;gt;\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;= partial derivative of volum with respect to temperature at constant pressure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Quasi-harmonic Approximation: ===&lt;br /&gt;
[[File:Task_4_graph_1.png|300px|thumb|left|Graph 2: A graph to show how the free energy of MgO changes with temperature]]&lt;br /&gt;
[[File:Task_4_graph_2.png|300px|thumb|right|Graph 3: A graph to show how the lattice constant of MgO changes with temperature]]&lt;br /&gt;
Using the 32x32x32 grid size of MgO the free energy was then optimised. The optimisation opts was set to optimise Gibbs Free Energy and the temperature was varied from 0 - 1000k. The free energy decreases with increasing temperature in a parabolic fashion to the order of 2. This negative correlation can be explained using the equation for Gibbs Free Energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G=H-TS&amp;lt;/math&amp;gt; where G=Gibbs Free Energy, H=Enthalpy, T=Temperature and S=Entropy&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Increasing the temperature decreases the TS term therefore decreasing the Gibbs Free Energy.&lt;br /&gt;
&lt;br /&gt;
The lattice constant increases in a parabolic fashion to the order of 2 with increasing temperature due to the thermal expansion.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Calculation of CTE: ====&lt;br /&gt;
Coefficient of Linear Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{2.9894}\,\frac{3.0056-2.9894}{1000}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=5.419\times10^{-6}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Coefficient of Volumetric Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{26.71481005}\,\left(\frac{27.15148242-26.71481005}{1000}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V=1.634\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It can be seen that the α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt; is 3.015 times that of the α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;. This is because MgO expands at the same rate in all three directions in three-dimensions, it is an isotropic compound. The CFE values are close to those found in literature at &amp;lt;math&amp;gt;\alpha_L=7.88\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=2.36\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; which were calculated using a temperature range close to that used in this experiment at 301.15-1273.15 K&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;/&amp;gt; (results from experiment give &amp;lt;math&amp;gt;\alpha_L=5.789\times10^{-6}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=1.747\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; if calculated from 300-1000k).&lt;br /&gt;
&lt;br /&gt;
The main approximation in the calculations of the thermal expansion is to do with the anharmonic contributions to the harmonic approximation. In order to simplify the phonon frequencies are set to be volume dependent and so at a higher temperature the anharmonic factor increases. The Born-Oppenheimer Approximation which assumes that the motion of atomic nuclei and electron in a molecule can be separated is another assumption.&lt;br /&gt;
&lt;br /&gt;
This approximation cannot be used when the temperature approaches that of the melting point of MgO due to the new lattice parameters. Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; begin to behave as separate ions as MgO begins to melt and becomes molten. Therefore the quasi-harmonic approximation cannot be used as it only takes into account linear movement.&lt;br /&gt;
&lt;br /&gt;
For a diatomic molecule with an exactly harmonic potential the bond is not allowed to break and the bond length is fixed around that of its equilibrium length. Therefore the lattice constant will only increase up to a distance just prior to bond cleavage. However, in these calculations the quasi-harmonic approximation allows the bonds to break within MgO and so the lattice constant can, in theory, increase to infinity.&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamics: ===&lt;br /&gt;
[[File:32_structure_dhl.png|300px|thumb|left|Figure 10: 32 unit MgO structure used for MD calculations]]&lt;br /&gt;
[[File:32_random_dhl.png|300px|thumb|right|Figure 11: 32 unit MgO structure post MD calculations]]&lt;br /&gt;
For the final section of this experiment the thermal expansion of MgO was once again calculated, but this time using the molecular dynamics method. This method allows the system to evolve according to Newton&#039;s Second Law &amp;lt;math&amp;gt; F= ma&amp;lt;/math&amp;gt;. The ensemble used was NPT, meaning the number of particles, the pressure and the temperature were all set to be constant. The timestep at which the vibrations to be sampled was set to be 1 femtosecond (fs) and the number of equilibration steps and production steps were set to 500, with the temperature being avried from 100-1000K. When the number of sampled configurations are sufficiently large, the average calculated is representative for the time averaged system obeying the ergodic hypothesis. A structure containing 32 units and therefore 64 atoms was used in this calculation (Fig 12), and in order to compare the volumes between the quasi-harmonic approximation and the molecular dynamics method, the volumes produced were divided by 32.&lt;br /&gt;
[[File:MD_and_QH_comparison.png|300px|thumb|right|Graph 4: Comparison of Cell Volume change between QHA and MD]]&lt;br /&gt;
It can be seen that both methods show the same trend, that of the volume increasing with increasing temperature, however throughout the whole temperature range the QHA cell volume values are slightly higher than the MD values.. The QHA becomes the exact same linear trend as the MD results at 400-1000K. At these temperatures the Coefficient of Volumetric Thermal Expansion are very similar:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_VQHA=1.730\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_VMD=1.824\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the range of 0-400K there is little anharmonicity and so the QHA predicts the thermal expansion more accurately and produces the curved graph. The MD method does not predict this trend at lower temperatures and can only predict a linear trend for the thermal expansion of MgO. The QHA graph is more similar to that found in literature than the MD graph&amp;lt;ref name=&amp;quot;Thermal Expansion graph&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The 32 unit structure used for the MD calculations is a 2x2x2 lattice of the conventional unit cell. This is a lot smaller than the size used to compute the thermal expansion of MgO using the QHA, and therefore, to have accurate results from the MD method, a larger size should be used.&lt;br /&gt;
&lt;br /&gt;
The MD method allows movement in three dimensions whereas the QHA only allows movement in one dimension. Therefore, at higher temperatures it is expected that the MD method will give much higher volume values than the QHA.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Conclusion&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
The free energy and phonon dispersions were successfully computed for MgO, and the thermal expansion studied using the QHA and the MD method. All results tended to agree with literature values well and it was found that the QHA gave a more realistic trend for the change in cell volume with respect to temperature at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;References&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;&amp;gt; X. Wu, W. Li, W. Rui. Effect of temperature on elastic constants, generalized stacking fault energy and dislocation cores in MgO and CaO. &#039;&#039;Computational Condensed Matter&#039;&#039;. 2014: 38-44. Available from: DOI: 10.1016/j.cocom.2014.10.005&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Zeolite&amp;quot;&amp;gt; J. A Kaduk, J. Faber. Crystal Structure of Zeolite Y as a function of Ion Exchange. &#039;&#039;The Rigaku Journal&#039;&#039;. 1995;12: 14. Available from: http://www.rigaku.com/downloads/journal/Vol12.2.1995/kaduk.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Lithium&amp;quot;&amp;gt; M. R. Nadler, C. P Kempter. Crystallographic Data 186. Lithium. &#039;&#039;Analytical Chemistry&#039;&#039;. 1959;31:2109. Available from: &lt;br /&gt;
DOI: 10.1021/ac60156a007&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;&amp;gt; D. K. Smith, H. R. Leider. Low-Temperature Thermal Expansion of LiH, MgO and CaO. &#039;&#039;Journal of Applied Crystallography&#039;&#039;. 1968;1: 246-249. Available from: DOI: 10.1107/S0021889868005418&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;&amp;gt; J. F. W. Bowles, R. A. Howie, D. J. Vaughan, J. Zussman. Rock-forming Minerals: Non-silicates: oxides, hydroxides and sulphides 2nd ed. London: The Geological Society;2011 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion graph&amp;quot;&amp;gt; L.S. Dubrovinsky, S.K. Saxena. Thermal Expansion of Periclase (MgO) and Tungsten (W)to Melting Temperatures. &#039;&#039;Physics and Chemistry of Minerals&#039;&#039;. 1999;24(8): 547-550. Available from: DOI: 10.1007/s002690050070&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Appendix&amp;lt;/u&amp;gt; ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Grid Size !! Helmholtz Free Energy (eV)!! Accuracy (meV)&lt;br /&gt;
|-&lt;br /&gt;
| 1x1x1 || -40.9303|| 4&lt;br /&gt;
|-&lt;br /&gt;
| 2x2x2 || -40.9266|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 3x3x3 || -40.9264|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 8x8x8 || -40.9265|| 0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16x16x16 || -40.9265|| 0.001&lt;br /&gt;
|-&lt;br /&gt;
| 32x32x32 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 40x40x40 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 50x50x50 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;3&amp;quot; |Table 1: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Grid Size&lt;br /&gt;
&lt;br /&gt;
(Computing Free Energy)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Helmholtz Free Energy (eV)&lt;br /&gt;
|-&lt;br /&gt;
| 0 || -40.9019        &lt;br /&gt;
|-&lt;br /&gt;
| 100 || -40.9024&lt;br /&gt;
|-&lt;br /&gt;
| 200 || -40.9094&lt;br /&gt;
|-&lt;br /&gt;
| 300 || -40.9281&lt;br /&gt;
|-&lt;br /&gt;
| 400 || -40.9585&lt;br /&gt;
|-&lt;br /&gt;
| 500 || -40.9994&lt;br /&gt;
|-&lt;br /&gt;
| 600 || -41.0493&lt;br /&gt;
|-&lt;br /&gt;
| 700 || -41.1071&lt;br /&gt;
|-&lt;br /&gt;
| 800 || -41.1719&lt;br /&gt;
|-&lt;br /&gt;
| 900 || -41.2440&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || -41.3198&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 2: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Temperature&lt;br /&gt;
&lt;br /&gt;
(Quasi-harmonic Approximation)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Lattice Constant&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 2.9894      &lt;br /&gt;
|-&lt;br /&gt;
| 100 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 300 || 2.9883&lt;br /&gt;
|-&lt;br /&gt;
| 400 || 2.9894&lt;br /&gt;
|-&lt;br /&gt;
| 500 || 2.9916&lt;br /&gt;
|-&lt;br /&gt;
| 600 || 2.9941&lt;br /&gt;
|-&lt;br /&gt;
| 700 || 2.9968&lt;br /&gt;
|-&lt;br /&gt;
| 800 || 2.9996&lt;br /&gt;
|-&lt;br /&gt;
| 900 || 3.0026&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 3.0056&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 3: Raw Data showing change in&lt;br /&gt;
Lattice Constant with Temperature&lt;br /&gt;
&lt;br /&gt;
(Quasi-harmonic Approximation)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Lattice Constant&lt;br /&gt;
|-&lt;br /&gt;
| 100 || 18.7348    &lt;br /&gt;
|-&lt;br /&gt;
| 200 || 18.7833&lt;br /&gt;
|-&lt;br /&gt;
| 300 || 18.8348&lt;br /&gt;
|-&lt;br /&gt;
| 400 || 18.8940&lt;br /&gt;
|-&lt;br /&gt;
| 500 || 18.9476&lt;br /&gt;
|-&lt;br /&gt;
| 600 || 19.0052&lt;br /&gt;
|-&lt;br /&gt;
| 700 || 19.0652&lt;br /&gt;
|-&lt;br /&gt;
| 800 || 19.1282&lt;br /&gt;
|-&lt;br /&gt;
| 900 || 19.1894&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 19.1894&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 4: Raw Data showing change in&lt;br /&gt;
Volume with Temperature&lt;br /&gt;
&lt;br /&gt;
(Molecular Dynamics)&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dl2613</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=551254</id>
		<title>Rep:Mod:Dl2613</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=551254"/>
		<updated>2016-03-09T15:55:48Z</updated>

		<summary type="html">&lt;p&gt;Dl2613: /* The Phonon Density of States: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== &amp;lt;u&amp;gt;Introduction&amp;lt;/u&amp;gt; ==&lt;br /&gt;
The aim of this experiment was to use a simple model of atomic interactions to calculate the energy and vibrations of a crystal of MgO. This was then used to compute the free energy, phonon dispersions and to predict how MgO expands when heated. The quasi-harmonic approximation (QHA) and molecular dynamics methods were used to do these calculations.&lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon based model of solid-state physics and can describe volume-dependant thermal effects of structures, such as the MgO crystal. This assumption assumes that for every lattice value the harmonic oscillator assumption is true. MD is a type of N-body simulation, it allows atoms and molecules to interact for a fixed period of time showing the dynamics of a system. In this experiment the MD was run on an isothermal-isobaric (NPT) ensemble in which the amount of substance, pressure and temperature are fixed. MD allows motion in three dimensions.&lt;br /&gt;
&lt;br /&gt;
The software used for this experiment was RedHat Linux. DLVisualize (DLV) was used for the visualisation of the structure and properties of the MgO crystal. General Utility Lattice Program (GULP) is a supporting interface of DLV and was used to perform analytical solutions on MgO through the use of lattice dynamics.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Internal Energy Calculation on MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Better_unit_cell.png|300px|thumb|right|Figure 1: MgO Primitive Unit Cell]]&lt;br /&gt;
In this first exercise the internal energy and structure of MgO was calculated using GULP from the primitive unit cell of the crystal (Fig 1). An ionic potential model was used, without shells included and at a single point. The primitive unit cell is the simplest cell to describe the crystal structure of MgO and contains 2 atoms. The lattice vectors of this cell are:&lt;br /&gt;
&lt;br /&gt;
0.000   2.106   2.106&lt;br /&gt;
&lt;br /&gt;
2.106   0.000   2.106&lt;br /&gt;
&lt;br /&gt;
2.106   2.106   0.000&lt;br /&gt;
&lt;br /&gt;
From the [[Media:MgO_0_DHL.out| log file]] it can be seen that the lattice parameters are defined by the length 2.978Å and the angle 60º, giving the primitive unit cell the shape of a rhombohedron. Each primitive cell was calculated to have an energy of -40.08 eV and this corresponds to the binding energy of the crystal. The primitive cell can be used to build up a lattice by repeating its structure.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Calculation of phonon modes of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Computing the Phonon Dispersion Curves: ===&lt;br /&gt;
[[File:MgO_Phonon_Dispersion_DHL.png|300px|thumb|left|Figure 2: MgO Phonon Dispersion]]&lt;br /&gt;
The phonon frequencies were then computed along the symmetry points &amp;lt;math&amp;gt;W, L, G, W, X, K&amp;lt;/math&amp;gt; in k space. The calculation was set up for 50 Npoints with phonon eigenvectors included in the calculation. For a 3D crystal of diatomic molecules with two atom types, six vibration modes are observed in the phonon dispersion curves (Fig 2). A positive dispersion relation results in optical modes and a negative dispersion relation results in acoustic modes. Two adjacent different atoms move with each other in the optical mode, but move against each other in the acoustic mode. The acoustic modes equal 0   cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;  at the point Γ whereas the optical modes do not. It can be seen that there are three acoustic modes and three optical modes. The three acoustic modes can be split into one longitudinal acoustic mode and two transverse acoustic modes. The two transverse modes become degenerate between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;. The phonon dispersion curve agrees with that found in literature&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== The Phonon Density of States: ===&lt;br /&gt;
A simpler energy level diagram than the phonon dispersion relation is the density of states (DOS). The DOS is an average over the time and space demains of the MgO system and was calculated for the phonons as a function of the wave vector k. The dimensional limits of the MgO crystal affects the DOS and therefore it is expected that the DOS will change with the grid size of the MgO crystal.&lt;br /&gt;
&lt;br /&gt;
To begin with the DOS calculation was ran on a 1x1x1 grid, corresponding to a single k point. Comparison between Figure 2 and 3 shows that the single k point is the symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The frequencies of the phonon dispersions are identical in the two graphs. Four peaks instead of six are observed due to the fact that 2 pairs of modes become degenerate between &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. These degenerate modes correspond to the peaks between 250 and 400 cm &amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, explaining why those peaks are double the intensity of the high frequency peaks. It can been seen that a grid size of 1x1x1 is not a good representative of the DOS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_Phonon_DOS_DHL.png|300px|none|thumb|left|Figure 3: MgO Phonon DOS 1x1x1]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_3x3x3_DHL.png|300px|none|thumb|middle|Figure 4: MgO Phonon DOS 3x3x3]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_8x8x8_DHL.png|300px|none|thumb|middle|Figure 5: MgO Phonon DOS 8x8x8]]&lt;br /&gt;
|}&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_phonon_DOS_16x16x16_DHL.png|300px|none|thumb|left|Figure 6: MgO Phonon DOS 16x16x16]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_32x32x32_DHL.png|300px|none|thumb|left|Figure 7: MgO Phonon DOS 32x32x32]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_40x40x40_DHL.png|300px|none|thumb|middle|Figure 8: MgO Phonon DOS 40x40x40]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Several grid sizes were investigated up to 50x50x50 to find a compromise between an accurate DOS and the time taken to run the calculation. As the grid size is increased a more true depiction of the DOS is obtained for the MgO structure. Increasing the grid size increases the number of peaks and then changes the graph from random sharp intensities to a smoother curve. However, the highest intensity point remains at 400 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; throughout all grid sizes and the higher frequencies having lower intensities. The bigger the grid size, the more k points that are sampled and the more representative the DOS plots. It can be seen in the figures above that the DOS curve is unchanged between 32x32x32 and 40x40x40, however, the running time increases greatly for the 40x40x40 grid size. Therefore, it was decided that the 32x32x32 grid size was the optimum and was used in further calculations.&lt;br /&gt;
&lt;br /&gt;
The size of the grid set in the calculations is inversely related to the size of the structure in real space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This equation shows that the bigger a* (size of grid in k space) the smaller a (size of cell in real space). Therefore the bigger the cell in real space, the smaller the grid size needed for the calculation of DOS. This means that a similar oxide such as CaO will require a similar grid size as MgO for the calculation of DOS. Faujasite, a zeolite, has a lattice parameter in the range 24.2 - 25.1 Å &amp;lt;ref name=&amp;quot;Zeolite&amp;quot;/&amp;gt; and would therefore need a small grid size for the DOS calculation. Lithium, a small metal, has a lattice parameter of 3.51 Å &amp;lt;ref name=&amp;quot;Lithium&amp;quot;/&amp;gt; and would therefore need a large grid size for the DOS calculation to represent its small cell size in real space.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Computing the Free Energy&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Task_3_graph.png|300px|thumb|right|Graph 1: A Graph to show how the Free Energy changes with Grid Size]]&lt;br /&gt;
The Helmholtz Free Energy of MgO was then computed using the quasi-harmonic approximation on the same grid sizes as in the previous section at a temperature of 300K. Helmholtz Free Energy is given by the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A=Helmholtz Free Energy, U=Internal Energy, S=Entropy and T=Temperature&lt;br /&gt;
This states that the Helmholtz Free Energy should increase with increasing internal energy and decreasing temperature and entropy. This said, the Helmholtz Free Energy should decrease with increasing grid size. This can be explained with the aid of the following statistical mechanics equation of entropy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt; where S=Entropy, k=Boltzmann Constant and W=number of microstates&lt;br /&gt;
As the grid size increases the number of microstates sampled also increases. This in turn increases the entropy and decreases the TS term in the Helmholtz Free Energy equation. The decrease in Helmholtz Free Energy can be further explained using the following equation of internal energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt; where U=internal Energy, H=Enthalpy, P=Pressure and V=Volume&lt;br /&gt;
As the grid size increases so does its volume, therefore decreasing the internal energy. This further decreases the Helmholtz Free Energy. It can be seen in Graph 1 that initially the Helmholtz Free Energy increases with grid from 1x1x1 to 3x3x3 and then begins to follow the expected trend and decrease with increasing grid size. Table 1 shows that the accuracy of the Helmholtz Free Energy increases with grid size.&lt;br /&gt;
The Helmholtz Free Energy converges to a value of -40.9265 eV, with the 32x32x32 grid size being the most appropriate to run calculations from, providing the correct Helmholtz Free Energy and a suitable length of time to run the calculation.&lt;br /&gt;
&lt;br /&gt;
For CaO, a similar sized crystal to MgO (lattice constant CaO = 4.811 Å, lattice constant MgO = 4.212 Å)&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;/&amp;gt;, a similar size grid will be required for the calculation of the Helmholtz Free Energy. Faujasite would require a smaller grid size due to its large lattice constant and lithium a larger grid size than MgO due to its small lattice constant.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;The Thermal Expansion of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Thermal expansion is the ability of matter to change size, volume and shape in a response to the change in temperature. When a substance is heated the molecules vibrate and begin to move more, and their average separation increases. This thermal expansion is indicated by the Coefficient of Linear Thermal Expansion (CTE). Uniform linear objects have a thermally expand proportional to temperate over a small range of temperatures. The equation used to calculate the linear CTE is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;=linear CTE, &amp;lt;math&amp;gt;{L_0}&amp;lt;/math&amp;gt;=lattice constant at 0K and &amp;lt;math&amp;gt;dL/dT&amp;lt;/math&amp;gt;=rate of change of lattice constant with respect to temperature&lt;br /&gt;
&lt;br /&gt;
A volumetric CTE can also be calculated using the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt;=volumetric CTE, &amp;lt;math&amp;gt;{V}&amp;lt;/math&amp;gt;= volume and &amp;lt;math&amp;gt;\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;= partial derivative of volum with respect to temperature at constant pressure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Quasi-harmonic Approximation: ===&lt;br /&gt;
[[File:Task_4_graph_1.png|300px|thumb|left|Graph 2: A graph to show how the free energy of MgO changes with temperature]]&lt;br /&gt;
[[File:Task_4_graph_2.png|300px|thumb|right|Graph 3: A graph to show how the lattice constant of MgO changes with temperature]]&lt;br /&gt;
Using the 32x32x32 grid size of MgO the free energy was then optimised. The optimisation opts was set to optimise Gibbs Free Energy and the temperature was varied from 0 - 1000k. The free energy decreases with increasing temperature in a parabolic fashion to the order of 2. This negative correlation can be explained using the equation for Gibbs Free Energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G=H-TS&amp;lt;/math&amp;gt; where G=Gibbs Free Energy, H=Enthalpy, T=Temperature and S=Entropy&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Increasing the temperature decreases the TS term therefore decreasing the Gibbs Free Energy.&lt;br /&gt;
&lt;br /&gt;
The lattice constant increases in a parabolic fashion to the order of 2 with increasing temperature due to the thermal expansion.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Calculation of CTE: ====&lt;br /&gt;
Coefficient of Linear Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{2.9894}\,\frac{3.0056-2.9894}{1000}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=5.419\times10^{-6}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Coefficient of Volumetric Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{26.71481005}\,\left(\frac{27.15148242-26.71481005}{1000}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V=1.634\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It can be seen that the α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt; is 3.015 times that of the α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;. This is because MgO expands at the same rate in all three directions in three-dimensions, it is an isotropic compound. The CFE values are close to those found in literature at &amp;lt;math&amp;gt;\alpha_L=7.88\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=2.36\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; which were calculated using a temperature range close to that used in this experiment at 301.15-1273.15 K&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;/&amp;gt; (results from experiment give &amp;lt;math&amp;gt;\alpha_L=5.789\times10^{-6}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=1.747\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; if calculated from 300-1000k).&lt;br /&gt;
&lt;br /&gt;
The main approximation in the calculations of the thermal expansion is to do with the anharmonic contributions to the harmonic approximation. In order to simplify the phonon frequencies are set to be volume dependent and so at a higher temperature the anharmonic factor increases. The Born-Oppenheimer Approximation which assumes that the motion of atomic nuclei and electron in a molecule can be separated is another assumption.&lt;br /&gt;
&lt;br /&gt;
This approximation cannot be used when the temperature approaches that of the melting point of MgO due to the new lattice parameters. Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; begin to behave as separate ions as MgO begins to melt and becomes molten. Therefore the quasi-harmonic approximation cannot be used as it only takes into account linear movement.&lt;br /&gt;
&lt;br /&gt;
For a diatomic molecule with an exactly harmonic potential the bond is not allowed to break and the bond length is fixed around that of its equilibrium length. Therefore the lattice constant will only increase up to a distance just prior to bond cleavage. However, in these calculations the quasi-harmonic approximation allows the bonds to break within MgO and so the lattice constant can, in theory, increase to infinity.&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamics: ===&lt;br /&gt;
[[File:32_structure_dhl.png|300px|thumb|left|Figure 10: 32 unit MgO structure used for MD calculations]]&lt;br /&gt;
[[File:32_random_dhl.png|300px|thumb|right|Figure 11: 32 unit MgO structure post MD calculations]]&lt;br /&gt;
For the final section of this experiment the thermal expansion of MgO was once again calculated, but this time using the molecular dynamics method. This method allows the system to evolve according to Newton&#039;s Second Law &amp;lt;math&amp;gt; F= ma&amp;lt;/math&amp;gt;. The ensemble used was NPT, meaning the number of particles, the pressure and the temperature were all set to be constant. The timestep at which the vibrations to be sampled was set to be 1 femtosecond (fs) and the number of equilibration steps and production steps were set to 500, with the temperature being avried from 100-1000K. When the number of sampled configurations are sufficiently large, the average calculated is representative for the time averaged system obeying the ergodic hypothesis. A structure containing 32 units and therefore 64 atoms was used in this calculation (Fig 12), and in order to compare the volumes between the quasi-harmonic approximation and the molecular dynamics method, the volumes produced were divided by 32.&lt;br /&gt;
[[File:MD_and_QH_comparison.png|300px|thumb|right|Graph 4: Comparison of Cell Volume change between QHA and MD]]&lt;br /&gt;
It can be seen that both methods show the same trend, that of the volume increasing with increasing temperature, however throughout the whole temperature range the QHA cell volume values are slightly higher than the MD values.. The QHA becomes the exact same linear trend as the MD results at 400-1000K. At these temperatures the Coefficient of Volumetric Thermal Expansion are very similar:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_VQHA=1.730\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_VMD=1.824\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the range of 0-400K there is little anharmonicity and so the QHA predicts the thermal expansion more accurately and produces the curved graph. The MD method does not predict this trend at lower temperatures and can only predict a linear trend for the thermal expansion of MgO. The QHA graph is more similar to that found in literature than the MD graph&amp;lt;ref name=&amp;quot;Thermal Expansion graph&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The 32 unit structure used for the MD calculations is a 2x2x2 lattice of the conventional unit cell. This is a lot smaller than the size used to compute the thermal expansion of MgO using the QHA, and therefore, to have accurate results from the MD method, a larger size should be used.&lt;br /&gt;
&lt;br /&gt;
The MD method allows movement in three dimensions whereas the QHA only allows movement in one dimension. Therefore, at higher temperatures it is expected that the MD method will give much higher volume values than the QHA.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Conclusion&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
The free energy and phonon dispersions were successfully computed for MgO, and the thermal expansion studied using the QHA and the MD method. All results tended to agree with literature values well and it was found that the QHA gave a more realistic trend for the change in cell volume with respect to temperature at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;References&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;&amp;gt; X. Wu, W. Li, W. Rui. Effect of temperature on elastic constants, generalized stacking fault energy and dislocation cores in MgO and CaO. &#039;&#039;Computational Condensed Matter&#039;&#039;. 2014: 38-44. Available from: DOI: 10.1016/j.cocom.2014.10.005&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Zeolite&amp;quot;&amp;gt; J. A Kaduk, J. Faber. Crystal Structure of Zeolite Y as a function of Ion Exchange. &#039;&#039;The Rigaku Journal&#039;&#039;. 1995;12: 14. Available from: http://www.rigaku.com/downloads/journal/Vol12.2.1995/kaduk.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Lithium&amp;quot;&amp;gt; M. R. Nadler, C. P Kempter. Crystallographic Data 186. Lithium. &#039;&#039;Analytical Chemistry&#039;&#039;. 1959;31:2109. Available from: &lt;br /&gt;
DOI: 10.1021/ac60156a007&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;&amp;gt; D. K. Smith, H. R. Leider. Low-Temperature Thermal Expansion of LiH, MgO and CaO. &#039;&#039;Journal of Applied Crystallography&#039;&#039;. 1968;1: 246-249. Available from: DOI: 10.1107/S0021889868005418&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;&amp;gt; J. F. W. Bowles, R. A. Howie, D. J. Vaughan, J. Zussman. Rock-forming Minerals: Non-silicates: oxides, hydroxides and sulphides 2nd ed. London: The Geological Society;2011 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion graph&amp;quot;&amp;gt; L.S. Dubrovinsky, S.K. Saxena. Thermal Expansion of Periclase (MgO) and Tungsten (W)to Melting Temperatures. &#039;&#039;Physics and Chemistry of Minerals&#039;&#039;. 1999;24(8): 547-550. Available from: DOI: 10.1007/s002690050070&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Appendix&amp;lt;/u&amp;gt; ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Grid Size !! Helmholtz Free Energy (eV)!! Accuracy (meV)&lt;br /&gt;
|-&lt;br /&gt;
| 1x1x1 || -40.9303|| 4&lt;br /&gt;
|-&lt;br /&gt;
| 2x2x2 || -40.9266|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 3x3x3 || -40.9264|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 8x8x8 || -40.9265|| 0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16x16x16 || -40.9265|| 0.001&lt;br /&gt;
|-&lt;br /&gt;
| 32x32x32 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 40x40x40 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 50x50x50 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;3&amp;quot; |Table 1: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Grid Size&lt;br /&gt;
&lt;br /&gt;
(Computing Free Energy)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Helmholtz Free Energy (eV)&lt;br /&gt;
|-&lt;br /&gt;
| 0 || -40.9019        &lt;br /&gt;
|-&lt;br /&gt;
| 100 || -40.9024&lt;br /&gt;
|-&lt;br /&gt;
| 200 || -40.9094&lt;br /&gt;
|-&lt;br /&gt;
| 300 || -40.9281&lt;br /&gt;
|-&lt;br /&gt;
| 400 || -40.9585&lt;br /&gt;
|-&lt;br /&gt;
| 500 || -40.9994&lt;br /&gt;
|-&lt;br /&gt;
| 600 || -41.0493&lt;br /&gt;
|-&lt;br /&gt;
| 700 || -41.1071&lt;br /&gt;
|-&lt;br /&gt;
| 800 || -41.1719&lt;br /&gt;
|-&lt;br /&gt;
| 900 || -41.2440&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || -41.3198&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 2: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Temperature&lt;br /&gt;
&lt;br /&gt;
(Quasi-harmonic Approximation)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Lattice Constant&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 2.9894      &lt;br /&gt;
|-&lt;br /&gt;
| 100 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 300 || 2.9883&lt;br /&gt;
|-&lt;br /&gt;
| 400 || 2.9894&lt;br /&gt;
|-&lt;br /&gt;
| 500 || 2.9916&lt;br /&gt;
|-&lt;br /&gt;
| 600 || 2.9941&lt;br /&gt;
|-&lt;br /&gt;
| 700 || 2.9968&lt;br /&gt;
|-&lt;br /&gt;
| 800 || 2.9996&lt;br /&gt;
|-&lt;br /&gt;
| 900 || 3.0026&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 3.0056&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 3: Raw Data showing change in&lt;br /&gt;
Lattice Constant with Temperature&lt;br /&gt;
&lt;br /&gt;
(Quasi-harmonic Approximation)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Lattice Constant&lt;br /&gt;
|-&lt;br /&gt;
| 100 || 18.7348    &lt;br /&gt;
|-&lt;br /&gt;
| 200 || 18.7833&lt;br /&gt;
|-&lt;br /&gt;
| 300 || 18.8348&lt;br /&gt;
|-&lt;br /&gt;
| 400 || 18.8940&lt;br /&gt;
|-&lt;br /&gt;
| 500 || 18.9476&lt;br /&gt;
|-&lt;br /&gt;
| 600 || 19.0052&lt;br /&gt;
|-&lt;br /&gt;
| 700 || 19.0652&lt;br /&gt;
|-&lt;br /&gt;
| 800 || 19.1282&lt;br /&gt;
|-&lt;br /&gt;
| 900 || 19.1894&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 19.1894&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 4: Raw Data showing change in&lt;br /&gt;
Volume with Temperature&lt;br /&gt;
&lt;br /&gt;
(Molecular Dynamics)&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dl2613</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=551248</id>
		<title>Rep:Mod:Dl2613</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=551248"/>
		<updated>2016-03-09T15:48:44Z</updated>

		<summary type="html">&lt;p&gt;Dl2613: /* Appendix */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== &amp;lt;u&amp;gt;Introduction&amp;lt;/u&amp;gt; ==&lt;br /&gt;
The aim of this experiment was to use a simple model of atomic interactions to calculate the energy and vibrations of a crystal of MgO. This was then used to compute the free energy, phonon dispersions and to predict how MgO expands when heated. The quasi-harmonic approximation (QHA) and molecular dynamics methods were used to do these calculations.&lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon based model of solid-state physics and can describe volume-dependant thermal effects of structures, such as the MgO crystal. This assumption assumes that for every lattice value the harmonic oscillator assumption is true. MD is a type of N-body simulation, it allows atoms and molecules to interact for a fixed period of time showing the dynamics of a system. In this experiment the MD was run on an isothermal-isobaric (NPT) ensemble in which the amount of substance, pressure and temperature are fixed. MD allows motion in three dimensions.&lt;br /&gt;
&lt;br /&gt;
The software used for this experiment was RedHat Linux. DLVisualize (DLV) was used for the visualisation of the structure and properties of the MgO crystal. General Utility Lattice Program (GULP) is a supporting interface of DLV and was used to perform analytical solutions on MgO through the use of lattice dynamics.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Internal Energy Calculation on MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Better_unit_cell.png|300px|thumb|right|Figure 1: MgO Primitive Unit Cell]]&lt;br /&gt;
In this first exercise the internal energy and structure of MgO was calculated using GULP from the primitive unit cell of the crystal (Fig 1). An ionic potential model was used, without shells included and at a single point. The primitive unit cell is the simplest cell to describe the crystal structure of MgO and contains 2 atoms. The lattice vectors of this cell are:&lt;br /&gt;
&lt;br /&gt;
0.000   2.106   2.106&lt;br /&gt;
&lt;br /&gt;
2.106   0.000   2.106&lt;br /&gt;
&lt;br /&gt;
2.106   2.106   0.000&lt;br /&gt;
&lt;br /&gt;
From the [[Media:MgO_0_DHL.out| log file]] it can be seen that the lattice parameters are defined by the length 2.978Å and the angle 60º, giving the primitive unit cell the shape of a rhombohedron. Each primitive cell was calculated to have an energy of -40.08 eV and this corresponds to the binding energy of the crystal. The primitive cell can be used to build up a lattice by repeating its structure.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Calculation of phonon modes of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Computing the Phonon Dispersion Curves: ===&lt;br /&gt;
[[File:MgO_Phonon_Dispersion_DHL.png|300px|thumb|left|Figure 2: MgO Phonon Dispersion]]&lt;br /&gt;
The phonon frequencies were then computed along the symmetry points &amp;lt;math&amp;gt;W, L, G, W, X, K&amp;lt;/math&amp;gt; in k space. The calculation was set up for 50 Npoints with phonon eigenvectors included in the calculation. For a 3D crystal of diatomic molecules with two atom types, six vibration modes are observed in the phonon dispersion curves (Fig 2). A positive dispersion relation results in optical modes and a negative dispersion relation results in acoustic modes. Two adjacent different atoms move with each other in the optical mode, but move against each other in the acoustic mode. The acoustic modes equal 0   cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;  at the point Γ whereas the optical modes do not. It can be seen that there are three acoustic modes and three optical modes. The three acoustic modes can be split into one longitudinal acoustic mode and two transverse acoustic modes. The two transverse modes become degenerate between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;. The phonon dispersion curve agrees with that found in literature&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== The Phonon Density of States: ===&lt;br /&gt;
A simpler energy level diagram than the phonon dispersion relation is the density of states (DOS). The DOS is an average over the time and space demains of the MgO system and was calculated for the phonons as a function of the wave vector k. The dimensional limits of the MgO crystal affects the DOS and therefore it is expected that the DOS will change with the grid size of the MgO crystal.&lt;br /&gt;
&lt;br /&gt;
To begin with the DOS calculation was ran on a 1x1x1 grid, corresponding to a single k point. Comparison between Figure 2 and 3 shows that the single k point is the symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The frequencies of the phonon dispersions are identical in the two graphs. Four peaks instead of six are observed due to the fact that 2 pairs of modes become degenerate between &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. These degenerate modes correspond to the peaks between 250 and 400 cm &amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, explaining why those peaks are double the intensity of the high frequency peaks. It can been seen that a grid size of 1x1x1 is not a good representative of the DOS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_Phonon_DOS_DHL.png|300px|none|thumb|left|Figure 3: MgO Phonon DOS 1x1x1]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_3x3x3_DHL.png|300px|none|thumb|middle|Figure 4: MgO Phonon DOS 3x3x3]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_8x8x8_DHL.png|300px|none|thumb|middle|Figure 5: MgO Phonon DOS 8x8x8]]&lt;br /&gt;
|}&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_phonon_DOS_16x16x16_DHL.png|300px|none|thumb|left|Figure 6: MgO Phonon DOS 16x16x16]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_32x32x32_DHL.png|300px|none|thumb|left|Figure 7: MgO Phonon DOS 32x32x32]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_40x40x40_DHL.png|300px|none|thumb|middle|Figure 8: MgO Phonon DOS 40x40x40]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Several grid sizes were investigated up to 50x50x50 to find a compromise between an accurate DOS and the time taken to run the calculation. As the grid size is an increased a more true depiction of the DOS is obtained for the MgO structure. Increasing the grid size increases the number of peaks and then changes the graph from random sharp intensities to a smoother curve. However, the highest intensity point remains at 400 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; throughout all grid sizes and the higher frequencies having lower intensities. The bigger the grid size, the more k points that are sampled and the more representative the DOS. It can be seen in the figures below that the DOS curve is unchanged between 32x32x32 and 40x40x40, however, the running time increases greatly for the 40x40x40 grid size. Therefore, it was decided that the 32x32x32 grid size was the optimum and used in further calculations.&lt;br /&gt;
&lt;br /&gt;
The size of the grid set in the calculations is inversely related to the size of the structure in real space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This equation shows that the bigger a* (size of grid in k space) the smaller a (size of cell in real space). Therefore the bigger the cell in real space, the smaller the grid size needed for the calculation of DOS. This means that a similar oxide such as CaO will require a similar grid size as MgO for the calculation of DOS. Faujasite, a zeolite, has a lattice parameter in the range 24.2 - 25.1 Å &amp;lt;ref name=&amp;quot;Zeolite&amp;quot;/&amp;gt; and would therefore need a small grid size for the DOS calculation. Lithium, a small metal, has a lattice parameter of 3.51 Å &amp;lt;ref name=&amp;quot;Lithium&amp;quot;/&amp;gt; and would therefore need a large grid size for the DOS calculation to represent its small cell size in real space.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Computing the Free Energy&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Task_3_graph.png|300px|thumb|right|Graph 1: A Graph to show how the Free Energy changes with Grid Size]]&lt;br /&gt;
The Helmholtz Free Energy of MgO was then computed using the quasi-harmonic approximation on the same grid sizes as in the previous section at a temperature of 300K. Helmholtz Free Energy is given by the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A=Helmholtz Free Energy, U=Internal Energy, S=Entropy and T=Temperature&lt;br /&gt;
This states that the Helmholtz Free Energy should increase with increasing internal energy and decreasing temperature and entropy. This said, the Helmholtz Free Energy should decrease with increasing grid size. This can be explained with the aid of the following statistical mechanics equation of entropy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt; where S=Entropy, k=Boltzmann Constant and W=number of microstates&lt;br /&gt;
As the grid size increases the number of microstates sampled also increases. This in turn increases the entropy and decreases the TS term in the Helmholtz Free Energy equation. The decrease in Helmholtz Free Energy can be further explained using the following equation of internal energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt; where U=internal Energy, H=Enthalpy, P=Pressure and V=Volume&lt;br /&gt;
As the grid size increases so does its volume, therefore decreasing the internal energy. This further decreases the Helmholtz Free Energy. It can be seen in Graph 1 that initially the Helmholtz Free Energy increases with grid from 1x1x1 to 3x3x3 and then begins to follow the expected trend and decrease with increasing grid size. Table 1 shows that the accuracy of the Helmholtz Free Energy increases with grid size.&lt;br /&gt;
The Helmholtz Free Energy converges to a value of -40.9265 eV, with the 32x32x32 grid size being the most appropriate to run calculations from, providing the correct Helmholtz Free Energy and a suitable length of time to run the calculation.&lt;br /&gt;
&lt;br /&gt;
For CaO, a similar sized crystal to MgO (lattice constant CaO = 4.811 Å, lattice constant MgO = 4.212 Å)&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;/&amp;gt;, a similar size grid will be required for the calculation of the Helmholtz Free Energy. Faujasite would require a smaller grid size due to its large lattice constant and lithium a larger grid size than MgO due to its small lattice constant.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;The Thermal Expansion of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Thermal expansion is the ability of matter to change size, volume and shape in a response to the change in temperature. When a substance is heated the molecules vibrate and begin to move more, and their average separation increases. This thermal expansion is indicated by the Coefficient of Linear Thermal Expansion (CTE). Uniform linear objects have a thermally expand proportional to temperate over a small range of temperatures. The equation used to calculate the linear CTE is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;=linear CTE, &amp;lt;math&amp;gt;{L_0}&amp;lt;/math&amp;gt;=lattice constant at 0K and &amp;lt;math&amp;gt;dL/dT&amp;lt;/math&amp;gt;=rate of change of lattice constant with respect to temperature&lt;br /&gt;
&lt;br /&gt;
A volumetric CTE can also be calculated using the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt;=volumetric CTE, &amp;lt;math&amp;gt;{V}&amp;lt;/math&amp;gt;= volume and &amp;lt;math&amp;gt;\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;= partial derivative of volum with respect to temperature at constant pressure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Quasi-harmonic Approximation: ===&lt;br /&gt;
[[File:Task_4_graph_1.png|300px|thumb|left|Graph 2: A graph to show how the free energy of MgO changes with temperature]]&lt;br /&gt;
[[File:Task_4_graph_2.png|300px|thumb|right|Graph 3: A graph to show how the lattice constant of MgO changes with temperature]]&lt;br /&gt;
Using the 32x32x32 grid size of MgO the free energy was then optimised. The optimisation opts was set to optimise Gibbs Free Energy and the temperature was varied from 0 - 1000k. The free energy decreases with increasing temperature in a parabolic fashion to the order of 2. This negative correlation can be explained using the equation for Gibbs Free Energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G=H-TS&amp;lt;/math&amp;gt; where G=Gibbs Free Energy, H=Enthalpy, T=Temperature and S=Entropy&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Increasing the temperature decreases the TS term therefore decreasing the Gibbs Free Energy.&lt;br /&gt;
&lt;br /&gt;
The lattice constant increases in a parabolic fashion to the order of 2 with increasing temperature due to the thermal expansion.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Calculation of CTE: ====&lt;br /&gt;
Coefficient of Linear Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{2.9894}\,\frac{3.0056-2.9894}{1000}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=5.419\times10^{-6}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Coefficient of Volumetric Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{26.71481005}\,\left(\frac{27.15148242-26.71481005}{1000}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V=1.634\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It can be seen that the α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt; is 3.015 times that of the α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;. This is because MgO expands at the same rate in all three directions in three-dimensions, it is an isotropic compound. The CFE values are close to those found in literature at &amp;lt;math&amp;gt;\alpha_L=7.88\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=2.36\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; which were calculated using a temperature range close to that used in this experiment at 301.15-1273.15 K&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;/&amp;gt; (results from experiment give &amp;lt;math&amp;gt;\alpha_L=5.789\times10^{-6}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=1.747\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; if calculated from 300-1000k).&lt;br /&gt;
&lt;br /&gt;
The main approximation in the calculations of the thermal expansion is to do with the anharmonic contributions to the harmonic approximation. In order to simplify the phonon frequencies are set to be volume dependent and so at a higher temperature the anharmonic factor increases. The Born-Oppenheimer Approximation which assumes that the motion of atomic nuclei and electron in a molecule can be separated is another assumption.&lt;br /&gt;
&lt;br /&gt;
This approximation cannot be used when the temperature approaches that of the melting point of MgO due to the new lattice parameters. Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; begin to behave as separate ions as MgO begins to melt and becomes molten. Therefore the quasi-harmonic approximation cannot be used as it only takes into account linear movement.&lt;br /&gt;
&lt;br /&gt;
For a diatomic molecule with an exactly harmonic potential the bond is not allowed to break and the bond length is fixed around that of its equilibrium length. Therefore the lattice constant will only increase up to a distance just prior to bond cleavage. However, in these calculations the quasi-harmonic approximation allows the bonds to break within MgO and so the lattice constant can, in theory, increase to infinity.&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamics: ===&lt;br /&gt;
[[File:32_structure_dhl.png|300px|thumb|left|Figure 10: 32 unit MgO structure used for MD calculations]]&lt;br /&gt;
[[File:32_random_dhl.png|300px|thumb|right|Figure 11: 32 unit MgO structure post MD calculations]]&lt;br /&gt;
For the final section of this experiment the thermal expansion of MgO was once again calculated, but this time using the molecular dynamics method. This method allows the system to evolve according to Newton&#039;s Second Law &amp;lt;math&amp;gt; F= ma&amp;lt;/math&amp;gt;. The ensemble used was NPT, meaning the number of particles, the pressure and the temperature were all set to be constant. The timestep at which the vibrations to be sampled was set to be 1 femtosecond (fs) and the number of equilibration steps and production steps were set to 500, with the temperature being avried from 100-1000K. When the number of sampled configurations are sufficiently large, the average calculated is representative for the time averaged system obeying the ergodic hypothesis. A structure containing 32 units and therefore 64 atoms was used in this calculation (Fig 12), and in order to compare the volumes between the quasi-harmonic approximation and the molecular dynamics method, the volumes produced were divided by 32.&lt;br /&gt;
[[File:MD_and_QH_comparison.png|300px|thumb|right|Graph 4: Comparison of Cell Volume change between QHA and MD]]&lt;br /&gt;
It can be seen that both methods show the same trend, that of the volume increasing with increasing temperature, however throughout the whole temperature range the QHA cell volume values are slightly higher than the MD values.. The QHA becomes the exact same linear trend as the MD results at 400-1000K. At these temperatures the Coefficient of Volumetric Thermal Expansion are very similar:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_VQHA=1.730\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_VMD=1.824\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the range of 0-400K there is little anharmonicity and so the QHA predicts the thermal expansion more accurately and produces the curved graph. The MD method does not predict this trend at lower temperatures and can only predict a linear trend for the thermal expansion of MgO. The QHA graph is more similar to that found in literature than the MD graph&amp;lt;ref name=&amp;quot;Thermal Expansion graph&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The 32 unit structure used for the MD calculations is a 2x2x2 lattice of the conventional unit cell. This is a lot smaller than the size used to compute the thermal expansion of MgO using the QHA, and therefore, to have accurate results from the MD method, a larger size should be used.&lt;br /&gt;
&lt;br /&gt;
The MD method allows movement in three dimensions whereas the QHA only allows movement in one dimension. Therefore, at higher temperatures it is expected that the MD method will give much higher volume values than the QHA.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Conclusion&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
The free energy and phonon dispersions were successfully computed for MgO, and the thermal expansion studied using the QHA and the MD method. All results tended to agree with literature values well and it was found that the QHA gave a more realistic trend for the change in cell volume with respect to temperature at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;References&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;&amp;gt; X. Wu, W. Li, W. Rui. Effect of temperature on elastic constants, generalized stacking fault energy and dislocation cores in MgO and CaO. &#039;&#039;Computational Condensed Matter&#039;&#039;. 2014: 38-44. Available from: DOI: 10.1016/j.cocom.2014.10.005&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Zeolite&amp;quot;&amp;gt; J. A Kaduk, J. Faber. Crystal Structure of Zeolite Y as a function of Ion Exchange. &#039;&#039;The Rigaku Journal&#039;&#039;. 1995;12: 14. Available from: http://www.rigaku.com/downloads/journal/Vol12.2.1995/kaduk.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Lithium&amp;quot;&amp;gt; M. R. Nadler, C. P Kempter. Crystallographic Data 186. Lithium. &#039;&#039;Analytical Chemistry&#039;&#039;. 1959;31:2109. Available from: &lt;br /&gt;
DOI: 10.1021/ac60156a007&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;&amp;gt; D. K. Smith, H. R. Leider. Low-Temperature Thermal Expansion of LiH, MgO and CaO. &#039;&#039;Journal of Applied Crystallography&#039;&#039;. 1968;1: 246-249. Available from: DOI: 10.1107/S0021889868005418&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;&amp;gt; J. F. W. Bowles, R. A. Howie, D. J. Vaughan, J. Zussman. Rock-forming Minerals: Non-silicates: oxides, hydroxides and sulphides 2nd ed. London: The Geological Society;2011 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion graph&amp;quot;&amp;gt; L.S. Dubrovinsky, S.K. Saxena. Thermal Expansion of Periclase (MgO) and Tungsten (W)to Melting Temperatures. &#039;&#039;Physics and Chemistry of Minerals&#039;&#039;. 1999;24(8): 547-550. Available from: DOI: 10.1007/s002690050070&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Appendix&amp;lt;/u&amp;gt; ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Grid Size !! Helmholtz Free Energy (eV)!! Accuracy (meV)&lt;br /&gt;
|-&lt;br /&gt;
| 1x1x1 || -40.9303|| 4&lt;br /&gt;
|-&lt;br /&gt;
| 2x2x2 || -40.9266|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 3x3x3 || -40.9264|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 8x8x8 || -40.9265|| 0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16x16x16 || -40.9265|| 0.001&lt;br /&gt;
|-&lt;br /&gt;
| 32x32x32 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 40x40x40 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 50x50x50 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;3&amp;quot; |Table 1: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Grid Size&lt;br /&gt;
&lt;br /&gt;
(Computing Free Energy)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Helmholtz Free Energy (eV)&lt;br /&gt;
|-&lt;br /&gt;
| 0 || -40.9019        &lt;br /&gt;
|-&lt;br /&gt;
| 100 || -40.9024&lt;br /&gt;
|-&lt;br /&gt;
| 200 || -40.9094&lt;br /&gt;
|-&lt;br /&gt;
| 300 || -40.9281&lt;br /&gt;
|-&lt;br /&gt;
| 400 || -40.9585&lt;br /&gt;
|-&lt;br /&gt;
| 500 || -40.9994&lt;br /&gt;
|-&lt;br /&gt;
| 600 || -41.0493&lt;br /&gt;
|-&lt;br /&gt;
| 700 || -41.1071&lt;br /&gt;
|-&lt;br /&gt;
| 800 || -41.1719&lt;br /&gt;
|-&lt;br /&gt;
| 900 || -41.2440&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || -41.3198&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 2: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Temperature&lt;br /&gt;
&lt;br /&gt;
(Quasi-harmonic Approximation)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Lattice Constant&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 2.9894      &lt;br /&gt;
|-&lt;br /&gt;
| 100 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 300 || 2.9883&lt;br /&gt;
|-&lt;br /&gt;
| 400 || 2.9894&lt;br /&gt;
|-&lt;br /&gt;
| 500 || 2.9916&lt;br /&gt;
|-&lt;br /&gt;
| 600 || 2.9941&lt;br /&gt;
|-&lt;br /&gt;
| 700 || 2.9968&lt;br /&gt;
|-&lt;br /&gt;
| 800 || 2.9996&lt;br /&gt;
|-&lt;br /&gt;
| 900 || 3.0026&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 3.0056&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 3: Raw Data showing change in&lt;br /&gt;
Lattice Constant with Temperature&lt;br /&gt;
&lt;br /&gt;
(Quasi-harmonic Approximation)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Lattice Constant&lt;br /&gt;
|-&lt;br /&gt;
| 100 || 18.7348    &lt;br /&gt;
|-&lt;br /&gt;
| 200 || 18.7833&lt;br /&gt;
|-&lt;br /&gt;
| 300 || 18.8348&lt;br /&gt;
|-&lt;br /&gt;
| 400 || 18.8940&lt;br /&gt;
|-&lt;br /&gt;
| 500 || 18.9476&lt;br /&gt;
|-&lt;br /&gt;
| 600 || 19.0052&lt;br /&gt;
|-&lt;br /&gt;
| 700 || 19.0652&lt;br /&gt;
|-&lt;br /&gt;
| 800 || 19.1282&lt;br /&gt;
|-&lt;br /&gt;
| 900 || 19.1894&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 19.1894&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 4: Raw Data showing change in&lt;br /&gt;
Volume with Temperature&lt;br /&gt;
&lt;br /&gt;
(Molecular Dynamics)&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dl2613</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=551246</id>
		<title>Rep:Mod:Dl2613</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=551246"/>
		<updated>2016-03-09T15:47:44Z</updated>

		<summary type="html">&lt;p&gt;Dl2613: /* Appendix */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== &amp;lt;u&amp;gt;Introduction&amp;lt;/u&amp;gt; ==&lt;br /&gt;
The aim of this experiment was to use a simple model of atomic interactions to calculate the energy and vibrations of a crystal of MgO. This was then used to compute the free energy, phonon dispersions and to predict how MgO expands when heated. The quasi-harmonic approximation (QHA) and molecular dynamics methods were used to do these calculations.&lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon based model of solid-state physics and can describe volume-dependant thermal effects of structures, such as the MgO crystal. This assumption assumes that for every lattice value the harmonic oscillator assumption is true. MD is a type of N-body simulation, it allows atoms and molecules to interact for a fixed period of time showing the dynamics of a system. In this experiment the MD was run on an isothermal-isobaric (NPT) ensemble in which the amount of substance, pressure and temperature are fixed. MD allows motion in three dimensions.&lt;br /&gt;
&lt;br /&gt;
The software used for this experiment was RedHat Linux. DLVisualize (DLV) was used for the visualisation of the structure and properties of the MgO crystal. General Utility Lattice Program (GULP) is a supporting interface of DLV and was used to perform analytical solutions on MgO through the use of lattice dynamics.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Internal Energy Calculation on MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Better_unit_cell.png|300px|thumb|right|Figure 1: MgO Primitive Unit Cell]]&lt;br /&gt;
In this first exercise the internal energy and structure of MgO was calculated using GULP from the primitive unit cell of the crystal (Fig 1). An ionic potential model was used, without shells included and at a single point. The primitive unit cell is the simplest cell to describe the crystal structure of MgO and contains 2 atoms. The lattice vectors of this cell are:&lt;br /&gt;
&lt;br /&gt;
0.000   2.106   2.106&lt;br /&gt;
&lt;br /&gt;
2.106   0.000   2.106&lt;br /&gt;
&lt;br /&gt;
2.106   2.106   0.000&lt;br /&gt;
&lt;br /&gt;
From the [[Media:MgO_0_DHL.out| log file]] it can be seen that the lattice parameters are defined by the length 2.978Å and the angle 60º, giving the primitive unit cell the shape of a rhombohedron. Each primitive cell was calculated to have an energy of -40.08 eV and this corresponds to the binding energy of the crystal. The primitive cell can be used to build up a lattice by repeating its structure.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Calculation of phonon modes of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Computing the Phonon Dispersion Curves: ===&lt;br /&gt;
[[File:MgO_Phonon_Dispersion_DHL.png|300px|thumb|left|Figure 2: MgO Phonon Dispersion]]&lt;br /&gt;
The phonon frequencies were then computed along the symmetry points &amp;lt;math&amp;gt;W, L, G, W, X, K&amp;lt;/math&amp;gt; in k space. The calculation was set up for 50 Npoints with phonon eigenvectors included in the calculation. For a 3D crystal of diatomic molecules with two atom types, six vibration modes are observed in the phonon dispersion curves (Fig 2). A positive dispersion relation results in optical modes and a negative dispersion relation results in acoustic modes. Two adjacent different atoms move with each other in the optical mode, but move against each other in the acoustic mode. The acoustic modes equal 0   cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;  at the point Γ whereas the optical modes do not. It can be seen that there are three acoustic modes and three optical modes. The three acoustic modes can be split into one longitudinal acoustic mode and two transverse acoustic modes. The two transverse modes become degenerate between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;. The phonon dispersion curve agrees with that found in literature&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== The Phonon Density of States: ===&lt;br /&gt;
A simpler energy level diagram than the phonon dispersion relation is the density of states (DOS). The DOS is an average over the time and space demains of the MgO system and was calculated for the phonons as a function of the wave vector k. The dimensional limits of the MgO crystal affects the DOS and therefore it is expected that the DOS will change with the grid size of the MgO crystal.&lt;br /&gt;
&lt;br /&gt;
To begin with the DOS calculation was ran on a 1x1x1 grid, corresponding to a single k point. Comparison between Figure 2 and 3 shows that the single k point is the symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The frequencies of the phonon dispersions are identical in the two graphs. Four peaks instead of six are observed due to the fact that 2 pairs of modes become degenerate between &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. These degenerate modes correspond to the peaks between 250 and 400 cm &amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, explaining why those peaks are double the intensity of the high frequency peaks. It can been seen that a grid size of 1x1x1 is not a good representative of the DOS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_Phonon_DOS_DHL.png|300px|none|thumb|left|Figure 3: MgO Phonon DOS 1x1x1]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_3x3x3_DHL.png|300px|none|thumb|middle|Figure 4: MgO Phonon DOS 3x3x3]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_8x8x8_DHL.png|300px|none|thumb|middle|Figure 5: MgO Phonon DOS 8x8x8]]&lt;br /&gt;
|}&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_phonon_DOS_16x16x16_DHL.png|300px|none|thumb|left|Figure 6: MgO Phonon DOS 16x16x16]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_32x32x32_DHL.png|300px|none|thumb|left|Figure 7: MgO Phonon DOS 32x32x32]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_40x40x40_DHL.png|300px|none|thumb|middle|Figure 8: MgO Phonon DOS 40x40x40]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Several grid sizes were investigated up to 50x50x50 to find a compromise between an accurate DOS and the time taken to run the calculation. As the grid size is an increased a more true depiction of the DOS is obtained for the MgO structure. Increasing the grid size increases the number of peaks and then changes the graph from random sharp intensities to a smoother curve. However, the highest intensity point remains at 400 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; throughout all grid sizes and the higher frequencies having lower intensities. The bigger the grid size, the more k points that are sampled and the more representative the DOS. It can be seen in the figures below that the DOS curve is unchanged between 32x32x32 and 40x40x40, however, the running time increases greatly for the 40x40x40 grid size. Therefore, it was decided that the 32x32x32 grid size was the optimum and used in further calculations.&lt;br /&gt;
&lt;br /&gt;
The size of the grid set in the calculations is inversely related to the size of the structure in real space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This equation shows that the bigger a* (size of grid in k space) the smaller a (size of cell in real space). Therefore the bigger the cell in real space, the smaller the grid size needed for the calculation of DOS. This means that a similar oxide such as CaO will require a similar grid size as MgO for the calculation of DOS. Faujasite, a zeolite, has a lattice parameter in the range 24.2 - 25.1 Å &amp;lt;ref name=&amp;quot;Zeolite&amp;quot;/&amp;gt; and would therefore need a small grid size for the DOS calculation. Lithium, a small metal, has a lattice parameter of 3.51 Å &amp;lt;ref name=&amp;quot;Lithium&amp;quot;/&amp;gt; and would therefore need a large grid size for the DOS calculation to represent its small cell size in real space.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Computing the Free Energy&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Task_3_graph.png|300px|thumb|right|Graph 1: A Graph to show how the Free Energy changes with Grid Size]]&lt;br /&gt;
The Helmholtz Free Energy of MgO was then computed using the quasi-harmonic approximation on the same grid sizes as in the previous section at a temperature of 300K. Helmholtz Free Energy is given by the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A=Helmholtz Free Energy, U=Internal Energy, S=Entropy and T=Temperature&lt;br /&gt;
This states that the Helmholtz Free Energy should increase with increasing internal energy and decreasing temperature and entropy. This said, the Helmholtz Free Energy should decrease with increasing grid size. This can be explained with the aid of the following statistical mechanics equation of entropy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt; where S=Entropy, k=Boltzmann Constant and W=number of microstates&lt;br /&gt;
As the grid size increases the number of microstates sampled also increases. This in turn increases the entropy and decreases the TS term in the Helmholtz Free Energy equation. The decrease in Helmholtz Free Energy can be further explained using the following equation of internal energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt; where U=internal Energy, H=Enthalpy, P=Pressure and V=Volume&lt;br /&gt;
As the grid size increases so does its volume, therefore decreasing the internal energy. This further decreases the Helmholtz Free Energy. It can be seen in Graph 1 that initially the Helmholtz Free Energy increases with grid from 1x1x1 to 3x3x3 and then begins to follow the expected trend and decrease with increasing grid size. Table 1 shows that the accuracy of the Helmholtz Free Energy increases with grid size.&lt;br /&gt;
The Helmholtz Free Energy converges to a value of -40.9265 eV, with the 32x32x32 grid size being the most appropriate to run calculations from, providing the correct Helmholtz Free Energy and a suitable length of time to run the calculation.&lt;br /&gt;
&lt;br /&gt;
For CaO, a similar sized crystal to MgO (lattice constant CaO = 4.811 Å, lattice constant MgO = 4.212 Å)&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;/&amp;gt;, a similar size grid will be required for the calculation of the Helmholtz Free Energy. Faujasite would require a smaller grid size due to its large lattice constant and lithium a larger grid size than MgO due to its small lattice constant.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;The Thermal Expansion of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Thermal expansion is the ability of matter to change size, volume and shape in a response to the change in temperature. When a substance is heated the molecules vibrate and begin to move more, and their average separation increases. This thermal expansion is indicated by the Coefficient of Linear Thermal Expansion (CTE). Uniform linear objects have a thermally expand proportional to temperate over a small range of temperatures. The equation used to calculate the linear CTE is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;=linear CTE, &amp;lt;math&amp;gt;{L_0}&amp;lt;/math&amp;gt;=lattice constant at 0K and &amp;lt;math&amp;gt;dL/dT&amp;lt;/math&amp;gt;=rate of change of lattice constant with respect to temperature&lt;br /&gt;
&lt;br /&gt;
A volumetric CTE can also be calculated using the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt;=volumetric CTE, &amp;lt;math&amp;gt;{V}&amp;lt;/math&amp;gt;= volume and &amp;lt;math&amp;gt;\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;= partial derivative of volum with respect to temperature at constant pressure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Quasi-harmonic Approximation: ===&lt;br /&gt;
[[File:Task_4_graph_1.png|300px|thumb|left|Graph 2: A graph to show how the free energy of MgO changes with temperature]]&lt;br /&gt;
[[File:Task_4_graph_2.png|300px|thumb|right|Graph 3: A graph to show how the lattice constant of MgO changes with temperature]]&lt;br /&gt;
Using the 32x32x32 grid size of MgO the free energy was then optimised. The optimisation opts was set to optimise Gibbs Free Energy and the temperature was varied from 0 - 1000k. The free energy decreases with increasing temperature in a parabolic fashion to the order of 2. This negative correlation can be explained using the equation for Gibbs Free Energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G=H-TS&amp;lt;/math&amp;gt; where G=Gibbs Free Energy, H=Enthalpy, T=Temperature and S=Entropy&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Increasing the temperature decreases the TS term therefore decreasing the Gibbs Free Energy.&lt;br /&gt;
&lt;br /&gt;
The lattice constant increases in a parabolic fashion to the order of 2 with increasing temperature due to the thermal expansion.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Calculation of CTE: ====&lt;br /&gt;
Coefficient of Linear Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{2.9894}\,\frac{3.0056-2.9894}{1000}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=5.419\times10^{-6}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Coefficient of Volumetric Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{26.71481005}\,\left(\frac{27.15148242-26.71481005}{1000}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V=1.634\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It can be seen that the α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt; is 3.015 times that of the α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;. This is because MgO expands at the same rate in all three directions in three-dimensions, it is an isotropic compound. The CFE values are close to those found in literature at &amp;lt;math&amp;gt;\alpha_L=7.88\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=2.36\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; which were calculated using a temperature range close to that used in this experiment at 301.15-1273.15 K&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;/&amp;gt; (results from experiment give &amp;lt;math&amp;gt;\alpha_L=5.789\times10^{-6}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=1.747\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; if calculated from 300-1000k).&lt;br /&gt;
&lt;br /&gt;
The main approximation in the calculations of the thermal expansion is to do with the anharmonic contributions to the harmonic approximation. In order to simplify the phonon frequencies are set to be volume dependent and so at a higher temperature the anharmonic factor increases. The Born-Oppenheimer Approximation which assumes that the motion of atomic nuclei and electron in a molecule can be separated is another assumption.&lt;br /&gt;
&lt;br /&gt;
This approximation cannot be used when the temperature approaches that of the melting point of MgO due to the new lattice parameters. Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; begin to behave as separate ions as MgO begins to melt and becomes molten. Therefore the quasi-harmonic approximation cannot be used as it only takes into account linear movement.&lt;br /&gt;
&lt;br /&gt;
For a diatomic molecule with an exactly harmonic potential the bond is not allowed to break and the bond length is fixed around that of its equilibrium length. Therefore the lattice constant will only increase up to a distance just prior to bond cleavage. However, in these calculations the quasi-harmonic approximation allows the bonds to break within MgO and so the lattice constant can, in theory, increase to infinity.&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamics: ===&lt;br /&gt;
[[File:32_structure_dhl.png|300px|thumb|left|Figure 10: 32 unit MgO structure used for MD calculations]]&lt;br /&gt;
[[File:32_random_dhl.png|300px|thumb|right|Figure 11: 32 unit MgO structure post MD calculations]]&lt;br /&gt;
For the final section of this experiment the thermal expansion of MgO was once again calculated, but this time using the molecular dynamics method. This method allows the system to evolve according to Newton&#039;s Second Law &amp;lt;math&amp;gt; F= ma&amp;lt;/math&amp;gt;. The ensemble used was NPT, meaning the number of particles, the pressure and the temperature were all set to be constant. The timestep at which the vibrations to be sampled was set to be 1 femtosecond (fs) and the number of equilibration steps and production steps were set to 500, with the temperature being avried from 100-1000K. When the number of sampled configurations are sufficiently large, the average calculated is representative for the time averaged system obeying the ergodic hypothesis. A structure containing 32 units and therefore 64 atoms was used in this calculation (Fig 12), and in order to compare the volumes between the quasi-harmonic approximation and the molecular dynamics method, the volumes produced were divided by 32.&lt;br /&gt;
[[File:MD_and_QH_comparison.png|300px|thumb|right|Graph 4: Comparison of Cell Volume change between QHA and MD]]&lt;br /&gt;
It can be seen that both methods show the same trend, that of the volume increasing with increasing temperature, however throughout the whole temperature range the QHA cell volume values are slightly higher than the MD values.. The QHA becomes the exact same linear trend as the MD results at 400-1000K. At these temperatures the Coefficient of Volumetric Thermal Expansion are very similar:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_VQHA=1.730\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_VMD=1.824\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the range of 0-400K there is little anharmonicity and so the QHA predicts the thermal expansion more accurately and produces the curved graph. The MD method does not predict this trend at lower temperatures and can only predict a linear trend for the thermal expansion of MgO. The QHA graph is more similar to that found in literature than the MD graph&amp;lt;ref name=&amp;quot;Thermal Expansion graph&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The 32 unit structure used for the MD calculations is a 2x2x2 lattice of the conventional unit cell. This is a lot smaller than the size used to compute the thermal expansion of MgO using the QHA, and therefore, to have accurate results from the MD method, a larger size should be used.&lt;br /&gt;
&lt;br /&gt;
The MD method allows movement in three dimensions whereas the QHA only allows movement in one dimension. Therefore, at higher temperatures it is expected that the MD method will give much higher volume values than the QHA.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Conclusion&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
The free energy and phonon dispersions were successfully computed for MgO, and the thermal expansion studied using the QHA and the MD method. All results tended to agree with literature values well and it was found that the QHA gave a more realistic trend for the change in cell volume with respect to temperature at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;References&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;&amp;gt; X. Wu, W. Li, W. Rui. Effect of temperature on elastic constants, generalized stacking fault energy and dislocation cores in MgO and CaO. &#039;&#039;Computational Condensed Matter&#039;&#039;. 2014: 38-44. Available from: DOI: 10.1016/j.cocom.2014.10.005&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Zeolite&amp;quot;&amp;gt; J. A Kaduk, J. Faber. Crystal Structure of Zeolite Y as a function of Ion Exchange. &#039;&#039;The Rigaku Journal&#039;&#039;. 1995;12: 14. Available from: http://www.rigaku.com/downloads/journal/Vol12.2.1995/kaduk.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Lithium&amp;quot;&amp;gt; M. R. Nadler, C. P Kempter. Crystallographic Data 186. Lithium. &#039;&#039;Analytical Chemistry&#039;&#039;. 1959;31:2109. Available from: &lt;br /&gt;
DOI: 10.1021/ac60156a007&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;&amp;gt; D. K. Smith, H. R. Leider. Low-Temperature Thermal Expansion of LiH, MgO and CaO. &#039;&#039;Journal of Applied Crystallography&#039;&#039;. 1968;1: 246-249. Available from: DOI: 10.1107/S0021889868005418&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;&amp;gt; J. F. W. Bowles, R. A. Howie, D. J. Vaughan, J. Zussman. Rock-forming Minerals: Non-silicates: oxides, hydroxides and sulphides 2nd ed. London: The Geological Society;2011 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion graph&amp;quot;&amp;gt; L.S. Dubrovinsky, S.K. Saxena. Thermal Expansion of Periclase (MgO) and Tungsten (W)to Melting Temperatures. &#039;&#039;Physics and Chemistry of Minerals&#039;&#039;. 1999;24(8): 547-550. Available from: DOI: 10.1007/s002690050070&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Appendix&amp;lt;/u&amp;gt; ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Grid Size !! Helmholtz Free Energy (eV)!! Accuracy (meV)&lt;br /&gt;
|-&lt;br /&gt;
| 1x1x1 || -40.9303|| 4&lt;br /&gt;
|-&lt;br /&gt;
| 2x2x2 || -40.9266|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 3x3x3 || -40.9264|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 8x8x8 || -40.9265|| 0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16x16x16 || -40.9265|| 0.001&lt;br /&gt;
|-&lt;br /&gt;
| 32x32x32 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 40x40x40 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 50x50x50 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;3&amp;quot; |Table 1: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Grid Size&lt;br /&gt;
(Computing Free Energy)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Helmholtz Free Energy (eV)&lt;br /&gt;
|-&lt;br /&gt;
| 0 || -40.9019        &lt;br /&gt;
|-&lt;br /&gt;
| 100 || -40.9024&lt;br /&gt;
|-&lt;br /&gt;
| 200 || -40.9094&lt;br /&gt;
|-&lt;br /&gt;
| 300 || -40.9281&lt;br /&gt;
|-&lt;br /&gt;
| 400 || -40.9585&lt;br /&gt;
|-&lt;br /&gt;
| 500 || -40.9994&lt;br /&gt;
|-&lt;br /&gt;
| 600 || -41.0493&lt;br /&gt;
|-&lt;br /&gt;
| 700 || -41.1071&lt;br /&gt;
|-&lt;br /&gt;
| 800 || -41.1719&lt;br /&gt;
|-&lt;br /&gt;
| 900 || -41.2440&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || -41.3198&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 2: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Temperature&lt;br /&gt;
(quasi-harmonic approximation)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Lattice Constant&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 2.9894      &lt;br /&gt;
|-&lt;br /&gt;
| 100 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 300 || 2.9883&lt;br /&gt;
|-&lt;br /&gt;
| 400 || 2.9894&lt;br /&gt;
|-&lt;br /&gt;
| 500 || 2.9916&lt;br /&gt;
|-&lt;br /&gt;
| 600 || 2.9941&lt;br /&gt;
|-&lt;br /&gt;
| 700 || 2.9968&lt;br /&gt;
|-&lt;br /&gt;
| 800 || 2.9996&lt;br /&gt;
|-&lt;br /&gt;
| 900 || 3.0026&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 3.0056&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 3: Raw Data showing change in&lt;br /&gt;
Lattice Constant with Temperature&lt;br /&gt;
(quasi-harmonic approximation)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Lattice Constant&lt;br /&gt;
|-&lt;br /&gt;
| 100 || 18.7348    &lt;br /&gt;
|-&lt;br /&gt;
| 200 || 18.7833&lt;br /&gt;
|-&lt;br /&gt;
| 300 || 18.8348&lt;br /&gt;
|-&lt;br /&gt;
| 400 || 18.8940&lt;br /&gt;
|-&lt;br /&gt;
| 500 || 18.9476&lt;br /&gt;
|-&lt;br /&gt;
| 600 || 19.0052&lt;br /&gt;
|-&lt;br /&gt;
| 700 || 19.0652&lt;br /&gt;
|-&lt;br /&gt;
| 800 || 19.1282&lt;br /&gt;
|-&lt;br /&gt;
| 900 || 19.1894&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 19.1894&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 4: Raw Data showing change in&lt;br /&gt;
Volume with Temperature&lt;br /&gt;
(molecular dynamics)&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dl2613</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=551242</id>
		<title>Rep:Mod:Dl2613</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=551242"/>
		<updated>2016-03-09T15:43:03Z</updated>

		<summary type="html">&lt;p&gt;Dl2613: /* Appendix */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== &amp;lt;u&amp;gt;Introduction&amp;lt;/u&amp;gt; ==&lt;br /&gt;
The aim of this experiment was to use a simple model of atomic interactions to calculate the energy and vibrations of a crystal of MgO. This was then used to compute the free energy, phonon dispersions and to predict how MgO expands when heated. The quasi-harmonic approximation (QHA) and molecular dynamics methods were used to do these calculations.&lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon based model of solid-state physics and can describe volume-dependant thermal effects of structures, such as the MgO crystal. This assumption assumes that for every lattice value the harmonic oscillator assumption is true. MD is a type of N-body simulation, it allows atoms and molecules to interact for a fixed period of time showing the dynamics of a system. In this experiment the MD was run on an isothermal-isobaric (NPT) ensemble in which the amount of substance, pressure and temperature are fixed. MD allows motion in three dimensions.&lt;br /&gt;
&lt;br /&gt;
The software used for this experiment was RedHat Linux. DLVisualize (DLV) was used for the visualisation of the structure and properties of the MgO crystal. General Utility Lattice Program (GULP) is a supporting interface of DLV and was used to perform analytical solutions on MgO through the use of lattice dynamics.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Internal Energy Calculation on MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Better_unit_cell.png|300px|thumb|right|Figure 1: MgO Primitive Unit Cell]]&lt;br /&gt;
In this first exercise the internal energy and structure of MgO was calculated using GULP from the primitive unit cell of the crystal (Fig 1). An ionic potential model was used, without shells included and at a single point. The primitive unit cell is the simplest cell to describe the crystal structure of MgO and contains 2 atoms. The lattice vectors of this cell are:&lt;br /&gt;
&lt;br /&gt;
0.000   2.106   2.106&lt;br /&gt;
&lt;br /&gt;
2.106   0.000   2.106&lt;br /&gt;
&lt;br /&gt;
2.106   2.106   0.000&lt;br /&gt;
&lt;br /&gt;
From the [[Media:MgO_0_DHL.out| log file]] it can be seen that the lattice parameters are defined by the length 2.978Å and the angle 60º, giving the primitive unit cell the shape of a rhombohedron. Each primitive cell was calculated to have an energy of -40.08 eV and this corresponds to the binding energy of the crystal. The primitive cell can be used to build up a lattice by repeating its structure.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Calculation of phonon modes of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Computing the Phonon Dispersion Curves: ===&lt;br /&gt;
[[File:MgO_Phonon_Dispersion_DHL.png|300px|thumb|left|Figure 2: MgO Phonon Dispersion]]&lt;br /&gt;
The phonon frequencies were then computed along the symmetry points &amp;lt;math&amp;gt;W, L, G, W, X, K&amp;lt;/math&amp;gt; in k space. The calculation was set up for 50 Npoints with phonon eigenvectors included in the calculation. For a 3D crystal of diatomic molecules with two atom types, six vibration modes are observed in the phonon dispersion curves (Fig 2). A positive dispersion relation results in optical modes and a negative dispersion relation results in acoustic modes. Two adjacent different atoms move with each other in the optical mode, but move against each other in the acoustic mode. The acoustic modes equal 0   cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;  at the point Γ whereas the optical modes do not. It can be seen that there are three acoustic modes and three optical modes. The three acoustic modes can be split into one longitudinal acoustic mode and two transverse acoustic modes. The two transverse modes become degenerate between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;. The phonon dispersion curve agrees with that found in literature&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== The Phonon Density of States: ===&lt;br /&gt;
A simpler energy level diagram than the phonon dispersion relation is the density of states (DOS). The DOS is an average over the time and space demains of the MgO system and was calculated for the phonons as a function of the wave vector k. The dimensional limits of the MgO crystal affects the DOS and therefore it is expected that the DOS will change with the grid size of the MgO crystal.&lt;br /&gt;
&lt;br /&gt;
To begin with the DOS calculation was ran on a 1x1x1 grid, corresponding to a single k point. Comparison between Figure 2 and 3 shows that the single k point is the symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The frequencies of the phonon dispersions are identical in the two graphs. Four peaks instead of six are observed due to the fact that 2 pairs of modes become degenerate between &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. These degenerate modes correspond to the peaks between 250 and 400 cm &amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, explaining why those peaks are double the intensity of the high frequency peaks. It can been seen that a grid size of 1x1x1 is not a good representative of the DOS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_Phonon_DOS_DHL.png|300px|none|thumb|left|Figure 3: MgO Phonon DOS 1x1x1]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_3x3x3_DHL.png|300px|none|thumb|middle|Figure 4: MgO Phonon DOS 3x3x3]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_8x8x8_DHL.png|300px|none|thumb|middle|Figure 5: MgO Phonon DOS 8x8x8]]&lt;br /&gt;
|}&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_phonon_DOS_16x16x16_DHL.png|300px|none|thumb|left|Figure 6: MgO Phonon DOS 16x16x16]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_32x32x32_DHL.png|300px|none|thumb|left|Figure 7: MgO Phonon DOS 32x32x32]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_40x40x40_DHL.png|300px|none|thumb|middle|Figure 8: MgO Phonon DOS 40x40x40]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Several grid sizes were investigated up to 50x50x50 to find a compromise between an accurate DOS and the time taken to run the calculation. As the grid size is an increased a more true depiction of the DOS is obtained for the MgO structure. Increasing the grid size increases the number of peaks and then changes the graph from random sharp intensities to a smoother curve. However, the highest intensity point remains at 400 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; throughout all grid sizes and the higher frequencies having lower intensities. The bigger the grid size, the more k points that are sampled and the more representative the DOS. It can be seen in the figures below that the DOS curve is unchanged between 32x32x32 and 40x40x40, however, the running time increases greatly for the 40x40x40 grid size. Therefore, it was decided that the 32x32x32 grid size was the optimum and used in further calculations.&lt;br /&gt;
&lt;br /&gt;
The size of the grid set in the calculations is inversely related to the size of the structure in real space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This equation shows that the bigger a* (size of grid in k space) the smaller a (size of cell in real space). Therefore the bigger the cell in real space, the smaller the grid size needed for the calculation of DOS. This means that a similar oxide such as CaO will require a similar grid size as MgO for the calculation of DOS. Faujasite, a zeolite, has a lattice parameter in the range 24.2 - 25.1 Å &amp;lt;ref name=&amp;quot;Zeolite&amp;quot;/&amp;gt; and would therefore need a small grid size for the DOS calculation. Lithium, a small metal, has a lattice parameter of 3.51 Å &amp;lt;ref name=&amp;quot;Lithium&amp;quot;/&amp;gt; and would therefore need a large grid size for the DOS calculation to represent its small cell size in real space.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Computing the Free Energy&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Task_3_graph.png|300px|thumb|right|Graph 1: A Graph to show how the Free Energy changes with Grid Size]]&lt;br /&gt;
The Helmholtz Free Energy of MgO was then computed using the quasi-harmonic approximation on the same grid sizes as in the previous section at a temperature of 300K. Helmholtz Free Energy is given by the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A=Helmholtz Free Energy, U=Internal Energy, S=Entropy and T=Temperature&lt;br /&gt;
This states that the Helmholtz Free Energy should increase with increasing internal energy and decreasing temperature and entropy. This said, the Helmholtz Free Energy should decrease with increasing grid size. This can be explained with the aid of the following statistical mechanics equation of entropy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt; where S=Entropy, k=Boltzmann Constant and W=number of microstates&lt;br /&gt;
As the grid size increases the number of microstates sampled also increases. This in turn increases the entropy and decreases the TS term in the Helmholtz Free Energy equation. The decrease in Helmholtz Free Energy can be further explained using the following equation of internal energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt; where U=internal Energy, H=Enthalpy, P=Pressure and V=Volume&lt;br /&gt;
As the grid size increases so does its volume, therefore decreasing the internal energy. This further decreases the Helmholtz Free Energy. It can be seen in Graph 1 that initially the Helmholtz Free Energy increases with grid from 1x1x1 to 3x3x3 and then begins to follow the expected trend and decrease with increasing grid size. Table 1 shows that the accuracy of the Helmholtz Free Energy increases with grid size.&lt;br /&gt;
The Helmholtz Free Energy converges to a value of -40.9265 eV, with the 32x32x32 grid size being the most appropriate to run calculations from, providing the correct Helmholtz Free Energy and a suitable length of time to run the calculation.&lt;br /&gt;
&lt;br /&gt;
For CaO, a similar sized crystal to MgO (lattice constant CaO = 4.811 Å, lattice constant MgO = 4.212 Å)&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;/&amp;gt;, a similar size grid will be required for the calculation of the Helmholtz Free Energy. Faujasite would require a smaller grid size due to its large lattice constant and lithium a larger grid size than MgO due to its small lattice constant.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;The Thermal Expansion of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Thermal expansion is the ability of matter to change size, volume and shape in a response to the change in temperature. When a substance is heated the molecules vibrate and begin to move more, and their average separation increases. This thermal expansion is indicated by the Coefficient of Linear Thermal Expansion (CTE). Uniform linear objects have a thermally expand proportional to temperate over a small range of temperatures. The equation used to calculate the linear CTE is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;=linear CTE, &amp;lt;math&amp;gt;{L_0}&amp;lt;/math&amp;gt;=lattice constant at 0K and &amp;lt;math&amp;gt;dL/dT&amp;lt;/math&amp;gt;=rate of change of lattice constant with respect to temperature&lt;br /&gt;
&lt;br /&gt;
A volumetric CTE can also be calculated using the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt;=volumetric CTE, &amp;lt;math&amp;gt;{V}&amp;lt;/math&amp;gt;= volume and &amp;lt;math&amp;gt;\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;= partial derivative of volum with respect to temperature at constant pressure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Quasi-harmonic Approximation: ===&lt;br /&gt;
[[File:Task_4_graph_1.png|300px|thumb|left|Graph 2: A graph to show how the free energy of MgO changes with temperature]]&lt;br /&gt;
[[File:Task_4_graph_2.png|300px|thumb|right|Graph 3: A graph to show how the lattice constant of MgO changes with temperature]]&lt;br /&gt;
Using the 32x32x32 grid size of MgO the free energy was then optimised. The optimisation opts was set to optimise Gibbs Free Energy and the temperature was varied from 0 - 1000k. The free energy decreases with increasing temperature in a parabolic fashion to the order of 2. This negative correlation can be explained using the equation for Gibbs Free Energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G=H-TS&amp;lt;/math&amp;gt; where G=Gibbs Free Energy, H=Enthalpy, T=Temperature and S=Entropy&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Increasing the temperature decreases the TS term therefore decreasing the Gibbs Free Energy.&lt;br /&gt;
&lt;br /&gt;
The lattice constant increases in a parabolic fashion to the order of 2 with increasing temperature due to the thermal expansion.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Calculation of CTE: ====&lt;br /&gt;
Coefficient of Linear Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{2.9894}\,\frac{3.0056-2.9894}{1000}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=5.419\times10^{-6}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Coefficient of Volumetric Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{26.71481005}\,\left(\frac{27.15148242-26.71481005}{1000}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V=1.634\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It can be seen that the α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt; is 3.015 times that of the α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;. This is because MgO expands at the same rate in all three directions in three-dimensions, it is an isotropic compound. The CFE values are close to those found in literature at &amp;lt;math&amp;gt;\alpha_L=7.88\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=2.36\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; which were calculated using a temperature range close to that used in this experiment at 301.15-1273.15 K&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;/&amp;gt; (results from experiment give &amp;lt;math&amp;gt;\alpha_L=5.789\times10^{-6}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=1.747\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; if calculated from 300-1000k).&lt;br /&gt;
&lt;br /&gt;
The main approximation in the calculations of the thermal expansion is to do with the anharmonic contributions to the harmonic approximation. In order to simplify the phonon frequencies are set to be volume dependent and so at a higher temperature the anharmonic factor increases. The Born-Oppenheimer Approximation which assumes that the motion of atomic nuclei and electron in a molecule can be separated is another assumption.&lt;br /&gt;
&lt;br /&gt;
This approximation cannot be used when the temperature approaches that of the melting point of MgO due to the new lattice parameters. Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; begin to behave as separate ions as MgO begins to melt and becomes molten. Therefore the quasi-harmonic approximation cannot be used as it only takes into account linear movement.&lt;br /&gt;
&lt;br /&gt;
For a diatomic molecule with an exactly harmonic potential the bond is not allowed to break and the bond length is fixed around that of its equilibrium length. Therefore the lattice constant will only increase up to a distance just prior to bond cleavage. However, in these calculations the quasi-harmonic approximation allows the bonds to break within MgO and so the lattice constant can, in theory, increase to infinity.&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamics: ===&lt;br /&gt;
[[File:32_structure_dhl.png|300px|thumb|left|Figure 10: 32 unit MgO structure used for MD calculations]]&lt;br /&gt;
[[File:32_random_dhl.png|300px|thumb|right|Figure 11: 32 unit MgO structure post MD calculations]]&lt;br /&gt;
For the final section of this experiment the thermal expansion of MgO was once again calculated, but this time using the molecular dynamics method. This method allows the system to evolve according to Newton&#039;s Second Law &amp;lt;math&amp;gt; F= ma&amp;lt;/math&amp;gt;. The ensemble used was NPT, meaning the number of particles, the pressure and the temperature were all set to be constant. The timestep at which the vibrations to be sampled was set to be 1 femtosecond (fs) and the number of equilibration steps and production steps were set to 500, with the temperature being avried from 100-1000K. When the number of sampled configurations are sufficiently large, the average calculated is representative for the time averaged system obeying the ergodic hypothesis. A structure containing 32 units and therefore 64 atoms was used in this calculation (Fig 12), and in order to compare the volumes between the quasi-harmonic approximation and the molecular dynamics method, the volumes produced were divided by 32.&lt;br /&gt;
[[File:MD_and_QH_comparison.png|300px|thumb|right|Graph 4: Comparison of Cell Volume change between QHA and MD]]&lt;br /&gt;
It can be seen that both methods show the same trend, that of the volume increasing with increasing temperature, however throughout the whole temperature range the QHA cell volume values are slightly higher than the MD values.. The QHA becomes the exact same linear trend as the MD results at 400-1000K. At these temperatures the Coefficient of Volumetric Thermal Expansion are very similar:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_VQHA=1.730\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_VMD=1.824\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the range of 0-400K there is little anharmonicity and so the QHA predicts the thermal expansion more accurately and produces the curved graph. The MD method does not predict this trend at lower temperatures and can only predict a linear trend for the thermal expansion of MgO. The QHA graph is more similar to that found in literature than the MD graph&amp;lt;ref name=&amp;quot;Thermal Expansion graph&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The 32 unit structure used for the MD calculations is a 2x2x2 lattice of the conventional unit cell. This is a lot smaller than the size used to compute the thermal expansion of MgO using the QHA, and therefore, to have accurate results from the MD method, a larger size should be used.&lt;br /&gt;
&lt;br /&gt;
The MD method allows movement in three dimensions whereas the QHA only allows movement in one dimension. Therefore, at higher temperatures it is expected that the MD method will give much higher volume values than the QHA.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Conclusion&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
The free energy and phonon dispersions were successfully computed for MgO, and the thermal expansion studied using the QHA and the MD method. All results tended to agree with literature values well and it was found that the QHA gave a more realistic trend for the change in cell volume with respect to temperature at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;References&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;&amp;gt; X. Wu, W. Li, W. Rui. Effect of temperature on elastic constants, generalized stacking fault energy and dislocation cores in MgO and CaO. &#039;&#039;Computational Condensed Matter&#039;&#039;. 2014: 38-44. Available from: DOI: 10.1016/j.cocom.2014.10.005&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Zeolite&amp;quot;&amp;gt; J. A Kaduk, J. Faber. Crystal Structure of Zeolite Y as a function of Ion Exchange. &#039;&#039;The Rigaku Journal&#039;&#039;. 1995;12: 14. Available from: http://www.rigaku.com/downloads/journal/Vol12.2.1995/kaduk.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Lithium&amp;quot;&amp;gt; M. R. Nadler, C. P Kempter. Crystallographic Data 186. Lithium. &#039;&#039;Analytical Chemistry&#039;&#039;. 1959;31:2109. Available from: &lt;br /&gt;
DOI: 10.1021/ac60156a007&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;&amp;gt; D. K. Smith, H. R. Leider. Low-Temperature Thermal Expansion of LiH, MgO and CaO. &#039;&#039;Journal of Applied Crystallography&#039;&#039;. 1968;1: 246-249. Available from: DOI: 10.1107/S0021889868005418&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;&amp;gt; J. F. W. Bowles, R. A. Howie, D. J. Vaughan, J. Zussman. Rock-forming Minerals: Non-silicates: oxides, hydroxides and sulphides 2nd ed. London: The Geological Society;2011 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion graph&amp;quot;&amp;gt; L.S. Dubrovinsky, S.K. Saxena. Thermal Expansion of Periclase (MgO) and Tungsten (W)to Melting Temperatures. &#039;&#039;Physics and Chemistry of Minerals&#039;&#039;. 1999;24(8): 547-550. Available from: DOI: 10.1007/s002690050070&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Appendix&amp;lt;/u&amp;gt; ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Grid Size !! Helmholtz Free Energy (eV)!! Accuracy (meV)&lt;br /&gt;
|-&lt;br /&gt;
| 1x1x1 || -40.9303|| 4&lt;br /&gt;
|-&lt;br /&gt;
| 2x2x2 || -40.9266|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 3x3x3 || -40.9264|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 8x8x8 || -40.9265|| 0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16x16x16 || -40.9265|| 0.001&lt;br /&gt;
|-&lt;br /&gt;
| 32x32x32 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 40x40x40 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 50x50x50 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;3&amp;quot; |Table 1: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Grid Size&lt;br /&gt;
(Computing Free Energy)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Helmholtz Free Energy (eV)&lt;br /&gt;
|-&lt;br /&gt;
| 0 || -40.9019        &lt;br /&gt;
|-&lt;br /&gt;
| 100 || -40.9024&lt;br /&gt;
|-&lt;br /&gt;
| 200 || -40.9094&lt;br /&gt;
|-&lt;br /&gt;
| 300 || -40.9281&lt;br /&gt;
|-&lt;br /&gt;
| 400 || -40.9585&lt;br /&gt;
|-&lt;br /&gt;
| 500 || -40.9994&lt;br /&gt;
|-&lt;br /&gt;
| 600 || -41.0493&lt;br /&gt;
|-&lt;br /&gt;
| 700 || -41.1071&lt;br /&gt;
|-&lt;br /&gt;
| 800 || -41.1719&lt;br /&gt;
|-&lt;br /&gt;
| 900 || -41.2440&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || -41.3198&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 2: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Temperature&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Lattice Constant&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 2.9894      &lt;br /&gt;
|-&lt;br /&gt;
| 100 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 300 || 2.9883&lt;br /&gt;
|-&lt;br /&gt;
| 400 || 2.9894&lt;br /&gt;
|-&lt;br /&gt;
| 500 || 2.9916&lt;br /&gt;
|-&lt;br /&gt;
| 600 || 2.9941&lt;br /&gt;
|-&lt;br /&gt;
| 700 || 2.9968&lt;br /&gt;
|-&lt;br /&gt;
| 800 || 2.9996&lt;br /&gt;
|-&lt;br /&gt;
| 900 || 3.0026&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 3.0056&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 3: Raw Data showing change in&lt;br /&gt;
Lattice Constant with Temperature&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dl2613</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550686</id>
		<title>Rep:Mod:Dl2613</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550686"/>
		<updated>2016-03-08T14:04:04Z</updated>

		<summary type="html">&lt;p&gt;Dl2613: /* Calculation of phonon modes of MgO */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== &amp;lt;u&amp;gt;Introduction&amp;lt;/u&amp;gt; ==&lt;br /&gt;
The aim of this experiment was to use a simple model of atomic interactions to calculate the energy and vibrations of a crystal of MgO. This was then used to compute the free energy, phonon dispersions and to predict how MgO expands when heated. The quasi-harmonic approximation (QHA) and molecular dynamics methods were used to do these calculations.&lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon based model of solid-state physics and can describe volume-dependant thermal effects of structures, such as the MgO crystal. This assumption assumes that for every lattice value the harmonic oscillator assumption is true. MD is a type of N-body simulation, it allows atoms and molecules to interact for a fixed period of time showing the dynamics of a system. In this experiment the MD was run on an isothermal-isobaric (NPT) ensemble in which the amount of substance, pressure and temperature are fixed. MD allows motion in three dimensions.&lt;br /&gt;
&lt;br /&gt;
The software used for this experiment was RedHat Linux. DLVisualize (DLV) was used for the visualisation of the structure and properties of the MgO crystal. General Utility Lattice Program (GULP) is a supporting interface of DLV and was used to perform analytical solutions on MgO through the use of lattice dynamics.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Internal Energy Calculation on MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Better_unit_cell.png|300px|thumb|right|Figure 1: MgO Primitive Unit Cell]]&lt;br /&gt;
In this first exercise the internal energy and structure of MgO was calculated using GULP from the primitive unit cell of the crystal (Fig 1). An ionic potential model was used, without shells included and at a single point. The primitive unit cell is the simplest cell to describe the crystal structure of MgO and contains 2 atoms. The lattice vectors of this cell are:&lt;br /&gt;
&lt;br /&gt;
0.000   2.106   2.106&lt;br /&gt;
&lt;br /&gt;
2.106   0.000   2.106&lt;br /&gt;
&lt;br /&gt;
2.106   2.106   0.000&lt;br /&gt;
&lt;br /&gt;
From the [[Media:MgO_0_DHL.out| log file]] it can be seen that the lattice parameters are defined by the length 2.978Å and the angle 60º, giving the primitive unit cell the shape of a rhombohedron. Each primitive cell was calculated to have an energy of -40.08 eV and this corresponds to the binding energy of the crystal. The primitive cell can be used to build up a lattice by repeating its structure.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Calculation of phonon modes of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Computing the Phonon Dispersion Curves: ===&lt;br /&gt;
[[File:MgO_Phonon_Dispersion_DHL.png|300px|thumb|left|Figure 2: MgO Phonon Dispersion]]&lt;br /&gt;
The phonon frequencies were then computed along the symmetry points &amp;lt;math&amp;gt;W, L, G, W, X, K&amp;lt;/math&amp;gt; in k space. The calculation was set up for 50 Npoints with phonon eigenvectors included in the calculation. For a 3D crystal of diatomic molecules with two atom types, six vibration modes are observed in the phonon dispersion curves (Fig 2). A positive dispersion relation results in optical modes and a negative dispersion relation results in acoustic modes. Two adjacent different atoms move with each other in the optical mode, but move against each other in the acoustic mode. The acoustic modes equal 0   cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;  at the point Γ whereas the optical modes do not. It can be seen that there are three acoustic modes and three optical modes. The three acoustic modes can be split into one longitudinal acoustic mode and two transverse acoustic modes. The two transverse modes become degenerate between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;. The phonon dispersion curve agrees with that found in literature&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== The Phonon Density of States: ===&lt;br /&gt;
A simpler energy level diagram than the phonon dispersion relation is the density of states (DOS). The DOS is an average over the time and space demains of the MgO system and was calculated for the phonons as a function of the wave vector k. The dimensional limits of the MgO crystal affects the DOS and therefore it is expected that the DOS will change with the grid size of the MgO crystal.&lt;br /&gt;
&lt;br /&gt;
To begin with the DOS calculation was ran on a 1x1x1 grid, corresponding to a single k point. Comparison between Figure 2 and 3 shows that the single k point is the symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The frequencies of the phonon dispersions are identical in the two graphs. Four peaks instead of six are observed due to the fact that 2 pairs of modes become degenerate between &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. These degenerate modes correspond to the peaks between 250 and 400 cm &amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, explaining why those peaks are double the intensity of the high frequency peaks. It can been seen that a grid size of 1x1x1 is not a good representative of the DOS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_Phonon_DOS_DHL.png|300px|none|thumb|left|Figure 3: MgO Phonon DOS 1x1x1]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_3x3x3_DHL.png|300px|none|thumb|middle|Figure 4: MgO Phonon DOS 3x3x3]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_8x8x8_DHL.png|300px|none|thumb|middle|Figure 5: MgO Phonon DOS 8x8x8]]&lt;br /&gt;
|}&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_phonon_DOS_16x16x16_DHL.png|300px|none|thumb|left|Figure 6: MgO Phonon DOS 16x16x16]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_32x32x32_DHL.png|300px|none|thumb|left|Figure 7: MgO Phonon DOS 32x32x32]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_40x40x40_DHL.png|300px|none|thumb|middle|Figure 8: MgO Phonon DOS 40x40x40]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Several grid sizes were investigated up to 50x50x50 to find a compromise between an accurate DOS and the time taken to run the calculation. As the grid size is an increased a more true depiction of the DOS is obtained for the MgO structure. Increasing the grid size increases the number of peaks and then changes the graph from random sharp intensities to a smoother curve. However, the highest intensity point remains at 400 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; throughout all grid sizes and the higher frequencies having lower intensities. The bigger the grid size, the more k points that are sampled and the more representative the DOS. It can be seen in the figures below that the DOS curve is unchanged between 32x32x32 and 40x40x40, however, the running time increases greatly for the 40x40x40 grid size. Therefore, it was decided that the 32x32x32 grid size was the optimum and used in further calculations.&lt;br /&gt;
&lt;br /&gt;
The size of the grid set in the calculations is inversely related to the size of the structure in real space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This equation shows that the bigger a* (size of grid in k space) the smaller a (size of cell in real space). Therefore the bigger the cell in real space, the smaller the grid size needed for the calculation of DOS. This means that a similar oxide such as CaO will require a similar grid size as MgO for the calculation of DOS. Faujasite, a zeolite, has a lattice parameter in the range 24.2 - 25.1 Å &amp;lt;ref name=&amp;quot;Zeolite&amp;quot;/&amp;gt; and would therefore need a small grid size for the DOS calculation. Lithium, a small metal, has a lattice parameter of 3.51 Å &amp;lt;ref name=&amp;quot;Lithium&amp;quot;/&amp;gt; and would therefore need a large grid size for the DOS calculation to represent its small cell size in real space.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Computing the Free Energy&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Task_3_graph.png|300px|thumb|right|Graph 1: A Graph to show how the Free Energy changes with Grid Size]]&lt;br /&gt;
The Helmholtz Free Energy of MgO was then computed using the quasi-harmonic approximation on the same grid sizes as in the previous section at a temperature of 300K. Helmholtz Free Energy is given by the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A=Helmholtz Free Energy, U=Internal Energy, S=Entropy and T=Temperature&lt;br /&gt;
This states that the Helmholtz Free Energy should increase with increasing internal energy and decreasing temperature and entropy. This said, the Helmholtz Free Energy should decrease with increasing grid size. This can be explained with the aid of the following statistical mechanics equation of entropy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt; where S=Entropy, k=Boltzmann Constant and W=number of microstates&lt;br /&gt;
As the grid size increases the number of microstates sampled also increases. This in turn increases the entropy and decreases the TS term in the Helmholtz Free Energy equation. The decrease in Helmholtz Free Energy can be further explained using the following equation of internal energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt; where U=internal Energy, H=Enthalpy, P=Pressure and V=Volume&lt;br /&gt;
As the grid size increases so does its volume, therefore decreasing the internal energy. This further decreases the Helmholtz Free Energy. It can be seen in Graph 1 that initially the Helmholtz Free Energy increases with grid from 1x1x1 to 3x3x3 and then begins to follow the expected trend and decrease with increasing grid size. Table 1 shows that the accuracy of the Helmholtz Free Energy increases with grid size.&lt;br /&gt;
The Helmholtz Free Energy converges to a value of -40.9265 eV, with the 32x32x32 grid size being the most appropriate to run calculations from, providing the correct Helmholtz Free Energy and a suitable length of time to run the calculation.&lt;br /&gt;
&lt;br /&gt;
For CaO, a similar sized crystal to MgO (lattice constant CaO = 4.811 Å, lattice constant MgO = 4.212 Å)&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;/&amp;gt;, a similar size grid will be required for the calculation of the Helmholtz Free Energy. Faujasite would require a smaller grid size due to its large lattice constant and lithium a larger grid size than MgO due to its small lattice constant.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;The Thermal Expansion of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Thermal expansion is the ability of matter to change size, volume and shape in a response to the change in temperature. When a substance is heated the molecules vibrate and begin to move more, and their average separation increases. This thermal expansion is indicated by the Coefficient of Linear Thermal Expansion (CTE). Uniform linear objects have a thermally expand proportional to temperate over a small range of temperatures. The equation used to calculate the linear CTE is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;=linear CTE, &amp;lt;math&amp;gt;{L_0}&amp;lt;/math&amp;gt;=lattice constant at 0K and &amp;lt;math&amp;gt;dL/dT&amp;lt;/math&amp;gt;=rate of change of lattice constant with respect to temperature&lt;br /&gt;
&lt;br /&gt;
A volumetric CTE can also be calculated using the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt;=volumetric CTE, &amp;lt;math&amp;gt;{V}&amp;lt;/math&amp;gt;= volume and &amp;lt;math&amp;gt;\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;= partial derivative of volum with respect to temperature at constant pressure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Quasi-harmonic Approximation: ===&lt;br /&gt;
[[File:Task_4_graph_1.png|300px|thumb|left|Graph 2: A graph to show how the free energy of MgO changes with temperature]]&lt;br /&gt;
[[File:Task_4_graph_2.png|300px|thumb|right|Graph 3: A graph to show how the lattice constant of MgO changes with temperature]]&lt;br /&gt;
Using the 32x32x32 grid size of MgO the free energy was then optimised. The optimisation opts was set to optimise Gibbs Free Energy and the temperature was varied from 0 - 1000k. The free energy decreases with increasing temperature in a parabolic fashion to the order of 2. This negative correlation can be explained using the equation for Gibbs Free Energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G=H-TS&amp;lt;/math&amp;gt; where G=Gibbs Free Energy, H=Enthalpy, T=Temperature and S=Entropy&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Increasing the temperature decreases the TS term therefore decreasing the Gibbs Free Energy.&lt;br /&gt;
&lt;br /&gt;
The lattice constant increases in a parabolic fashion to the order of 2 with increasing temperature due to the thermal expansion.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Calculation of CTE: ====&lt;br /&gt;
Coefficient of Linear Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{2.9894}\,\frac{3.0056-2.9894}{1000}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=5.419\times10^{-6}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Coefficient of Volumetric Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{26.71481005}\,\left(\frac{27.15148242-26.71481005}{1000}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V=1.634\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It can be seen that the α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt; is 3.015 times that of the α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;. This is because MgO expands at the same rate in all three directions in three-dimensions, it is an isotropic compound. The CFE values are close to those found in literature at &amp;lt;math&amp;gt;\alpha_L=7.88\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=2.36\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; which were calculated using a temperature range close to that used in this experiment at 301.15-1273.15 K&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;/&amp;gt; (results from experiment give &amp;lt;math&amp;gt;\alpha_L=5.789\times10^{-6}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=1.747\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; if calculated from 300-1000k).&lt;br /&gt;
&lt;br /&gt;
The main approximation in the calculations of the thermal expansion is to do with the anharmonic contributions to the harmonic approximation. In order to simplify the phonon frequencies are set to be volume dependent and so at a higher temperature the anharmonic factor increases. The Born-Oppenheimer Approximation which assumes that the motion of atomic nuclei and electron in a molecule can be separated is another assumption.&lt;br /&gt;
&lt;br /&gt;
This approximation cannot be used when the temperature approaches that of the melting point of MgO due to the new lattice parameters. Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; begin to behave as separate ions as MgO begins to melt and becomes molten. Therefore the quasi-harmonic approximation cannot be used as it only takes into account linear movement.&lt;br /&gt;
&lt;br /&gt;
For a diatomic molecule with an exactly harmonic potential the bond is not allowed to break and the bond length is fixed around that of its equilibrium length. Therefore the lattice constant will only increase up to a distance just prior to bond cleavage. However, in these calculations the quasi-harmonic approximation allows the bonds to break within MgO and so the lattice constant can, in theory, increase to infinity.&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamics: ===&lt;br /&gt;
[[File:32_structure_dhl.png|300px|thumb|left|Figure 10: 32 unit MgO structure used for MD calculations]]&lt;br /&gt;
[[File:32_random_dhl.png|300px|thumb|right|Figure 11: 32 unit MgO structure post MD calculations]]&lt;br /&gt;
For the final section of this experiment the thermal expansion of MgO was once again calculated, but this time using the molecular dynamics method. This method allows the system to evolve according to Newton&#039;s Second Law &amp;lt;math&amp;gt; F= ma&amp;lt;/math&amp;gt;. The ensemble used was NPT, meaning the number of particles, the pressure and the temperature were all set to be constant. The timestep at which the vibrations to be sampled was set to be 1 femtosecond (fs) and the number of equilibration steps and production steps were set to 500, with the temperature being avried from 100-1000K. When the number of sampled configurations are sufficiently large, the average calculated is representative for the time averaged system obeying the ergodic hypothesis. A structure containing 32 units and therefore 64 atoms was used in this calculation (Fig 12), and in order to compare the volumes between the quasi-harmonic approximation and the molecular dynamics method, the volumes produced were divided by 32.&lt;br /&gt;
[[File:MD_and_QH_comparison.png|300px|thumb|right|Graph 4: Comparison of Cell Volume change between QHA and MD]]&lt;br /&gt;
It can be seen that both methods show the same trend, that of the volume increasing with increasing temperature, however throughout the whole temperature range the QHA cell volume values are slightly higher than the MD values.. The QHA becomes the exact same linear trend as the MD results at 400-1000K. At these temperatures the Coefficient of Volumetric Thermal Expansion are very similar:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_VQHA=1.730\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_VMD=1.824\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the range of 0-400K there is little anharmonicity and so the QHA predicts the thermal expansion more accurately and produces the curved graph. The MD method does not predict this trend at lower temperatures and can only predict a linear trend for the thermal expansion of MgO. The QHA graph is more similar to that found in literature than the MD graph&amp;lt;ref name=&amp;quot;Thermal Expansion graph&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The 32 unit structure used for the MD calculations is a 2x2x2 lattice of the conventional unit cell. This is a lot smaller than the size used to compute the thermal expansion of MgO using the QHA, and therefore, to have accurate results from the MD method, a larger size should be used.&lt;br /&gt;
&lt;br /&gt;
The MD method allows movement in three dimensions whereas the QHA only allows movement in one dimension. Therefore, at higher temperatures it is expected that the MD method will give much higher volume values than the QHA.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Conclusion&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
The free energy and phonon dispersions were successfully computed for MgO, and the thermal expansion studied using the QHA and the MD method. All results tended to agree with literature values well and it was found that the QHA gave a more realistic trend for the change in cell volume with respect to temperature at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;References&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;&amp;gt; X. Wu, W. Li, W. Rui. Effect of temperature on elastic constants, generalized stacking fault energy and dislocation cores in MgO and CaO. &#039;&#039;Computational Condensed Matter&#039;&#039;. 2014: 38-44. Available from: DOI: 10.1016/j.cocom.2014.10.005&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Zeolite&amp;quot;&amp;gt; J. A Kaduk, J. Faber. Crystal Structure of Zeolite Y as a function of Ion Exchange. &#039;&#039;The Rigaku Journal&#039;&#039;. 1995;12: 14. Available from: http://www.rigaku.com/downloads/journal/Vol12.2.1995/kaduk.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Lithium&amp;quot;&amp;gt; M. R. Nadler, C. P Kempter. Crystallographic Data 186. Lithium. &#039;&#039;Analytical Chemistry&#039;&#039;. 1959;31:2109. Available from: &lt;br /&gt;
DOI: 10.1021/ac60156a007&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;&amp;gt; D. K. Smith, H. R. Leider. Low-Temperature Thermal Expansion of LiH, MgO and CaO. &#039;&#039;Journal of Applied Crystallography&#039;&#039;. 1968;1: 246-249. Available from: DOI: 10.1107/S0021889868005418&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;&amp;gt; J. F. W. Bowles, R. A. Howie, D. J. Vaughan, J. Zussman. Rock-forming Minerals: Non-silicates: oxides, hydroxides and sulphides 2nd ed. London: The Geological Society;2011 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion graph&amp;quot;&amp;gt; L.S. Dubrovinsky, S.K. Saxena. Thermal Expansion of Periclase (MgO) and Tungsten (W)to Melting Temperatures. &#039;&#039;Physics and Chemistry of Minerals&#039;&#039;. 1999;24(8): 547-550. Available from: DOI: 10.1007/s002690050070&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Appendix&amp;lt;/u&amp;gt; ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Grid Size !! Helmholtz Free Energy (eV)!! Accuracy (meV)&lt;br /&gt;
|-&lt;br /&gt;
| 1x1x1 || -40.9303|| 4&lt;br /&gt;
|-&lt;br /&gt;
| 2x2x2 || -40.9266|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 3x3x3 || -40.9264|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 8x8x8 || -40.9265|| 0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16x16x16 || -40.9265|| 0.001&lt;br /&gt;
|-&lt;br /&gt;
| 32x32x32 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 40x40x40 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 50x50x50 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;3&amp;quot; |Table 1: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Grid Size&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Helmholtz Free Energy (eV)&lt;br /&gt;
|-&lt;br /&gt;
| 0 || -40.9019        &lt;br /&gt;
|-&lt;br /&gt;
| 100 || -40.9024&lt;br /&gt;
|-&lt;br /&gt;
| 200 || -40.9094&lt;br /&gt;
|-&lt;br /&gt;
| 300 || -40.9281&lt;br /&gt;
|-&lt;br /&gt;
| 400 || -40.9585&lt;br /&gt;
|-&lt;br /&gt;
| 500 || -40.9994&lt;br /&gt;
|-&lt;br /&gt;
| 600 || -41.0493&lt;br /&gt;
|-&lt;br /&gt;
| 700 || -41.1071&lt;br /&gt;
|-&lt;br /&gt;
| 800 || -41.1719&lt;br /&gt;
|-&lt;br /&gt;
| 900 || -41.2440&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || -41.3198&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 2: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Temperature&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Lattice Constant&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 2.9894      &lt;br /&gt;
|-&lt;br /&gt;
| 100 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 300 || 2.9883&lt;br /&gt;
|-&lt;br /&gt;
| 400 || 2.9894&lt;br /&gt;
|-&lt;br /&gt;
| 500 || 2.9916&lt;br /&gt;
|-&lt;br /&gt;
| 600 || 2.9941&lt;br /&gt;
|-&lt;br /&gt;
| 700 || 2.9968&lt;br /&gt;
|-&lt;br /&gt;
| 800 || 2.9996&lt;br /&gt;
|-&lt;br /&gt;
| 900 || 3.0026&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 3.0056&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 3: Raw Data showing change in&lt;br /&gt;
Lattice Constant with Temperature&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dl2613</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550685</id>
		<title>Rep:Mod:Dl2613</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550685"/>
		<updated>2016-03-08T14:03:56Z</updated>

		<summary type="html">&lt;p&gt;Dl2613: /* Calculation of phonon modes of MgO */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== &amp;lt;u&amp;gt;Introduction&amp;lt;/u&amp;gt; ==&lt;br /&gt;
The aim of this experiment was to use a simple model of atomic interactions to calculate the energy and vibrations of a crystal of MgO. This was then used to compute the free energy, phonon dispersions and to predict how MgO expands when heated. The quasi-harmonic approximation (QHA) and molecular dynamics methods were used to do these calculations.&lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon based model of solid-state physics and can describe volume-dependant thermal effects of structures, such as the MgO crystal. This assumption assumes that for every lattice value the harmonic oscillator assumption is true. MD is a type of N-body simulation, it allows atoms and molecules to interact for a fixed period of time showing the dynamics of a system. In this experiment the MD was run on an isothermal-isobaric (NPT) ensemble in which the amount of substance, pressure and temperature are fixed. MD allows motion in three dimensions.&lt;br /&gt;
&lt;br /&gt;
The software used for this experiment was RedHat Linux. DLVisualize (DLV) was used for the visualisation of the structure and properties of the MgO crystal. General Utility Lattice Program (GULP) is a supporting interface of DLV and was used to perform analytical solutions on MgO through the use of lattice dynamics.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Internal Energy Calculation on MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Better_unit_cell.png|300px|thumb|right|Figure 1: MgO Primitive Unit Cell]]&lt;br /&gt;
In this first exercise the internal energy and structure of MgO was calculated using GULP from the primitive unit cell of the crystal (Fig 1). An ionic potential model was used, without shells included and at a single point. The primitive unit cell is the simplest cell to describe the crystal structure of MgO and contains 2 atoms. The lattice vectors of this cell are:&lt;br /&gt;
&lt;br /&gt;
0.000   2.106   2.106&lt;br /&gt;
&lt;br /&gt;
2.106   0.000   2.106&lt;br /&gt;
&lt;br /&gt;
2.106   2.106   0.000&lt;br /&gt;
&lt;br /&gt;
From the [[Media:MgO_0_DHL.out| log file]] it can be seen that the lattice parameters are defined by the length 2.978Å and the angle 60º, giving the primitive unit cell the shape of a rhombohedron. Each primitive cell was calculated to have an energy of -40.08 eV and this corresponds to the binding energy of the crystal. The primitive cell can be used to build up a lattice by repeating its structure.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Calculation of phonon modes of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Computing the Phonon Dispersion Curves: ===&lt;br /&gt;
[[File:MgO_Phonon_Dispersion_DHL.png|300px|thumb|left|Figure 2: MgO Phonon Dispersion]]&lt;br /&gt;
The phonon frequencies were then computed along the symmetry points &amp;lt;math&amp;gt;W, L, G, W, X, K&amp;lt;/math&amp;gt; in k space. The calculation was set up for 50 Npoints with phonon eigenvectors included in the calculation. For a 3D crystal of diatomic molecules with two atom types, six vibration modes are observed in the phonon dispersion curves (Fig 2). A positive dispersion relation results in optical modes and a negative dispersion relation results in acoustic modes. Two adjacent different atoms move with each other in the optical mode, but move against each other in the acoustic mode. The acoustic modes equal 0   cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;  at the point Γ whereas the optical modes do not. It can be seen that there are three acoustic modes and three optical modes. The three acoustic modes can be split into one longitudinal acoustic mode and two transverse acoustic modes. The two transverse modes become degenerate between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;. The phonon dispersion curve agrees with that found in literature&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== The Phonon Density of States: ===&lt;br /&gt;
A simpler energy level diagram than the phonon dispersion relation is the density of states (DOS). The DOS is an average over the time and space demains of the MgO system and was calculated for the phonons as a function of the wave vector k. The dimensional limits of the MgO crystal affects the DOS and therefore it is expected that the DOS will change with the grid size of the MgO crystal.&lt;br /&gt;
&lt;br /&gt;
To begin with the DOS calculation was ran on a 1x1x1 grid, corresponding to a single k point. Comparison between Figure 2 and 3 shows that the single k point is the symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The frequencies of the phonon dispersions are identical in the two graphs. Four peaks instead of six are observed due to the fact that 2 pairs of modes become degenerate between &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. These degenerate modes correspond to the peaks between 250 and 400 cm &amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, explaining why those peaks are double the intensity of the high frequency peaks. It can been seen that a grid size of 1x1x1 is not a good representative of the DOS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_Phonon_DOS_DHL.png|300px|none|thumb|left|Figure 3: MgO Phonon DOS 1x1x1]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_3x3x3_DHL.png|300px|none|thumb|middle|Figure 4: MgO Phonon DOS 3x3x3]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_8x8x8_DHL.png|300px|none|thumb|middle|Figure 5: MgO Phonon DOS 8x8x8]]&lt;br /&gt;
|}&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_phonon_DOS_16x16x16_DHL.png|300px|none|thumb|left|Figure 6: MgO Phonon DOS 16x16x16]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_32x32x32_DHL.png|300px|none|thumb|left|Figure 7: MgO Phonon DOS 32x32x32]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_40x40x40_DHL.png|300px|none|thumb|middle|Figure 8: MgO Phonon DOS 40x40x40]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Several grid sizes were investigated up to 50x50x50 to find a compromise between an accurate DOS and the time taken to run the calculation. As the grid size is an increased a more true depiction of the DOS is obtained for the MgO structure. Increasing the grid size increases the number of peaks and then changes the graph from random sharp intensities to a smoother curve. However, the highest intensity point remains at 400 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; throughout all grid sizes and the higher frequencies having lower intensities. The bigger the grid size, the more k points that are sampled and the more representative the DOS. It can be seen in the figures below that the DOS curve is unchanged between 32x32x32 and 40x40x40, however, the running time increases greatly for the 40x40x40 grid size. Therefore, it was decided that the 32x32x32 grid size was the optimum and used in further calculations.&lt;br /&gt;
&lt;br /&gt;
The size of the grid set in the calculations is inversely related to the size of the structure in real space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This equation shows that the bigger a* (size of grid in k space) the smaller a (size of cell in real space). Therefore the bigger the cell in real space, the smaller the grid size needed for the calculation of DOS. This means that a similar oxide such as CaO will require a similar grid size as MgO for the calculation of DOS. Faujasite, a zeolite, has a lattice parameter in the range 24.2 - 25.1 Å &amp;lt;ref name=&amp;quot;Zeolite&amp;quot;/&amp;gt; and would therefore need a small grid size for the DOS calculation. Lithium, a small metal, has a lattice parameter of 3.51 Å &amp;lt;ref name=&amp;quot;Lithium&amp;quot;/&amp;gt; and would therefore need a large grid size for the DOS calculation to represent its small cell size in real space.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Computing the Free Energy&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Task_3_graph.png|300px|thumb|right|Graph 1: A Graph to show how the Free Energy changes with Grid Size]]&lt;br /&gt;
The Helmholtz Free Energy of MgO was then computed using the quasi-harmonic approximation on the same grid sizes as in the previous section at a temperature of 300K. Helmholtz Free Energy is given by the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A=Helmholtz Free Energy, U=Internal Energy, S=Entropy and T=Temperature&lt;br /&gt;
This states that the Helmholtz Free Energy should increase with increasing internal energy and decreasing temperature and entropy. This said, the Helmholtz Free Energy should decrease with increasing grid size. This can be explained with the aid of the following statistical mechanics equation of entropy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt; where S=Entropy, k=Boltzmann Constant and W=number of microstates&lt;br /&gt;
As the grid size increases the number of microstates sampled also increases. This in turn increases the entropy and decreases the TS term in the Helmholtz Free Energy equation. The decrease in Helmholtz Free Energy can be further explained using the following equation of internal energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt; where U=internal Energy, H=Enthalpy, P=Pressure and V=Volume&lt;br /&gt;
As the grid size increases so does its volume, therefore decreasing the internal energy. This further decreases the Helmholtz Free Energy. It can be seen in Graph 1 that initially the Helmholtz Free Energy increases with grid from 1x1x1 to 3x3x3 and then begins to follow the expected trend and decrease with increasing grid size. Table 1 shows that the accuracy of the Helmholtz Free Energy increases with grid size.&lt;br /&gt;
The Helmholtz Free Energy converges to a value of -40.9265 eV, with the 32x32x32 grid size being the most appropriate to run calculations from, providing the correct Helmholtz Free Energy and a suitable length of time to run the calculation.&lt;br /&gt;
&lt;br /&gt;
For CaO, a similar sized crystal to MgO (lattice constant CaO = 4.811 Å, lattice constant MgO = 4.212 Å)&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;/&amp;gt;, a similar size grid will be required for the calculation of the Helmholtz Free Energy. Faujasite would require a smaller grid size due to its large lattice constant and lithium a larger grid size than MgO due to its small lattice constant.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;The Thermal Expansion of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Thermal expansion is the ability of matter to change size, volume and shape in a response to the change in temperature. When a substance is heated the molecules vibrate and begin to move more, and their average separation increases. This thermal expansion is indicated by the Coefficient of Linear Thermal Expansion (CTE). Uniform linear objects have a thermally expand proportional to temperate over a small range of temperatures. The equation used to calculate the linear CTE is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;=linear CTE, &amp;lt;math&amp;gt;{L_0}&amp;lt;/math&amp;gt;=lattice constant at 0K and &amp;lt;math&amp;gt;dL/dT&amp;lt;/math&amp;gt;=rate of change of lattice constant with respect to temperature&lt;br /&gt;
&lt;br /&gt;
A volumetric CTE can also be calculated using the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt;=volumetric CTE, &amp;lt;math&amp;gt;{V}&amp;lt;/math&amp;gt;= volume and &amp;lt;math&amp;gt;\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;= partial derivative of volum with respect to temperature at constant pressure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Quasi-harmonic Approximation: ===&lt;br /&gt;
[[File:Task_4_graph_1.png|300px|thumb|left|Graph 2: A graph to show how the free energy of MgO changes with temperature]]&lt;br /&gt;
[[File:Task_4_graph_2.png|300px|thumb|right|Graph 3: A graph to show how the lattice constant of MgO changes with temperature]]&lt;br /&gt;
Using the 32x32x32 grid size of MgO the free energy was then optimised. The optimisation opts was set to optimise Gibbs Free Energy and the temperature was varied from 0 - 1000k. The free energy decreases with increasing temperature in a parabolic fashion to the order of 2. This negative correlation can be explained using the equation for Gibbs Free Energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G=H-TS&amp;lt;/math&amp;gt; where G=Gibbs Free Energy, H=Enthalpy, T=Temperature and S=Entropy&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Increasing the temperature decreases the TS term therefore decreasing the Gibbs Free Energy.&lt;br /&gt;
&lt;br /&gt;
The lattice constant increases in a parabolic fashion to the order of 2 with increasing temperature due to the thermal expansion.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Calculation of CTE: ====&lt;br /&gt;
Coefficient of Linear Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{2.9894}\,\frac{3.0056-2.9894}{1000}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=5.419\times10^{-6}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Coefficient of Volumetric Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{26.71481005}\,\left(\frac{27.15148242-26.71481005}{1000}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V=1.634\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It can be seen that the α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt; is 3.015 times that of the α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;. This is because MgO expands at the same rate in all three directions in three-dimensions, it is an isotropic compound. The CFE values are close to those found in literature at &amp;lt;math&amp;gt;\alpha_L=7.88\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=2.36\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; which were calculated using a temperature range close to that used in this experiment at 301.15-1273.15 K&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;/&amp;gt; (results from experiment give &amp;lt;math&amp;gt;\alpha_L=5.789\times10^{-6}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=1.747\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; if calculated from 300-1000k).&lt;br /&gt;
&lt;br /&gt;
The main approximation in the calculations of the thermal expansion is to do with the anharmonic contributions to the harmonic approximation. In order to simplify the phonon frequencies are set to be volume dependent and so at a higher temperature the anharmonic factor increases. The Born-Oppenheimer Approximation which assumes that the motion of atomic nuclei and electron in a molecule can be separated is another assumption.&lt;br /&gt;
&lt;br /&gt;
This approximation cannot be used when the temperature approaches that of the melting point of MgO due to the new lattice parameters. Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; begin to behave as separate ions as MgO begins to melt and becomes molten. Therefore the quasi-harmonic approximation cannot be used as it only takes into account linear movement.&lt;br /&gt;
&lt;br /&gt;
For a diatomic molecule with an exactly harmonic potential the bond is not allowed to break and the bond length is fixed around that of its equilibrium length. Therefore the lattice constant will only increase up to a distance just prior to bond cleavage. However, in these calculations the quasi-harmonic approximation allows the bonds to break within MgO and so the lattice constant can, in theory, increase to infinity.&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamics: ===&lt;br /&gt;
[[File:32_structure_dhl.png|300px|thumb|left|Figure 10: 32 unit MgO structure used for MD calculations]]&lt;br /&gt;
[[File:32_random_dhl.png|300px|thumb|right|Figure 11: 32 unit MgO structure post MD calculations]]&lt;br /&gt;
For the final section of this experiment the thermal expansion of MgO was once again calculated, but this time using the molecular dynamics method. This method allows the system to evolve according to Newton&#039;s Second Law &amp;lt;math&amp;gt; F= ma&amp;lt;/math&amp;gt;. The ensemble used was NPT, meaning the number of particles, the pressure and the temperature were all set to be constant. The timestep at which the vibrations to be sampled was set to be 1 femtosecond (fs) and the number of equilibration steps and production steps were set to 500, with the temperature being avried from 100-1000K. When the number of sampled configurations are sufficiently large, the average calculated is representative for the time averaged system obeying the ergodic hypothesis. A structure containing 32 units and therefore 64 atoms was used in this calculation (Fig 12), and in order to compare the volumes between the quasi-harmonic approximation and the molecular dynamics method, the volumes produced were divided by 32.&lt;br /&gt;
[[File:MD_and_QH_comparison.png|300px|thumb|right|Graph 4: Comparison of Cell Volume change between QHA and MD]]&lt;br /&gt;
It can be seen that both methods show the same trend, that of the volume increasing with increasing temperature, however throughout the whole temperature range the QHA cell volume values are slightly higher than the MD values.. The QHA becomes the exact same linear trend as the MD results at 400-1000K. At these temperatures the Coefficient of Volumetric Thermal Expansion are very similar:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_VQHA=1.730\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_VMD=1.824\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the range of 0-400K there is little anharmonicity and so the QHA predicts the thermal expansion more accurately and produces the curved graph. The MD method does not predict this trend at lower temperatures and can only predict a linear trend for the thermal expansion of MgO. The QHA graph is more similar to that found in literature than the MD graph&amp;lt;ref name=&amp;quot;Thermal Expansion graph&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The 32 unit structure used for the MD calculations is a 2x2x2 lattice of the conventional unit cell. This is a lot smaller than the size used to compute the thermal expansion of MgO using the QHA, and therefore, to have accurate results from the MD method, a larger size should be used.&lt;br /&gt;
&lt;br /&gt;
The MD method allows movement in three dimensions whereas the QHA only allows movement in one dimension. Therefore, at higher temperatures it is expected that the MD method will give much higher volume values than the QHA.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Conclusion&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
The free energy and phonon dispersions were successfully computed for MgO, and the thermal expansion studied using the QHA and the MD method. All results tended to agree with literature values well and it was found that the QHA gave a more realistic trend for the change in cell volume with respect to temperature at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;References&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;&amp;gt; X. Wu, W. Li, W. Rui. Effect of temperature on elastic constants, generalized stacking fault energy and dislocation cores in MgO and CaO. &#039;&#039;Computational Condensed Matter&#039;&#039;. 2014: 38-44. Available from: DOI: 10.1016/j.cocom.2014.10.005&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Zeolite&amp;quot;&amp;gt; J. A Kaduk, J. Faber. Crystal Structure of Zeolite Y as a function of Ion Exchange. &#039;&#039;The Rigaku Journal&#039;&#039;. 1995;12: 14. Available from: http://www.rigaku.com/downloads/journal/Vol12.2.1995/kaduk.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Lithium&amp;quot;&amp;gt; M. R. Nadler, C. P Kempter. Crystallographic Data 186. Lithium. &#039;&#039;Analytical Chemistry&#039;&#039;. 1959;31:2109. Available from: &lt;br /&gt;
DOI: 10.1021/ac60156a007&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;&amp;gt; D. K. Smith, H. R. Leider. Low-Temperature Thermal Expansion of LiH, MgO and CaO. &#039;&#039;Journal of Applied Crystallography&#039;&#039;. 1968;1: 246-249. Available from: DOI: 10.1107/S0021889868005418&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;&amp;gt; J. F. W. Bowles, R. A. Howie, D. J. Vaughan, J. Zussman. Rock-forming Minerals: Non-silicates: oxides, hydroxides and sulphides 2nd ed. London: The Geological Society;2011 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion graph&amp;quot;&amp;gt; L.S. Dubrovinsky, S.K. Saxena. Thermal Expansion of Periclase (MgO) and Tungsten (W)to Melting Temperatures. &#039;&#039;Physics and Chemistry of Minerals&#039;&#039;. 1999;24(8): 547-550. Available from: DOI: 10.1007/s002690050070&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Appendix&amp;lt;/u&amp;gt; ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Grid Size !! Helmholtz Free Energy (eV)!! Accuracy (meV)&lt;br /&gt;
|-&lt;br /&gt;
| 1x1x1 || -40.9303|| 4&lt;br /&gt;
|-&lt;br /&gt;
| 2x2x2 || -40.9266|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 3x3x3 || -40.9264|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 8x8x8 || -40.9265|| 0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16x16x16 || -40.9265|| 0.001&lt;br /&gt;
|-&lt;br /&gt;
| 32x32x32 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 40x40x40 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 50x50x50 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;3&amp;quot; |Table 1: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Grid Size&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Helmholtz Free Energy (eV)&lt;br /&gt;
|-&lt;br /&gt;
| 0 || -40.9019        &lt;br /&gt;
|-&lt;br /&gt;
| 100 || -40.9024&lt;br /&gt;
|-&lt;br /&gt;
| 200 || -40.9094&lt;br /&gt;
|-&lt;br /&gt;
| 300 || -40.9281&lt;br /&gt;
|-&lt;br /&gt;
| 400 || -40.9585&lt;br /&gt;
|-&lt;br /&gt;
| 500 || -40.9994&lt;br /&gt;
|-&lt;br /&gt;
| 600 || -41.0493&lt;br /&gt;
|-&lt;br /&gt;
| 700 || -41.1071&lt;br /&gt;
|-&lt;br /&gt;
| 800 || -41.1719&lt;br /&gt;
|-&lt;br /&gt;
| 900 || -41.2440&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || -41.3198&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 2: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Temperature&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Lattice Constant&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 2.9894      &lt;br /&gt;
|-&lt;br /&gt;
| 100 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 300 || 2.9883&lt;br /&gt;
|-&lt;br /&gt;
| 400 || 2.9894&lt;br /&gt;
|-&lt;br /&gt;
| 500 || 2.9916&lt;br /&gt;
|-&lt;br /&gt;
| 600 || 2.9941&lt;br /&gt;
|-&lt;br /&gt;
| 700 || 2.9968&lt;br /&gt;
|-&lt;br /&gt;
| 800 || 2.9996&lt;br /&gt;
|-&lt;br /&gt;
| 900 || 3.0026&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 3.0056&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 3: Raw Data showing change in&lt;br /&gt;
Lattice Constant with Temperature&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dl2613</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550684</id>
		<title>Rep:Mod:Dl2613</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550684"/>
		<updated>2016-03-08T14:03:47Z</updated>

		<summary type="html">&lt;p&gt;Dl2613: /* Calculation of phonon modes of MgO */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== &amp;lt;u&amp;gt;Introduction&amp;lt;/u&amp;gt; ==&lt;br /&gt;
The aim of this experiment was to use a simple model of atomic interactions to calculate the energy and vibrations of a crystal of MgO. This was then used to compute the free energy, phonon dispersions and to predict how MgO expands when heated. The quasi-harmonic approximation (QHA) and molecular dynamics methods were used to do these calculations.&lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon based model of solid-state physics and can describe volume-dependant thermal effects of structures, such as the MgO crystal. This assumption assumes that for every lattice value the harmonic oscillator assumption is true. MD is a type of N-body simulation, it allows atoms and molecules to interact for a fixed period of time showing the dynamics of a system. In this experiment the MD was run on an isothermal-isobaric (NPT) ensemble in which the amount of substance, pressure and temperature are fixed. MD allows motion in three dimensions.&lt;br /&gt;
&lt;br /&gt;
The software used for this experiment was RedHat Linux. DLVisualize (DLV) was used for the visualisation of the structure and properties of the MgO crystal. General Utility Lattice Program (GULP) is a supporting interface of DLV and was used to perform analytical solutions on MgO through the use of lattice dynamics.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Internal Energy Calculation on MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Better_unit_cell.png|300px|thumb|right|Figure 1: MgO Primitive Unit Cell]]&lt;br /&gt;
In this first exercise the internal energy and structure of MgO was calculated using GULP from the primitive unit cell of the crystal (Fig 1). An ionic potential model was used, without shells included and at a single point. The primitive unit cell is the simplest cell to describe the crystal structure of MgO and contains 2 atoms. The lattice vectors of this cell are:&lt;br /&gt;
&lt;br /&gt;
0.000   2.106   2.106&lt;br /&gt;
&lt;br /&gt;
2.106   0.000   2.106&lt;br /&gt;
&lt;br /&gt;
2.106   2.106   0.000&lt;br /&gt;
&lt;br /&gt;
From the [[Media:MgO_0_DHL.out| log file]] it can be seen that the lattice parameters are defined by the length 2.978Å and the angle 60º, giving the primitive unit cell the shape of a rhombohedron. Each primitive cell was calculated to have an energy of -40.08 eV and this corresponds to the binding energy of the crystal. The primitive cell can be used to build up a lattice by repeating its structure.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Calculation of phonon modes of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Computing the Phonon Dispersion Curves: ===&lt;br /&gt;
[[File:MgO_Phonon_Dispersion_DHL.png|300px|thumb|left|Figure 2: MgO Phonon Dispersion]]&lt;br /&gt;
The phonon frequencies were then computed along the symmetry points &amp;lt;math&amp;gt;W, L, G, W, X, K&amp;lt;/math&amp;gt; in k space. The calculation was set up for 50 Npoints with phonon eigenvectors included in the calculation. For a 3D crystal of diatomic molecules with two atom types, six vibration modes are observed in the phonon dispersion curves (Fig 2). A positive dispersion relation results in optical modes and a negative dispersion relation results in acoustic modes. Two adjacent different atoms move with each other in the optical mode, but move against each other in the acoustic mode. The acoustic modes equal 0   cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;  at the point Γ whereas the optical modes do not. It can be seen that there are three acoustic modes and three optical modes. The three acoustic modes can be split into one longitudinal acoustic mode and two transverse acoustic modes. The two transverse modes become degenerate between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;. The phonon dispersion curve agrees with that found in literature&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== The Phonon Density of States: ===&lt;br /&gt;
A simpler energy level diagram than the phonon dispersion relation is the density of states (DOS). The DOS is an average over the time and space demains of the MgO system and was calculated for the phonons as a function of the wave vector k. The dimensional limits of the MgO crystal affects the DOS and therefore it is expected that the DOS will change with the grid size of the MgO crystal.&lt;br /&gt;
&lt;br /&gt;
To begin with the DOS calculation was ran on a 1x1x1 grid, corresponding to a single k point. Comparison between Figure 2 and 3 shows that the single k point is the symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The frequencies of the phonon dispersions are identical in the two graphs. Four peaks instead of six are observed due to the fact that 2 pairs of modes become degenerate between &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. These degenerate modes correspond to the peaks between 250 and 400 cm &amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, explaining why those peaks are double the intensity of the high frequency peaks. It can been seen that a grid size of 1x1x1 is not a good representative of the DOS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_Phonon_DOS_DHL.png|300px|none|thumb|left|Figure 3: MgO Phonon DOS 1x1x1]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_3x3x3_DHL.png|300px|none|thumb|middle|Figure 4: MgO Phonon DOS 3x3x3]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_8x8x8_DHL.png|300px|none|thumb|middle|Figure 5: MgO Phonon DOS 8x8x8]]&lt;br /&gt;
|}&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_phonon_DOS_16x16x16_DHL.png|300px|none|thumb|left|Figure 6: MgO Phonon DOS 16x16x16]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_32x32x32_DHL.png|300px|none|thumb|left|Figure 7: MgO Phonon DOS 32x32x32]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_40x40x40_DHL.png|300px|none|thumb|middle|Figure 8: MgO Phonon DOS 40x40x40]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Several grid sizes were investigated up to 50x50x50 to find a compromise between an accurate DOS and the time taken to run the calculation. As the grid size is an increased a more true depiction of the DOS is obtained for the MgO structure. Increasing the grid size increases the number of peaks and then changes the graph from random sharp intensities to a smoother curve. However, the highest intensity point remains at 400 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; throughout all grid sizes and the higher frequencies having lower intensities. The bigger the grid size, the more k points that are sampled and the more representative the DOS. It can be seen in the figures below that the DOS curve is unchanged between 32x32x32 and 40x40x40, however, the running time increases greatly for the 40x40x40 grid size. Therefore, it was decided that the 32x32x32 grid size was the optimum and used in further calculations.&lt;br /&gt;
&lt;br /&gt;
The size of the grid set in the calculations is inversely related to the size of the structure in real space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This equation shows that the bigger a* (size of grid in k space) the smaller a (size of cell in real space). Therefore the bigger the cell in real space, the smaller the grid size needed for the calculation of DOS. This means that a similar oxide such as CaO will require a similar grid size as MgO for the calculation of DOS. Faujasite, a zeolite, has a lattice parameter in the range 24.2 - 25.1 Å &amp;lt;ref name=&amp;quot;Zeolite&amp;quot;/&amp;gt; and would therefore need a small grid size for the DOS calculation. Lithium, a small metal, has a lattice parameter of 3.51 Å &amp;lt;ref name=&amp;quot;Lithium&amp;quot;/&amp;gt; and would therefore need a large grid size for the DOS calculation to represent its small cell size in real space.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Computing the Free Energy&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Task_3_graph.png|300px|thumb|right|Graph 1: A Graph to show how the Free Energy changes with Grid Size]]&lt;br /&gt;
The Helmholtz Free Energy of MgO was then computed using the quasi-harmonic approximation on the same grid sizes as in the previous section at a temperature of 300K. Helmholtz Free Energy is given by the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A=Helmholtz Free Energy, U=Internal Energy, S=Entropy and T=Temperature&lt;br /&gt;
This states that the Helmholtz Free Energy should increase with increasing internal energy and decreasing temperature and entropy. This said, the Helmholtz Free Energy should decrease with increasing grid size. This can be explained with the aid of the following statistical mechanics equation of entropy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt; where S=Entropy, k=Boltzmann Constant and W=number of microstates&lt;br /&gt;
As the grid size increases the number of microstates sampled also increases. This in turn increases the entropy and decreases the TS term in the Helmholtz Free Energy equation. The decrease in Helmholtz Free Energy can be further explained using the following equation of internal energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt; where U=internal Energy, H=Enthalpy, P=Pressure and V=Volume&lt;br /&gt;
As the grid size increases so does its volume, therefore decreasing the internal energy. This further decreases the Helmholtz Free Energy. It can be seen in Graph 1 that initially the Helmholtz Free Energy increases with grid from 1x1x1 to 3x3x3 and then begins to follow the expected trend and decrease with increasing grid size. Table 1 shows that the accuracy of the Helmholtz Free Energy increases with grid size.&lt;br /&gt;
The Helmholtz Free Energy converges to a value of -40.9265 eV, with the 32x32x32 grid size being the most appropriate to run calculations from, providing the correct Helmholtz Free Energy and a suitable length of time to run the calculation.&lt;br /&gt;
&lt;br /&gt;
For CaO, a similar sized crystal to MgO (lattice constant CaO = 4.811 Å, lattice constant MgO = 4.212 Å)&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;/&amp;gt;, a similar size grid will be required for the calculation of the Helmholtz Free Energy. Faujasite would require a smaller grid size due to its large lattice constant and lithium a larger grid size than MgO due to its small lattice constant.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;The Thermal Expansion of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Thermal expansion is the ability of matter to change size, volume and shape in a response to the change in temperature. When a substance is heated the molecules vibrate and begin to move more, and their average separation increases. This thermal expansion is indicated by the Coefficient of Linear Thermal Expansion (CTE). Uniform linear objects have a thermally expand proportional to temperate over a small range of temperatures. The equation used to calculate the linear CTE is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;=linear CTE, &amp;lt;math&amp;gt;{L_0}&amp;lt;/math&amp;gt;=lattice constant at 0K and &amp;lt;math&amp;gt;dL/dT&amp;lt;/math&amp;gt;=rate of change of lattice constant with respect to temperature&lt;br /&gt;
&lt;br /&gt;
A volumetric CTE can also be calculated using the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt;=volumetric CTE, &amp;lt;math&amp;gt;{V}&amp;lt;/math&amp;gt;= volume and &amp;lt;math&amp;gt;\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;= partial derivative of volum with respect to temperature at constant pressure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Quasi-harmonic Approximation: ===&lt;br /&gt;
[[File:Task_4_graph_1.png|300px|thumb|left|Graph 2: A graph to show how the free energy of MgO changes with temperature]]&lt;br /&gt;
[[File:Task_4_graph_2.png|300px|thumb|right|Graph 3: A graph to show how the lattice constant of MgO changes with temperature]]&lt;br /&gt;
Using the 32x32x32 grid size of MgO the free energy was then optimised. The optimisation opts was set to optimise Gibbs Free Energy and the temperature was varied from 0 - 1000k. The free energy decreases with increasing temperature in a parabolic fashion to the order of 2. This negative correlation can be explained using the equation for Gibbs Free Energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G=H-TS&amp;lt;/math&amp;gt; where G=Gibbs Free Energy, H=Enthalpy, T=Temperature and S=Entropy&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Increasing the temperature decreases the TS term therefore decreasing the Gibbs Free Energy.&lt;br /&gt;
&lt;br /&gt;
The lattice constant increases in a parabolic fashion to the order of 2 with increasing temperature due to the thermal expansion.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Calculation of CTE: ====&lt;br /&gt;
Coefficient of Linear Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{2.9894}\,\frac{3.0056-2.9894}{1000}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=5.419\times10^{-6}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Coefficient of Volumetric Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{26.71481005}\,\left(\frac{27.15148242-26.71481005}{1000}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V=1.634\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It can be seen that the α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt; is 3.015 times that of the α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;. This is because MgO expands at the same rate in all three directions in three-dimensions, it is an isotropic compound. The CFE values are close to those found in literature at &amp;lt;math&amp;gt;\alpha_L=7.88\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=2.36\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; which were calculated using a temperature range close to that used in this experiment at 301.15-1273.15 K&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;/&amp;gt; (results from experiment give &amp;lt;math&amp;gt;\alpha_L=5.789\times10^{-6}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=1.747\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; if calculated from 300-1000k).&lt;br /&gt;
&lt;br /&gt;
The main approximation in the calculations of the thermal expansion is to do with the anharmonic contributions to the harmonic approximation. In order to simplify the phonon frequencies are set to be volume dependent and so at a higher temperature the anharmonic factor increases. The Born-Oppenheimer Approximation which assumes that the motion of atomic nuclei and electron in a molecule can be separated is another assumption.&lt;br /&gt;
&lt;br /&gt;
This approximation cannot be used when the temperature approaches that of the melting point of MgO due to the new lattice parameters. Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; begin to behave as separate ions as MgO begins to melt and becomes molten. Therefore the quasi-harmonic approximation cannot be used as it only takes into account linear movement.&lt;br /&gt;
&lt;br /&gt;
For a diatomic molecule with an exactly harmonic potential the bond is not allowed to break and the bond length is fixed around that of its equilibrium length. Therefore the lattice constant will only increase up to a distance just prior to bond cleavage. However, in these calculations the quasi-harmonic approximation allows the bonds to break within MgO and so the lattice constant can, in theory, increase to infinity.&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamics: ===&lt;br /&gt;
[[File:32_structure_dhl.png|300px|thumb|left|Figure 10: 32 unit MgO structure used for MD calculations]]&lt;br /&gt;
[[File:32_random_dhl.png|300px|thumb|right|Figure 11: 32 unit MgO structure post MD calculations]]&lt;br /&gt;
For the final section of this experiment the thermal expansion of MgO was once again calculated, but this time using the molecular dynamics method. This method allows the system to evolve according to Newton&#039;s Second Law &amp;lt;math&amp;gt; F= ma&amp;lt;/math&amp;gt;. The ensemble used was NPT, meaning the number of particles, the pressure and the temperature were all set to be constant. The timestep at which the vibrations to be sampled was set to be 1 femtosecond (fs) and the number of equilibration steps and production steps were set to 500, with the temperature being avried from 100-1000K. When the number of sampled configurations are sufficiently large, the average calculated is representative for the time averaged system obeying the ergodic hypothesis. A structure containing 32 units and therefore 64 atoms was used in this calculation (Fig 12), and in order to compare the volumes between the quasi-harmonic approximation and the molecular dynamics method, the volumes produced were divided by 32.&lt;br /&gt;
[[File:MD_and_QH_comparison.png|300px|thumb|right|Graph 4: Comparison of Cell Volume change between QHA and MD]]&lt;br /&gt;
It can be seen that both methods show the same trend, that of the volume increasing with increasing temperature, however throughout the whole temperature range the QHA cell volume values are slightly higher than the MD values.. The QHA becomes the exact same linear trend as the MD results at 400-1000K. At these temperatures the Coefficient of Volumetric Thermal Expansion are very similar:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_VQHA=1.730\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_VMD=1.824\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the range of 0-400K there is little anharmonicity and so the QHA predicts the thermal expansion more accurately and produces the curved graph. The MD method does not predict this trend at lower temperatures and can only predict a linear trend for the thermal expansion of MgO. The QHA graph is more similar to that found in literature than the MD graph&amp;lt;ref name=&amp;quot;Thermal Expansion graph&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The 32 unit structure used for the MD calculations is a 2x2x2 lattice of the conventional unit cell. This is a lot smaller than the size used to compute the thermal expansion of MgO using the QHA, and therefore, to have accurate results from the MD method, a larger size should be used.&lt;br /&gt;
&lt;br /&gt;
The MD method allows movement in three dimensions whereas the QHA only allows movement in one dimension. Therefore, at higher temperatures it is expected that the MD method will give much higher volume values than the QHA.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Conclusion&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
The free energy and phonon dispersions were successfully computed for MgO, and the thermal expansion studied using the QHA and the MD method. All results tended to agree with literature values well and it was found that the QHA gave a more realistic trend for the change in cell volume with respect to temperature at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;References&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;&amp;gt; X. Wu, W. Li, W. Rui. Effect of temperature on elastic constants, generalized stacking fault energy and dislocation cores in MgO and CaO. &#039;&#039;Computational Condensed Matter&#039;&#039;. 2014: 38-44. Available from: DOI: 10.1016/j.cocom.2014.10.005&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Zeolite&amp;quot;&amp;gt; J. A Kaduk, J. Faber. Crystal Structure of Zeolite Y as a function of Ion Exchange. &#039;&#039;The Rigaku Journal&#039;&#039;. 1995;12: 14. Available from: http://www.rigaku.com/downloads/journal/Vol12.2.1995/kaduk.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Lithium&amp;quot;&amp;gt; M. R. Nadler, C. P Kempter. Crystallographic Data 186. Lithium. &#039;&#039;Analytical Chemistry&#039;&#039;. 1959;31:2109. Available from: &lt;br /&gt;
DOI: 10.1021/ac60156a007&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;&amp;gt; D. K. Smith, H. R. Leider. Low-Temperature Thermal Expansion of LiH, MgO and CaO. &#039;&#039;Journal of Applied Crystallography&#039;&#039;. 1968;1: 246-249. Available from: DOI: 10.1107/S0021889868005418&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;&amp;gt; J. F. W. Bowles, R. A. Howie, D. J. Vaughan, J. Zussman. Rock-forming Minerals: Non-silicates: oxides, hydroxides and sulphides 2nd ed. London: The Geological Society;2011 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion graph&amp;quot;&amp;gt; L.S. Dubrovinsky, S.K. Saxena. Thermal Expansion of Periclase (MgO) and Tungsten (W)to Melting Temperatures. &#039;&#039;Physics and Chemistry of Minerals&#039;&#039;. 1999;24(8): 547-550. Available from: DOI: 10.1007/s002690050070&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Appendix&amp;lt;/u&amp;gt; ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Grid Size !! Helmholtz Free Energy (eV)!! Accuracy (meV)&lt;br /&gt;
|-&lt;br /&gt;
| 1x1x1 || -40.9303|| 4&lt;br /&gt;
|-&lt;br /&gt;
| 2x2x2 || -40.9266|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 3x3x3 || -40.9264|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 8x8x8 || -40.9265|| 0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16x16x16 || -40.9265|| 0.001&lt;br /&gt;
|-&lt;br /&gt;
| 32x32x32 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 40x40x40 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 50x50x50 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;3&amp;quot; |Table 1: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Grid Size&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Helmholtz Free Energy (eV)&lt;br /&gt;
|-&lt;br /&gt;
| 0 || -40.9019        &lt;br /&gt;
|-&lt;br /&gt;
| 100 || -40.9024&lt;br /&gt;
|-&lt;br /&gt;
| 200 || -40.9094&lt;br /&gt;
|-&lt;br /&gt;
| 300 || -40.9281&lt;br /&gt;
|-&lt;br /&gt;
| 400 || -40.9585&lt;br /&gt;
|-&lt;br /&gt;
| 500 || -40.9994&lt;br /&gt;
|-&lt;br /&gt;
| 600 || -41.0493&lt;br /&gt;
|-&lt;br /&gt;
| 700 || -41.1071&lt;br /&gt;
|-&lt;br /&gt;
| 800 || -41.1719&lt;br /&gt;
|-&lt;br /&gt;
| 900 || -41.2440&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || -41.3198&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 2: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Temperature&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Lattice Constant&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 2.9894      &lt;br /&gt;
|-&lt;br /&gt;
| 100 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 300 || 2.9883&lt;br /&gt;
|-&lt;br /&gt;
| 400 || 2.9894&lt;br /&gt;
|-&lt;br /&gt;
| 500 || 2.9916&lt;br /&gt;
|-&lt;br /&gt;
| 600 || 2.9941&lt;br /&gt;
|-&lt;br /&gt;
| 700 || 2.9968&lt;br /&gt;
|-&lt;br /&gt;
| 800 || 2.9996&lt;br /&gt;
|-&lt;br /&gt;
| 900 || 3.0026&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 3.0056&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 3: Raw Data showing change in&lt;br /&gt;
Lattice Constant with Temperature&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dl2613</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550682</id>
		<title>Rep:Mod:Dl2613</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550682"/>
		<updated>2016-03-08T14:03:13Z</updated>

		<summary type="html">&lt;p&gt;Dl2613: /* Computing the Phonon Dispersion Curves: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== &amp;lt;u&amp;gt;Introduction&amp;lt;/u&amp;gt; ==&lt;br /&gt;
The aim of this experiment was to use a simple model of atomic interactions to calculate the energy and vibrations of a crystal of MgO. This was then used to compute the free energy, phonon dispersions and to predict how MgO expands when heated. The quasi-harmonic approximation (QHA) and molecular dynamics methods were used to do these calculations.&lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon based model of solid-state physics and can describe volume-dependant thermal effects of structures, such as the MgO crystal. This assumption assumes that for every lattice value the harmonic oscillator assumption is true. MD is a type of N-body simulation, it allows atoms and molecules to interact for a fixed period of time showing the dynamics of a system. In this experiment the MD was run on an isothermal-isobaric (NPT) ensemble in which the amount of substance, pressure and temperature are fixed. MD allows motion in three dimensions.&lt;br /&gt;
&lt;br /&gt;
The software used for this experiment was RedHat Linux. DLVisualize (DLV) was used for the visualisation of the structure and properties of the MgO crystal. General Utility Lattice Program (GULP) is a supporting interface of DLV and was used to perform analytical solutions on MgO through the use of lattice dynamics.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Internal Energy Calculation on MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Better_unit_cell.png|300px|thumb|right|Figure 1: MgO Primitive Unit Cell]]&lt;br /&gt;
In this first exercise the internal energy and structure of MgO was calculated using GULP from the primitive unit cell of the crystal (Fig 1). An ionic potential model was used, without shells included and at a single point. The primitive unit cell is the simplest cell to describe the crystal structure of MgO and contains 2 atoms. The lattice vectors of this cell are:&lt;br /&gt;
&lt;br /&gt;
0.000   2.106   2.106&lt;br /&gt;
&lt;br /&gt;
2.106   0.000   2.106&lt;br /&gt;
&lt;br /&gt;
2.106   2.106   0.000&lt;br /&gt;
&lt;br /&gt;
From the [[Media:MgO_0_DHL.out| log file]] it can be seen that the lattice parameters are defined by the length 2.978Å and the angle 60º, giving the primitive unit cell the shape of a rhombohedron. Each primitive cell was calculated to have an energy of -40.08 eV and this corresponds to the binding energy of the crystal. The primitive cell can be used to build up a lattice by repeating its structure.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Calculation of phonon modes of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Computing the Phonon Dispersion Curves: ===&lt;br /&gt;
[[File:MgO_Phonon_Dispersion_DHL.png|300px|thumb|left|Figure 2: MgO Phonon Dispersion]]&lt;br /&gt;
The phonon frequencies were then computed along the symmetry points &amp;lt;math&amp;gt;W, L, G, W, X, K&amp;lt;/math&amp;gt; in k space. The calculation was set up for 50 Npoints with phonon eigenvectors included in the calculation. For a 3D crystal of diatomic molecules with two atom types, six vibration modes are observed in the phonon dispersion curves (Fig 2). A positive dispersion relation results in optical modes and a negative dispersion relation results in acoustic modes. Two adjacent different atoms move with each other in the optical mode, but move against each other in the acoustic mode. The acoustic modes equal 0   cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;  at the point Γ whereas the optical modes do not. It can be seen that there are three acoustic modes and three optical modes. The three acoustic modes can be split into one longitudinal acoustic mode and two transverse acoustic modes. The two transverse modes become degenerate between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;. The phonon dispersion curve agrees with that found in literature&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== The Phonon Density of States: ===&lt;br /&gt;
A simpler energy level diagram than the phonon dispersion relation is the density of states (DOS). The DOS is an average over the time and space demains of the MgO system and was calculated for the phonons as a function of the wave vector k. The dimensional limits of the MgO crystal affects the DOS and therefore it is expected that the DOS will change with the grid size of the MgO crystal.&lt;br /&gt;
&lt;br /&gt;
To begin with the DOS calculation was ran on a 1x1x1 grid, corresponding to a single k point. Comparison between Figure 2 and 3 shows that the single k point is the symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The frequencies of the phonon dispersions are identical in the two graphs. Four peaks instead of six are observed due to the fact that 2 pairs of modes become degenerate between &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. These degenerate modes correspond to the peaks between 250 and 400 cm &amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, explaining why those peaks are double the intensity of the high frequency peaks. It can been seen that a grid size of 1x1x1 is not a good representative of the DOS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_Phonon_DOS_DHL.png|300px|none|thumb|left|Figure 3: MgO Phonon DOS 1x1x1]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_3x3x3_DHL.png|300px|none|thumb|middle|Figure 4: MgO Phonon DOS 3x3x3]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_8x8x8_DHL.png|300px|none|thumb|middle|Figure 5: MgO Phonon DOS 8x8x8]]&lt;br /&gt;
|}&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_phonon_DOS_16x16x16_DHL.png|300px|none|thumb|left|Figure 6: MgO Phonon DOS 16x16x16]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_32x32x32_DHL.png|300px|none|thumb|left|Figure 7: MgO Phonon DOS 32x32x32]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_40x40x40_DHL.png|300px|none|thumb|middle|Figure 8: MgO Phonon DOS 40x40x40]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Several grid sizes were investigated up to 50x50x50 to find a compromise between an accurate DOS and the time taken to run the calculation. As the grid size is an increased a more true depiction of the DOS is obtained for the MgO structure. Increasing the grid size increases the number of peaks and then changes the graph from random sharp intensities to a smoother curve. However, the highest intensity point remains at 400 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; throughout all grid sizes and the higher frequencies having lower intensities. The bigger the grid size, the more k points that are sampled and the more representative the DOS. It can be seen in the figures below that the DOS curve is unchanged between 32x32x32 and 40x40x40, however, the running time increases greatly for the 40x40x40 grid size. Therefore, it was decided that the 32x32x32 grid size was the optimum and used in further calculations.&lt;br /&gt;
&lt;br /&gt;
The size of the grid set in the calculations is inversely related to the size of the structure in real space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This equation shows that the bigger a* (size of grid in k space) the smaller a (size of cell in real space). Therefore the bigger the cell in real space, the smaller the grid size needed for the calculation of DOS. This means that a similar oxide such as CaO will require a similar grid size as MgO for the calculation of DOS. Faujasite, a zeolite, has a lattice parameter in the range 24.2 - 25.1 Å &amp;lt;ref name=&amp;quot;Zeolite&amp;quot;/&amp;gt; and would therefore need a small grid size for the DOS calculation. Lithium, a small metal, has a lattice parameter of 3.51 Å &amp;lt;ref name=&amp;quot;Lithium&amp;quot;/&amp;gt; and would therefore need a large grid size for the DOS calculation to represent its small cell size in real space.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Computing the Free Energy&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Task_3_graph.png|300px|thumb|right|Graph 1: A Graph to show how the Free Energy changes with Grid Size]]&lt;br /&gt;
The Helmholtz Free Energy of MgO was then computed using the quasi-harmonic approximation on the same grid sizes as in the previous section at a temperature of 300K. Helmholtz Free Energy is given by the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A=Helmholtz Free Energy, U=Internal Energy, S=Entropy and T=Temperature&lt;br /&gt;
This states that the Helmholtz Free Energy should increase with increasing internal energy and decreasing temperature and entropy. This said, the Helmholtz Free Energy should decrease with increasing grid size. This can be explained with the aid of the following statistical mechanics equation of entropy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt; where S=Entropy, k=Boltzmann Constant and W=number of microstates&lt;br /&gt;
As the grid size increases the number of microstates sampled also increases. This in turn increases the entropy and decreases the TS term in the Helmholtz Free Energy equation. The decrease in Helmholtz Free Energy can be further explained using the following equation of internal energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt; where U=internal Energy, H=Enthalpy, P=Pressure and V=Volume&lt;br /&gt;
As the grid size increases so does its volume, therefore decreasing the internal energy. This further decreases the Helmholtz Free Energy. It can be seen in Graph 1 that initially the Helmholtz Free Energy increases with grid from 1x1x1 to 3x3x3 and then begins to follow the expected trend and decrease with increasing grid size. Table 1 shows that the accuracy of the Helmholtz Free Energy increases with grid size.&lt;br /&gt;
The Helmholtz Free Energy converges to a value of -40.9265 eV, with the 32x32x32 grid size being the most appropriate to run calculations from, providing the correct Helmholtz Free Energy and a suitable length of time to run the calculation.&lt;br /&gt;
&lt;br /&gt;
For CaO, a similar sized crystal to MgO (lattice constant CaO = 4.811 Å, lattice constant MgO = 4.212 Å)&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;/&amp;gt;, a similar size grid will be required for the calculation of the Helmholtz Free Energy. Faujasite would require a smaller grid size due to its large lattice constant and lithium a larger grid size than MgO due to its small lattice constant.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;The Thermal Expansion of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Thermal expansion is the ability of matter to change size, volume and shape in a response to the change in temperature. When a substance is heated the molecules vibrate and begin to move more, and their average separation increases. This thermal expansion is indicated by the Coefficient of Linear Thermal Expansion (CTE). Uniform linear objects have a thermally expand proportional to temperate over a small range of temperatures. The equation used to calculate the linear CTE is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;=linear CTE, &amp;lt;math&amp;gt;{L_0}&amp;lt;/math&amp;gt;=lattice constant at 0K and &amp;lt;math&amp;gt;dL/dT&amp;lt;/math&amp;gt;=rate of change of lattice constant with respect to temperature&lt;br /&gt;
&lt;br /&gt;
A volumetric CTE can also be calculated using the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt;=volumetric CTE, &amp;lt;math&amp;gt;{V}&amp;lt;/math&amp;gt;= volume and &amp;lt;math&amp;gt;\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;= partial derivative of volum with respect to temperature at constant pressure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Quasi-harmonic Approximation: ===&lt;br /&gt;
[[File:Task_4_graph_1.png|300px|thumb|left|Graph 2: A graph to show how the free energy of MgO changes with temperature]]&lt;br /&gt;
[[File:Task_4_graph_2.png|300px|thumb|right|Graph 3: A graph to show how the lattice constant of MgO changes with temperature]]&lt;br /&gt;
Using the 32x32x32 grid size of MgO the free energy was then optimised. The optimisation opts was set to optimise Gibbs Free Energy and the temperature was varied from 0 - 1000k. The free energy decreases with increasing temperature in a parabolic fashion to the order of 2. This negative correlation can be explained using the equation for Gibbs Free Energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G=H-TS&amp;lt;/math&amp;gt; where G=Gibbs Free Energy, H=Enthalpy, T=Temperature and S=Entropy&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Increasing the temperature decreases the TS term therefore decreasing the Gibbs Free Energy.&lt;br /&gt;
&lt;br /&gt;
The lattice constant increases in a parabolic fashion to the order of 2 with increasing temperature due to the thermal expansion.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Calculation of CTE: ====&lt;br /&gt;
Coefficient of Linear Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{2.9894}\,\frac{3.0056-2.9894}{1000}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=5.419\times10^{-6}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Coefficient of Volumetric Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{26.71481005}\,\left(\frac{27.15148242-26.71481005}{1000}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V=1.634\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It can be seen that the α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt; is 3.015 times that of the α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;. This is because MgO expands at the same rate in all three directions in three-dimensions, it is an isotropic compound. The CFE values are close to those found in literature at &amp;lt;math&amp;gt;\alpha_L=7.88\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=2.36\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; which were calculated using a temperature range close to that used in this experiment at 301.15-1273.15 K&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;/&amp;gt; (results from experiment give &amp;lt;math&amp;gt;\alpha_L=5.789\times10^{-6}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=1.747\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; if calculated from 300-1000k).&lt;br /&gt;
&lt;br /&gt;
The main approximation in the calculations of the thermal expansion is to do with the anharmonic contributions to the harmonic approximation. In order to simplify the phonon frequencies are set to be volume dependent and so at a higher temperature the anharmonic factor increases. The Born-Oppenheimer Approximation which assumes that the motion of atomic nuclei and electron in a molecule can be separated is another assumption.&lt;br /&gt;
&lt;br /&gt;
This approximation cannot be used when the temperature approaches that of the melting point of MgO due to the new lattice parameters. Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; begin to behave as separate ions as MgO begins to melt and becomes molten. Therefore the quasi-harmonic approximation cannot be used as it only takes into account linear movement.&lt;br /&gt;
&lt;br /&gt;
For a diatomic molecule with an exactly harmonic potential the bond is not allowed to break and the bond length is fixed around that of its equilibrium length. Therefore the lattice constant will only increase up to a distance just prior to bond cleavage. However, in these calculations the quasi-harmonic approximation allows the bonds to break within MgO and so the lattice constant can, in theory, increase to infinity.&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamics: ===&lt;br /&gt;
[[File:32_structure_dhl.png|300px|thumb|left|Figure 10: 32 unit MgO structure used for MD calculations]]&lt;br /&gt;
[[File:32_random_dhl.png|300px|thumb|right|Figure 11: 32 unit MgO structure post MD calculations]]&lt;br /&gt;
For the final section of this experiment the thermal expansion of MgO was once again calculated, but this time using the molecular dynamics method. This method allows the system to evolve according to Newton&#039;s Second Law &amp;lt;math&amp;gt; F= ma&amp;lt;/math&amp;gt;. The ensemble used was NPT, meaning the number of particles, the pressure and the temperature were all set to be constant. The timestep at which the vibrations to be sampled was set to be 1 femtosecond (fs) and the number of equilibration steps and production steps were set to 500, with the temperature being avried from 100-1000K. When the number of sampled configurations are sufficiently large, the average calculated is representative for the time averaged system obeying the ergodic hypothesis. A structure containing 32 units and therefore 64 atoms was used in this calculation (Fig 12), and in order to compare the volumes between the quasi-harmonic approximation and the molecular dynamics method, the volumes produced were divided by 32.&lt;br /&gt;
[[File:MD_and_QH_comparison.png|300px|thumb|right|Graph 4: Comparison of Cell Volume change between QHA and MD]]&lt;br /&gt;
It can be seen that both methods show the same trend, that of the volume increasing with increasing temperature, however throughout the whole temperature range the QHA cell volume values are slightly higher than the MD values.. The QHA becomes the exact same linear trend as the MD results at 400-1000K. At these temperatures the Coefficient of Volumetric Thermal Expansion are very similar:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_VQHA=1.730\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_VMD=1.824\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the range of 0-400K there is little anharmonicity and so the QHA predicts the thermal expansion more accurately and produces the curved graph. The MD method does not predict this trend at lower temperatures and can only predict a linear trend for the thermal expansion of MgO. The QHA graph is more similar to that found in literature than the MD graph&amp;lt;ref name=&amp;quot;Thermal Expansion graph&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The 32 unit structure used for the MD calculations is a 2x2x2 lattice of the conventional unit cell. This is a lot smaller than the size used to compute the thermal expansion of MgO using the QHA, and therefore, to have accurate results from the MD method, a larger size should be used.&lt;br /&gt;
&lt;br /&gt;
The MD method allows movement in three dimensions whereas the QHA only allows movement in one dimension. Therefore, at higher temperatures it is expected that the MD method will give much higher volume values than the QHA.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Conclusion&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
The free energy and phonon dispersions were successfully computed for MgO, and the thermal expansion studied using the QHA and the MD method. All results tended to agree with literature values well and it was found that the QHA gave a more realistic trend for the change in cell volume with respect to temperature at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;References&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;&amp;gt; X. Wu, W. Li, W. Rui. Effect of temperature on elastic constants, generalized stacking fault energy and dislocation cores in MgO and CaO. &#039;&#039;Computational Condensed Matter&#039;&#039;. 2014: 38-44. Available from: DOI: 10.1016/j.cocom.2014.10.005&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Zeolite&amp;quot;&amp;gt; J. A Kaduk, J. Faber. Crystal Structure of Zeolite Y as a function of Ion Exchange. &#039;&#039;The Rigaku Journal&#039;&#039;. 1995;12: 14. Available from: http://www.rigaku.com/downloads/journal/Vol12.2.1995/kaduk.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Lithium&amp;quot;&amp;gt; M. R. Nadler, C. P Kempter. Crystallographic Data 186. Lithium. &#039;&#039;Analytical Chemistry&#039;&#039;. 1959;31:2109. Available from: &lt;br /&gt;
DOI: 10.1021/ac60156a007&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;&amp;gt; D. K. Smith, H. R. Leider. Low-Temperature Thermal Expansion of LiH, MgO and CaO. &#039;&#039;Journal of Applied Crystallography&#039;&#039;. 1968;1: 246-249. Available from: DOI: 10.1107/S0021889868005418&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;&amp;gt; J. F. W. Bowles, R. A. Howie, D. J. Vaughan, J. Zussman. Rock-forming Minerals: Non-silicates: oxides, hydroxides and sulphides 2nd ed. London: The Geological Society;2011 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion graph&amp;quot;&amp;gt; L.S. Dubrovinsky, S.K. Saxena. Thermal Expansion of Periclase (MgO) and Tungsten (W)to Melting Temperatures. &#039;&#039;Physics and Chemistry of Minerals&#039;&#039;. 1999;24(8): 547-550. Available from: DOI: 10.1007/s002690050070&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Appendix&amp;lt;/u&amp;gt; ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Grid Size !! Helmholtz Free Energy (eV)!! Accuracy (meV)&lt;br /&gt;
|-&lt;br /&gt;
| 1x1x1 || -40.9303|| 4&lt;br /&gt;
|-&lt;br /&gt;
| 2x2x2 || -40.9266|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 3x3x3 || -40.9264|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 8x8x8 || -40.9265|| 0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16x16x16 || -40.9265|| 0.001&lt;br /&gt;
|-&lt;br /&gt;
| 32x32x32 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 40x40x40 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 50x50x50 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;3&amp;quot; |Table 1: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Grid Size&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Helmholtz Free Energy (eV)&lt;br /&gt;
|-&lt;br /&gt;
| 0 || -40.9019        &lt;br /&gt;
|-&lt;br /&gt;
| 100 || -40.9024&lt;br /&gt;
|-&lt;br /&gt;
| 200 || -40.9094&lt;br /&gt;
|-&lt;br /&gt;
| 300 || -40.9281&lt;br /&gt;
|-&lt;br /&gt;
| 400 || -40.9585&lt;br /&gt;
|-&lt;br /&gt;
| 500 || -40.9994&lt;br /&gt;
|-&lt;br /&gt;
| 600 || -41.0493&lt;br /&gt;
|-&lt;br /&gt;
| 700 || -41.1071&lt;br /&gt;
|-&lt;br /&gt;
| 800 || -41.1719&lt;br /&gt;
|-&lt;br /&gt;
| 900 || -41.2440&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || -41.3198&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 2: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Temperature&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Lattice Constant&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 2.9894      &lt;br /&gt;
|-&lt;br /&gt;
| 100 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 300 || 2.9883&lt;br /&gt;
|-&lt;br /&gt;
| 400 || 2.9894&lt;br /&gt;
|-&lt;br /&gt;
| 500 || 2.9916&lt;br /&gt;
|-&lt;br /&gt;
| 600 || 2.9941&lt;br /&gt;
|-&lt;br /&gt;
| 700 || 2.9968&lt;br /&gt;
|-&lt;br /&gt;
| 800 || 2.9996&lt;br /&gt;
|-&lt;br /&gt;
| 900 || 3.0026&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 3.0056&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 3: Raw Data showing change in&lt;br /&gt;
Lattice Constant with Temperature&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dl2613</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550681</id>
		<title>Rep:Mod:Dl2613</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550681"/>
		<updated>2016-03-08T14:02:57Z</updated>

		<summary type="html">&lt;p&gt;Dl2613: /* Calculation of phonon modes of MgO */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== &amp;lt;u&amp;gt;Introduction&amp;lt;/u&amp;gt; ==&lt;br /&gt;
The aim of this experiment was to use a simple model of atomic interactions to calculate the energy and vibrations of a crystal of MgO. This was then used to compute the free energy, phonon dispersions and to predict how MgO expands when heated. The quasi-harmonic approximation (QHA) and molecular dynamics methods were used to do these calculations.&lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon based model of solid-state physics and can describe volume-dependant thermal effects of structures, such as the MgO crystal. This assumption assumes that for every lattice value the harmonic oscillator assumption is true. MD is a type of N-body simulation, it allows atoms and molecules to interact for a fixed period of time showing the dynamics of a system. In this experiment the MD was run on an isothermal-isobaric (NPT) ensemble in which the amount of substance, pressure and temperature are fixed. MD allows motion in three dimensions.&lt;br /&gt;
&lt;br /&gt;
The software used for this experiment was RedHat Linux. DLVisualize (DLV) was used for the visualisation of the structure and properties of the MgO crystal. General Utility Lattice Program (GULP) is a supporting interface of DLV and was used to perform analytical solutions on MgO through the use of lattice dynamics.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Internal Energy Calculation on MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Better_unit_cell.png|300px|thumb|right|Figure 1: MgO Primitive Unit Cell]]&lt;br /&gt;
In this first exercise the internal energy and structure of MgO was calculated using GULP from the primitive unit cell of the crystal (Fig 1). An ionic potential model was used, without shells included and at a single point. The primitive unit cell is the simplest cell to describe the crystal structure of MgO and contains 2 atoms. The lattice vectors of this cell are:&lt;br /&gt;
&lt;br /&gt;
0.000   2.106   2.106&lt;br /&gt;
&lt;br /&gt;
2.106   0.000   2.106&lt;br /&gt;
&lt;br /&gt;
2.106   2.106   0.000&lt;br /&gt;
&lt;br /&gt;
From the [[Media:MgO_0_DHL.out| log file]] it can be seen that the lattice parameters are defined by the length 2.978Å and the angle 60º, giving the primitive unit cell the shape of a rhombohedron. Each primitive cell was calculated to have an energy of -40.08 eV and this corresponds to the binding energy of the crystal. The primitive cell can be used to build up a lattice by repeating its structure.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Calculation of phonon modes of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Computing the Phonon Dispersion Curves: ===&lt;br /&gt;
[[File:MgO_Phonon_Dispersion_DHL.png|300px|thumb|left|Figure 2: MgO Phonon Dispersion]]&lt;br /&gt;
The phonon frequencies were then computed along the symmetry points &amp;lt;math&amp;gt;W, L, G, W, X, K&amp;lt;/math&amp;gt; in k space. The calculation was set up for 50 Npoints with phonon eigenvectors included in the calculation. For a 3D crystal of diatomic molecules with two atom types, six vibration modes are observed in the phonon dispersion curves (Fig 2). A positive dispersion relation results in optical modes and a negative dispersion relation results in acoustic modes. Two adjacent different atoms move with each other in the optical mode, but move against each other in the acoustic mode. The acoustic modes equal 0   cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;  at the point Γ whereas the optical modes do not. It can seen that there are three acoustic modes and three optical modes. The three acoustic modes can be split into one longitudinal acoustic mode and two transverse acoustic modes. The two transverse modes become degenerate between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;. The phonon dispersion curve agrees with that found in literature&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== The Phonon Density of States: ===&lt;br /&gt;
A simpler energy level diagram than the phonon dispersion relation is the density of states (DOS). The DOS is an average over the time and space demains of the MgO system and was calculated for the phonons as a function of the wave vector k. The dimensional limits of the MgO crystal affects the DOS and therefore it is expected that the DOS will change with the grid size of the MgO crystal.&lt;br /&gt;
&lt;br /&gt;
To begin with the DOS calculation was ran on a 1x1x1 grid, corresponding to a single k point. Comparison between Figure 2 and 3 shows that the single k point is the symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The frequencies of the phonon dispersions are identical in the two graphs. Four peaks instead of six are observed due to the fact that 2 pairs of modes become degenerate between &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. These degenerate modes correspond to the peaks between 250 and 400 cm &amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, explaining why those peaks are double the intensity of the high frequency peaks. It can been seen that a grid size of 1x1x1 is not a good representative of the DOS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_Phonon_DOS_DHL.png|300px|none|thumb|left|Figure 3: MgO Phonon DOS 1x1x1]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_3x3x3_DHL.png|300px|none|thumb|middle|Figure 4: MgO Phonon DOS 3x3x3]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_8x8x8_DHL.png|300px|none|thumb|middle|Figure 5: MgO Phonon DOS 8x8x8]]&lt;br /&gt;
|}&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_phonon_DOS_16x16x16_DHL.png|300px|none|thumb|left|Figure 6: MgO Phonon DOS 16x16x16]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_32x32x32_DHL.png|300px|none|thumb|left|Figure 7: MgO Phonon DOS 32x32x32]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_40x40x40_DHL.png|300px|none|thumb|middle|Figure 8: MgO Phonon DOS 40x40x40]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Several grid sizes were investigated up to 50x50x50 to find a compromise between an accurate DOS and the time taken to run the calculation. As the grid size is an increased a more true depiction of the DOS is obtained for the MgO structure. Increasing the grid size increases the number of peaks and then changes the graph from random sharp intensities to a smoother curve. However, the highest intensity point remains at 400 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; throughout all grid sizes and the higher frequencies having lower intensities. The bigger the grid size, the more k points that are sampled and the more representative the DOS. It can be seen in the figures below that the DOS curve is unchanged between 32x32x32 and 40x40x40, however, the running time increases greatly for the 40x40x40 grid size. Therefore, it was decided that the 32x32x32 grid size was the optimum and used in further calculations.&lt;br /&gt;
&lt;br /&gt;
The size of the grid set in the calculations is inversely related to the size of the structure in real space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This equation shows that the bigger a* (size of grid in k space) the smaller a (size of cell in real space). Therefore the bigger the cell in real space, the smaller the grid size needed for the calculation of DOS. This means that a similar oxide such as CaO will require a similar grid size as MgO for the calculation of DOS. Faujasite, a zeolite, has a lattice parameter in the range 24.2 - 25.1 Å &amp;lt;ref name=&amp;quot;Zeolite&amp;quot;/&amp;gt; and would therefore need a small grid size for the DOS calculation. Lithium, a small metal, has a lattice parameter of 3.51 Å &amp;lt;ref name=&amp;quot;Lithium&amp;quot;/&amp;gt; and would therefore need a large grid size for the DOS calculation to represent its small cell size in real space.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Computing the Free Energy&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Task_3_graph.png|300px|thumb|right|Graph 1: A Graph to show how the Free Energy changes with Grid Size]]&lt;br /&gt;
The Helmholtz Free Energy of MgO was then computed using the quasi-harmonic approximation on the same grid sizes as in the previous section at a temperature of 300K. Helmholtz Free Energy is given by the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A=Helmholtz Free Energy, U=Internal Energy, S=Entropy and T=Temperature&lt;br /&gt;
This states that the Helmholtz Free Energy should increase with increasing internal energy and decreasing temperature and entropy. This said, the Helmholtz Free Energy should decrease with increasing grid size. This can be explained with the aid of the following statistical mechanics equation of entropy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt; where S=Entropy, k=Boltzmann Constant and W=number of microstates&lt;br /&gt;
As the grid size increases the number of microstates sampled also increases. This in turn increases the entropy and decreases the TS term in the Helmholtz Free Energy equation. The decrease in Helmholtz Free Energy can be further explained using the following equation of internal energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt; where U=internal Energy, H=Enthalpy, P=Pressure and V=Volume&lt;br /&gt;
As the grid size increases so does its volume, therefore decreasing the internal energy. This further decreases the Helmholtz Free Energy. It can be seen in Graph 1 that initially the Helmholtz Free Energy increases with grid from 1x1x1 to 3x3x3 and then begins to follow the expected trend and decrease with increasing grid size. Table 1 shows that the accuracy of the Helmholtz Free Energy increases with grid size.&lt;br /&gt;
The Helmholtz Free Energy converges to a value of -40.9265 eV, with the 32x32x32 grid size being the most appropriate to run calculations from, providing the correct Helmholtz Free Energy and a suitable length of time to run the calculation.&lt;br /&gt;
&lt;br /&gt;
For CaO, a similar sized crystal to MgO (lattice constant CaO = 4.811 Å, lattice constant MgO = 4.212 Å)&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;/&amp;gt;, a similar size grid will be required for the calculation of the Helmholtz Free Energy. Faujasite would require a smaller grid size due to its large lattice constant and lithium a larger grid size than MgO due to its small lattice constant.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;The Thermal Expansion of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Thermal expansion is the ability of matter to change size, volume and shape in a response to the change in temperature. When a substance is heated the molecules vibrate and begin to move more, and their average separation increases. This thermal expansion is indicated by the Coefficient of Linear Thermal Expansion (CTE). Uniform linear objects have a thermally expand proportional to temperate over a small range of temperatures. The equation used to calculate the linear CTE is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;=linear CTE, &amp;lt;math&amp;gt;{L_0}&amp;lt;/math&amp;gt;=lattice constant at 0K and &amp;lt;math&amp;gt;dL/dT&amp;lt;/math&amp;gt;=rate of change of lattice constant with respect to temperature&lt;br /&gt;
&lt;br /&gt;
A volumetric CTE can also be calculated using the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt;=volumetric CTE, &amp;lt;math&amp;gt;{V}&amp;lt;/math&amp;gt;= volume and &amp;lt;math&amp;gt;\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;= partial derivative of volum with respect to temperature at constant pressure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Quasi-harmonic Approximation: ===&lt;br /&gt;
[[File:Task_4_graph_1.png|300px|thumb|left|Graph 2: A graph to show how the free energy of MgO changes with temperature]]&lt;br /&gt;
[[File:Task_4_graph_2.png|300px|thumb|right|Graph 3: A graph to show how the lattice constant of MgO changes with temperature]]&lt;br /&gt;
Using the 32x32x32 grid size of MgO the free energy was then optimised. The optimisation opts was set to optimise Gibbs Free Energy and the temperature was varied from 0 - 1000k. The free energy decreases with increasing temperature in a parabolic fashion to the order of 2. This negative correlation can be explained using the equation for Gibbs Free Energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G=H-TS&amp;lt;/math&amp;gt; where G=Gibbs Free Energy, H=Enthalpy, T=Temperature and S=Entropy&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Increasing the temperature decreases the TS term therefore decreasing the Gibbs Free Energy.&lt;br /&gt;
&lt;br /&gt;
The lattice constant increases in a parabolic fashion to the order of 2 with increasing temperature due to the thermal expansion.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Calculation of CTE: ====&lt;br /&gt;
Coefficient of Linear Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{2.9894}\,\frac{3.0056-2.9894}{1000}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=5.419\times10^{-6}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Coefficient of Volumetric Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{26.71481005}\,\left(\frac{27.15148242-26.71481005}{1000}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V=1.634\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It can be seen that the α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt; is 3.015 times that of the α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;. This is because MgO expands at the same rate in all three directions in three-dimensions, it is an isotropic compound. The CFE values are close to those found in literature at &amp;lt;math&amp;gt;\alpha_L=7.88\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=2.36\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; which were calculated using a temperature range close to that used in this experiment at 301.15-1273.15 K&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;/&amp;gt; (results from experiment give &amp;lt;math&amp;gt;\alpha_L=5.789\times10^{-6}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=1.747\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; if calculated from 300-1000k).&lt;br /&gt;
&lt;br /&gt;
The main approximation in the calculations of the thermal expansion is to do with the anharmonic contributions to the harmonic approximation. In order to simplify the phonon frequencies are set to be volume dependent and so at a higher temperature the anharmonic factor increases. The Born-Oppenheimer Approximation which assumes that the motion of atomic nuclei and electron in a molecule can be separated is another assumption.&lt;br /&gt;
&lt;br /&gt;
This approximation cannot be used when the temperature approaches that of the melting point of MgO due to the new lattice parameters. Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; begin to behave as separate ions as MgO begins to melt and becomes molten. Therefore the quasi-harmonic approximation cannot be used as it only takes into account linear movement.&lt;br /&gt;
&lt;br /&gt;
For a diatomic molecule with an exactly harmonic potential the bond is not allowed to break and the bond length is fixed around that of its equilibrium length. Therefore the lattice constant will only increase up to a distance just prior to bond cleavage. However, in these calculations the quasi-harmonic approximation allows the bonds to break within MgO and so the lattice constant can, in theory, increase to infinity.&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamics: ===&lt;br /&gt;
[[File:32_structure_dhl.png|300px|thumb|left|Figure 10: 32 unit MgO structure used for MD calculations]]&lt;br /&gt;
[[File:32_random_dhl.png|300px|thumb|right|Figure 11: 32 unit MgO structure post MD calculations]]&lt;br /&gt;
For the final section of this experiment the thermal expansion of MgO was once again calculated, but this time using the molecular dynamics method. This method allows the system to evolve according to Newton&#039;s Second Law &amp;lt;math&amp;gt; F= ma&amp;lt;/math&amp;gt;. The ensemble used was NPT, meaning the number of particles, the pressure and the temperature were all set to be constant. The timestep at which the vibrations to be sampled was set to be 1 femtosecond (fs) and the number of equilibration steps and production steps were set to 500, with the temperature being avried from 100-1000K. When the number of sampled configurations are sufficiently large, the average calculated is representative for the time averaged system obeying the ergodic hypothesis. A structure containing 32 units and therefore 64 atoms was used in this calculation (Fig 12), and in order to compare the volumes between the quasi-harmonic approximation and the molecular dynamics method, the volumes produced were divided by 32.&lt;br /&gt;
[[File:MD_and_QH_comparison.png|300px|thumb|right|Graph 4: Comparison of Cell Volume change between QHA and MD]]&lt;br /&gt;
It can be seen that both methods show the same trend, that of the volume increasing with increasing temperature, however throughout the whole temperature range the QHA cell volume values are slightly higher than the MD values.. The QHA becomes the exact same linear trend as the MD results at 400-1000K. At these temperatures the Coefficient of Volumetric Thermal Expansion are very similar:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_VQHA=1.730\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_VMD=1.824\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the range of 0-400K there is little anharmonicity and so the QHA predicts the thermal expansion more accurately and produces the curved graph. The MD method does not predict this trend at lower temperatures and can only predict a linear trend for the thermal expansion of MgO. The QHA graph is more similar to that found in literature than the MD graph&amp;lt;ref name=&amp;quot;Thermal Expansion graph&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The 32 unit structure used for the MD calculations is a 2x2x2 lattice of the conventional unit cell. This is a lot smaller than the size used to compute the thermal expansion of MgO using the QHA, and therefore, to have accurate results from the MD method, a larger size should be used.&lt;br /&gt;
&lt;br /&gt;
The MD method allows movement in three dimensions whereas the QHA only allows movement in one dimension. Therefore, at higher temperatures it is expected that the MD method will give much higher volume values than the QHA.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Conclusion&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
The free energy and phonon dispersions were successfully computed for MgO, and the thermal expansion studied using the QHA and the MD method. All results tended to agree with literature values well and it was found that the QHA gave a more realistic trend for the change in cell volume with respect to temperature at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;References&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;&amp;gt; X. Wu, W. Li, W. Rui. Effect of temperature on elastic constants, generalized stacking fault energy and dislocation cores in MgO and CaO. &#039;&#039;Computational Condensed Matter&#039;&#039;. 2014: 38-44. Available from: DOI: 10.1016/j.cocom.2014.10.005&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Zeolite&amp;quot;&amp;gt; J. A Kaduk, J. Faber. Crystal Structure of Zeolite Y as a function of Ion Exchange. &#039;&#039;The Rigaku Journal&#039;&#039;. 1995;12: 14. Available from: http://www.rigaku.com/downloads/journal/Vol12.2.1995/kaduk.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Lithium&amp;quot;&amp;gt; M. R. Nadler, C. P Kempter. Crystallographic Data 186. Lithium. &#039;&#039;Analytical Chemistry&#039;&#039;. 1959;31:2109. Available from: &lt;br /&gt;
DOI: 10.1021/ac60156a007&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;&amp;gt; D. K. Smith, H. R. Leider. Low-Temperature Thermal Expansion of LiH, MgO and CaO. &#039;&#039;Journal of Applied Crystallography&#039;&#039;. 1968;1: 246-249. Available from: DOI: 10.1107/S0021889868005418&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;&amp;gt; J. F. W. Bowles, R. A. Howie, D. J. Vaughan, J. Zussman. Rock-forming Minerals: Non-silicates: oxides, hydroxides and sulphides 2nd ed. London: The Geological Society;2011 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion graph&amp;quot;&amp;gt; L.S. Dubrovinsky, S.K. Saxena. Thermal Expansion of Periclase (MgO) and Tungsten (W)to Melting Temperatures. &#039;&#039;Physics and Chemistry of Minerals&#039;&#039;. 1999;24(8): 547-550. Available from: DOI: 10.1007/s002690050070&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Appendix&amp;lt;/u&amp;gt; ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Grid Size !! Helmholtz Free Energy (eV)!! Accuracy (meV)&lt;br /&gt;
|-&lt;br /&gt;
| 1x1x1 || -40.9303|| 4&lt;br /&gt;
|-&lt;br /&gt;
| 2x2x2 || -40.9266|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 3x3x3 || -40.9264|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 8x8x8 || -40.9265|| 0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16x16x16 || -40.9265|| 0.001&lt;br /&gt;
|-&lt;br /&gt;
| 32x32x32 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 40x40x40 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 50x50x50 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;3&amp;quot; |Table 1: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Grid Size&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Helmholtz Free Energy (eV)&lt;br /&gt;
|-&lt;br /&gt;
| 0 || -40.9019        &lt;br /&gt;
|-&lt;br /&gt;
| 100 || -40.9024&lt;br /&gt;
|-&lt;br /&gt;
| 200 || -40.9094&lt;br /&gt;
|-&lt;br /&gt;
| 300 || -40.9281&lt;br /&gt;
|-&lt;br /&gt;
| 400 || -40.9585&lt;br /&gt;
|-&lt;br /&gt;
| 500 || -40.9994&lt;br /&gt;
|-&lt;br /&gt;
| 600 || -41.0493&lt;br /&gt;
|-&lt;br /&gt;
| 700 || -41.1071&lt;br /&gt;
|-&lt;br /&gt;
| 800 || -41.1719&lt;br /&gt;
|-&lt;br /&gt;
| 900 || -41.2440&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || -41.3198&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 2: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Temperature&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Lattice Constant&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 2.9894      &lt;br /&gt;
|-&lt;br /&gt;
| 100 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 300 || 2.9883&lt;br /&gt;
|-&lt;br /&gt;
| 400 || 2.9894&lt;br /&gt;
|-&lt;br /&gt;
| 500 || 2.9916&lt;br /&gt;
|-&lt;br /&gt;
| 600 || 2.9941&lt;br /&gt;
|-&lt;br /&gt;
| 700 || 2.9968&lt;br /&gt;
|-&lt;br /&gt;
| 800 || 2.9996&lt;br /&gt;
|-&lt;br /&gt;
| 900 || 3.0026&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 3.0056&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 3: Raw Data showing change in&lt;br /&gt;
Lattice Constant with Temperature&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dl2613</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550676</id>
		<title>Rep:Mod:Dl2613</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550676"/>
		<updated>2016-03-08T14:01:39Z</updated>

		<summary type="html">&lt;p&gt;Dl2613: /* Calculation of phonon modes of MgO */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== &amp;lt;u&amp;gt;Introduction&amp;lt;/u&amp;gt; ==&lt;br /&gt;
The aim of this experiment was to use a simple model of atomic interactions to calculate the energy and vibrations of a crystal of MgO. This was then used to compute the free energy, phonon dispersions and to predict how MgO expands when heated. The quasi-harmonic approximation (QHA) and molecular dynamics methods were used to do these calculations.&lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon based model of solid-state physics and can describe volume-dependant thermal effects of structures, such as the MgO crystal. This assumption assumes that for every lattice value the harmonic oscillator assumption is true. MD is a type of N-body simulation, it allows atoms and molecules to interact for a fixed period of time showing the dynamics of a system. In this experiment the MD was run on an isothermal-isobaric (NPT) ensemble in which the amount of substance, pressure and temperature are fixed. MD allows motion in three dimensions.&lt;br /&gt;
&lt;br /&gt;
The software used for this experiment was RedHat Linux. DLVisualize (DLV) was used for the visualisation of the structure and properties of the MgO crystal. General Utility Lattice Program (GULP) is a supporting interface of DLV and was used to perform analytical solutions on MgO through the use of lattice dynamics.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Internal Energy Calculation on MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Better_unit_cell.png|300px|thumb|right|Figure 1: MgO Primitive Unit Cell]]&lt;br /&gt;
In this first exercise the internal energy and structure of MgO was calculated using GULP from the primitive unit cell of the crystal (Fig 1). An ionic potential model was used, without shells included and at a single point. The primitive unit cell is the simplest cell to describe the crystal structure of MgO and contains 2 atoms. The lattice vectors of this cell are:&lt;br /&gt;
&lt;br /&gt;
0.000   2.106   2.106&lt;br /&gt;
&lt;br /&gt;
2.106   0.000   2.106&lt;br /&gt;
&lt;br /&gt;
2.106   2.106   0.000&lt;br /&gt;
&lt;br /&gt;
From the [[Media:MgO_0_DHL.out| log file]] it can be seen that the lattice parameters are defined by the length 2.978Å and the angle 60º, giving the primitive unit cell the shape of a rhombohedron. Each primitive cell was calculated to have an energy of -40.08 eV and this corresponds to the binding energy of the crystal. The primitive cell can be used to build up a lattice by repeating its structure.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Calculation of phonon modes of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Computing the Phonon Dispersion Curves: ===&lt;br /&gt;
[[File:MgO_Phonon_Dispersion_DHL.png|300px|thumb|left|Figure 2: MgO Phonon Dispersion]]&lt;br /&gt;
The phonon frequencies were then computed along the symmetry points &amp;lt;math&amp;gt;W, L, G, W, X, K&amp;lt;/math&amp;gt; in k space. The calculation was set up for 50 Npoints with phonon eigenvectors included in the calculation. For a 3D crystal of diatomic molecules with two atom types, six vibration modes are observed in the phonon dispersion curves (Fig 2). A positive dispersion relation results in optical modes and a negative dispersion relation results in acoustic modes. Two adjacent different atoms move with each other in the optical mode, but move against each other in the acoustic mode. The acoustic modes equal 0   cm-1  at the point Γ whereas the optical modes do not. It can seen that there are three acoustic modes and three optical modes. The three acoustic modes can be split into one longitudinal acoustic mode and two transverse acoustic modes. The two transverse modes become degenerate between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;. The phonon dispersion curve agrees with that found in literature&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== The Phonon Density of States: ===&lt;br /&gt;
A simpler energy level diagram than the phonon dispersion relation is the density of states (DOS). The DOS is an average over the time and space demains of the MgO system and was calculated for the phonons as a function of the wave vector k. The dimensional limits of the MgO crystal affects the DOS and therefore it is expected that the DOS will change with the grid size of the MgO crystal.&lt;br /&gt;
&lt;br /&gt;
To begin with the DOS calculation was ran on a 1x1x1 grid, corresponding to a single k point. Comparison between Figure 2 and 3 shows that the single k point is the symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The frequencies of the phonon dispersions are identical in the two graphs. Four peaks instead of six are observed due to the fact that 2 pairs of modes become degenerate between &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. These degenerate modes correspond to the peaks between 250 and 400 cm &amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, explaining why those peaks are double the intensity of the high frequency peaks. It can been seen that a grid size of 1x1x1 is not a good representative of the DOS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_Phonon_DOS_DHL.png|300px|none|thumb|left|Figure 3: MgO Phonon DOS 1x1x1]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_3x3x3_DHL.png|300px|none|thumb|middle|Figure 4: MgO Phonon DOS 3x3x3]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_8x8x8_DHL.png|300px|none|thumb|middle|Figure 5: MgO Phonon DOS 8x8x8]]&lt;br /&gt;
|}&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_phonon_DOS_16x16x16_DHL.png|300px|none|thumb|left|Figure 6: MgO Phonon DOS 16x16x16]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_32x32x32_DHL.png|300px|none|thumb|left|Figure 7: MgO Phonon DOS 32x32x32]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_40x40x40_DHL.png|300px|none|thumb|middle|Figure 8: MgO Phonon DOS 40x40x40]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Several grid sizes were investigated up to 50x50x50 to find a compromise between an accurate DOS and the time taken to run the calculation. As the grid size is an increased a more true depiction of the DOS is obtained for the MgO structure. Increasing the grid size increases the number of peaks and then changes the graph from random sharp intensities to a smoother curve. However, the highest intensity point remains at 400 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; throughout all grid sizes and the higher frequencies having lower intensities. The bigger the grid size, the more k points that are sampled and the more representative the DOS. It can be seen in the figures below that the DOS curve is unchanged between 32x32x32 and 40x40x40, however, the running time increases greatly for the 40x40x40 grid size. Therefore, it was decided that the 32x32x32 grid size was the optimum and used in further calculations.&lt;br /&gt;
&lt;br /&gt;
The size of the grid set in the calculations is inversely related to the size of the structure in real space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This equation shows that the bigger a* (size of grid in k space) the smaller a (size of cell in real space). Therefore the bigger the cell in real space, the smaller the grid size needed for the calculation of DOS. This means that a similar oxide such as CaO will require a similar grid size as MgO for the calculation of DOS. Faujasite, a zeolite, has a lattice parameter in the range 24.2 - 25.1 Å &amp;lt;ref name=&amp;quot;Zeolite&amp;quot;/&amp;gt; and would therefore need a small grid size for the DOS calculation. Lithium, a small metal, has a lattice parameter of 3.51 Å &amp;lt;ref name=&amp;quot;Lithium&amp;quot;/&amp;gt; and would therefore need a large grid size for the DOS calculation to represent its small cell size in real space.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Computing the Free Energy&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Task_3_graph.png|300px|thumb|right|Graph 1: A Graph to show how the Free Energy changes with Grid Size]]&lt;br /&gt;
The Helmholtz Free Energy of MgO was then computed using the quasi-harmonic approximation on the same grid sizes as in the previous section at a temperature of 300K. Helmholtz Free Energy is given by the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A=Helmholtz Free Energy, U=Internal Energy, S=Entropy and T=Temperature&lt;br /&gt;
This states that the Helmholtz Free Energy should increase with increasing internal energy and decreasing temperature and entropy. This said, the Helmholtz Free Energy should decrease with increasing grid size. This can be explained with the aid of the following statistical mechanics equation of entropy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt; where S=Entropy, k=Boltzmann Constant and W=number of microstates&lt;br /&gt;
As the grid size increases the number of microstates sampled also increases. This in turn increases the entropy and decreases the TS term in the Helmholtz Free Energy equation. The decrease in Helmholtz Free Energy can be further explained using the following equation of internal energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt; where U=internal Energy, H=Enthalpy, P=Pressure and V=Volume&lt;br /&gt;
As the grid size increases so does its volume, therefore decreasing the internal energy. This further decreases the Helmholtz Free Energy. It can be seen in Graph 1 that initially the Helmholtz Free Energy increases with grid from 1x1x1 to 3x3x3 and then begins to follow the expected trend and decrease with increasing grid size. Table 1 shows that the accuracy of the Helmholtz Free Energy increases with grid size.&lt;br /&gt;
The Helmholtz Free Energy converges to a value of -40.9265 eV, with the 32x32x32 grid size being the most appropriate to run calculations from, providing the correct Helmholtz Free Energy and a suitable length of time to run the calculation.&lt;br /&gt;
&lt;br /&gt;
For CaO, a similar sized crystal to MgO (lattice constant CaO = 4.811 Å, lattice constant MgO = 4.212 Å)&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;/&amp;gt;, a similar size grid will be required for the calculation of the Helmholtz Free Energy. Faujasite would require a smaller grid size due to its large lattice constant and lithium a larger grid size than MgO due to its small lattice constant.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;The Thermal Expansion of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Thermal expansion is the ability of matter to change size, volume and shape in a response to the change in temperature. When a substance is heated the molecules vibrate and begin to move more, and their average separation increases. This thermal expansion is indicated by the Coefficient of Linear Thermal Expansion (CTE). Uniform linear objects have a thermally expand proportional to temperate over a small range of temperatures. The equation used to calculate the linear CTE is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;=linear CTE, &amp;lt;math&amp;gt;{L_0}&amp;lt;/math&amp;gt;=lattice constant at 0K and &amp;lt;math&amp;gt;dL/dT&amp;lt;/math&amp;gt;=rate of change of lattice constant with respect to temperature&lt;br /&gt;
&lt;br /&gt;
A volumetric CTE can also be calculated using the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt;=volumetric CTE, &amp;lt;math&amp;gt;{V}&amp;lt;/math&amp;gt;= volume and &amp;lt;math&amp;gt;\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;= partial derivative of volum with respect to temperature at constant pressure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Quasi-harmonic Approximation: ===&lt;br /&gt;
[[File:Task_4_graph_1.png|300px|thumb|left|Graph 2: A graph to show how the free energy of MgO changes with temperature]]&lt;br /&gt;
[[File:Task_4_graph_2.png|300px|thumb|right|Graph 3: A graph to show how the lattice constant of MgO changes with temperature]]&lt;br /&gt;
Using the 32x32x32 grid size of MgO the free energy was then optimised. The optimisation opts was set to optimise Gibbs Free Energy and the temperature was varied from 0 - 1000k. The free energy decreases with increasing temperature in a parabolic fashion to the order of 2. This negative correlation can be explained using the equation for Gibbs Free Energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G=H-TS&amp;lt;/math&amp;gt; where G=Gibbs Free Energy, H=Enthalpy, T=Temperature and S=Entropy&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Increasing the temperature decreases the TS term therefore decreasing the Gibbs Free Energy.&lt;br /&gt;
&lt;br /&gt;
The lattice constant increases in a parabolic fashion to the order of 2 with increasing temperature due to the thermal expansion.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Calculation of CTE: ====&lt;br /&gt;
Coefficient of Linear Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{2.9894}\,\frac{3.0056-2.9894}{1000}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=5.419\times10^{-6}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Coefficient of Volumetric Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{26.71481005}\,\left(\frac{27.15148242-26.71481005}{1000}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V=1.634\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It can be seen that the α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt; is 3.015 times that of the α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;. This is because MgO expands at the same rate in all three directions in three-dimensions, it is an isotropic compound. The CFE values are close to those found in literature at &amp;lt;math&amp;gt;\alpha_L=7.88\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=2.36\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; which were calculated using a temperature range close to that used in this experiment at 301.15-1273.15 K&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;/&amp;gt; (results from experiment give &amp;lt;math&amp;gt;\alpha_L=5.789\times10^{-6}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=1.747\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; if calculated from 300-1000k).&lt;br /&gt;
&lt;br /&gt;
The main approximation in the calculations of the thermal expansion is to do with the anharmonic contributions to the harmonic approximation. In order to simplify the phonon frequencies are set to be volume dependent and so at a higher temperature the anharmonic factor increases. The Born-Oppenheimer Approximation which assumes that the motion of atomic nuclei and electron in a molecule can be separated is another assumption.&lt;br /&gt;
&lt;br /&gt;
This approximation cannot be used when the temperature approaches that of the melting point of MgO due to the new lattice parameters. Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; begin to behave as separate ions as MgO begins to melt and becomes molten. Therefore the quasi-harmonic approximation cannot be used as it only takes into account linear movement.&lt;br /&gt;
&lt;br /&gt;
For a diatomic molecule with an exactly harmonic potential the bond is not allowed to break and the bond length is fixed around that of its equilibrium length. Therefore the lattice constant will only increase up to a distance just prior to bond cleavage. However, in these calculations the quasi-harmonic approximation allows the bonds to break within MgO and so the lattice constant can, in theory, increase to infinity.&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamics: ===&lt;br /&gt;
[[File:32_structure_dhl.png|300px|thumb|left|Figure 10: 32 unit MgO structure used for MD calculations]]&lt;br /&gt;
[[File:32_random_dhl.png|300px|thumb|right|Figure 11: 32 unit MgO structure post MD calculations]]&lt;br /&gt;
For the final section of this experiment the thermal expansion of MgO was once again calculated, but this time using the molecular dynamics method. This method allows the system to evolve according to Newton&#039;s Second Law &amp;lt;math&amp;gt; F= ma&amp;lt;/math&amp;gt;. The ensemble used was NPT, meaning the number of particles, the pressure and the temperature were all set to be constant. The timestep at which the vibrations to be sampled was set to be 1 femtosecond (fs) and the number of equilibration steps and production steps were set to 500, with the temperature being avried from 100-1000K. When the number of sampled configurations are sufficiently large, the average calculated is representative for the time averaged system obeying the ergodic hypothesis. A structure containing 32 units and therefore 64 atoms was used in this calculation (Fig 12), and in order to compare the volumes between the quasi-harmonic approximation and the molecular dynamics method, the volumes produced were divided by 32.&lt;br /&gt;
[[File:MD_and_QH_comparison.png|300px|thumb|right|Graph 4: Comparison of Cell Volume change between QHA and MD]]&lt;br /&gt;
It can be seen that both methods show the same trend, that of the volume increasing with increasing temperature, however throughout the whole temperature range the QHA cell volume values are slightly higher than the MD values.. The QHA becomes the exact same linear trend as the MD results at 400-1000K. At these temperatures the Coefficient of Volumetric Thermal Expansion are very similar:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_VQHA=1.730\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_VMD=1.824\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the range of 0-400K there is little anharmonicity and so the QHA predicts the thermal expansion more accurately and produces the curved graph. The MD method does not predict this trend at lower temperatures and can only predict a linear trend for the thermal expansion of MgO. The QHA graph is more similar to that found in literature than the MD graph&amp;lt;ref name=&amp;quot;Thermal Expansion graph&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The 32 unit structure used for the MD calculations is a 2x2x2 lattice of the conventional unit cell. This is a lot smaller than the size used to compute the thermal expansion of MgO using the QHA, and therefore, to have accurate results from the MD method, a larger size should be used.&lt;br /&gt;
&lt;br /&gt;
The MD method allows movement in three dimensions whereas the QHA only allows movement in one dimension. Therefore, at higher temperatures it is expected that the MD method will give much higher volume values than the QHA.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Conclusion&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
The free energy and phonon dispersions were successfully computed for MgO, and the thermal expansion studied using the QHA and the MD method. All results tended to agree with literature values well and it was found that the QHA gave a more realistic trend for the change in cell volume with respect to temperature at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;References&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;&amp;gt; X. Wu, W. Li, W. Rui. Effect of temperature on elastic constants, generalized stacking fault energy and dislocation cores in MgO and CaO. &#039;&#039;Computational Condensed Matter&#039;&#039;. 2014: 38-44. Available from: DOI: 10.1016/j.cocom.2014.10.005&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Zeolite&amp;quot;&amp;gt; J. A Kaduk, J. Faber. Crystal Structure of Zeolite Y as a function of Ion Exchange. &#039;&#039;The Rigaku Journal&#039;&#039;. 1995;12: 14. Available from: http://www.rigaku.com/downloads/journal/Vol12.2.1995/kaduk.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Lithium&amp;quot;&amp;gt; M. R. Nadler, C. P Kempter. Crystallographic Data 186. Lithium. &#039;&#039;Analytical Chemistry&#039;&#039;. 1959;31:2109. Available from: &lt;br /&gt;
DOI: 10.1021/ac60156a007&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;&amp;gt; D. K. Smith, H. R. Leider. Low-Temperature Thermal Expansion of LiH, MgO and CaO. &#039;&#039;Journal of Applied Crystallography&#039;&#039;. 1968;1: 246-249. Available from: DOI: 10.1107/S0021889868005418&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;&amp;gt; J. F. W. Bowles, R. A. Howie, D. J. Vaughan, J. Zussman. Rock-forming Minerals: Non-silicates: oxides, hydroxides and sulphides 2nd ed. London: The Geological Society;2011 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion graph&amp;quot;&amp;gt; L.S. Dubrovinsky, S.K. Saxena. Thermal Expansion of Periclase (MgO) and Tungsten (W)to Melting Temperatures. &#039;&#039;Physics and Chemistry of Minerals&#039;&#039;. 1999;24(8): 547-550. Available from: DOI: 10.1007/s002690050070&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Appendix&amp;lt;/u&amp;gt; ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Grid Size !! Helmholtz Free Energy (eV)!! Accuracy (meV)&lt;br /&gt;
|-&lt;br /&gt;
| 1x1x1 || -40.9303|| 4&lt;br /&gt;
|-&lt;br /&gt;
| 2x2x2 || -40.9266|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 3x3x3 || -40.9264|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 8x8x8 || -40.9265|| 0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16x16x16 || -40.9265|| 0.001&lt;br /&gt;
|-&lt;br /&gt;
| 32x32x32 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 40x40x40 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 50x50x50 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;3&amp;quot; |Table 1: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Grid Size&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Helmholtz Free Energy (eV)&lt;br /&gt;
|-&lt;br /&gt;
| 0 || -40.9019        &lt;br /&gt;
|-&lt;br /&gt;
| 100 || -40.9024&lt;br /&gt;
|-&lt;br /&gt;
| 200 || -40.9094&lt;br /&gt;
|-&lt;br /&gt;
| 300 || -40.9281&lt;br /&gt;
|-&lt;br /&gt;
| 400 || -40.9585&lt;br /&gt;
|-&lt;br /&gt;
| 500 || -40.9994&lt;br /&gt;
|-&lt;br /&gt;
| 600 || -41.0493&lt;br /&gt;
|-&lt;br /&gt;
| 700 || -41.1071&lt;br /&gt;
|-&lt;br /&gt;
| 800 || -41.1719&lt;br /&gt;
|-&lt;br /&gt;
| 900 || -41.2440&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || -41.3198&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 2: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Temperature&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Lattice Constant&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 2.9894      &lt;br /&gt;
|-&lt;br /&gt;
| 100 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 300 || 2.9883&lt;br /&gt;
|-&lt;br /&gt;
| 400 || 2.9894&lt;br /&gt;
|-&lt;br /&gt;
| 500 || 2.9916&lt;br /&gt;
|-&lt;br /&gt;
| 600 || 2.9941&lt;br /&gt;
|-&lt;br /&gt;
| 700 || 2.9968&lt;br /&gt;
|-&lt;br /&gt;
| 800 || 2.9996&lt;br /&gt;
|-&lt;br /&gt;
| 900 || 3.0026&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 3.0056&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 3: Raw Data showing change in&lt;br /&gt;
Lattice Constant with Temperature&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dl2613</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550673</id>
		<title>Rep:Mod:Dl2613</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550673"/>
		<updated>2016-03-08T14:00:46Z</updated>

		<summary type="html">&lt;p&gt;Dl2613: /* The Phonon Density of States: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== &amp;lt;u&amp;gt;Introduction&amp;lt;/u&amp;gt; ==&lt;br /&gt;
The aim of this experiment was to use a simple model of atomic interactions to calculate the energy and vibrations of a crystal of MgO. This was then used to compute the free energy, phonon dispersions and to predict how MgO expands when heated. The quasi-harmonic approximation (QHA) and molecular dynamics methods were used to do these calculations.&lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon based model of solid-state physics and can describe volume-dependant thermal effects of structures, such as the MgO crystal. This assumption assumes that for every lattice value the harmonic oscillator assumption is true. MD is a type of N-body simulation, it allows atoms and molecules to interact for a fixed period of time showing the dynamics of a system. In this experiment the MD was run on an isothermal-isobaric (NPT) ensemble in which the amount of substance, pressure and temperature are fixed. MD allows motion in three dimensions.&lt;br /&gt;
&lt;br /&gt;
The software used for this experiment was RedHat Linux. DLVisualize (DLV) was used for the visualisation of the structure and properties of the MgO crystal. General Utility Lattice Program (GULP) is a supporting interface of DLV and was used to perform analytical solutions on MgO through the use of lattice dynamics.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Internal Energy Calculation on MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Better_unit_cell.png|300px|thumb|right|Figure 1: MgO Primitive Unit Cell]]&lt;br /&gt;
In this first exercise the internal energy and structure of MgO was calculated using GULP from the primitive unit cell of the crystal (Fig 1). An ionic potential model was used, without shells included and at a single point. The primitive unit cell is the simplest cell to describe the crystal structure of MgO and contains 2 atoms. The lattice vectors of this cell are:&lt;br /&gt;
&lt;br /&gt;
0.000   2.106   2.106&lt;br /&gt;
&lt;br /&gt;
2.106   0.000   2.106&lt;br /&gt;
&lt;br /&gt;
2.106   2.106   0.000&lt;br /&gt;
&lt;br /&gt;
From the [[Media:MgO_0_DHL.out| log file]] it can be seen that the lattice parameters are defined by the length 2.978Å and the angle 60º, giving the primitive unit cell the shape of a rhombohedron. Each primitive cell was calculated to have an energy of -40.08 eV and this corresponds to the binding energy of the crystal. The primitive cell can be used to build up a lattice by repeating its structure.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Calculation of phonon modes of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Computing the Phonon Dispersion Curves: ===&lt;br /&gt;
[[File:MgO_Phonon_Dispersion_DHL.png|300px|thumb|left|Figure 2: MgO Phonon Dispersion]]&lt;br /&gt;
The phonon frequencies were then computed along the symmetry points &amp;lt;math&amp;gt;W, L, G, W, X, K&amp;lt;/math&amp;gt; in k space. The calculation was set up for 50 Npoints with phonon eigenvectors included in the calculation. For a 3D crystal of diatomic molecules with two atom types, six vibration modes are observed in the phonon dispersion curves (Fig 2). A positive dispersion relation results in optical modes and a negative dispersion relation results in acoustic modes. Two adjacent different atoms move with each other in the optical mode, but move against together in the acoustic mode. The acoustic modes equal 0   cm-1  at the point Γ whereas the optical modes do not. It can seen that there are three acoustic modes and three optical modes. The three acoustic modes can be split into one longitudinal acoustic mode and two transverse acoustic modes. The two transverse modes become degenerate between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;. The phonon dispersion curve agrees with that found in literature&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== The Phonon Density of States: ===&lt;br /&gt;
A simpler energy level diagram than the phonon dispersion relation is the density of states (DOS). The DOS is an average over the time and space demains of the MgO system and was calculated for the phonons as a function of the wave vector k. The dimensional limits of the MgO crystal affects the DOS and therefore it is expected that the DOS will change with the grid size of the MgO crystal.&lt;br /&gt;
&lt;br /&gt;
To begin with the DOS calculation was ran on a 1x1x1 grid, corresponding to a single k point. Comparison between Figure 2 and 3 shows that the single k point is the symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The frequencies of the phonon dispersions are identical in the two graphs. Four peaks instead of six are observed due to the fact that 2 pairs of modes become degenerate between &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. These degenerate modes correspond to the peaks between 250 and 400 cm &amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, explaining why those peaks are double the intensity of the high frequency peaks. It can been seen that a grid size of 1x1x1 is not a good representative of the DOS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_Phonon_DOS_DHL.png|300px|none|thumb|left|Figure 3: MgO Phonon DOS 1x1x1]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_3x3x3_DHL.png|300px|none|thumb|middle|Figure 4: MgO Phonon DOS 3x3x3]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_8x8x8_DHL.png|300px|none|thumb|middle|Figure 5: MgO Phonon DOS 8x8x8]]&lt;br /&gt;
|}&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_phonon_DOS_16x16x16_DHL.png|300px|none|thumb|left|Figure 6: MgO Phonon DOS 16x16x16]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_32x32x32_DHL.png|300px|none|thumb|left|Figure 7: MgO Phonon DOS 32x32x32]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_40x40x40_DHL.png|300px|none|thumb|middle|Figure 8: MgO Phonon DOS 40x40x40]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Several grid sizes were investigated up to 50x50x50 to find a compromise between an accurate DOS and the time taken to run the calculation. As the grid size is an increased a more true depiction of the DOS is obtained for the MgO structure. Increasing the grid size increases the number of peaks and then changes the graph from random sharp intensities to a smoother curve. However, the highest intensity point remains at 400 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; throughout all grid sizes and the higher frequencies having lower intensities. The bigger the grid size, the more k points that are sampled and the more representative the DOS. It can be seen in the figures below that the DOS curve is unchanged between 32x32x32 and 40x40x40, however, the running time increases greatly for the 40x40x40 grid size. Therefore, it was decided that the 32x32x32 grid size was the optimum and used in further calculations.&lt;br /&gt;
&lt;br /&gt;
The size of the grid set in the calculations is inversely related to the size of the structure in real space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This equation shows that the bigger a* (size of grid in k space) the smaller a (size of cell in real space). Therefore the bigger the cell in real space, the smaller the grid size needed for the calculation of DOS. This means that a similar oxide such as CaO will require a similar grid size as MgO for the calculation of DOS. Faujasite, a zeolite, has a lattice parameter in the range 24.2 - 25.1 Å &amp;lt;ref name=&amp;quot;Zeolite&amp;quot;/&amp;gt; and would therefore need a small grid size for the DOS calculation. Lithium, a small metal, has a lattice parameter of 3.51 Å &amp;lt;ref name=&amp;quot;Lithium&amp;quot;/&amp;gt; and would therefore need a large grid size for the DOS calculation to represent its small cell size in real space.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Computing the Free Energy&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Task_3_graph.png|300px|thumb|right|Graph 1: A Graph to show how the Free Energy changes with Grid Size]]&lt;br /&gt;
The Helmholtz Free Energy of MgO was then computed using the quasi-harmonic approximation on the same grid sizes as in the previous section at a temperature of 300K. Helmholtz Free Energy is given by the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A=Helmholtz Free Energy, U=Internal Energy, S=Entropy and T=Temperature&lt;br /&gt;
This states that the Helmholtz Free Energy should increase with increasing internal energy and decreasing temperature and entropy. This said, the Helmholtz Free Energy should decrease with increasing grid size. This can be explained with the aid of the following statistical mechanics equation of entropy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt; where S=Entropy, k=Boltzmann Constant and W=number of microstates&lt;br /&gt;
As the grid size increases the number of microstates sampled also increases. This in turn increases the entropy and decreases the TS term in the Helmholtz Free Energy equation. The decrease in Helmholtz Free Energy can be further explained using the following equation of internal energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt; where U=internal Energy, H=Enthalpy, P=Pressure and V=Volume&lt;br /&gt;
As the grid size increases so does its volume, therefore decreasing the internal energy. This further decreases the Helmholtz Free Energy. It can be seen in Graph 1 that initially the Helmholtz Free Energy increases with grid from 1x1x1 to 3x3x3 and then begins to follow the expected trend and decrease with increasing grid size. Table 1 shows that the accuracy of the Helmholtz Free Energy increases with grid size.&lt;br /&gt;
The Helmholtz Free Energy converges to a value of -40.9265 eV, with the 32x32x32 grid size being the most appropriate to run calculations from, providing the correct Helmholtz Free Energy and a suitable length of time to run the calculation.&lt;br /&gt;
&lt;br /&gt;
For CaO, a similar sized crystal to MgO (lattice constant CaO = 4.811 Å, lattice constant MgO = 4.212 Å)&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;/&amp;gt;, a similar size grid will be required for the calculation of the Helmholtz Free Energy. Faujasite would require a smaller grid size due to its large lattice constant and lithium a larger grid size than MgO due to its small lattice constant.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;The Thermal Expansion of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Thermal expansion is the ability of matter to change size, volume and shape in a response to the change in temperature. When a substance is heated the molecules vibrate and begin to move more, and their average separation increases. This thermal expansion is indicated by the Coefficient of Linear Thermal Expansion (CTE). Uniform linear objects have a thermally expand proportional to temperate over a small range of temperatures. The equation used to calculate the linear CTE is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;=linear CTE, &amp;lt;math&amp;gt;{L_0}&amp;lt;/math&amp;gt;=lattice constant at 0K and &amp;lt;math&amp;gt;dL/dT&amp;lt;/math&amp;gt;=rate of change of lattice constant with respect to temperature&lt;br /&gt;
&lt;br /&gt;
A volumetric CTE can also be calculated using the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt;=volumetric CTE, &amp;lt;math&amp;gt;{V}&amp;lt;/math&amp;gt;= volume and &amp;lt;math&amp;gt;\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;= partial derivative of volum with respect to temperature at constant pressure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Quasi-harmonic Approximation: ===&lt;br /&gt;
[[File:Task_4_graph_1.png|300px|thumb|left|Graph 2: A graph to show how the free energy of MgO changes with temperature]]&lt;br /&gt;
[[File:Task_4_graph_2.png|300px|thumb|right|Graph 3: A graph to show how the lattice constant of MgO changes with temperature]]&lt;br /&gt;
Using the 32x32x32 grid size of MgO the free energy was then optimised. The optimisation opts was set to optimise Gibbs Free Energy and the temperature was varied from 0 - 1000k. The free energy decreases with increasing temperature in a parabolic fashion to the order of 2. This negative correlation can be explained using the equation for Gibbs Free Energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G=H-TS&amp;lt;/math&amp;gt; where G=Gibbs Free Energy, H=Enthalpy, T=Temperature and S=Entropy&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Increasing the temperature decreases the TS term therefore decreasing the Gibbs Free Energy.&lt;br /&gt;
&lt;br /&gt;
The lattice constant increases in a parabolic fashion to the order of 2 with increasing temperature due to the thermal expansion.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Calculation of CTE: ====&lt;br /&gt;
Coefficient of Linear Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{2.9894}\,\frac{3.0056-2.9894}{1000}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=5.419\times10^{-6}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Coefficient of Volumetric Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{26.71481005}\,\left(\frac{27.15148242-26.71481005}{1000}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V=1.634\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It can be seen that the α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt; is 3.015 times that of the α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;. This is because MgO expands at the same rate in all three directions in three-dimensions, it is an isotropic compound. The CFE values are close to those found in literature at &amp;lt;math&amp;gt;\alpha_L=7.88\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=2.36\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; which were calculated using a temperature range close to that used in this experiment at 301.15-1273.15 K&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;/&amp;gt; (results from experiment give &amp;lt;math&amp;gt;\alpha_L=5.789\times10^{-6}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=1.747\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; if calculated from 300-1000k).&lt;br /&gt;
&lt;br /&gt;
The main approximation in the calculations of the thermal expansion is to do with the anharmonic contributions to the harmonic approximation. In order to simplify the phonon frequencies are set to be volume dependent and so at a higher temperature the anharmonic factor increases. The Born-Oppenheimer Approximation which assumes that the motion of atomic nuclei and electron in a molecule can be separated is another assumption.&lt;br /&gt;
&lt;br /&gt;
This approximation cannot be used when the temperature approaches that of the melting point of MgO due to the new lattice parameters. Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; begin to behave as separate ions as MgO begins to melt and becomes molten. Therefore the quasi-harmonic approximation cannot be used as it only takes into account linear movement.&lt;br /&gt;
&lt;br /&gt;
For a diatomic molecule with an exactly harmonic potential the bond is not allowed to break and the bond length is fixed around that of its equilibrium length. Therefore the lattice constant will only increase up to a distance just prior to bond cleavage. However, in these calculations the quasi-harmonic approximation allows the bonds to break within MgO and so the lattice constant can, in theory, increase to infinity.&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamics: ===&lt;br /&gt;
[[File:32_structure_dhl.png|300px|thumb|left|Figure 10: 32 unit MgO structure used for MD calculations]]&lt;br /&gt;
[[File:32_random_dhl.png|300px|thumb|right|Figure 11: 32 unit MgO structure post MD calculations]]&lt;br /&gt;
For the final section of this experiment the thermal expansion of MgO was once again calculated, but this time using the molecular dynamics method. This method allows the system to evolve according to Newton&#039;s Second Law &amp;lt;math&amp;gt; F= ma&amp;lt;/math&amp;gt;. The ensemble used was NPT, meaning the number of particles, the pressure and the temperature were all set to be constant. The timestep at which the vibrations to be sampled was set to be 1 femtosecond (fs) and the number of equilibration steps and production steps were set to 500, with the temperature being avried from 100-1000K. When the number of sampled configurations are sufficiently large, the average calculated is representative for the time averaged system obeying the ergodic hypothesis. A structure containing 32 units and therefore 64 atoms was used in this calculation (Fig 12), and in order to compare the volumes between the quasi-harmonic approximation and the molecular dynamics method, the volumes produced were divided by 32.&lt;br /&gt;
[[File:MD_and_QH_comparison.png|300px|thumb|right|Graph 4: Comparison of Cell Volume change between QHA and MD]]&lt;br /&gt;
It can be seen that both methods show the same trend, that of the volume increasing with increasing temperature, however throughout the whole temperature range the QHA cell volume values are slightly higher than the MD values.. The QHA becomes the exact same linear trend as the MD results at 400-1000K. At these temperatures the Coefficient of Volumetric Thermal Expansion are very similar:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_VQHA=1.730\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_VMD=1.824\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the range of 0-400K there is little anharmonicity and so the QHA predicts the thermal expansion more accurately and produces the curved graph. The MD method does not predict this trend at lower temperatures and can only predict a linear trend for the thermal expansion of MgO. The QHA graph is more similar to that found in literature than the MD graph&amp;lt;ref name=&amp;quot;Thermal Expansion graph&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The 32 unit structure used for the MD calculations is a 2x2x2 lattice of the conventional unit cell. This is a lot smaller than the size used to compute the thermal expansion of MgO using the QHA, and therefore, to have accurate results from the MD method, a larger size should be used.&lt;br /&gt;
&lt;br /&gt;
The MD method allows movement in three dimensions whereas the QHA only allows movement in one dimension. Therefore, at higher temperatures it is expected that the MD method will give much higher volume values than the QHA.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Conclusion&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
The free energy and phonon dispersions were successfully computed for MgO, and the thermal expansion studied using the QHA and the MD method. All results tended to agree with literature values well and it was found that the QHA gave a more realistic trend for the change in cell volume with respect to temperature at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;References&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;&amp;gt; X. Wu, W. Li, W. Rui. Effect of temperature on elastic constants, generalized stacking fault energy and dislocation cores in MgO and CaO. &#039;&#039;Computational Condensed Matter&#039;&#039;. 2014: 38-44. Available from: DOI: 10.1016/j.cocom.2014.10.005&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Zeolite&amp;quot;&amp;gt; J. A Kaduk, J. Faber. Crystal Structure of Zeolite Y as a function of Ion Exchange. &#039;&#039;The Rigaku Journal&#039;&#039;. 1995;12: 14. Available from: http://www.rigaku.com/downloads/journal/Vol12.2.1995/kaduk.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Lithium&amp;quot;&amp;gt; M. R. Nadler, C. P Kempter. Crystallographic Data 186. Lithium. &#039;&#039;Analytical Chemistry&#039;&#039;. 1959;31:2109. Available from: &lt;br /&gt;
DOI: 10.1021/ac60156a007&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;&amp;gt; D. K. Smith, H. R. Leider. Low-Temperature Thermal Expansion of LiH, MgO and CaO. &#039;&#039;Journal of Applied Crystallography&#039;&#039;. 1968;1: 246-249. Available from: DOI: 10.1107/S0021889868005418&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;&amp;gt; J. F. W. Bowles, R. A. Howie, D. J. Vaughan, J. Zussman. Rock-forming Minerals: Non-silicates: oxides, hydroxides and sulphides 2nd ed. London: The Geological Society;2011 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion graph&amp;quot;&amp;gt; L.S. Dubrovinsky, S.K. Saxena. Thermal Expansion of Periclase (MgO) and Tungsten (W)to Melting Temperatures. &#039;&#039;Physics and Chemistry of Minerals&#039;&#039;. 1999;24(8): 547-550. Available from: DOI: 10.1007/s002690050070&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Appendix&amp;lt;/u&amp;gt; ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Grid Size !! Helmholtz Free Energy (eV)!! Accuracy (meV)&lt;br /&gt;
|-&lt;br /&gt;
| 1x1x1 || -40.9303|| 4&lt;br /&gt;
|-&lt;br /&gt;
| 2x2x2 || -40.9266|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 3x3x3 || -40.9264|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 8x8x8 || -40.9265|| 0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16x16x16 || -40.9265|| 0.001&lt;br /&gt;
|-&lt;br /&gt;
| 32x32x32 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 40x40x40 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 50x50x50 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;3&amp;quot; |Table 1: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Grid Size&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Helmholtz Free Energy (eV)&lt;br /&gt;
|-&lt;br /&gt;
| 0 || -40.9019        &lt;br /&gt;
|-&lt;br /&gt;
| 100 || -40.9024&lt;br /&gt;
|-&lt;br /&gt;
| 200 || -40.9094&lt;br /&gt;
|-&lt;br /&gt;
| 300 || -40.9281&lt;br /&gt;
|-&lt;br /&gt;
| 400 || -40.9585&lt;br /&gt;
|-&lt;br /&gt;
| 500 || -40.9994&lt;br /&gt;
|-&lt;br /&gt;
| 600 || -41.0493&lt;br /&gt;
|-&lt;br /&gt;
| 700 || -41.1071&lt;br /&gt;
|-&lt;br /&gt;
| 800 || -41.1719&lt;br /&gt;
|-&lt;br /&gt;
| 900 || -41.2440&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || -41.3198&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 2: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Temperature&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Lattice Constant&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 2.9894      &lt;br /&gt;
|-&lt;br /&gt;
| 100 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 300 || 2.9883&lt;br /&gt;
|-&lt;br /&gt;
| 400 || 2.9894&lt;br /&gt;
|-&lt;br /&gt;
| 500 || 2.9916&lt;br /&gt;
|-&lt;br /&gt;
| 600 || 2.9941&lt;br /&gt;
|-&lt;br /&gt;
| 700 || 2.9968&lt;br /&gt;
|-&lt;br /&gt;
| 800 || 2.9996&lt;br /&gt;
|-&lt;br /&gt;
| 900 || 3.0026&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 3.0056&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 3: Raw Data showing change in&lt;br /&gt;
Lattice Constant with Temperature&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dl2613</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550671</id>
		<title>Rep:Mod:Dl2613</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550671"/>
		<updated>2016-03-08T14:00:34Z</updated>

		<summary type="html">&lt;p&gt;Dl2613: /* Computing the Phonon Dispersion Curves: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== &amp;lt;u&amp;gt;Introduction&amp;lt;/u&amp;gt; ==&lt;br /&gt;
The aim of this experiment was to use a simple model of atomic interactions to calculate the energy and vibrations of a crystal of MgO. This was then used to compute the free energy, phonon dispersions and to predict how MgO expands when heated. The quasi-harmonic approximation (QHA) and molecular dynamics methods were used to do these calculations.&lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon based model of solid-state physics and can describe volume-dependant thermal effects of structures, such as the MgO crystal. This assumption assumes that for every lattice value the harmonic oscillator assumption is true. MD is a type of N-body simulation, it allows atoms and molecules to interact for a fixed period of time showing the dynamics of a system. In this experiment the MD was run on an isothermal-isobaric (NPT) ensemble in which the amount of substance, pressure and temperature are fixed. MD allows motion in three dimensions.&lt;br /&gt;
&lt;br /&gt;
The software used for this experiment was RedHat Linux. DLVisualize (DLV) was used for the visualisation of the structure and properties of the MgO crystal. General Utility Lattice Program (GULP) is a supporting interface of DLV and was used to perform analytical solutions on MgO through the use of lattice dynamics.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Internal Energy Calculation on MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Better_unit_cell.png|300px|thumb|right|Figure 1: MgO Primitive Unit Cell]]&lt;br /&gt;
In this first exercise the internal energy and structure of MgO was calculated using GULP from the primitive unit cell of the crystal (Fig 1). An ionic potential model was used, without shells included and at a single point. The primitive unit cell is the simplest cell to describe the crystal structure of MgO and contains 2 atoms. The lattice vectors of this cell are:&lt;br /&gt;
&lt;br /&gt;
0.000   2.106   2.106&lt;br /&gt;
&lt;br /&gt;
2.106   0.000   2.106&lt;br /&gt;
&lt;br /&gt;
2.106   2.106   0.000&lt;br /&gt;
&lt;br /&gt;
From the [[Media:MgO_0_DHL.out| log file]] it can be seen that the lattice parameters are defined by the length 2.978Å and the angle 60º, giving the primitive unit cell the shape of a rhombohedron. Each primitive cell was calculated to have an energy of -40.08 eV and this corresponds to the binding energy of the crystal. The primitive cell can be used to build up a lattice by repeating its structure.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Calculation of phonon modes of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Computing the Phonon Dispersion Curves: ===&lt;br /&gt;
[[File:MgO_Phonon_Dispersion_DHL.png|300px|thumb|left|Figure 2: MgO Phonon Dispersion]]&lt;br /&gt;
The phonon frequencies were then computed along the symmetry points &amp;lt;math&amp;gt;W, L, G, W, X, K&amp;lt;/math&amp;gt; in k space. The calculation was set up for 50 Npoints with phonon eigenvectors included in the calculation. For a 3D crystal of diatomic molecules with two atom types, six vibration modes are observed in the phonon dispersion curves (Fig 2). A positive dispersion relation results in optical modes and a negative dispersion relation results in acoustic modes. Two adjacent different atoms move with each other in the optical mode, but move against together in the acoustic mode. The acoustic modes equal 0   cm-1  at the point Γ whereas the optical modes do not. It can seen that there are three acoustic modes and three optical modes. The three acoustic modes can be split into one longitudinal acoustic mode and two transverse acoustic modes. The two transverse modes become degenerate between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;. The phonon dispersion curve agrees with that found in literature&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== The Phonon Density of States: ===&lt;br /&gt;
A simpler energy level diagram than the phonon dispersion relation is the density of states (DOS). The DOS is an average over the time and space demains of the MgO system and was calculated for the phonons as a function of the wave vector k. The dimensional limits of the MgO crystal affects the DOS and therefore it is expected that the DOS will change with the grid size of the MgO crystal.&lt;br /&gt;
&lt;br /&gt;
To begin with the DOS calculation was ran on a 1x1x1 grid, corresponding to a single k point. Comparison between Figure 2 and 3 shows that the single k point is the symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The frequencies of the phonon dispersions are identical in the two graphs. Four peaks instead of six are observed due to the fact that 2 pairs of modes become degenerate between &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. These degenerate modes correspond to the peaks between 250 and 400 cm &amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, explaining why those peaks are double the intensity of the high frequency peaks. It can been seen that a grid size of 1x1x1 is not a good representative of the DOS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_Phonon_DOS_DHL.png|300px|none|thumb|left|Figure 3: MgO Phonon DOS 1x1x1]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_3x3x3_DHL.png|300px|none|thumb|middle|Figure 4: MgO Phonon DOS 3x3x3]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_8x8x8_DHL.png|300px|none|thumb|middle|Figure 5: MgO Phonon DOS 8x8x8]]&lt;br /&gt;
|}&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_phonon_DOS_16x16x16_DHL.png|300px|none|thumb|left|Figure 6: MgO Phonon DOS 16x16x16]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_32x32x32_DHL.png|300px|none|thumb|left|Figure 7: MgO Phonon DOS 32x32x32]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_40x40x40_DHL.png|300px|none|thumb|middle|Figure 8: MgO Phonon DOS 40x40x40]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Several grid sizes were investigated up to 50x50x50 to find a compromise between an accurate DOS and the time taken to run the calculation. As the grid size is an increased a more true depiction of the DOS is obtained for the MgO structure. Increasing the grid size increases the number of peaks and then changes the graph from random sharp intensities to a smoother curve. However, the highest intensity point remains at 400 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; throughout all grid sizes and the higher frequencies having lower intensities. The bigger the grid size, the more k points that are sampled and the more representative the DOS. It can be seen in the figures below that the DOS curve is unchanged between 32x32x32 and 40x40x40, however, the running time increases greatly for the 40x40x40 grid size. Therefore, it was decided that the 32x32x32 grid size was the optimum and used in further calculations.&lt;br /&gt;
&lt;br /&gt;
The size of the grid set in the calculations is inversely related to the size of the structure in real space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This equation shows that the bigger a* (size of grid in k space) the smaller a (size of cell in real space). Therefore the bigger the cell in real space, the smaller the grid size needed for the calculation of DOS. This means that a similar oxide such as CaO will require a similar grid size as MgO for the calculation of DOS. Faujasite, a zeolite, has a lattice parameter in the range 24.2 - 25.1 Å &amp;lt;ref name=&amp;quot;Zeolite&amp;quot;/&amp;gt; and would therefore need a small grid size for the DOS calculation. Lithium, a small metal, has a lattice parameter of 3.51 Å &amp;lt;ref name=&amp;quot;Lithium&amp;quot;/&amp;gt; and would therefore need a large grid size for the DOS calculation to represent its small cell size in real space.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Computing the Free Energy&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Task_3_graph.png|300px|thumb|right|Graph 1: A Graph to show how the Free Energy changes with Grid Size]]&lt;br /&gt;
The Helmholtz Free Energy of MgO was then computed using the quasi-harmonic approximation on the same grid sizes as in the previous section at a temperature of 300K. Helmholtz Free Energy is given by the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A=Helmholtz Free Energy, U=Internal Energy, S=Entropy and T=Temperature&lt;br /&gt;
This states that the Helmholtz Free Energy should increase with increasing internal energy and decreasing temperature and entropy. This said, the Helmholtz Free Energy should decrease with increasing grid size. This can be explained with the aid of the following statistical mechanics equation of entropy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt; where S=Entropy, k=Boltzmann Constant and W=number of microstates&lt;br /&gt;
As the grid size increases the number of microstates sampled also increases. This in turn increases the entropy and decreases the TS term in the Helmholtz Free Energy equation. The decrease in Helmholtz Free Energy can be further explained using the following equation of internal energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt; where U=internal Energy, H=Enthalpy, P=Pressure and V=Volume&lt;br /&gt;
As the grid size increases so does its volume, therefore decreasing the internal energy. This further decreases the Helmholtz Free Energy. It can be seen in Graph 1 that initially the Helmholtz Free Energy increases with grid from 1x1x1 to 3x3x3 and then begins to follow the expected trend and decrease with increasing grid size. Table 1 shows that the accuracy of the Helmholtz Free Energy increases with grid size.&lt;br /&gt;
The Helmholtz Free Energy converges to a value of -40.9265 eV, with the 32x32x32 grid size being the most appropriate to run calculations from, providing the correct Helmholtz Free Energy and a suitable length of time to run the calculation.&lt;br /&gt;
&lt;br /&gt;
For CaO, a similar sized crystal to MgO (lattice constant CaO = 4.811 Å, lattice constant MgO = 4.212 Å)&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;/&amp;gt;, a similar size grid will be required for the calculation of the Helmholtz Free Energy. Faujasite would require a smaller grid size due to its large lattice constant and lithium a larger grid size than MgO due to its small lattice constant.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;The Thermal Expansion of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Thermal expansion is the ability of matter to change size, volume and shape in a response to the change in temperature. When a substance is heated the molecules vibrate and begin to move more, and their average separation increases. This thermal expansion is indicated by the Coefficient of Linear Thermal Expansion (CTE). Uniform linear objects have a thermally expand proportional to temperate over a small range of temperatures. The equation used to calculate the linear CTE is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;=linear CTE, &amp;lt;math&amp;gt;{L_0}&amp;lt;/math&amp;gt;=lattice constant at 0K and &amp;lt;math&amp;gt;dL/dT&amp;lt;/math&amp;gt;=rate of change of lattice constant with respect to temperature&lt;br /&gt;
&lt;br /&gt;
A volumetric CTE can also be calculated using the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt;=volumetric CTE, &amp;lt;math&amp;gt;{V}&amp;lt;/math&amp;gt;= volume and &amp;lt;math&amp;gt;\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;= partial derivative of volum with respect to temperature at constant pressure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Quasi-harmonic Approximation: ===&lt;br /&gt;
[[File:Task_4_graph_1.png|300px|thumb|left|Graph 2: A graph to show how the free energy of MgO changes with temperature]]&lt;br /&gt;
[[File:Task_4_graph_2.png|300px|thumb|right|Graph 3: A graph to show how the lattice constant of MgO changes with temperature]]&lt;br /&gt;
Using the 32x32x32 grid size of MgO the free energy was then optimised. The optimisation opts was set to optimise Gibbs Free Energy and the temperature was varied from 0 - 1000k. The free energy decreases with increasing temperature in a parabolic fashion to the order of 2. This negative correlation can be explained using the equation for Gibbs Free Energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G=H-TS&amp;lt;/math&amp;gt; where G=Gibbs Free Energy, H=Enthalpy, T=Temperature and S=Entropy&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Increasing the temperature decreases the TS term therefore decreasing the Gibbs Free Energy.&lt;br /&gt;
&lt;br /&gt;
The lattice constant increases in a parabolic fashion to the order of 2 with increasing temperature due to the thermal expansion.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Calculation of CTE: ====&lt;br /&gt;
Coefficient of Linear Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{2.9894}\,\frac{3.0056-2.9894}{1000}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=5.419\times10^{-6}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Coefficient of Volumetric Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{26.71481005}\,\left(\frac{27.15148242-26.71481005}{1000}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V=1.634\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It can be seen that the α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt; is 3.015 times that of the α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;. This is because MgO expands at the same rate in all three directions in three-dimensions, it is an isotropic compound. The CFE values are close to those found in literature at &amp;lt;math&amp;gt;\alpha_L=7.88\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=2.36\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; which were calculated using a temperature range close to that used in this experiment at 301.15-1273.15 K&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;/&amp;gt; (results from experiment give &amp;lt;math&amp;gt;\alpha_L=5.789\times10^{-6}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=1.747\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; if calculated from 300-1000k).&lt;br /&gt;
&lt;br /&gt;
The main approximation in the calculations of the thermal expansion is to do with the anharmonic contributions to the harmonic approximation. In order to simplify the phonon frequencies are set to be volume dependent and so at a higher temperature the anharmonic factor increases. The Born-Oppenheimer Approximation which assumes that the motion of atomic nuclei and electron in a molecule can be separated is another assumption.&lt;br /&gt;
&lt;br /&gt;
This approximation cannot be used when the temperature approaches that of the melting point of MgO due to the new lattice parameters. Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; begin to behave as separate ions as MgO begins to melt and becomes molten. Therefore the quasi-harmonic approximation cannot be used as it only takes into account linear movement.&lt;br /&gt;
&lt;br /&gt;
For a diatomic molecule with an exactly harmonic potential the bond is not allowed to break and the bond length is fixed around that of its equilibrium length. Therefore the lattice constant will only increase up to a distance just prior to bond cleavage. However, in these calculations the quasi-harmonic approximation allows the bonds to break within MgO and so the lattice constant can, in theory, increase to infinity.&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamics: ===&lt;br /&gt;
[[File:32_structure_dhl.png|300px|thumb|left|Figure 10: 32 unit MgO structure used for MD calculations]]&lt;br /&gt;
[[File:32_random_dhl.png|300px|thumb|right|Figure 11: 32 unit MgO structure post MD calculations]]&lt;br /&gt;
For the final section of this experiment the thermal expansion of MgO was once again calculated, but this time using the molecular dynamics method. This method allows the system to evolve according to Newton&#039;s Second Law &amp;lt;math&amp;gt; F= ma&amp;lt;/math&amp;gt;. The ensemble used was NPT, meaning the number of particles, the pressure and the temperature were all set to be constant. The timestep at which the vibrations to be sampled was set to be 1 femtosecond (fs) and the number of equilibration steps and production steps were set to 500, with the temperature being avried from 100-1000K. When the number of sampled configurations are sufficiently large, the average calculated is representative for the time averaged system obeying the ergodic hypothesis. A structure containing 32 units and therefore 64 atoms was used in this calculation (Fig 12), and in order to compare the volumes between the quasi-harmonic approximation and the molecular dynamics method, the volumes produced were divided by 32.&lt;br /&gt;
[[File:MD_and_QH_comparison.png|300px|thumb|right|Graph 4: Comparison of Cell Volume change between QHA and MD]]&lt;br /&gt;
It can be seen that both methods show the same trend, that of the volume increasing with increasing temperature, however throughout the whole temperature range the QHA cell volume values are slightly higher than the MD values.. The QHA becomes the exact same linear trend as the MD results at 400-1000K. At these temperatures the Coefficient of Volumetric Thermal Expansion are very similar:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_VQHA=1.730\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_VMD=1.824\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the range of 0-400K there is little anharmonicity and so the QHA predicts the thermal expansion more accurately and produces the curved graph. The MD method does not predict this trend at lower temperatures and can only predict a linear trend for the thermal expansion of MgO. The QHA graph is more similar to that found in literature than the MD graph&amp;lt;ref name=&amp;quot;Thermal Expansion graph&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The 32 unit structure used for the MD calculations is a 2x2x2 lattice of the conventional unit cell. This is a lot smaller than the size used to compute the thermal expansion of MgO using the QHA, and therefore, to have accurate results from the MD method, a larger size should be used.&lt;br /&gt;
&lt;br /&gt;
The MD method allows movement in three dimensions whereas the QHA only allows movement in one dimension. Therefore, at higher temperatures it is expected that the MD method will give much higher volume values than the QHA.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Conclusion&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
The free energy and phonon dispersions were successfully computed for MgO, and the thermal expansion studied using the QHA and the MD method. All results tended to agree with literature values well and it was found that the QHA gave a more realistic trend for the change in cell volume with respect to temperature at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;References&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;&amp;gt; X. Wu, W. Li, W. Rui. Effect of temperature on elastic constants, generalized stacking fault energy and dislocation cores in MgO and CaO. &#039;&#039;Computational Condensed Matter&#039;&#039;. 2014: 38-44. Available from: DOI: 10.1016/j.cocom.2014.10.005&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Zeolite&amp;quot;&amp;gt; J. A Kaduk, J. Faber. Crystal Structure of Zeolite Y as a function of Ion Exchange. &#039;&#039;The Rigaku Journal&#039;&#039;. 1995;12: 14. Available from: http://www.rigaku.com/downloads/journal/Vol12.2.1995/kaduk.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Lithium&amp;quot;&amp;gt; M. R. Nadler, C. P Kempter. Crystallographic Data 186. Lithium. &#039;&#039;Analytical Chemistry&#039;&#039;. 1959;31:2109. Available from: &lt;br /&gt;
DOI: 10.1021/ac60156a007&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;&amp;gt; D. K. Smith, H. R. Leider. Low-Temperature Thermal Expansion of LiH, MgO and CaO. &#039;&#039;Journal of Applied Crystallography&#039;&#039;. 1968;1: 246-249. Available from: DOI: 10.1107/S0021889868005418&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;&amp;gt; J. F. W. Bowles, R. A. Howie, D. J. Vaughan, J. Zussman. Rock-forming Minerals: Non-silicates: oxides, hydroxides and sulphides 2nd ed. London: The Geological Society;2011 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion graph&amp;quot;&amp;gt; L.S. Dubrovinsky, S.K. Saxena. Thermal Expansion of Periclase (MgO) and Tungsten (W)to Melting Temperatures. &#039;&#039;Physics and Chemistry of Minerals&#039;&#039;. 1999;24(8): 547-550. Available from: DOI: 10.1007/s002690050070&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Appendix&amp;lt;/u&amp;gt; ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Grid Size !! Helmholtz Free Energy (eV)!! Accuracy (meV)&lt;br /&gt;
|-&lt;br /&gt;
| 1x1x1 || -40.9303|| 4&lt;br /&gt;
|-&lt;br /&gt;
| 2x2x2 || -40.9266|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 3x3x3 || -40.9264|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 8x8x8 || -40.9265|| 0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16x16x16 || -40.9265|| 0.001&lt;br /&gt;
|-&lt;br /&gt;
| 32x32x32 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 40x40x40 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 50x50x50 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;3&amp;quot; |Table 1: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Grid Size&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Helmholtz Free Energy (eV)&lt;br /&gt;
|-&lt;br /&gt;
| 0 || -40.9019        &lt;br /&gt;
|-&lt;br /&gt;
| 100 || -40.9024&lt;br /&gt;
|-&lt;br /&gt;
| 200 || -40.9094&lt;br /&gt;
|-&lt;br /&gt;
| 300 || -40.9281&lt;br /&gt;
|-&lt;br /&gt;
| 400 || -40.9585&lt;br /&gt;
|-&lt;br /&gt;
| 500 || -40.9994&lt;br /&gt;
|-&lt;br /&gt;
| 600 || -41.0493&lt;br /&gt;
|-&lt;br /&gt;
| 700 || -41.1071&lt;br /&gt;
|-&lt;br /&gt;
| 800 || -41.1719&lt;br /&gt;
|-&lt;br /&gt;
| 900 || -41.2440&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || -41.3198&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 2: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Temperature&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Lattice Constant&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 2.9894      &lt;br /&gt;
|-&lt;br /&gt;
| 100 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 300 || 2.9883&lt;br /&gt;
|-&lt;br /&gt;
| 400 || 2.9894&lt;br /&gt;
|-&lt;br /&gt;
| 500 || 2.9916&lt;br /&gt;
|-&lt;br /&gt;
| 600 || 2.9941&lt;br /&gt;
|-&lt;br /&gt;
| 700 || 2.9968&lt;br /&gt;
|-&lt;br /&gt;
| 800 || 2.9996&lt;br /&gt;
|-&lt;br /&gt;
| 900 || 3.0026&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 3.0056&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 3: Raw Data showing change in&lt;br /&gt;
Lattice Constant with Temperature&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dl2613</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550667</id>
		<title>Rep:Mod:Dl2613</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550667"/>
		<updated>2016-03-08T13:59:13Z</updated>

		<summary type="html">&lt;p&gt;Dl2613: /* Internal Energy Calculation on MgO */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== &amp;lt;u&amp;gt;Introduction&amp;lt;/u&amp;gt; ==&lt;br /&gt;
The aim of this experiment was to use a simple model of atomic interactions to calculate the energy and vibrations of a crystal of MgO. This was then used to compute the free energy, phonon dispersions and to predict how MgO expands when heated. The quasi-harmonic approximation (QHA) and molecular dynamics methods were used to do these calculations.&lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon based model of solid-state physics and can describe volume-dependant thermal effects of structures, such as the MgO crystal. This assumption assumes that for every lattice value the harmonic oscillator assumption is true. MD is a type of N-body simulation, it allows atoms and molecules to interact for a fixed period of time showing the dynamics of a system. In this experiment the MD was run on an isothermal-isobaric (NPT) ensemble in which the amount of substance, pressure and temperature are fixed. MD allows motion in three dimensions.&lt;br /&gt;
&lt;br /&gt;
The software used for this experiment was RedHat Linux. DLVisualize (DLV) was used for the visualisation of the structure and properties of the MgO crystal. General Utility Lattice Program (GULP) is a supporting interface of DLV and was used to perform analytical solutions on MgO through the use of lattice dynamics.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Internal Energy Calculation on MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Better_unit_cell.png|300px|thumb|right|Figure 1: MgO Primitive Unit Cell]]&lt;br /&gt;
In this first exercise the internal energy and structure of MgO was calculated using GULP from the primitive unit cell of the crystal (Fig 1). An ionic potential model was used, without shells included and at a single point. The primitive unit cell is the simplest cell to describe the crystal structure of MgO and contains 2 atoms. The lattice vectors of this cell are:&lt;br /&gt;
&lt;br /&gt;
0.000   2.106   2.106&lt;br /&gt;
&lt;br /&gt;
2.106   0.000   2.106&lt;br /&gt;
&lt;br /&gt;
2.106   2.106   0.000&lt;br /&gt;
&lt;br /&gt;
From the [[Media:MgO_0_DHL.out| log file]] it can be seen that the lattice parameters are defined by the length 2.978Å and the angle 60º, giving the primitive unit cell the shape of a rhombohedron. Each primitive cell was calculated to have an energy of -40.08 eV and this corresponds to the binding energy of the crystal. The primitive cell can be used to build up a lattice by repeating its structure.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Calculation of phonon modes of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Computing the Phonon Dispersion Curves: ===&lt;br /&gt;
[[File:MgO_Phonon_Dispersion_DHL.png|300px|thumb|left|Figure 2: MgO Phonon Dispersion]]&lt;br /&gt;
The phonon frequencies were then computed along the symmetry points &amp;lt;math&amp;gt;W, L, G, W, X, K&amp;lt;/math&amp;gt; in k space. The calculation was set up for 50 Npoints with phonon eigenvectors included in the calculation. For a 3D crystal of diatomic molecules with two atom types, six vibration modes are observed in the phonon dispersion curves (Fig 2). A positive dispersion relation results in optical modes and a negative dispersion relation results in acoustic modes. Two adjacent different atoms move against each other in the optical mode, but move against together in the acoustic mode. The acoustic modes equal 0   cm-1  at the point Γ whereas the optical modes do not. It can seen that there are three acoustic modes and three optical modes. The three acoustic modes can be split into one longitudinal acoustic mode and two transverse acoustic modes. The two transverse modes become degenerate between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;. The phonon dispersion curve agrees with that found in literature&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== The Phonon Density of States: ===&lt;br /&gt;
A simpler energy level diagram than the phonon dispersion relation is the density of states (DOS). The DOS is an average over the time and space demains of the MgO system and was calculated for the phonons as a function of the wave vector k. The dimensional limits of the MgO crystal affects the DOS and therefore it is expected that the DOS will change with the grid size of the MgO crystal.&lt;br /&gt;
&lt;br /&gt;
To begin with the DOS calculation was ran on a 1x1x1 grid, corresponding to a single k point. Comparison between Figure 2 and 3 shows that the single k point is the symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The frequencies of the phonon dispersions are identical in the two graphs. Four peaks instead of six are observed due to the fact that 2 pairs of modes become degenerate between &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. These degenerate modes correspond to the peaks between 250 and 400 cm &amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, explaining why those peaks are double the intensity of the high frequency peaks. It can been seen that a grid size of 1x1x1 is not a good representative of the DOS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_Phonon_DOS_DHL.png|300px|none|thumb|left|Figure 3: MgO Phonon DOS 1x1x1]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_3x3x3_DHL.png|300px|none|thumb|middle|Figure 4: MgO Phonon DOS 3x3x3]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_8x8x8_DHL.png|300px|none|thumb|middle|Figure 5: MgO Phonon DOS 8x8x8]]&lt;br /&gt;
|}&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_phonon_DOS_16x16x16_DHL.png|300px|none|thumb|left|Figure 6: MgO Phonon DOS 16x16x16]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_32x32x32_DHL.png|300px|none|thumb|left|Figure 7: MgO Phonon DOS 32x32x32]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_40x40x40_DHL.png|300px|none|thumb|middle|Figure 8: MgO Phonon DOS 40x40x40]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Several grid sizes were investigated up to 50x50x50 to find a compromise between an accurate DOS and the time taken to run the calculation. As the grid size is an increased a more true depiction of the DOS is obtained for the MgO structure. Increasing the grid size increases the number of peaks and then changes the graph from random sharp intensities to a smoother curve. However, the highest intensity point remains at 400 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; throughout all grid sizes and the higher frequencies having lower intensities. The bigger the grid size, the more k points that are sampled and the more representative the DOS. It can be seen in the figures below that the DOS curve is unchanged between 32x32x32 and 40x40x40, however, the running time increases greatly for the 40x40x40 grid size. Therefore, it was decided that the 32x32x32 grid size was the optimum and used in further calculations.&lt;br /&gt;
&lt;br /&gt;
The size of the grid set in the calculations is inversely related to the size of the structure in real space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This equation shows that the bigger a* (size of grid in k space) the smaller a (size of cell in real space). Therefore the bigger the cell in real space, the smaller the grid size needed for the calculation of DOS. This means that a similar oxide such as CaO will require a similar grid size as MgO for the calculation of DOS. Faujasite, a zeolite, has a lattice parameter in the range 24.2 - 25.1 Å &amp;lt;ref name=&amp;quot;Zeolite&amp;quot;/&amp;gt; and would therefore need a small grid size for the DOS calculation. Lithium, a small metal, has a lattice parameter of 3.51 Å &amp;lt;ref name=&amp;quot;Lithium&amp;quot;/&amp;gt; and would therefore need a large grid size for the DOS calculation to represent its small cell size in real space.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Computing the Free Energy&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Task_3_graph.png|300px|thumb|right|Graph 1: A Graph to show how the Free Energy changes with Grid Size]]&lt;br /&gt;
The Helmholtz Free Energy of MgO was then computed using the quasi-harmonic approximation on the same grid sizes as in the previous section at a temperature of 300K. Helmholtz Free Energy is given by the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A=Helmholtz Free Energy, U=Internal Energy, S=Entropy and T=Temperature&lt;br /&gt;
This states that the Helmholtz Free Energy should increase with increasing internal energy and decreasing temperature and entropy. This said, the Helmholtz Free Energy should decrease with increasing grid size. This can be explained with the aid of the following statistical mechanics equation of entropy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt; where S=Entropy, k=Boltzmann Constant and W=number of microstates&lt;br /&gt;
As the grid size increases the number of microstates sampled also increases. This in turn increases the entropy and decreases the TS term in the Helmholtz Free Energy equation. The decrease in Helmholtz Free Energy can be further explained using the following equation of internal energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt; where U=internal Energy, H=Enthalpy, P=Pressure and V=Volume&lt;br /&gt;
As the grid size increases so does its volume, therefore decreasing the internal energy. This further decreases the Helmholtz Free Energy. It can be seen in Graph 1 that initially the Helmholtz Free Energy increases with grid from 1x1x1 to 3x3x3 and then begins to follow the expected trend and decrease with increasing grid size. Table 1 shows that the accuracy of the Helmholtz Free Energy increases with grid size.&lt;br /&gt;
The Helmholtz Free Energy converges to a value of -40.9265 eV, with the 32x32x32 grid size being the most appropriate to run calculations from, providing the correct Helmholtz Free Energy and a suitable length of time to run the calculation.&lt;br /&gt;
&lt;br /&gt;
For CaO, a similar sized crystal to MgO (lattice constant CaO = 4.811 Å, lattice constant MgO = 4.212 Å)&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;/&amp;gt;, a similar size grid will be required for the calculation of the Helmholtz Free Energy. Faujasite would require a smaller grid size due to its large lattice constant and lithium a larger grid size than MgO due to its small lattice constant.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;The Thermal Expansion of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Thermal expansion is the ability of matter to change size, volume and shape in a response to the change in temperature. When a substance is heated the molecules vibrate and begin to move more, and their average separation increases. This thermal expansion is indicated by the Coefficient of Linear Thermal Expansion (CTE). Uniform linear objects have a thermally expand proportional to temperate over a small range of temperatures. The equation used to calculate the linear CTE is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;=linear CTE, &amp;lt;math&amp;gt;{L_0}&amp;lt;/math&amp;gt;=lattice constant at 0K and &amp;lt;math&amp;gt;dL/dT&amp;lt;/math&amp;gt;=rate of change of lattice constant with respect to temperature&lt;br /&gt;
&lt;br /&gt;
A volumetric CTE can also be calculated using the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt;=volumetric CTE, &amp;lt;math&amp;gt;{V}&amp;lt;/math&amp;gt;= volume and &amp;lt;math&amp;gt;\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;= partial derivative of volum with respect to temperature at constant pressure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Quasi-harmonic Approximation: ===&lt;br /&gt;
[[File:Task_4_graph_1.png|300px|thumb|left|Graph 2: A graph to show how the free energy of MgO changes with temperature]]&lt;br /&gt;
[[File:Task_4_graph_2.png|300px|thumb|right|Graph 3: A graph to show how the lattice constant of MgO changes with temperature]]&lt;br /&gt;
Using the 32x32x32 grid size of MgO the free energy was then optimised. The optimisation opts was set to optimise Gibbs Free Energy and the temperature was varied from 0 - 1000k. The free energy decreases with increasing temperature in a parabolic fashion to the order of 2. This negative correlation can be explained using the equation for Gibbs Free Energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G=H-TS&amp;lt;/math&amp;gt; where G=Gibbs Free Energy, H=Enthalpy, T=Temperature and S=Entropy&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Increasing the temperature decreases the TS term therefore decreasing the Gibbs Free Energy.&lt;br /&gt;
&lt;br /&gt;
The lattice constant increases in a parabolic fashion to the order of 2 with increasing temperature due to the thermal expansion.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Calculation of CTE: ====&lt;br /&gt;
Coefficient of Linear Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{2.9894}\,\frac{3.0056-2.9894}{1000}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=5.419\times10^{-6}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Coefficient of Volumetric Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{26.71481005}\,\left(\frac{27.15148242-26.71481005}{1000}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V=1.634\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It can be seen that the α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt; is 3.015 times that of the α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;. This is because MgO expands at the same rate in all three directions in three-dimensions, it is an isotropic compound. The CFE values are close to those found in literature at &amp;lt;math&amp;gt;\alpha_L=7.88\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=2.36\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; which were calculated using a temperature range close to that used in this experiment at 301.15-1273.15 K&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;/&amp;gt; (results from experiment give &amp;lt;math&amp;gt;\alpha_L=5.789\times10^{-6}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=1.747\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; if calculated from 300-1000k).&lt;br /&gt;
&lt;br /&gt;
The main approximation in the calculations of the thermal expansion is to do with the anharmonic contributions to the harmonic approximation. In order to simplify the phonon frequencies are set to be volume dependent and so at a higher temperature the anharmonic factor increases. The Born-Oppenheimer Approximation which assumes that the motion of atomic nuclei and electron in a molecule can be separated is another assumption.&lt;br /&gt;
&lt;br /&gt;
This approximation cannot be used when the temperature approaches that of the melting point of MgO due to the new lattice parameters. Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; begin to behave as separate ions as MgO begins to melt and becomes molten. Therefore the quasi-harmonic approximation cannot be used as it only takes into account linear movement.&lt;br /&gt;
&lt;br /&gt;
For a diatomic molecule with an exactly harmonic potential the bond is not allowed to break and the bond length is fixed around that of its equilibrium length. Therefore the lattice constant will only increase up to a distance just prior to bond cleavage. However, in these calculations the quasi-harmonic approximation allows the bonds to break within MgO and so the lattice constant can, in theory, increase to infinity.&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamics: ===&lt;br /&gt;
[[File:32_structure_dhl.png|300px|thumb|left|Figure 10: 32 unit MgO structure used for MD calculations]]&lt;br /&gt;
[[File:32_random_dhl.png|300px|thumb|right|Figure 11: 32 unit MgO structure post MD calculations]]&lt;br /&gt;
For the final section of this experiment the thermal expansion of MgO was once again calculated, but this time using the molecular dynamics method. This method allows the system to evolve according to Newton&#039;s Second Law &amp;lt;math&amp;gt; F= ma&amp;lt;/math&amp;gt;. The ensemble used was NPT, meaning the number of particles, the pressure and the temperature were all set to be constant. The timestep at which the vibrations to be sampled was set to be 1 femtosecond (fs) and the number of equilibration steps and production steps were set to 500, with the temperature being avried from 100-1000K. When the number of sampled configurations are sufficiently large, the average calculated is representative for the time averaged system obeying the ergodic hypothesis. A structure containing 32 units and therefore 64 atoms was used in this calculation (Fig 12), and in order to compare the volumes between the quasi-harmonic approximation and the molecular dynamics method, the volumes produced were divided by 32.&lt;br /&gt;
[[File:MD_and_QH_comparison.png|300px|thumb|right|Graph 4: Comparison of Cell Volume change between QHA and MD]]&lt;br /&gt;
It can be seen that both methods show the same trend, that of the volume increasing with increasing temperature, however throughout the whole temperature range the QHA cell volume values are slightly higher than the MD values.. The QHA becomes the exact same linear trend as the MD results at 400-1000K. At these temperatures the Coefficient of Volumetric Thermal Expansion are very similar:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_VQHA=1.730\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_VMD=1.824\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the range of 0-400K there is little anharmonicity and so the QHA predicts the thermal expansion more accurately and produces the curved graph. The MD method does not predict this trend at lower temperatures and can only predict a linear trend for the thermal expansion of MgO. The QHA graph is more similar to that found in literature than the MD graph&amp;lt;ref name=&amp;quot;Thermal Expansion graph&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The 32 unit structure used for the MD calculations is a 2x2x2 lattice of the conventional unit cell. This is a lot smaller than the size used to compute the thermal expansion of MgO using the QHA, and therefore, to have accurate results from the MD method, a larger size should be used.&lt;br /&gt;
&lt;br /&gt;
The MD method allows movement in three dimensions whereas the QHA only allows movement in one dimension. Therefore, at higher temperatures it is expected that the MD method will give much higher volume values than the QHA.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Conclusion&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
The free energy and phonon dispersions were successfully computed for MgO, and the thermal expansion studied using the QHA and the MD method. All results tended to agree with literature values well and it was found that the QHA gave a more realistic trend for the change in cell volume with respect to temperature at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;References&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;&amp;gt; X. Wu, W. Li, W. Rui. Effect of temperature on elastic constants, generalized stacking fault energy and dislocation cores in MgO and CaO. &#039;&#039;Computational Condensed Matter&#039;&#039;. 2014: 38-44. Available from: DOI: 10.1016/j.cocom.2014.10.005&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Zeolite&amp;quot;&amp;gt; J. A Kaduk, J. Faber. Crystal Structure of Zeolite Y as a function of Ion Exchange. &#039;&#039;The Rigaku Journal&#039;&#039;. 1995;12: 14. Available from: http://www.rigaku.com/downloads/journal/Vol12.2.1995/kaduk.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Lithium&amp;quot;&amp;gt; M. R. Nadler, C. P Kempter. Crystallographic Data 186. Lithium. &#039;&#039;Analytical Chemistry&#039;&#039;. 1959;31:2109. Available from: &lt;br /&gt;
DOI: 10.1021/ac60156a007&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;&amp;gt; D. K. Smith, H. R. Leider. Low-Temperature Thermal Expansion of LiH, MgO and CaO. &#039;&#039;Journal of Applied Crystallography&#039;&#039;. 1968;1: 246-249. Available from: DOI: 10.1107/S0021889868005418&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;&amp;gt; J. F. W. Bowles, R. A. Howie, D. J. Vaughan, J. Zussman. Rock-forming Minerals: Non-silicates: oxides, hydroxides and sulphides 2nd ed. London: The Geological Society;2011 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion graph&amp;quot;&amp;gt; L.S. Dubrovinsky, S.K. Saxena. Thermal Expansion of Periclase (MgO) and Tungsten (W)to Melting Temperatures. &#039;&#039;Physics and Chemistry of Minerals&#039;&#039;. 1999;24(8): 547-550. Available from: DOI: 10.1007/s002690050070&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Appendix&amp;lt;/u&amp;gt; ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Grid Size !! Helmholtz Free Energy (eV)!! Accuracy (meV)&lt;br /&gt;
|-&lt;br /&gt;
| 1x1x1 || -40.9303|| 4&lt;br /&gt;
|-&lt;br /&gt;
| 2x2x2 || -40.9266|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 3x3x3 || -40.9264|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 8x8x8 || -40.9265|| 0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16x16x16 || -40.9265|| 0.001&lt;br /&gt;
|-&lt;br /&gt;
| 32x32x32 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 40x40x40 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 50x50x50 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;3&amp;quot; |Table 1: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Grid Size&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Helmholtz Free Energy (eV)&lt;br /&gt;
|-&lt;br /&gt;
| 0 || -40.9019        &lt;br /&gt;
|-&lt;br /&gt;
| 100 || -40.9024&lt;br /&gt;
|-&lt;br /&gt;
| 200 || -40.9094&lt;br /&gt;
|-&lt;br /&gt;
| 300 || -40.9281&lt;br /&gt;
|-&lt;br /&gt;
| 400 || -40.9585&lt;br /&gt;
|-&lt;br /&gt;
| 500 || -40.9994&lt;br /&gt;
|-&lt;br /&gt;
| 600 || -41.0493&lt;br /&gt;
|-&lt;br /&gt;
| 700 || -41.1071&lt;br /&gt;
|-&lt;br /&gt;
| 800 || -41.1719&lt;br /&gt;
|-&lt;br /&gt;
| 900 || -41.2440&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || -41.3198&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 2: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Temperature&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Lattice Constant&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 2.9894      &lt;br /&gt;
|-&lt;br /&gt;
| 100 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 300 || 2.9883&lt;br /&gt;
|-&lt;br /&gt;
| 400 || 2.9894&lt;br /&gt;
|-&lt;br /&gt;
| 500 || 2.9916&lt;br /&gt;
|-&lt;br /&gt;
| 600 || 2.9941&lt;br /&gt;
|-&lt;br /&gt;
| 700 || 2.9968&lt;br /&gt;
|-&lt;br /&gt;
| 800 || 2.9996&lt;br /&gt;
|-&lt;br /&gt;
| 900 || 3.0026&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 3.0056&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 3: Raw Data showing change in&lt;br /&gt;
Lattice Constant with Temperature&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dl2613</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550664</id>
		<title>Rep:Mod:Dl2613</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550664"/>
		<updated>2016-03-08T13:57:29Z</updated>

		<summary type="html">&lt;p&gt;Dl2613: /* Internal Energy Calculation on MgO */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== &amp;lt;u&amp;gt;Introduction&amp;lt;/u&amp;gt; ==&lt;br /&gt;
The aim of this experiment was to use a simple model of atomic interactions to calculate the energy and vibrations of a crystal of MgO. This was then used to compute the free energy, phonon dispersions and to predict how MgO expands when heated. The quasi-harmonic approximation (QHA) and molecular dynamics methods were used to do these calculations.&lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon based model of solid-state physics and can describe volume-dependant thermal effects of structures, such as the MgO crystal. This assumption assumes that for every lattice value the harmonic oscillator assumption is true. MD is a type of N-body simulation, it allows atoms and molecules to interact for a fixed period of time showing the dynamics of a system. In this experiment the MD was run on an isothermal-isobaric (NPT) ensemble in which the amount of substance, pressure and temperature are fixed. MD allows motion in three dimensions.&lt;br /&gt;
&lt;br /&gt;
The software used for this experiment was RedHat Linux. DLVisualize (DLV) was used for the visualisation of the structure and properties of the MgO crystal. General Utility Lattice Program (GULP) is a supporting interface of DLV and was used to perform analytical solutions on MgO through the use of lattice dynamics.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Internal Energy Calculation on MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Better_unit_cell.png|300px|thumb|right|Figure 1: MgO Primitive Unit Cell]]&lt;br /&gt;
In this first exercise the internal energy and structure of MgO was calculated using GULP from the primitive unit cell of the crystal (Fig 1). An ionic potential model was used, without shells included and at a single point. The primitive unit cell is the simplest cell to describe the crystal structure of MgO and contains 2 atoms. The lattice vectors of this cell are:&lt;br /&gt;
&lt;br /&gt;
0.0000   2.10597   2.10597&lt;br /&gt;
&lt;br /&gt;
2.10597   0.0000   2.10597&lt;br /&gt;
&lt;br /&gt;
2.10597   2.10597   0.0000&lt;br /&gt;
&lt;br /&gt;
From the [[Media:MgO_0_DHL.out| log file]] it can be seen that the lattice parameters are defined by the length 2.9783Å and the angle 60º, giving the primitive unit cell the shape of a rhombohedron. Each primitive cell was calculated to have an energy of -40.0753 eV and this corresponds to the binding energy of the crystal. The primitive cell can be used to build up a lattice by repeating its structure.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Calculation of phonon modes of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Computing the Phonon Dispersion Curves: ===&lt;br /&gt;
[[File:MgO_Phonon_Dispersion_DHL.png|300px|thumb|left|Figure 2: MgO Phonon Dispersion]]&lt;br /&gt;
The phonon frequencies were then computed along the symmetry points &amp;lt;math&amp;gt;W, L, G, W, X, K&amp;lt;/math&amp;gt; in k space. The calculation was set up for 50 Npoints with phonon eigenvectors included in the calculation. For a 3D crystal of diatomic molecules with two atom types, six vibration modes are observed in the phonon dispersion curves (Fig 2). A positive dispersion relation results in optical modes and a negative dispersion relation results in acoustic modes. Two adjacent different atoms move against each other in the optical mode, but move against together in the acoustic mode. The acoustic modes equal 0   cm-1  at the point Γ whereas the optical modes do not. It can seen that there are three acoustic modes and three optical modes. The three acoustic modes can be split into one longitudinal acoustic mode and two transverse acoustic modes. The two transverse modes become degenerate between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;. The phonon dispersion curve agrees with that found in literature&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== The Phonon Density of States: ===&lt;br /&gt;
A simpler energy level diagram than the phonon dispersion relation is the density of states (DOS). The DOS is an average over the time and space demains of the MgO system and was calculated for the phonons as a function of the wave vector k. The dimensional limits of the MgO crystal affects the DOS and therefore it is expected that the DOS will change with the grid size of the MgO crystal.&lt;br /&gt;
&lt;br /&gt;
To begin with the DOS calculation was ran on a 1x1x1 grid, corresponding to a single k point. Comparison between Figure 2 and 3 shows that the single k point is the symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The frequencies of the phonon dispersions are identical in the two graphs. Four peaks instead of six are observed due to the fact that 2 pairs of modes become degenerate between &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. These degenerate modes correspond to the peaks between 250 and 400 cm &amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, explaining why those peaks are double the intensity of the high frequency peaks. It can been seen that a grid size of 1x1x1 is not a good representative of the DOS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_Phonon_DOS_DHL.png|300px|none|thumb|left|Figure 3: MgO Phonon DOS 1x1x1]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_3x3x3_DHL.png|300px|none|thumb|middle|Figure 4: MgO Phonon DOS 3x3x3]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_8x8x8_DHL.png|300px|none|thumb|middle|Figure 5: MgO Phonon DOS 8x8x8]]&lt;br /&gt;
|}&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_phonon_DOS_16x16x16_DHL.png|300px|none|thumb|left|Figure 6: MgO Phonon DOS 16x16x16]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_32x32x32_DHL.png|300px|none|thumb|left|Figure 7: MgO Phonon DOS 32x32x32]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_40x40x40_DHL.png|300px|none|thumb|middle|Figure 8: MgO Phonon DOS 40x40x40]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Several grid sizes were investigated up to 50x50x50 to find a compromise between an accurate DOS and the time taken to run the calculation. As the grid size is an increased a more true depiction of the DOS is obtained for the MgO structure. Increasing the grid size increases the number of peaks and then changes the graph from random sharp intensities to a smoother curve. However, the highest intensity point remains at 400 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; throughout all grid sizes and the higher frequencies having lower intensities. The bigger the grid size, the more k points that are sampled and the more representative the DOS. It can be seen in the figures below that the DOS curve is unchanged between 32x32x32 and 40x40x40, however, the running time increases greatly for the 40x40x40 grid size. Therefore, it was decided that the 32x32x32 grid size was the optimum and used in further calculations.&lt;br /&gt;
&lt;br /&gt;
The size of the grid set in the calculations is inversely related to the size of the structure in real space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This equation shows that the bigger a* (size of grid in k space) the smaller a (size of cell in real space). Therefore the bigger the cell in real space, the smaller the grid size needed for the calculation of DOS. This means that a similar oxide such as CaO will require a similar grid size as MgO for the calculation of DOS. Faujasite, a zeolite, has a lattice parameter in the range 24.2 - 25.1 Å &amp;lt;ref name=&amp;quot;Zeolite&amp;quot;/&amp;gt; and would therefore need a small grid size for the DOS calculation. Lithium, a small metal, has a lattice parameter of 3.51 Å &amp;lt;ref name=&amp;quot;Lithium&amp;quot;/&amp;gt; and would therefore need a large grid size for the DOS calculation to represent its small cell size in real space.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Computing the Free Energy&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Task_3_graph.png|300px|thumb|right|Graph 1: A Graph to show how the Free Energy changes with Grid Size]]&lt;br /&gt;
The Helmholtz Free Energy of MgO was then computed using the quasi-harmonic approximation on the same grid sizes as in the previous section at a temperature of 300K. Helmholtz Free Energy is given by the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A=Helmholtz Free Energy, U=Internal Energy, S=Entropy and T=Temperature&lt;br /&gt;
This states that the Helmholtz Free Energy should increase with increasing internal energy and decreasing temperature and entropy. This said, the Helmholtz Free Energy should decrease with increasing grid size. This can be explained with the aid of the following statistical mechanics equation of entropy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt; where S=Entropy, k=Boltzmann Constant and W=number of microstates&lt;br /&gt;
As the grid size increases the number of microstates sampled also increases. This in turn increases the entropy and decreases the TS term in the Helmholtz Free Energy equation. The decrease in Helmholtz Free Energy can be further explained using the following equation of internal energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt; where U=internal Energy, H=Enthalpy, P=Pressure and V=Volume&lt;br /&gt;
As the grid size increases so does its volume, therefore decreasing the internal energy. This further decreases the Helmholtz Free Energy. It can be seen in Graph 1 that initially the Helmholtz Free Energy increases with grid from 1x1x1 to 3x3x3 and then begins to follow the expected trend and decrease with increasing grid size. Table 1 shows that the accuracy of the Helmholtz Free Energy increases with grid size.&lt;br /&gt;
The Helmholtz Free Energy converges to a value of -40.9265 eV, with the 32x32x32 grid size being the most appropriate to run calculations from, providing the correct Helmholtz Free Energy and a suitable length of time to run the calculation.&lt;br /&gt;
&lt;br /&gt;
For CaO, a similar sized crystal to MgO (lattice constant CaO = 4.811 Å, lattice constant MgO = 4.212 Å)&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;/&amp;gt;, a similar size grid will be required for the calculation of the Helmholtz Free Energy. Faujasite would require a smaller grid size due to its large lattice constant and lithium a larger grid size than MgO due to its small lattice constant.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;The Thermal Expansion of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Thermal expansion is the ability of matter to change size, volume and shape in a response to the change in temperature. When a substance is heated the molecules vibrate and begin to move more, and their average separation increases. This thermal expansion is indicated by the Coefficient of Linear Thermal Expansion (CTE). Uniform linear objects have a thermally expand proportional to temperate over a small range of temperatures. The equation used to calculate the linear CTE is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;=linear CTE, &amp;lt;math&amp;gt;{L_0}&amp;lt;/math&amp;gt;=lattice constant at 0K and &amp;lt;math&amp;gt;dL/dT&amp;lt;/math&amp;gt;=rate of change of lattice constant with respect to temperature&lt;br /&gt;
&lt;br /&gt;
A volumetric CTE can also be calculated using the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt;=volumetric CTE, &amp;lt;math&amp;gt;{V}&amp;lt;/math&amp;gt;= volume and &amp;lt;math&amp;gt;\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;= partial derivative of volum with respect to temperature at constant pressure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Quasi-harmonic Approximation: ===&lt;br /&gt;
[[File:Task_4_graph_1.png|300px|thumb|left|Graph 2: A graph to show how the free energy of MgO changes with temperature]]&lt;br /&gt;
[[File:Task_4_graph_2.png|300px|thumb|right|Graph 3: A graph to show how the lattice constant of MgO changes with temperature]]&lt;br /&gt;
Using the 32x32x32 grid size of MgO the free energy was then optimised. The optimisation opts was set to optimise Gibbs Free Energy and the temperature was varied from 0 - 1000k. The free energy decreases with increasing temperature in a parabolic fashion to the order of 2. This negative correlation can be explained using the equation for Gibbs Free Energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G=H-TS&amp;lt;/math&amp;gt; where G=Gibbs Free Energy, H=Enthalpy, T=Temperature and S=Entropy&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Increasing the temperature decreases the TS term therefore decreasing the Gibbs Free Energy.&lt;br /&gt;
&lt;br /&gt;
The lattice constant increases in a parabolic fashion to the order of 2 with increasing temperature due to the thermal expansion.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Calculation of CTE: ====&lt;br /&gt;
Coefficient of Linear Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{2.9894}\,\frac{3.0056-2.9894}{1000}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=5.419\times10^{-6}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Coefficient of Volumetric Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{26.71481005}\,\left(\frac{27.15148242-26.71481005}{1000}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V=1.634\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It can be seen that the α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt; is 3.015 times that of the α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;. This is because MgO expands at the same rate in all three directions in three-dimensions, it is an isotropic compound. The CFE values are close to those found in literature at &amp;lt;math&amp;gt;\alpha_L=7.88\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=2.36\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; which were calculated using a temperature range close to that used in this experiment at 301.15-1273.15 K&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;/&amp;gt; (results from experiment give &amp;lt;math&amp;gt;\alpha_L=5.789\times10^{-6}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=1.747\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; if calculated from 300-1000k).&lt;br /&gt;
&lt;br /&gt;
The main approximation in the calculations of the thermal expansion is to do with the anharmonic contributions to the harmonic approximation. In order to simplify the phonon frequencies are set to be volume dependent and so at a higher temperature the anharmonic factor increases. The Born-Oppenheimer Approximation which assumes that the motion of atomic nuclei and electron in a molecule can be separated is another assumption.&lt;br /&gt;
&lt;br /&gt;
This approximation cannot be used when the temperature approaches that of the melting point of MgO due to the new lattice parameters. Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; begin to behave as separate ions as MgO begins to melt and becomes molten. Therefore the quasi-harmonic approximation cannot be used as it only takes into account linear movement.&lt;br /&gt;
&lt;br /&gt;
For a diatomic molecule with an exactly harmonic potential the bond is not allowed to break and the bond length is fixed around that of its equilibrium length. Therefore the lattice constant will only increase up to a distance just prior to bond cleavage. However, in these calculations the quasi-harmonic approximation allows the bonds to break within MgO and so the lattice constant can, in theory, increase to infinity.&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamics: ===&lt;br /&gt;
[[File:32_structure_dhl.png|300px|thumb|left|Figure 10: 32 unit MgO structure used for MD calculations]]&lt;br /&gt;
[[File:32_random_dhl.png|300px|thumb|right|Figure 11: 32 unit MgO structure post MD calculations]]&lt;br /&gt;
For the final section of this experiment the thermal expansion of MgO was once again calculated, but this time using the molecular dynamics method. This method allows the system to evolve according to Newton&#039;s Second Law &amp;lt;math&amp;gt; F= ma&amp;lt;/math&amp;gt;. The ensemble used was NPT, meaning the number of particles, the pressure and the temperature were all set to be constant. The timestep at which the vibrations to be sampled was set to be 1 femtosecond (fs) and the number of equilibration steps and production steps were set to 500, with the temperature being avried from 100-1000K. When the number of sampled configurations are sufficiently large, the average calculated is representative for the time averaged system obeying the ergodic hypothesis. A structure containing 32 units and therefore 64 atoms was used in this calculation (Fig 12), and in order to compare the volumes between the quasi-harmonic approximation and the molecular dynamics method, the volumes produced were divided by 32.&lt;br /&gt;
[[File:MD_and_QH_comparison.png|300px|thumb|right|Graph 4: Comparison of Cell Volume change between QHA and MD]]&lt;br /&gt;
It can be seen that both methods show the same trend, that of the volume increasing with increasing temperature, however throughout the whole temperature range the QHA cell volume values are slightly higher than the MD values.. The QHA becomes the exact same linear trend as the MD results at 400-1000K. At these temperatures the Coefficient of Volumetric Thermal Expansion are very similar:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_VQHA=1.730\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_VMD=1.824\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the range of 0-400K there is little anharmonicity and so the QHA predicts the thermal expansion more accurately and produces the curved graph. The MD method does not predict this trend at lower temperatures and can only predict a linear trend for the thermal expansion of MgO. The QHA graph is more similar to that found in literature than the MD graph&amp;lt;ref name=&amp;quot;Thermal Expansion graph&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The 32 unit structure used for the MD calculations is a 2x2x2 lattice of the conventional unit cell. This is a lot smaller than the size used to compute the thermal expansion of MgO using the QHA, and therefore, to have accurate results from the MD method, a larger size should be used.&lt;br /&gt;
&lt;br /&gt;
The MD method allows movement in three dimensions whereas the QHA only allows movement in one dimension. Therefore, at higher temperatures it is expected that the MD method will give much higher volume values than the QHA.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Conclusion&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
The free energy and phonon dispersions were successfully computed for MgO, and the thermal expansion studied using the QHA and the MD method. All results tended to agree with literature values well and it was found that the QHA gave a more realistic trend for the change in cell volume with respect to temperature at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;References&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;&amp;gt; X. Wu, W. Li, W. Rui. Effect of temperature on elastic constants, generalized stacking fault energy and dislocation cores in MgO and CaO. &#039;&#039;Computational Condensed Matter&#039;&#039;. 2014: 38-44. Available from: DOI: 10.1016/j.cocom.2014.10.005&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Zeolite&amp;quot;&amp;gt; J. A Kaduk, J. Faber. Crystal Structure of Zeolite Y as a function of Ion Exchange. &#039;&#039;The Rigaku Journal&#039;&#039;. 1995;12: 14. Available from: http://www.rigaku.com/downloads/journal/Vol12.2.1995/kaduk.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Lithium&amp;quot;&amp;gt; M. R. Nadler, C. P Kempter. Crystallographic Data 186. Lithium. &#039;&#039;Analytical Chemistry&#039;&#039;. 1959;31:2109. Available from: &lt;br /&gt;
DOI: 10.1021/ac60156a007&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;&amp;gt; D. K. Smith, H. R. Leider. Low-Temperature Thermal Expansion of LiH, MgO and CaO. &#039;&#039;Journal of Applied Crystallography&#039;&#039;. 1968;1: 246-249. Available from: DOI: 10.1107/S0021889868005418&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;&amp;gt; J. F. W. Bowles, R. A. Howie, D. J. Vaughan, J. Zussman. Rock-forming Minerals: Non-silicates: oxides, hydroxides and sulphides 2nd ed. London: The Geological Society;2011 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion graph&amp;quot;&amp;gt; L.S. Dubrovinsky, S.K. Saxena. Thermal Expansion of Periclase (MgO) and Tungsten (W)to Melting Temperatures. &#039;&#039;Physics and Chemistry of Minerals&#039;&#039;. 1999;24(8): 547-550. Available from: DOI: 10.1007/s002690050070&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Appendix&amp;lt;/u&amp;gt; ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Grid Size !! Helmholtz Free Energy (eV)!! Accuracy (meV)&lt;br /&gt;
|-&lt;br /&gt;
| 1x1x1 || -40.9303|| 4&lt;br /&gt;
|-&lt;br /&gt;
| 2x2x2 || -40.9266|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 3x3x3 || -40.9264|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 8x8x8 || -40.9265|| 0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16x16x16 || -40.9265|| 0.001&lt;br /&gt;
|-&lt;br /&gt;
| 32x32x32 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 40x40x40 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 50x50x50 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;3&amp;quot; |Table 1: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Grid Size&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Helmholtz Free Energy (eV)&lt;br /&gt;
|-&lt;br /&gt;
| 0 || -40.9019        &lt;br /&gt;
|-&lt;br /&gt;
| 100 || -40.9024&lt;br /&gt;
|-&lt;br /&gt;
| 200 || -40.9094&lt;br /&gt;
|-&lt;br /&gt;
| 300 || -40.9281&lt;br /&gt;
|-&lt;br /&gt;
| 400 || -40.9585&lt;br /&gt;
|-&lt;br /&gt;
| 500 || -40.9994&lt;br /&gt;
|-&lt;br /&gt;
| 600 || -41.0493&lt;br /&gt;
|-&lt;br /&gt;
| 700 || -41.1071&lt;br /&gt;
|-&lt;br /&gt;
| 800 || -41.1719&lt;br /&gt;
|-&lt;br /&gt;
| 900 || -41.2440&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || -41.3198&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 2: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Temperature&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Lattice Constant&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 2.9894      &lt;br /&gt;
|-&lt;br /&gt;
| 100 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 300 || 2.9883&lt;br /&gt;
|-&lt;br /&gt;
| 400 || 2.9894&lt;br /&gt;
|-&lt;br /&gt;
| 500 || 2.9916&lt;br /&gt;
|-&lt;br /&gt;
| 600 || 2.9941&lt;br /&gt;
|-&lt;br /&gt;
| 700 || 2.9968&lt;br /&gt;
|-&lt;br /&gt;
| 800 || 2.9996&lt;br /&gt;
|-&lt;br /&gt;
| 900 || 3.0026&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 3.0056&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 3: Raw Data showing change in&lt;br /&gt;
Lattice Constant with Temperature&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dl2613</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550663</id>
		<title>Rep:Mod:Dl2613</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550663"/>
		<updated>2016-03-08T13:57:02Z</updated>

		<summary type="html">&lt;p&gt;Dl2613: /* Internal Energy Calculation on MgO */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== &amp;lt;u&amp;gt;Introduction&amp;lt;/u&amp;gt; ==&lt;br /&gt;
The aim of this experiment was to use a simple model of atomic interactions to calculate the energy and vibrations of a crystal of MgO. This was then used to compute the free energy, phonon dispersions and to predict how MgO expands when heated. The quasi-harmonic approximation (QHA) and molecular dynamics methods were used to do these calculations.&lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon based model of solid-state physics and can describe volume-dependant thermal effects of structures, such as the MgO crystal. This assumption assumes that for every lattice value the harmonic oscillator assumption is true. MD is a type of N-body simulation, it allows atoms and molecules to interact for a fixed period of time showing the dynamics of a system. In this experiment the MD was run on an isothermal-isobaric (NPT) ensemble in which the amount of substance, pressure and temperature are fixed. MD allows motion in three dimensions.&lt;br /&gt;
&lt;br /&gt;
The software used for this experiment was RedHat Linux. DLVisualize (DLV) was used for the visualisation of the structure and properties of the MgO crystal. General Utility Lattice Program (GULP) is a supporting interface of DLV and was used to perform analytical solutions on MgO through the use of lattice dynamics.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Internal Energy Calculation on MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Better_unit_cell.png|300px|thumb|right|Figure 1: MgO Primitive Unit Cell]]&lt;br /&gt;
In this first exercise the internal energy and structure of MgO was calculated using GULP from the primitive unit cell of the crystal (Fig 1). An ionic potential model was used, without shells included and at a single point. The primitive unit cell in the simplest cell to describe the crystal structure of MgO and contains 2 atoms. The lattice vectors of this cell are:&lt;br /&gt;
&lt;br /&gt;
0.0000   2.10597   2.10597&lt;br /&gt;
&lt;br /&gt;
2.10597   0.0000   2.10597&lt;br /&gt;
&lt;br /&gt;
2.10597   2.10597   0.0000&lt;br /&gt;
&lt;br /&gt;
From the [[Media:MgO_0_DHL.out| log file]] it can be seen that the lattice parameters are defined by the length 2.9783Å and the angle 60º, giving the primitive unit cell the shape of a rhombohedron. Each primitive cell was calculated to have an energy of -40.0753 eV and this corresponds to the binding energy of the crystal. The primitive cell can be used to build up a lattice by repeating its structure.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Calculation of phonon modes of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Computing the Phonon Dispersion Curves: ===&lt;br /&gt;
[[File:MgO_Phonon_Dispersion_DHL.png|300px|thumb|left|Figure 2: MgO Phonon Dispersion]]&lt;br /&gt;
The phonon frequencies were then computed along the symmetry points &amp;lt;math&amp;gt;W, L, G, W, X, K&amp;lt;/math&amp;gt; in k space. The calculation was set up for 50 Npoints with phonon eigenvectors included in the calculation. For a 3D crystal of diatomic molecules with two atom types, six vibration modes are observed in the phonon dispersion curves (Fig 2). A positive dispersion relation results in optical modes and a negative dispersion relation results in acoustic modes. Two adjacent different atoms move against each other in the optical mode, but move against together in the acoustic mode. The acoustic modes equal 0   cm-1  at the point Γ whereas the optical modes do not. It can seen that there are three acoustic modes and three optical modes. The three acoustic modes can be split into one longitudinal acoustic mode and two transverse acoustic modes. The two transverse modes become degenerate between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;. The phonon dispersion curve agrees with that found in literature&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== The Phonon Density of States: ===&lt;br /&gt;
A simpler energy level diagram than the phonon dispersion relation is the density of states (DOS). The DOS is an average over the time and space demains of the MgO system and was calculated for the phonons as a function of the wave vector k. The dimensional limits of the MgO crystal affects the DOS and therefore it is expected that the DOS will change with the grid size of the MgO crystal.&lt;br /&gt;
&lt;br /&gt;
To begin with the DOS calculation was ran on a 1x1x1 grid, corresponding to a single k point. Comparison between Figure 2 and 3 shows that the single k point is the symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The frequencies of the phonon dispersions are identical in the two graphs. Four peaks instead of six are observed due to the fact that 2 pairs of modes become degenerate between &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. These degenerate modes correspond to the peaks between 250 and 400 cm &amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, explaining why those peaks are double the intensity of the high frequency peaks. It can been seen that a grid size of 1x1x1 is not a good representative of the DOS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_Phonon_DOS_DHL.png|300px|none|thumb|left|Figure 3: MgO Phonon DOS 1x1x1]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_3x3x3_DHL.png|300px|none|thumb|middle|Figure 4: MgO Phonon DOS 3x3x3]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_8x8x8_DHL.png|300px|none|thumb|middle|Figure 5: MgO Phonon DOS 8x8x8]]&lt;br /&gt;
|}&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_phonon_DOS_16x16x16_DHL.png|300px|none|thumb|left|Figure 6: MgO Phonon DOS 16x16x16]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_32x32x32_DHL.png|300px|none|thumb|left|Figure 7: MgO Phonon DOS 32x32x32]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_40x40x40_DHL.png|300px|none|thumb|middle|Figure 8: MgO Phonon DOS 40x40x40]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Several grid sizes were investigated up to 50x50x50 to find a compromise between an accurate DOS and the time taken to run the calculation. As the grid size is an increased a more true depiction of the DOS is obtained for the MgO structure. Increasing the grid size increases the number of peaks and then changes the graph from random sharp intensities to a smoother curve. However, the highest intensity point remains at 400 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; throughout all grid sizes and the higher frequencies having lower intensities. The bigger the grid size, the more k points that are sampled and the more representative the DOS. It can be seen in the figures below that the DOS curve is unchanged between 32x32x32 and 40x40x40, however, the running time increases greatly for the 40x40x40 grid size. Therefore, it was decided that the 32x32x32 grid size was the optimum and used in further calculations.&lt;br /&gt;
&lt;br /&gt;
The size of the grid set in the calculations is inversely related to the size of the structure in real space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This equation shows that the bigger a* (size of grid in k space) the smaller a (size of cell in real space). Therefore the bigger the cell in real space, the smaller the grid size needed for the calculation of DOS. This means that a similar oxide such as CaO will require a similar grid size as MgO for the calculation of DOS. Faujasite, a zeolite, has a lattice parameter in the range 24.2 - 25.1 Å &amp;lt;ref name=&amp;quot;Zeolite&amp;quot;/&amp;gt; and would therefore need a small grid size for the DOS calculation. Lithium, a small metal, has a lattice parameter of 3.51 Å &amp;lt;ref name=&amp;quot;Lithium&amp;quot;/&amp;gt; and would therefore need a large grid size for the DOS calculation to represent its small cell size in real space.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Computing the Free Energy&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Task_3_graph.png|300px|thumb|right|Graph 1: A Graph to show how the Free Energy changes with Grid Size]]&lt;br /&gt;
The Helmholtz Free Energy of MgO was then computed using the quasi-harmonic approximation on the same grid sizes as in the previous section at a temperature of 300K. Helmholtz Free Energy is given by the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A=Helmholtz Free Energy, U=Internal Energy, S=Entropy and T=Temperature&lt;br /&gt;
This states that the Helmholtz Free Energy should increase with increasing internal energy and decreasing temperature and entropy. This said, the Helmholtz Free Energy should decrease with increasing grid size. This can be explained with the aid of the following statistical mechanics equation of entropy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt; where S=Entropy, k=Boltzmann Constant and W=number of microstates&lt;br /&gt;
As the grid size increases the number of microstates sampled also increases. This in turn increases the entropy and decreases the TS term in the Helmholtz Free Energy equation. The decrease in Helmholtz Free Energy can be further explained using the following equation of internal energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt; where U=internal Energy, H=Enthalpy, P=Pressure and V=Volume&lt;br /&gt;
As the grid size increases so does its volume, therefore decreasing the internal energy. This further decreases the Helmholtz Free Energy. It can be seen in Graph 1 that initially the Helmholtz Free Energy increases with grid from 1x1x1 to 3x3x3 and then begins to follow the expected trend and decrease with increasing grid size. Table 1 shows that the accuracy of the Helmholtz Free Energy increases with grid size.&lt;br /&gt;
The Helmholtz Free Energy converges to a value of -40.9265 eV, with the 32x32x32 grid size being the most appropriate to run calculations from, providing the correct Helmholtz Free Energy and a suitable length of time to run the calculation.&lt;br /&gt;
&lt;br /&gt;
For CaO, a similar sized crystal to MgO (lattice constant CaO = 4.811 Å, lattice constant MgO = 4.212 Å)&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;/&amp;gt;, a similar size grid will be required for the calculation of the Helmholtz Free Energy. Faujasite would require a smaller grid size due to its large lattice constant and lithium a larger grid size than MgO due to its small lattice constant.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;The Thermal Expansion of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Thermal expansion is the ability of matter to change size, volume and shape in a response to the change in temperature. When a substance is heated the molecules vibrate and begin to move more, and their average separation increases. This thermal expansion is indicated by the Coefficient of Linear Thermal Expansion (CTE). Uniform linear objects have a thermally expand proportional to temperate over a small range of temperatures. The equation used to calculate the linear CTE is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;=linear CTE, &amp;lt;math&amp;gt;{L_0}&amp;lt;/math&amp;gt;=lattice constant at 0K and &amp;lt;math&amp;gt;dL/dT&amp;lt;/math&amp;gt;=rate of change of lattice constant with respect to temperature&lt;br /&gt;
&lt;br /&gt;
A volumetric CTE can also be calculated using the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt;=volumetric CTE, &amp;lt;math&amp;gt;{V}&amp;lt;/math&amp;gt;= volume and &amp;lt;math&amp;gt;\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;= partial derivative of volum with respect to temperature at constant pressure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Quasi-harmonic Approximation: ===&lt;br /&gt;
[[File:Task_4_graph_1.png|300px|thumb|left|Graph 2: A graph to show how the free energy of MgO changes with temperature]]&lt;br /&gt;
[[File:Task_4_graph_2.png|300px|thumb|right|Graph 3: A graph to show how the lattice constant of MgO changes with temperature]]&lt;br /&gt;
Using the 32x32x32 grid size of MgO the free energy was then optimised. The optimisation opts was set to optimise Gibbs Free Energy and the temperature was varied from 0 - 1000k. The free energy decreases with increasing temperature in a parabolic fashion to the order of 2. This negative correlation can be explained using the equation for Gibbs Free Energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G=H-TS&amp;lt;/math&amp;gt; where G=Gibbs Free Energy, H=Enthalpy, T=Temperature and S=Entropy&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Increasing the temperature decreases the TS term therefore decreasing the Gibbs Free Energy.&lt;br /&gt;
&lt;br /&gt;
The lattice constant increases in a parabolic fashion to the order of 2 with increasing temperature due to the thermal expansion.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Calculation of CTE: ====&lt;br /&gt;
Coefficient of Linear Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{2.9894}\,\frac{3.0056-2.9894}{1000}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=5.419\times10^{-6}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Coefficient of Volumetric Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{26.71481005}\,\left(\frac{27.15148242-26.71481005}{1000}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V=1.634\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It can be seen that the α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt; is 3.015 times that of the α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;. This is because MgO expands at the same rate in all three directions in three-dimensions, it is an isotropic compound. The CFE values are close to those found in literature at &amp;lt;math&amp;gt;\alpha_L=7.88\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=2.36\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; which were calculated using a temperature range close to that used in this experiment at 301.15-1273.15 K&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;/&amp;gt; (results from experiment give &amp;lt;math&amp;gt;\alpha_L=5.789\times10^{-6}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=1.747\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; if calculated from 300-1000k).&lt;br /&gt;
&lt;br /&gt;
The main approximation in the calculations of the thermal expansion is to do with the anharmonic contributions to the harmonic approximation. In order to simplify the phonon frequencies are set to be volume dependent and so at a higher temperature the anharmonic factor increases. The Born-Oppenheimer Approximation which assumes that the motion of atomic nuclei and electron in a molecule can be separated is another assumption.&lt;br /&gt;
&lt;br /&gt;
This approximation cannot be used when the temperature approaches that of the melting point of MgO due to the new lattice parameters. Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; begin to behave as separate ions as MgO begins to melt and becomes molten. Therefore the quasi-harmonic approximation cannot be used as it only takes into account linear movement.&lt;br /&gt;
&lt;br /&gt;
For a diatomic molecule with an exactly harmonic potential the bond is not allowed to break and the bond length is fixed around that of its equilibrium length. Therefore the lattice constant will only increase up to a distance just prior to bond cleavage. However, in these calculations the quasi-harmonic approximation allows the bonds to break within MgO and so the lattice constant can, in theory, increase to infinity.&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamics: ===&lt;br /&gt;
[[File:32_structure_dhl.png|300px|thumb|left|Figure 10: 32 unit MgO structure used for MD calculations]]&lt;br /&gt;
[[File:32_random_dhl.png|300px|thumb|right|Figure 11: 32 unit MgO structure post MD calculations]]&lt;br /&gt;
For the final section of this experiment the thermal expansion of MgO was once again calculated, but this time using the molecular dynamics method. This method allows the system to evolve according to Newton&#039;s Second Law &amp;lt;math&amp;gt; F= ma&amp;lt;/math&amp;gt;. The ensemble used was NPT, meaning the number of particles, the pressure and the temperature were all set to be constant. The timestep at which the vibrations to be sampled was set to be 1 femtosecond (fs) and the number of equilibration steps and production steps were set to 500, with the temperature being avried from 100-1000K. When the number of sampled configurations are sufficiently large, the average calculated is representative for the time averaged system obeying the ergodic hypothesis. A structure containing 32 units and therefore 64 atoms was used in this calculation (Fig 12), and in order to compare the volumes between the quasi-harmonic approximation and the molecular dynamics method, the volumes produced were divided by 32.&lt;br /&gt;
[[File:MD_and_QH_comparison.png|300px|thumb|right|Graph 4: Comparison of Cell Volume change between QHA and MD]]&lt;br /&gt;
It can be seen that both methods show the same trend, that of the volume increasing with increasing temperature, however throughout the whole temperature range the QHA cell volume values are slightly higher than the MD values.. The QHA becomes the exact same linear trend as the MD results at 400-1000K. At these temperatures the Coefficient of Volumetric Thermal Expansion are very similar:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_VQHA=1.730\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_VMD=1.824\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the range of 0-400K there is little anharmonicity and so the QHA predicts the thermal expansion more accurately and produces the curved graph. The MD method does not predict this trend at lower temperatures and can only predict a linear trend for the thermal expansion of MgO. The QHA graph is more similar to that found in literature than the MD graph&amp;lt;ref name=&amp;quot;Thermal Expansion graph&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The 32 unit structure used for the MD calculations is a 2x2x2 lattice of the conventional unit cell. This is a lot smaller than the size used to compute the thermal expansion of MgO using the QHA, and therefore, to have accurate results from the MD method, a larger size should be used.&lt;br /&gt;
&lt;br /&gt;
The MD method allows movement in three dimensions whereas the QHA only allows movement in one dimension. Therefore, at higher temperatures it is expected that the MD method will give much higher volume values than the QHA.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Conclusion&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
The free energy and phonon dispersions were successfully computed for MgO, and the thermal expansion studied using the QHA and the MD method. All results tended to agree with literature values well and it was found that the QHA gave a more realistic trend for the change in cell volume with respect to temperature at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;References&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;&amp;gt; X. Wu, W. Li, W. Rui. Effect of temperature on elastic constants, generalized stacking fault energy and dislocation cores in MgO and CaO. &#039;&#039;Computational Condensed Matter&#039;&#039;. 2014: 38-44. Available from: DOI: 10.1016/j.cocom.2014.10.005&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Zeolite&amp;quot;&amp;gt; J. A Kaduk, J. Faber. Crystal Structure of Zeolite Y as a function of Ion Exchange. &#039;&#039;The Rigaku Journal&#039;&#039;. 1995;12: 14. Available from: http://www.rigaku.com/downloads/journal/Vol12.2.1995/kaduk.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Lithium&amp;quot;&amp;gt; M. R. Nadler, C. P Kempter. Crystallographic Data 186. Lithium. &#039;&#039;Analytical Chemistry&#039;&#039;. 1959;31:2109. Available from: &lt;br /&gt;
DOI: 10.1021/ac60156a007&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;&amp;gt; D. K. Smith, H. R. Leider. Low-Temperature Thermal Expansion of LiH, MgO and CaO. &#039;&#039;Journal of Applied Crystallography&#039;&#039;. 1968;1: 246-249. Available from: DOI: 10.1107/S0021889868005418&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;&amp;gt; J. F. W. Bowles, R. A. Howie, D. J. Vaughan, J. Zussman. Rock-forming Minerals: Non-silicates: oxides, hydroxides and sulphides 2nd ed. London: The Geological Society;2011 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion graph&amp;quot;&amp;gt; L.S. Dubrovinsky, S.K. Saxena. Thermal Expansion of Periclase (MgO) and Tungsten (W)to Melting Temperatures. &#039;&#039;Physics and Chemistry of Minerals&#039;&#039;. 1999;24(8): 547-550. Available from: DOI: 10.1007/s002690050070&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Appendix&amp;lt;/u&amp;gt; ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Grid Size !! Helmholtz Free Energy (eV)!! Accuracy (meV)&lt;br /&gt;
|-&lt;br /&gt;
| 1x1x1 || -40.9303|| 4&lt;br /&gt;
|-&lt;br /&gt;
| 2x2x2 || -40.9266|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 3x3x3 || -40.9264|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 8x8x8 || -40.9265|| 0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16x16x16 || -40.9265|| 0.001&lt;br /&gt;
|-&lt;br /&gt;
| 32x32x32 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 40x40x40 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 50x50x50 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;3&amp;quot; |Table 1: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Grid Size&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Helmholtz Free Energy (eV)&lt;br /&gt;
|-&lt;br /&gt;
| 0 || -40.9019        &lt;br /&gt;
|-&lt;br /&gt;
| 100 || -40.9024&lt;br /&gt;
|-&lt;br /&gt;
| 200 || -40.9094&lt;br /&gt;
|-&lt;br /&gt;
| 300 || -40.9281&lt;br /&gt;
|-&lt;br /&gt;
| 400 || -40.9585&lt;br /&gt;
|-&lt;br /&gt;
| 500 || -40.9994&lt;br /&gt;
|-&lt;br /&gt;
| 600 || -41.0493&lt;br /&gt;
|-&lt;br /&gt;
| 700 || -41.1071&lt;br /&gt;
|-&lt;br /&gt;
| 800 || -41.1719&lt;br /&gt;
|-&lt;br /&gt;
| 900 || -41.2440&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || -41.3198&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 2: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Temperature&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Lattice Constant&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 2.9894      &lt;br /&gt;
|-&lt;br /&gt;
| 100 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 300 || 2.9883&lt;br /&gt;
|-&lt;br /&gt;
| 400 || 2.9894&lt;br /&gt;
|-&lt;br /&gt;
| 500 || 2.9916&lt;br /&gt;
|-&lt;br /&gt;
| 600 || 2.9941&lt;br /&gt;
|-&lt;br /&gt;
| 700 || 2.9968&lt;br /&gt;
|-&lt;br /&gt;
| 800 || 2.9996&lt;br /&gt;
|-&lt;br /&gt;
| 900 || 3.0026&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 3.0056&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 3: Raw Data showing change in&lt;br /&gt;
Lattice Constant with Temperature&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dl2613</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550510</id>
		<title>Rep:Mod:Dl2613</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550510"/>
		<updated>2016-03-07T23:02:03Z</updated>

		<summary type="html">&lt;p&gt;Dl2613: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== &amp;lt;u&amp;gt;Introduction&amp;lt;/u&amp;gt; ==&lt;br /&gt;
The aim of this experiment was to use a simple model of atomic interactions to calculate the energy and vibrations of a crystal of MgO. This was then used to compute the free energy, phonon dispersions and to predict how MgO expands when heated. The quasi-harmonic approximation (QHA) and molecular dynamics methods were used to do these calculations.&lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon based model of solid-state physics and can describe volume-dependant thermal effects of structures, such as the MgO crystal. This assumption assumes that for every lattice value the harmonic oscillator assumption is true. MD is a type of N-body simulation, it allows atoms and molecules to interact for a fixed period of time showing the dynamics of a system. In this experiment the MD was run on an isothermal-isobaric (NPT) ensemble in which the amount of substance, pressure and temperature are fixed. MD allows motion in three dimensions.&lt;br /&gt;
&lt;br /&gt;
The software used for this experiment was RedHat Linux. DLVisualize (DLV) was used for the visualisation of the structure and properties of the MgO crystal. General Utility Lattice Program (GULP) is a supporting interface of DLV and was used to perform analytical solutions on MgO through the use of lattice dynamics.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Internal Energy Calculation on MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Better_unit_cell.png|300px|thumb|right|Figure 1: MgO Primitive Unit Cell]]&lt;br /&gt;
In this first exercise the internal energy and structure of MgO was calculated using GULP from the primitive unit cell of the crystal. An ionic potential model was used, without shells included and at a single point. The primitive unit cell in the simplest cell to describe the crystal structure of MgO and contains 2 atoms. The lattice vectors of this cell are:&lt;br /&gt;
&lt;br /&gt;
0.0000   2.10597   2.10597&lt;br /&gt;
&lt;br /&gt;
2.10597   0.0000   2.10597&lt;br /&gt;
&lt;br /&gt;
2.10597   2.10597   0.0000&lt;br /&gt;
&lt;br /&gt;
From the [[Media:MgO_0_DHL.out| log file]] it can be seen that the lattice parameters are defined by the length 2.9783Å and the angle 60º, giving the primitive unit cell the shape of a rhombohedron. Each primitive cell was calculated to have an energy of -40.0753 eV and this corresponds to the binding energy of the crystal. The primitive cell can be used to build up a lattice by repeating its structure.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Calculation of phonon modes of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Computing the Phonon Dispersion Curves: ===&lt;br /&gt;
[[File:MgO_Phonon_Dispersion_DHL.png|300px|thumb|left|Figure 2: MgO Phonon Dispersion]]&lt;br /&gt;
The phonon frequencies were then computed along the symmetry points &amp;lt;math&amp;gt;W, L, G, W, X, K&amp;lt;/math&amp;gt; in k space. The calculation was set up for 50 Npoints with phonon eigenvectors included in the calculation. For a 3D crystal of diatomic molecules with two atom types, six vibration modes are observed in the phonon dispersion curves (Fig 2). A positive dispersion relation results in optical modes and a negative dispersion relation results in acoustic modes. Two adjacent different atoms move against each other in the optical mode, but move against together in the acoustic mode. The acoustic modes equal 0   cm-1  at the point Γ whereas the optical modes do not. It can seen that there are three acoustic modes and three optical modes. The three acoustic modes can be split into one longitudinal acoustic mode and two transverse acoustic modes. The two transverse modes become degenerate between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;. The phonon dispersion curve agrees with that found in literature&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== The Phonon Density of States: ===&lt;br /&gt;
A simpler energy level diagram than the phonon dispersion relation is the density of states (DOS). The DOS is an average over the time and space demains of the MgO system and was calculated for the phonons as a function of the wave vector k. The dimensional limits of the MgO crystal affects the DOS and therefore it is expected that the DOS will change with the grid size of the MgO crystal.&lt;br /&gt;
&lt;br /&gt;
To begin with the DOS calculation was ran on a 1x1x1 grid, corresponding to a single k point. Comparison between Figure 2 and 3 shows that the single k point is the symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The frequencies of the phonon dispersions are identical in the two graphs. Four peaks instead of six are observed due to the fact that 2 pairs of modes become degenerate between &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. These degenerate modes correspond to the peaks between 250 and 400 cm &amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, explaining why those peaks are double the intensity of the high frequency peaks. It can been seen that a grid size of 1x1x1 is not a good representative of the DOS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_Phonon_DOS_DHL.png|300px|none|thumb|left|Figure 3: MgO Phonon DOS 1x1x1]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_3x3x3_DHL.png|300px|none|thumb|middle|Figure 4: MgO Phonon DOS 3x3x3]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_8x8x8_DHL.png|300px|none|thumb|middle|Figure 5: MgO Phonon DOS 8x8x8]]&lt;br /&gt;
|}&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_phonon_DOS_16x16x16_DHL.png|300px|none|thumb|left|Figure 6: MgO Phonon DOS 16x16x16]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_32x32x32_DHL.png|300px|none|thumb|left|Figure 7: MgO Phonon DOS 32x32x32]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_40x40x40_DHL.png|300px|none|thumb|middle|Figure 8: MgO Phonon DOS 40x40x40]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Several grid sizes were investigated up to 50x50x50 to find a compromise between an accurate DOS and the time taken to run the calculation. As the grid size is an increased a more true depiction of the DOS is obtained for the MgO structure. Increasing the grid size increases the number of peaks and then changes the graph from random sharp intensities to a smoother curve. However, the highest intensity point remains at 400 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; throughout all grid sizes and the higher frequencies having lower intensities. The bigger the grid size, the more k points that are sampled and the more representative the DOS. It can be seen in the figures below that the DOS curve is unchanged between 32x32x32 and 40x40x40, however, the running time increases greatly for the 40x40x40 grid size. Therefore, it was decided that the 32x32x32 grid size was the optimum and used in further calculations.&lt;br /&gt;
&lt;br /&gt;
The size of the grid set in the calculations is inversely related to the size of the structure in real space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This equation shows that the bigger a* (size of grid in k space) the smaller a (size of cell in real space). Therefore the bigger the cell in real space, the smaller the grid size needed for the calculation of DOS. This means that a similar oxide such as CaO will require a similar grid size as MgO for the calculation of DOS. Faujasite, a zeolite, has a lattice parameter in the range 24.2 - 25.1 Å &amp;lt;ref name=&amp;quot;Zeolite&amp;quot;/&amp;gt; and would therefore need a small grid size for the DOS calculation. Lithium, a small metal, has a lattice parameter of 3.51 Å &amp;lt;ref name=&amp;quot;Lithium&amp;quot;/&amp;gt; and would therefore need a large grid size for the DOS calculation to represent its small cell size in real space.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Computing the Free Energy&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Task_3_graph.png|300px|thumb|right|Graph 1: A Graph to show how the Free Energy changes with Grid Size]]&lt;br /&gt;
The Helmholtz Free Energy of MgO was then computed using the quasi-harmonic approximation on the same grid sizes as in the previous section at a temperature of 300K. Helmholtz Free Energy is given by the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A=Helmholtz Free Energy, U=Internal Energy, S=Entropy and T=Temperature&lt;br /&gt;
This states that the Helmholtz Free Energy should increase with increasing internal energy and decreasing temperature and entropy. This said, the Helmholtz Free Energy should decrease with increasing grid size. This can be explained with the aid of the following statistical mechanics equation of entropy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt; where S=Entropy, k=Boltzmann Constant and W=number of microstates&lt;br /&gt;
As the grid size increases the number of microstates sampled also increases. This in turn increases the entropy and decreases the TS term in the Helmholtz Free Energy equation. The decrease in Helmholtz Free Energy can be further explained using the following equation of internal energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt; where U=internal Energy, H=Enthalpy, P=Pressure and V=Volume&lt;br /&gt;
As the grid size increases so does its volume, therefore decreasing the internal energy. This further decreases the Helmholtz Free Energy. It can be seen in Graph 1 that initially the Helmholtz Free Energy increases with grid from 1x1x1 to 3x3x3 and then begins to follow the expected trend and decrease with increasing grid size. Table 1 shows that the accuracy of the Helmholtz Free Energy increases with grid size.&lt;br /&gt;
The Helmholtz Free Energy converges to a value of -40.9265 eV, with the 32x32x32 grid size being the most appropriate to run calculations from, providing the correct Helmholtz Free Energy and a suitable length of time to run the calculation.&lt;br /&gt;
&lt;br /&gt;
For CaO, a similar sized crystal to MgO (lattice constant CaO = 4.811 Å, lattice constant MgO = 4.212 Å)&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;/&amp;gt;, a similar size grid will be required for the calculation of the Helmholtz Free Energy. Faujasite would require a smaller grid size due to its large lattice constant and lithium a larger grid size than MgO due to its small lattice constant.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;The Thermal Expansion of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Thermal expansion is the ability of matter to change size, volume and shape in a response to the change in temperature. When a substance is heated the molecules vibrate and begin to move more, and their average separation increases. This thermal expansion is indicated by the Coefficient of Linear Thermal Expansion (CTE). Uniform linear objects have a thermally expand proportional to temperate over a small range of temperatures. The equation used to calculate the linear CTE is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;=linear CTE, &amp;lt;math&amp;gt;{L_0}&amp;lt;/math&amp;gt;=lattice constant at 0K and &amp;lt;math&amp;gt;dL/dT&amp;lt;/math&amp;gt;=rate of change of lattice constant with respect to temperature&lt;br /&gt;
&lt;br /&gt;
A volumetric CTE can also be calculated using the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt;=volumetric CTE, &amp;lt;math&amp;gt;{V}&amp;lt;/math&amp;gt;= volume and &amp;lt;math&amp;gt;\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;= partial derivative of volum with respect to temperature at constant pressure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Quasi-harmonic Approximation: ===&lt;br /&gt;
[[File:Task_4_graph_1.png|300px|thumb|left|Graph 2: A graph to show how the free energy of MgO changes with temperature]]&lt;br /&gt;
[[File:Task_4_graph_2.png|300px|thumb|right|Graph 3: A graph to show how the lattice constant of MgO changes with temperature]]&lt;br /&gt;
Using the 32x32x32 grid size of MgO the free energy was then optimised. The optimisation opts was set to optimise Gibbs Free Energy and the temperature was varied from 0 - 1000k. The free energy decreases with increasing temperature in a parabolic fashion to the order of 2. This negative correlation can be explained using the equation for Gibbs Free Energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G=H-TS&amp;lt;/math&amp;gt; where G=Gibbs Free Energy, H=Enthalpy, T=Temperature and S=Entropy&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Increasing the temperature decreases the TS term therefore decreasing the Gibbs Free Energy.&lt;br /&gt;
&lt;br /&gt;
The lattice constant increases in a parabolic fashion to the order of 2 with increasing temperature due to the thermal expansion.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Calculation of CTE: ====&lt;br /&gt;
Coefficient of Linear Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{2.9894}\,\frac{3.0056-2.9894}{1000}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=5.419\times10^{-6}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Coefficient of Volumetric Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{26.71481005}\,\left(\frac{27.15148242-26.71481005}{1000}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V=1.634\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It can be seen that the α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt; is 3.015 times that of the α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;. This is because MgO expands at the same rate in all three directions in three-dimensions, it is an isotropic compound. The CFE values are close to those found in literature at &amp;lt;math&amp;gt;\alpha_L=7.88\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=2.36\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; which were calculated using a temperature range close to that used in this experiment at 301.15-1273.15 K&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;/&amp;gt; (results from experiment give &amp;lt;math&amp;gt;\alpha_L=5.789\times10^{-6}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=1.747\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; if calculated from 300-1000k).&lt;br /&gt;
&lt;br /&gt;
The main approximation in the calculations of the thermal expansion is to do with the anharmonic contributions to the harmonic approximation. In order to simplify the phonon frequencies are set to be volume dependent and so at a higher temperature the anharmonic factor increases. The Born-Oppenheimer Approximation which assumes that the motion of atomic nuclei and electron in a molecule can be separated is another assumption.&lt;br /&gt;
&lt;br /&gt;
This approximation cannot be used when the temperature approaches that of the melting point of MgO due to the new lattice parameters. Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; begin to behave as separate ions as MgO begins to melt and becomes molten. Therefore the quasi-harmonic approximation cannot be used as it only takes into account linear movement.&lt;br /&gt;
&lt;br /&gt;
For a diatomic molecule with an exactly harmonic potential the bond is not allowed to break and the bond length is fixed around that of its equilibrium length. Therefore the lattice constant will only increase up to a distance just prior to bond cleavage. However, in these calculations the quasi-harmonic approximation allows the bonds to break within MgO and so the lattice constant can, in theory, increase to infinity.&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamics: ===&lt;br /&gt;
[[File:32_structure_dhl.png|300px|thumb|left|Figure 10: 32 unit MgO structure used for MD calculations]]&lt;br /&gt;
[[File:32_random_dhl.png|300px|thumb|right|Figure 11: 32 unit MgO structure post MD calculations]]&lt;br /&gt;
For the final section of this experiment the thermal expansion of MgO was once again calculated, but this time using the molecular dynamics method. This method allows the system to evolve according to Newton&#039;s Second Law &amp;lt;math&amp;gt; F= ma&amp;lt;/math&amp;gt;. The ensemble used was NPT, meaning the number of particles, the pressure and the temperature were all set to be constant. The timestep at which the vibrations to be sampled was set to be 1 femtosecond (fs) and the number of equilibration steps and production steps were set to 500, with the temperature being avried from 100-1000K. When the number of sampled configurations are sufficiently large, the average calculated is representative for the time averaged system obeying the ergodic hypothesis. A structure containing 32 units and therefore 64 atoms was used in this calculation (Fig 12), and in order to compare the volumes between the quasi-harmonic approximation and the molecular dynamics method, the volumes produced were divided by 32.&lt;br /&gt;
[[File:MD_and_QH_comparison.png|300px|thumb|right|Graph 4: Comparison of Cell Volume change between QHA and MD]]&lt;br /&gt;
It can be seen that both methods show the same trend, that of the volume increasing with increasing temperature, however throughout the whole temperature range the QHA cell volume values are slightly higher than the MD values.. The QHA becomes the exact same linear trend as the MD results at 400-1000K. At these temperatures the Coefficient of Volumetric Thermal Expansion are very similar:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_VQHA=1.730\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_VMD=1.824\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the range of 0-400K there is little anharmonicity and so the QHA predicts the thermal expansion more accurately and produces the curved graph. The MD method does not predict this trend at lower temperatures and can only predict a linear trend for the thermal expansion of MgO. The QHA graph is more similar to that found in literature than the MD graph&amp;lt;ref name=&amp;quot;Thermal Expansion graph&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The 32 unit structure used for the MD calculations is a 2x2x2 lattice of the conventional unit cell. This is a lot smaller than the size used to compute the thermal expansion of MgO using the QHA, and therefore, to have accurate results from the MD method, a larger size should be used.&lt;br /&gt;
&lt;br /&gt;
The MD method allows movement in three dimensions whereas the QHA only allows movement in one dimension. Therefore, at higher temperatures it is expected that the MD method will give much higher volume values than the QHA.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Conclusion&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
The free energy and phonon dispersions were successfully computed for MgO, and the thermal expansion studied using the QHA and the MD method. All results tended to agree with literature values well and it was found that the QHA gave a more realistic trend for the change in cell volume with respect to temperature at lower temperatures.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;References&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;&amp;gt; X. Wu, W. Li, W. Rui. Effect of temperature on elastic constants, generalized stacking fault energy and dislocation cores in MgO and CaO. &#039;&#039;Computational Condensed Matter&#039;&#039;. 2014: 38-44. Available from: DOI: 10.1016/j.cocom.2014.10.005&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Zeolite&amp;quot;&amp;gt; J. A Kaduk, J. Faber. Crystal Structure of Zeolite Y as a function of Ion Exchange. &#039;&#039;The Rigaku Journal&#039;&#039;. 1995;12: 14. Available from: http://www.rigaku.com/downloads/journal/Vol12.2.1995/kaduk.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Lithium&amp;quot;&amp;gt; M. R. Nadler, C. P Kempter. Crystallographic Data 186. Lithium. &#039;&#039;Analytical Chemistry&#039;&#039;. 1959;31:2109. Available from: &lt;br /&gt;
DOI: 10.1021/ac60156a007&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;&amp;gt; D. K. Smith, H. R. Leider. Low-Temperature Thermal Expansion of LiH, MgO and CaO. &#039;&#039;Journal of Applied Crystallography&#039;&#039;. 1968;1: 246-249. Available from: DOI: 10.1107/S0021889868005418&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;&amp;gt; J. F. W. Bowles, R. A. Howie, D. J. Vaughan, J. Zussman. Rock-forming Minerals: Non-silicates: oxides, hydroxides and sulphides 2nd ed. London: The Geological Society;2011 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion graph&amp;quot;&amp;gt; L.S. Dubrovinsky, S.K. Saxena. Thermal Expansion of Periclase (MgO) and Tungsten (W)to Melting Temperatures. &#039;&#039;Physics and Chemistry of Minerals&#039;&#039;. 1999;24(8): 547-550. Available from: DOI: 10.1007/s002690050070&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Appendix&amp;lt;/u&amp;gt; ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Grid Size !! Helmholtz Free Energy (eV)!! Accuracy (meV)&lt;br /&gt;
|-&lt;br /&gt;
| 1x1x1 || -40.9303|| 4&lt;br /&gt;
|-&lt;br /&gt;
| 2x2x2 || -40.9266|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 3x3x3 || -40.9264|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 8x8x8 || -40.9265|| 0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16x16x16 || -40.9265|| 0.001&lt;br /&gt;
|-&lt;br /&gt;
| 32x32x32 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 40x40x40 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 50x50x50 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;3&amp;quot; |Table 1: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Grid Size&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Helmholtz Free Energy (eV)&lt;br /&gt;
|-&lt;br /&gt;
| 0 || -40.9019        &lt;br /&gt;
|-&lt;br /&gt;
| 100 || -40.9024&lt;br /&gt;
|-&lt;br /&gt;
| 200 || -40.9094&lt;br /&gt;
|-&lt;br /&gt;
| 300 || -40.9281&lt;br /&gt;
|-&lt;br /&gt;
| 400 || -40.9585&lt;br /&gt;
|-&lt;br /&gt;
| 500 || -40.9994&lt;br /&gt;
|-&lt;br /&gt;
| 600 || -41.0493&lt;br /&gt;
|-&lt;br /&gt;
| 700 || -41.1071&lt;br /&gt;
|-&lt;br /&gt;
| 800 || -41.1719&lt;br /&gt;
|-&lt;br /&gt;
| 900 || -41.2440&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || -41.3198&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 2: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Temperature&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Lattice Constant&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 2.9894      &lt;br /&gt;
|-&lt;br /&gt;
| 100 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 300 || 2.9883&lt;br /&gt;
|-&lt;br /&gt;
| 400 || 2.9894&lt;br /&gt;
|-&lt;br /&gt;
| 500 || 2.9916&lt;br /&gt;
|-&lt;br /&gt;
| 600 || 2.9941&lt;br /&gt;
|-&lt;br /&gt;
| 700 || 2.9968&lt;br /&gt;
|-&lt;br /&gt;
| 800 || 2.9996&lt;br /&gt;
|-&lt;br /&gt;
| 900 || 3.0026&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 3.0056&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 3: Raw Data showing change in&lt;br /&gt;
Lattice Constant with Temperature&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dl2613</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550509</id>
		<title>Rep:Mod:Dl2613</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550509"/>
		<updated>2016-03-07T22:58:16Z</updated>

		<summary type="html">&lt;p&gt;Dl2613: /* Molecular Dynamics: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== &amp;lt;u&amp;gt;Introduction&amp;lt;/u&amp;gt; ==&lt;br /&gt;
The aim of this experiment was to use a simple model of atomic interactions to calculate the energy and vibrations of a crystal of MgO. This was then used to compute the free energy, phonon dispersions and to predict how MgO expands when heated. The quasi-harmonic approximation (QHA) and molecular dynamics methods were used to do these calculations.&lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon based model of solid-state physics and can describe volume-dependant thermal effects of structures, such as the MgO crystal. This assumption assumes that for every lattice value the harmonic oscillator assumption is true. MD is a type of N-body simulation, it allows atoms and molecules to interact for a fixed period of time showing the dynamics of a system. In this experiment the MD was run on an isothermal-isobaric (NPT) ensemble in which the amount of substance, pressure and temperature are fixed. MD allows motion in three dimensions.&lt;br /&gt;
&lt;br /&gt;
The software used for this experiment was RedHat Linux. DLVisualize (DLV) was used for the visualisation of the structure and properties of the MgO crystal. General Utility Lattice Program (GULP) is a supporting interface of DLV and was used to perform analytical solutions on MgO through the use of lattice dynamics.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Internal Energy Calculation on MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Better_unit_cell.png|300px|thumb|right|Figure 1: MgO Primitive Unit Cell]]&lt;br /&gt;
In this first exercise the internal energy and structure of MgO was calculated using GULP from the primitive unit cell of the crystal. An ionic potential model was used, without shells included and at a single point. The primitive unit cell in the simplest cell to describe the crystal structure of MgO and contains 2 atoms. The lattice vectors of this cell are:&lt;br /&gt;
&lt;br /&gt;
0.0000   2.10597   2.10597&lt;br /&gt;
&lt;br /&gt;
2.10597   0.0000   2.10597&lt;br /&gt;
&lt;br /&gt;
2.10597   2.10597   0.0000&lt;br /&gt;
&lt;br /&gt;
From the [[Media:MgO_0_DHL.out| log file]] it can be seen that the lattice parameters are defined by the length 2.9783Å and the angle 60º, giving the primitive unit cell the shape of a rhombohedron. Each primitive cell was calculated to have an energy of -40.0753 eV and this corresponds to the binding energy of the crystal. The primitive cell can be used to build up a lattice by repeating its structure.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Calculation of phonon modes of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Computing the Phonon Dispersion Curves: ===&lt;br /&gt;
[[File:MgO_Phonon_Dispersion_DHL.png|300px|thumb|left|Figure 2: MgO Phonon Dispersion]]&lt;br /&gt;
The phonon frequencies were then computed along the symmetry points &amp;lt;math&amp;gt;W, L, G, W, X, K&amp;lt;/math&amp;gt; in k space. The calculation was set up for 50 Npoints with phonon eigenvectors included in the calculation. For a 3D crystal of diatomic molecules with two atom types, six vibration modes are observed in the phonon dispersion curves (Fig 2). A positive dispersion relation results in optical modes and a negative dispersion relation results in acoustic modes. Two adjacent different atoms move against each other in the optical mode, but move against together in the acoustic mode. The acoustic modes equal 0   cm-1  at the point Γ whereas the optical modes do not. It can seen that there are three acoustic modes and three optical modes. The three acoustic modes can be split into one longitudinal acoustic mode and two transverse acoustic modes. The two transverse modes become degenerate between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;. The phonon dispersion curve agrees with that found in literature&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== The Phonon Density of States: ===&lt;br /&gt;
A simpler energy level diagram than the phonon dispersion relation is the density of states (DOS). The DOS is an average over the time and space demains of the MgO system and was calculated for the phonons as a function of the wave vector k. The dimensional limits of the MgO crystal affects the DOS and therefore it is expected that the DOS will change with the grid size of the MgO crystal.&lt;br /&gt;
&lt;br /&gt;
To begin with the DOS calculation was ran on a 1x1x1 grid, corresponding to a single k point. Comparison between Figure 2 and 3 shows that the single k point is the symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The frequencies of the phonon dispersions are identical in the two graphs. Four peaks instead of six are observed due to the fact that 2 pairs of modes become degenerate between &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. These degenerate modes correspond to the peaks between 250 and 400 cm &amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, explaining why those peaks are double the intensity of the high frequency peaks. It can been seen that a grid size of 1x1x1 is not a good representative of the DOS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_Phonon_DOS_DHL.png|300px|none|thumb|left|Figure 3: MgO Phonon DOS 1x1x1]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_3x3x3_DHL.png|300px|none|thumb|middle|Figure 4: MgO Phonon DOS 3x3x3]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_8x8x8_DHL.png|300px|none|thumb|middle|Figure 5: MgO Phonon DOS 8x8x8]]&lt;br /&gt;
|}&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_phonon_DOS_16x16x16_DHL.png|300px|none|thumb|left|Figure 6: MgO Phonon DOS 16x16x16]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_32x32x32_DHL.png|300px|none|thumb|left|Figure 7: MgO Phonon DOS 32x32x32]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_40x40x40_DHL.png|300px|none|thumb|middle|Figure 8: MgO Phonon DOS 40x40x40]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Several grid sizes were investigated up to 50x50x50 to find a compromise between an accurate DOS and the time taken to run the calculation. As the grid size is an increased a more true depiction of the DOS is obtained for the MgO structure. Increasing the grid size increases the number of peaks and then changes the graph from random sharp intensities to a smoother curve. However, the highest intensity point remains at 400 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; throughout all grid sizes and the higher frequencies having lower intensities. The bigger the grid size, the more k points that are sampled and the more representative the DOS. It can be seen in the figures below that the DOS curve is unchanged between 32x32x32 and 40x40x40, however, the running time increases greatly for the 40x40x40 grid size. Therefore, it was decided that the 32x32x32 grid size was the optimum and used in further calculations.&lt;br /&gt;
&lt;br /&gt;
The size of the grid set in the calculations is inversely related to the size of the structure in real space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This equation shows that the bigger a* (size of grid in k space) the smaller a (size of cell in real space). Therefore the bigger the cell in real space, the smaller the grid size needed for the calculation of DOS. This means that a similar oxide such as CaO will require a similar grid size as MgO for the calculation of DOS. Faujasite, a zeolite, has a lattice parameter in the range 24.2 - 25.1 Å &amp;lt;ref name=&amp;quot;Zeolite&amp;quot;/&amp;gt; and would therefore need a small grid size for the DOS calculation. Lithium, a small metal, has a lattice parameter of 3.51 Å &amp;lt;ref name=&amp;quot;Lithium&amp;quot;/&amp;gt; and would therefore need a large grid size for the DOS calculation to represent its small cell size in real space.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Computing the Free Energy&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Task_3_graph.png|300px|thumb|right|Graph 1: A Graph to show how the Free Energy changes with Grid Size]]&lt;br /&gt;
The Helmholtz Free Energy of MgO was then computed using the quasi-harmonic approximation on the same grid sizes as in the previous section at a temperature of 300K. Helmholtz Free Energy is given by the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A=Helmholtz Free Energy, U=Internal Energy, S=Entropy and T=Temperature&lt;br /&gt;
This states that the Helmholtz Free Energy should increase with increasing internal energy and decreasing temperature and entropy. This said, the Helmholtz Free Energy should decrease with increasing grid size. This can be explained with the aid of the following statistical mechanics equation of entropy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt; where S=Entropy, k=Boltzmann Constant and W=number of microstates&lt;br /&gt;
As the grid size increases the number of microstates sampled also increases. This in turn increases the entropy and decreases the TS term in the Helmholtz Free Energy equation. The decrease in Helmholtz Free Energy can be further explained using the following equation of internal energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt; where U=internal Energy, H=Enthalpy, P=Pressure and V=Volume&lt;br /&gt;
As the grid size increases so does its volume, therefore decreasing the internal energy. This further decreases the Helmholtz Free Energy. It can be seen in Graph 1 that initially the Helmholtz Free Energy increases with grid from 1x1x1 to 3x3x3 and then begins to follow the expected trend and decrease with increasing grid size. Table 1 shows that the accuracy of the Helmholtz Free Energy increases with grid size.&lt;br /&gt;
The Helmholtz Free Energy converges to a value of -40.9265 eV, with the 32x32x32 grid size being the most appropriate to run calculations from, providing the correct Helmholtz Free Energy and a suitable length of time to run the calculation.&lt;br /&gt;
&lt;br /&gt;
For CaO, a similar sized crystal to MgO (lattice constant CaO = 4.811 Å, lattice constant MgO = 4.212 Å)&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;/&amp;gt;, a similar size grid will be required for the calculation of the Helmholtz Free Energy. Faujasite would require a smaller grid size due to its large lattice constant and lithium a larger grid size than MgO due to its small lattice constant.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;The Thermal Expansion of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Thermal expansion is the ability of matter to change size, volume and shape in a response to the change in temperature. When a substance is heated the molecules vibrate and begin to move more, and their average separation increases. This thermal expansion is indicated by the Coefficient of Linear Thermal Expansion (CTE). Uniform linear objects have a thermally expand proportional to temperate over a small range of temperatures. The equation used to calculate the linear CTE is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;=linear CTE, &amp;lt;math&amp;gt;{L_0}&amp;lt;/math&amp;gt;=lattice constant at 0K and &amp;lt;math&amp;gt;dL/dT&amp;lt;/math&amp;gt;=rate of change of lattice constant with respect to temperature&lt;br /&gt;
&lt;br /&gt;
A volumetric CTE can also be calculated using the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt;=volumetric CTE, &amp;lt;math&amp;gt;{V}&amp;lt;/math&amp;gt;= volume and &amp;lt;math&amp;gt;\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;= partial derivative of volum with respect to temperature at constant pressure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Quasi-harmonic Approximation: ===&lt;br /&gt;
[[File:Task_4_graph_1.png|300px|thumb|left|Graph 2: A graph to show how the free energy of MgO changes with temperature]]&lt;br /&gt;
[[File:Task_4_graph_2.png|300px|thumb|right|Graph 3: A graph to show how the lattice constant of MgO changes with temperature]]&lt;br /&gt;
Using the 32x32x32 grid size of MgO the free energy was then optimised. The optimisation opts was set to optimise Gibbs Free Energy and the temperature was varied from 0 - 1000k. The free energy decreases with increasing temperature in a parabolic fashion to the order of 2. This negative correlation can be explained using the equation for Gibbs Free Energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G=H-TS&amp;lt;/math&amp;gt; where G=Gibbs Free Energy, H=Enthalpy, T=Temperature and S=Entropy&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Increasing the temperature decreases the TS term therefore decreasing the Gibbs Free Energy.&lt;br /&gt;
&lt;br /&gt;
The lattice constant increases in a parabolic fashion to the order of 2 with increasing temperature due to the thermal expansion.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Calculation of CTE: ====&lt;br /&gt;
Coefficient of Linear Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{2.9894}\,\frac{3.0056-2.9894}{1000}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=5.419\times10^{-6}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Coefficient of Volumetric Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{26.71481005}\,\left(\frac{27.15148242-26.71481005}{1000}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V=1.634\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It can be seen that the α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt; is 3.015 times that of the α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;. This is because MgO expands at the same rate in all three directions in three-dimensions, it is an isotropic compound. The CFE values are close to those found in literature at &amp;lt;math&amp;gt;\alpha_L=7.88\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=2.36\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; which were calculated using a temperature range close to that used in this experiment at 301.15-1273.15 K&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;/&amp;gt; (results from experiment give &amp;lt;math&amp;gt;\alpha_L=5.789\times10^{-6}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=1.747\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; if calculated from 300-1000k).&lt;br /&gt;
&lt;br /&gt;
The main approximation in the calculations of the thermal expansion is to do with the anharmonic contributions to the harmonic approximation. In order to simplify the phonon frequencies are set to be volume dependent and so at a higher temperature the anharmonic factor increases. The Born-Oppenheimer Approximation which assumes that the motion of atomic nuclei and electron in a molecule can be separated is another assumption.&lt;br /&gt;
&lt;br /&gt;
This approximation cannot be used when the temperature approaches that of the melting point of MgO due to the new lattice parameters. Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; begin to behave as separate ions as MgO begins to melt and becomes molten. Therefore the quasi-harmonic approximation cannot be used as it only takes into account linear movement.&lt;br /&gt;
&lt;br /&gt;
For a diatomic molecule with an exactly harmonic potential the bond is not allowed to break and the bond length is fixed around that of its equilibrium length. Therefore the lattice constant will only increase up to a distance just prior to bond cleavage. However, in these calculations the quasi-harmonic approximation allows the bonds to break within MgO and so the lattice constant can, in theory, increase to infinity.&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamics: ===&lt;br /&gt;
[[File:32_structure_dhl.png|300px|thumb|left|Figure 10: 32 unit MgO structure used for MD calculations]]&lt;br /&gt;
[[File:32_random_dhl.png|300px|thumb|right|Figure 11: 32 unit MgO structure post MD calculations]]&lt;br /&gt;
For the final section of this experiment the thermal expansion of MgO was once again calculated, but this time using the molecular dynamics method. This method allows the system to evolve according to Newton&#039;s Second Law &amp;lt;math&amp;gt; F= ma&amp;lt;/math&amp;gt;. The ensemble used was NPT, meaning the number of particles, the pressure and the temperature were all set to be constant. The timestep at which the vibrations to be sampled was set to be 1 femtosecond (fs) and the number of equilibration steps and production steps were set to 500, with the temperature being avried from 100-1000K. When the number of sampled configurations are sufficiently large, the average calculated is representative for the time averaged system obeying the ergodic hypothesis. A structure containing 32 units and therefore 64 atoms was used in this calculation (Fig 12), and in order to compare the volumes between the quasi-harmonic approximation and the molecular dynamics method, the volumes produced were divided by 32.&lt;br /&gt;
[[File:MD_and_QH_comparison.png|300px|thumb|right|Graph 4: Comparison of Cell Volume change between QHA and MD]]&lt;br /&gt;
It can be seen that both methods show the same trend, that of the volume increasing with increasing temperature, however throughout the whole temperature range the QHA cell volume values are slightly higher than the MD values.. The QHA becomes the exact same linear trend as the MD results at 400-1000K. At these temperatures the Coefficient of Volumetric Thermal Expansion are very similar:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_VQHA=1.730\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_VMD=1.824\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the range of 0-400K there is little anharmonicity and so the QHA predicts the thermal expansion more accurately and produces the curved graph. The MD method does not predict this trend at lower temperatures and can only predict a linear trend for the thermal expansion of MgO. The QHA graph is more similar to that found in literature than the MD graph&amp;lt;ref name=&amp;quot;Thermal Expansion graph&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The 32 unit structure used for the MD calculations is a 2x2x2 lattice of the conventional unit cell. This is a lot smaller than the size used to compute the thermal expansion of MgO using the QHA, and therefore, to have accurate results from the MD method, a larger size should be used.&lt;br /&gt;
&lt;br /&gt;
The MD method allows movement in three dimensions whereas the QHA only allows movement in one dimension. Therefore, at higher temperatures it is expected that the MD method will give much higher volume values than the QHA.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;References&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;&amp;gt; X. Wu, W. Li, W. Rui. Effect of temperature on elastic constants, generalized stacking fault energy and dislocation cores in MgO and CaO. &#039;&#039;Computational Condensed Matter&#039;&#039;. 2014: 38-44. Available from: DOI: 10.1016/j.cocom.2014.10.005&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Zeolite&amp;quot;&amp;gt; J. A Kaduk, J. Faber. Crystal Structure of Zeolite Y as a function of Ion Exchange. &#039;&#039;The Rigaku Journal&#039;&#039;. 1995;12: 14. Available from: http://www.rigaku.com/downloads/journal/Vol12.2.1995/kaduk.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Lithium&amp;quot;&amp;gt; M. R. Nadler, C. P Kempter. Crystallographic Data 186. Lithium. &#039;&#039;Analytical Chemistry&#039;&#039;. 1959;31:2109. Available from: &lt;br /&gt;
DOI: 10.1021/ac60156a007&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;&amp;gt; D. K. Smith, H. R. Leider. Low-Temperature Thermal Expansion of LiH, MgO and CaO. &#039;&#039;Journal of Applied Crystallography&#039;&#039;. 1968;1: 246-249. Available from: DOI: 10.1107/S0021889868005418&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;&amp;gt; J. F. W. Bowles, R. A. Howie, D. J. Vaughan, J. Zussman. Rock-forming Minerals: Non-silicates: oxides, hydroxides and sulphides 2nd ed. London: The Geological Society;2011 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion graph&amp;quot;&amp;gt; L.S. Dubrovinsky, S.K. Saxena. Thermal Expansion of Periclase (MgO) and Tungsten (W)to Melting Temperatures. &#039;&#039;Physics and Chemistry of Minerals&#039;&#039;. 1999;24(8): 547-550. Available from: DOI: 10.1007/s002690050070&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Appendix&amp;lt;/u&amp;gt; ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Grid Size !! Helmholtz Free Energy (eV)!! Accuracy (meV)&lt;br /&gt;
|-&lt;br /&gt;
| 1x1x1 || -40.9303|| 4&lt;br /&gt;
|-&lt;br /&gt;
| 2x2x2 || -40.9266|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 3x3x3 || -40.9264|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 8x8x8 || -40.9265|| 0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16x16x16 || -40.9265|| 0.001&lt;br /&gt;
|-&lt;br /&gt;
| 32x32x32 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 40x40x40 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 50x50x50 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;3&amp;quot; |Table 1: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Grid Size&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Helmholtz Free Energy (eV)&lt;br /&gt;
|-&lt;br /&gt;
| 0 || -40.9019        &lt;br /&gt;
|-&lt;br /&gt;
| 100 || -40.9024&lt;br /&gt;
|-&lt;br /&gt;
| 200 || -40.9094&lt;br /&gt;
|-&lt;br /&gt;
| 300 || -40.9281&lt;br /&gt;
|-&lt;br /&gt;
| 400 || -40.9585&lt;br /&gt;
|-&lt;br /&gt;
| 500 || -40.9994&lt;br /&gt;
|-&lt;br /&gt;
| 600 || -41.0493&lt;br /&gt;
|-&lt;br /&gt;
| 700 || -41.1071&lt;br /&gt;
|-&lt;br /&gt;
| 800 || -41.1719&lt;br /&gt;
|-&lt;br /&gt;
| 900 || -41.2440&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || -41.3198&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 2: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Temperature&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Lattice Constant&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 2.9894      &lt;br /&gt;
|-&lt;br /&gt;
| 100 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 300 || 2.9883&lt;br /&gt;
|-&lt;br /&gt;
| 400 || 2.9894&lt;br /&gt;
|-&lt;br /&gt;
| 500 || 2.9916&lt;br /&gt;
|-&lt;br /&gt;
| 600 || 2.9941&lt;br /&gt;
|-&lt;br /&gt;
| 700 || 2.9968&lt;br /&gt;
|-&lt;br /&gt;
| 800 || 2.9996&lt;br /&gt;
|-&lt;br /&gt;
| 900 || 3.0026&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 3.0056&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 3: Raw Data showing change in&lt;br /&gt;
Lattice Constant with Temperature&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dl2613</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550508</id>
		<title>Rep:Mod:Dl2613</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550508"/>
		<updated>2016-03-07T22:55:43Z</updated>

		<summary type="html">&lt;p&gt;Dl2613: /* Molecular Dynamics: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== &amp;lt;u&amp;gt;Introduction&amp;lt;/u&amp;gt; ==&lt;br /&gt;
The aim of this experiment was to use a simple model of atomic interactions to calculate the energy and vibrations of a crystal of MgO. This was then used to compute the free energy, phonon dispersions and to predict how MgO expands when heated. The quasi-harmonic approximation (QHA) and molecular dynamics methods were used to do these calculations.&lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon based model of solid-state physics and can describe volume-dependant thermal effects of structures, such as the MgO crystal. This assumption assumes that for every lattice value the harmonic oscillator assumption is true. MD is a type of N-body simulation, it allows atoms and molecules to interact for a fixed period of time showing the dynamics of a system. In this experiment the MD was run on an isothermal-isobaric (NPT) ensemble in which the amount of substance, pressure and temperature are fixed. MD allows motion in three dimensions.&lt;br /&gt;
&lt;br /&gt;
The software used for this experiment was RedHat Linux. DLVisualize (DLV) was used for the visualisation of the structure and properties of the MgO crystal. General Utility Lattice Program (GULP) is a supporting interface of DLV and was used to perform analytical solutions on MgO through the use of lattice dynamics.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Internal Energy Calculation on MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Better_unit_cell.png|300px|thumb|right|Figure 1: MgO Primitive Unit Cell]]&lt;br /&gt;
In this first exercise the internal energy and structure of MgO was calculated using GULP from the primitive unit cell of the crystal. An ionic potential model was used, without shells included and at a single point. The primitive unit cell in the simplest cell to describe the crystal structure of MgO and contains 2 atoms. The lattice vectors of this cell are:&lt;br /&gt;
&lt;br /&gt;
0.0000   2.10597   2.10597&lt;br /&gt;
&lt;br /&gt;
2.10597   0.0000   2.10597&lt;br /&gt;
&lt;br /&gt;
2.10597   2.10597   0.0000&lt;br /&gt;
&lt;br /&gt;
From the [[Media:MgO_0_DHL.out| log file]] it can be seen that the lattice parameters are defined by the length 2.9783Å and the angle 60º, giving the primitive unit cell the shape of a rhombohedron. Each primitive cell was calculated to have an energy of -40.0753 eV and this corresponds to the binding energy of the crystal. The primitive cell can be used to build up a lattice by repeating its structure.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Calculation of phonon modes of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Computing the Phonon Dispersion Curves: ===&lt;br /&gt;
[[File:MgO_Phonon_Dispersion_DHL.png|300px|thumb|left|Figure 2: MgO Phonon Dispersion]]&lt;br /&gt;
The phonon frequencies were then computed along the symmetry points &amp;lt;math&amp;gt;W, L, G, W, X, K&amp;lt;/math&amp;gt; in k space. The calculation was set up for 50 Npoints with phonon eigenvectors included in the calculation. For a 3D crystal of diatomic molecules with two atom types, six vibration modes are observed in the phonon dispersion curves (Fig 2). A positive dispersion relation results in optical modes and a negative dispersion relation results in acoustic modes. Two adjacent different atoms move against each other in the optical mode, but move against together in the acoustic mode. The acoustic modes equal 0   cm-1  at the point Γ whereas the optical modes do not. It can seen that there are three acoustic modes and three optical modes. The three acoustic modes can be split into one longitudinal acoustic mode and two transverse acoustic modes. The two transverse modes become degenerate between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;. The phonon dispersion curve agrees with that found in literature&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== The Phonon Density of States: ===&lt;br /&gt;
A simpler energy level diagram than the phonon dispersion relation is the density of states (DOS). The DOS is an average over the time and space demains of the MgO system and was calculated for the phonons as a function of the wave vector k. The dimensional limits of the MgO crystal affects the DOS and therefore it is expected that the DOS will change with the grid size of the MgO crystal.&lt;br /&gt;
&lt;br /&gt;
To begin with the DOS calculation was ran on a 1x1x1 grid, corresponding to a single k point. Comparison between Figure 2 and 3 shows that the single k point is the symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The frequencies of the phonon dispersions are identical in the two graphs. Four peaks instead of six are observed due to the fact that 2 pairs of modes become degenerate between &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. These degenerate modes correspond to the peaks between 250 and 400 cm &amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, explaining why those peaks are double the intensity of the high frequency peaks. It can been seen that a grid size of 1x1x1 is not a good representative of the DOS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_Phonon_DOS_DHL.png|300px|none|thumb|left|Figure 3: MgO Phonon DOS 1x1x1]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_3x3x3_DHL.png|300px|none|thumb|middle|Figure 4: MgO Phonon DOS 3x3x3]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_8x8x8_DHL.png|300px|none|thumb|middle|Figure 5: MgO Phonon DOS 8x8x8]]&lt;br /&gt;
|}&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_phonon_DOS_16x16x16_DHL.png|300px|none|thumb|left|Figure 6: MgO Phonon DOS 16x16x16]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_32x32x32_DHL.png|300px|none|thumb|left|Figure 7: MgO Phonon DOS 32x32x32]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_40x40x40_DHL.png|300px|none|thumb|middle|Figure 8: MgO Phonon DOS 40x40x40]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Several grid sizes were investigated up to 50x50x50 to find a compromise between an accurate DOS and the time taken to run the calculation. As the grid size is an increased a more true depiction of the DOS is obtained for the MgO structure. Increasing the grid size increases the number of peaks and then changes the graph from random sharp intensities to a smoother curve. However, the highest intensity point remains at 400 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; throughout all grid sizes and the higher frequencies having lower intensities. The bigger the grid size, the more k points that are sampled and the more representative the DOS. It can be seen in the figures below that the DOS curve is unchanged between 32x32x32 and 40x40x40, however, the running time increases greatly for the 40x40x40 grid size. Therefore, it was decided that the 32x32x32 grid size was the optimum and used in further calculations.&lt;br /&gt;
&lt;br /&gt;
The size of the grid set in the calculations is inversely related to the size of the structure in real space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This equation shows that the bigger a* (size of grid in k space) the smaller a (size of cell in real space). Therefore the bigger the cell in real space, the smaller the grid size needed for the calculation of DOS. This means that a similar oxide such as CaO will require a similar grid size as MgO for the calculation of DOS. Faujasite, a zeolite, has a lattice parameter in the range 24.2 - 25.1 Å &amp;lt;ref name=&amp;quot;Zeolite&amp;quot;/&amp;gt; and would therefore need a small grid size for the DOS calculation. Lithium, a small metal, has a lattice parameter of 3.51 Å &amp;lt;ref name=&amp;quot;Lithium&amp;quot;/&amp;gt; and would therefore need a large grid size for the DOS calculation to represent its small cell size in real space.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Computing the Free Energy&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Task_3_graph.png|300px|thumb|right|Graph 1: A Graph to show how the Free Energy changes with Grid Size]]&lt;br /&gt;
The Helmholtz Free Energy of MgO was then computed using the quasi-harmonic approximation on the same grid sizes as in the previous section at a temperature of 300K. Helmholtz Free Energy is given by the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A=Helmholtz Free Energy, U=Internal Energy, S=Entropy and T=Temperature&lt;br /&gt;
This states that the Helmholtz Free Energy should increase with increasing internal energy and decreasing temperature and entropy. This said, the Helmholtz Free Energy should decrease with increasing grid size. This can be explained with the aid of the following statistical mechanics equation of entropy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt; where S=Entropy, k=Boltzmann Constant and W=number of microstates&lt;br /&gt;
As the grid size increases the number of microstates sampled also increases. This in turn increases the entropy and decreases the TS term in the Helmholtz Free Energy equation. The decrease in Helmholtz Free Energy can be further explained using the following equation of internal energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt; where U=internal Energy, H=Enthalpy, P=Pressure and V=Volume&lt;br /&gt;
As the grid size increases so does its volume, therefore decreasing the internal energy. This further decreases the Helmholtz Free Energy. It can be seen in Graph 1 that initially the Helmholtz Free Energy increases with grid from 1x1x1 to 3x3x3 and then begins to follow the expected trend and decrease with increasing grid size. Table 1 shows that the accuracy of the Helmholtz Free Energy increases with grid size.&lt;br /&gt;
The Helmholtz Free Energy converges to a value of -40.9265 eV, with the 32x32x32 grid size being the most appropriate to run calculations from, providing the correct Helmholtz Free Energy and a suitable length of time to run the calculation.&lt;br /&gt;
&lt;br /&gt;
For CaO, a similar sized crystal to MgO (lattice constant CaO = 4.811 Å, lattice constant MgO = 4.212 Å)&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;/&amp;gt;, a similar size grid will be required for the calculation of the Helmholtz Free Energy. Faujasite would require a smaller grid size due to its large lattice constant and lithium a larger grid size than MgO due to its small lattice constant.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;The Thermal Expansion of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Thermal expansion is the ability of matter to change size, volume and shape in a response to the change in temperature. When a substance is heated the molecules vibrate and begin to move more, and their average separation increases. This thermal expansion is indicated by the Coefficient of Linear Thermal Expansion (CTE). Uniform linear objects have a thermally expand proportional to temperate over a small range of temperatures. The equation used to calculate the linear CTE is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;=linear CTE, &amp;lt;math&amp;gt;{L_0}&amp;lt;/math&amp;gt;=lattice constant at 0K and &amp;lt;math&amp;gt;dL/dT&amp;lt;/math&amp;gt;=rate of change of lattice constant with respect to temperature&lt;br /&gt;
&lt;br /&gt;
A volumetric CTE can also be calculated using the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt;=volumetric CTE, &amp;lt;math&amp;gt;{V}&amp;lt;/math&amp;gt;= volume and &amp;lt;math&amp;gt;\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;= partial derivative of volum with respect to temperature at constant pressure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Quasi-harmonic Approximation: ===&lt;br /&gt;
[[File:Task_4_graph_1.png|300px|thumb|left|Graph 2: A graph to show how the free energy of MgO changes with temperature]]&lt;br /&gt;
[[File:Task_4_graph_2.png|300px|thumb|right|Graph 3: A graph to show how the lattice constant of MgO changes with temperature]]&lt;br /&gt;
Using the 32x32x32 grid size of MgO the free energy was then optimised. The optimisation opts was set to optimise Gibbs Free Energy and the temperature was varied from 0 - 1000k. The free energy decreases with increasing temperature in a parabolic fashion to the order of 2. This negative correlation can be explained using the equation for Gibbs Free Energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G=H-TS&amp;lt;/math&amp;gt; where G=Gibbs Free Energy, H=Enthalpy, T=Temperature and S=Entropy&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Increasing the temperature decreases the TS term therefore decreasing the Gibbs Free Energy.&lt;br /&gt;
&lt;br /&gt;
The lattice constant increases in a parabolic fashion to the order of 2 with increasing temperature due to the thermal expansion.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Calculation of CTE: ====&lt;br /&gt;
Coefficient of Linear Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{2.9894}\,\frac{3.0056-2.9894}{1000}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=5.419\times10^{-6}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Coefficient of Volumetric Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{26.71481005}\,\left(\frac{27.15148242-26.71481005}{1000}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V=1.634\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It can be seen that the α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt; is 3.015 times that of the α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;. This is because MgO expands at the same rate in all three directions in three-dimensions, it is an isotropic compound. The CFE values are close to those found in literature at &amp;lt;math&amp;gt;\alpha_L=7.88\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=2.36\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; which were calculated using a temperature range close to that used in this experiment at 301.15-1273.15 K&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;/&amp;gt; (results from experiment give &amp;lt;math&amp;gt;\alpha_L=5.789\times10^{-6}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=1.747\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; if calculated from 300-1000k).&lt;br /&gt;
&lt;br /&gt;
The main approximation in the calculations of the thermal expansion is to do with the anharmonic contributions to the harmonic approximation. In order to simplify the phonon frequencies are set to be volume dependent and so at a higher temperature the anharmonic factor increases. The Born-Oppenheimer Approximation which assumes that the motion of atomic nuclei and electron in a molecule can be separated is another assumption.&lt;br /&gt;
&lt;br /&gt;
This approximation cannot be used when the temperature approaches that of the melting point of MgO due to the new lattice parameters. Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; begin to behave as separate ions as MgO begins to melt and becomes molten. Therefore the quasi-harmonic approximation cannot be used as it only takes into account linear movement.&lt;br /&gt;
&lt;br /&gt;
For a diatomic molecule with an exactly harmonic potential the bond is not allowed to break and the bond length is fixed around that of its equilibrium length. Therefore the lattice constant will only increase up to a distance just prior to bond cleavage. However, in these calculations the quasi-harmonic approximation allows the bonds to break within MgO and so the lattice constant can, in theory, increase to infinity.&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamics: ===&lt;br /&gt;
[[File:32_structure_dhl.png|300px|thumb|left|Figure 10: 32 unit MgO structure used for MD calculations]]&lt;br /&gt;
[[File:32_random_dhl.png|300px|thumb|right|Figure 11: 32 unit MgO structure post MD calculations]]&lt;br /&gt;
For the final section of this experiment the thermal expansion of MgO was once again calculated, but this time using the molecular dynamics method. This method allows the system to evolve according to Newton&#039;s Second Law &amp;lt;math&amp;gt; F= ma&amp;lt;/math&amp;gt;. The ensemble used was NPT, meaning the number of particles, the pressure and the temperature were all set to be constant. The timestep at which the vibrations to be sampled was set to be 1 femtosecond (fs) and the number of equilibration steps and production steps were set to 500, with the temperature being avried from 100-1000K. When the number of sampled configurations are sufficiently large, the average calculated is representative for the time averaged system obeying the ergodic hypothesis. A structure containing 32 units and therefore 64 atoms was used in this calculation (Fig 12), and in order to compare the volumes between the quasi-harmonic approximation and the molecular dynamics method, the volumes produced were divided by 32.&lt;br /&gt;
[[File:MD_and_QH_comparison.png|300px|thumb|right|Graph 4: Comparison of Cell Volume change between QHA and MD]]&lt;br /&gt;
It can be seen that both methods show the same trend, that of the volume increasing with increasing temperature, however throughout the whole temperature range the QHA cell volume values are slightly higher than the MD values.. The QHA becomes the exact same linear trend as the MD results at 400-1000K. At these temperatures the Coefficient of Volumetric Thermal Expansion are very similar:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_VQHA=1.730\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_VMD=1.824\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the range of 0-400K there is little anharmonicity and so the QHA predicts the thermal expansion more accurately and produces the curved graph. The MD method does not predict this trend at lower temperatures and can only predict a linear trend for the thermal expansion of MgO. The QHA graph is more similar to that found in literature than the MD graph&amp;lt;ref name=&amp;quot;Thermal Expansion graph&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The 32 unit structure used for the MD calculations is a 2x2x2 lattice of the conventional unit cell. This is a lot smaller than the size used to compute the thermal expansion of MgO using the QHA, and therefore, to have accurate results from the MD method, a larger size should be used.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;References&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;&amp;gt; X. Wu, W. Li, W. Rui. Effect of temperature on elastic constants, generalized stacking fault energy and dislocation cores in MgO and CaO. &#039;&#039;Computational Condensed Matter&#039;&#039;. 2014: 38-44. Available from: DOI: 10.1016/j.cocom.2014.10.005&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Zeolite&amp;quot;&amp;gt; J. A Kaduk, J. Faber. Crystal Structure of Zeolite Y as a function of Ion Exchange. &#039;&#039;The Rigaku Journal&#039;&#039;. 1995;12: 14. Available from: http://www.rigaku.com/downloads/journal/Vol12.2.1995/kaduk.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Lithium&amp;quot;&amp;gt; M. R. Nadler, C. P Kempter. Crystallographic Data 186. Lithium. &#039;&#039;Analytical Chemistry&#039;&#039;. 1959;31:2109. Available from: &lt;br /&gt;
DOI: 10.1021/ac60156a007&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;&amp;gt; D. K. Smith, H. R. Leider. Low-Temperature Thermal Expansion of LiH, MgO and CaO. &#039;&#039;Journal of Applied Crystallography&#039;&#039;. 1968;1: 246-249. Available from: DOI: 10.1107/S0021889868005418&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;&amp;gt; J. F. W. Bowles, R. A. Howie, D. J. Vaughan, J. Zussman. Rock-forming Minerals: Non-silicates: oxides, hydroxides and sulphides 2nd ed. London: The Geological Society;2011 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion graph&amp;quot;&amp;gt; L.S. Dubrovinsky, S.K. Saxena. Thermal Expansion of Periclase (MgO) and Tungsten (W)to Melting Temperatures. &#039;&#039;Physics and Chemistry of Minerals&#039;&#039;. 1999;24(8): 547-550. Available from: DOI: 10.1007/s002690050070&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Appendix&amp;lt;/u&amp;gt; ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Grid Size !! Helmholtz Free Energy (eV)!! Accuracy (meV)&lt;br /&gt;
|-&lt;br /&gt;
| 1x1x1 || -40.9303|| 4&lt;br /&gt;
|-&lt;br /&gt;
| 2x2x2 || -40.9266|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 3x3x3 || -40.9264|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 8x8x8 || -40.9265|| 0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16x16x16 || -40.9265|| 0.001&lt;br /&gt;
|-&lt;br /&gt;
| 32x32x32 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 40x40x40 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 50x50x50 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;3&amp;quot; |Table 1: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Grid Size&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Helmholtz Free Energy (eV)&lt;br /&gt;
|-&lt;br /&gt;
| 0 || -40.9019        &lt;br /&gt;
|-&lt;br /&gt;
| 100 || -40.9024&lt;br /&gt;
|-&lt;br /&gt;
| 200 || -40.9094&lt;br /&gt;
|-&lt;br /&gt;
| 300 || -40.9281&lt;br /&gt;
|-&lt;br /&gt;
| 400 || -40.9585&lt;br /&gt;
|-&lt;br /&gt;
| 500 || -40.9994&lt;br /&gt;
|-&lt;br /&gt;
| 600 || -41.0493&lt;br /&gt;
|-&lt;br /&gt;
| 700 || -41.1071&lt;br /&gt;
|-&lt;br /&gt;
| 800 || -41.1719&lt;br /&gt;
|-&lt;br /&gt;
| 900 || -41.2440&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || -41.3198&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 2: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Temperature&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Lattice Constant&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 2.9894      &lt;br /&gt;
|-&lt;br /&gt;
| 100 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 300 || 2.9883&lt;br /&gt;
|-&lt;br /&gt;
| 400 || 2.9894&lt;br /&gt;
|-&lt;br /&gt;
| 500 || 2.9916&lt;br /&gt;
|-&lt;br /&gt;
| 600 || 2.9941&lt;br /&gt;
|-&lt;br /&gt;
| 700 || 2.9968&lt;br /&gt;
|-&lt;br /&gt;
| 800 || 2.9996&lt;br /&gt;
|-&lt;br /&gt;
| 900 || 3.0026&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 3.0056&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 3: Raw Data showing change in&lt;br /&gt;
Lattice Constant with Temperature&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dl2613</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550506</id>
		<title>Rep:Mod:Dl2613</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550506"/>
		<updated>2016-03-07T22:54:07Z</updated>

		<summary type="html">&lt;p&gt;Dl2613: /* Molecular Dynamics: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== &amp;lt;u&amp;gt;Introduction&amp;lt;/u&amp;gt; ==&lt;br /&gt;
The aim of this experiment was to use a simple model of atomic interactions to calculate the energy and vibrations of a crystal of MgO. This was then used to compute the free energy, phonon dispersions and to predict how MgO expands when heated. The quasi-harmonic approximation (QHA) and molecular dynamics methods were used to do these calculations.&lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon based model of solid-state physics and can describe volume-dependant thermal effects of structures, such as the MgO crystal. This assumption assumes that for every lattice value the harmonic oscillator assumption is true. MD is a type of N-body simulation, it allows atoms and molecules to interact for a fixed period of time showing the dynamics of a system. In this experiment the MD was run on an isothermal-isobaric (NPT) ensemble in which the amount of substance, pressure and temperature are fixed. MD allows motion in three dimensions.&lt;br /&gt;
&lt;br /&gt;
The software used for this experiment was RedHat Linux. DLVisualize (DLV) was used for the visualisation of the structure and properties of the MgO crystal. General Utility Lattice Program (GULP) is a supporting interface of DLV and was used to perform analytical solutions on MgO through the use of lattice dynamics.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Internal Energy Calculation on MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Better_unit_cell.png|300px|thumb|right|Figure 1: MgO Primitive Unit Cell]]&lt;br /&gt;
In this first exercise the internal energy and structure of MgO was calculated using GULP from the primitive unit cell of the crystal. An ionic potential model was used, without shells included and at a single point. The primitive unit cell in the simplest cell to describe the crystal structure of MgO and contains 2 atoms. The lattice vectors of this cell are:&lt;br /&gt;
&lt;br /&gt;
0.0000   2.10597   2.10597&lt;br /&gt;
&lt;br /&gt;
2.10597   0.0000   2.10597&lt;br /&gt;
&lt;br /&gt;
2.10597   2.10597   0.0000&lt;br /&gt;
&lt;br /&gt;
From the [[Media:MgO_0_DHL.out| log file]] it can be seen that the lattice parameters are defined by the length 2.9783Å and the angle 60º, giving the primitive unit cell the shape of a rhombohedron. Each primitive cell was calculated to have an energy of -40.0753 eV and this corresponds to the binding energy of the crystal. The primitive cell can be used to build up a lattice by repeating its structure.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Calculation of phonon modes of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Computing the Phonon Dispersion Curves: ===&lt;br /&gt;
[[File:MgO_Phonon_Dispersion_DHL.png|300px|thumb|left|Figure 2: MgO Phonon Dispersion]]&lt;br /&gt;
The phonon frequencies were then computed along the symmetry points &amp;lt;math&amp;gt;W, L, G, W, X, K&amp;lt;/math&amp;gt; in k space. The calculation was set up for 50 Npoints with phonon eigenvectors included in the calculation. For a 3D crystal of diatomic molecules with two atom types, six vibration modes are observed in the phonon dispersion curves (Fig 2). A positive dispersion relation results in optical modes and a negative dispersion relation results in acoustic modes. Two adjacent different atoms move against each other in the optical mode, but move against together in the acoustic mode. The acoustic modes equal 0   cm-1  at the point Γ whereas the optical modes do not. It can seen that there are three acoustic modes and three optical modes. The three acoustic modes can be split into one longitudinal acoustic mode and two transverse acoustic modes. The two transverse modes become degenerate between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;. The phonon dispersion curve agrees with that found in literature&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== The Phonon Density of States: ===&lt;br /&gt;
A simpler energy level diagram than the phonon dispersion relation is the density of states (DOS). The DOS is an average over the time and space demains of the MgO system and was calculated for the phonons as a function of the wave vector k. The dimensional limits of the MgO crystal affects the DOS and therefore it is expected that the DOS will change with the grid size of the MgO crystal.&lt;br /&gt;
&lt;br /&gt;
To begin with the DOS calculation was ran on a 1x1x1 grid, corresponding to a single k point. Comparison between Figure 2 and 3 shows that the single k point is the symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The frequencies of the phonon dispersions are identical in the two graphs. Four peaks instead of six are observed due to the fact that 2 pairs of modes become degenerate between &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. These degenerate modes correspond to the peaks between 250 and 400 cm &amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, explaining why those peaks are double the intensity of the high frequency peaks. It can been seen that a grid size of 1x1x1 is not a good representative of the DOS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_Phonon_DOS_DHL.png|300px|none|thumb|left|Figure 3: MgO Phonon DOS 1x1x1]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_3x3x3_DHL.png|300px|none|thumb|middle|Figure 4: MgO Phonon DOS 3x3x3]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_8x8x8_DHL.png|300px|none|thumb|middle|Figure 5: MgO Phonon DOS 8x8x8]]&lt;br /&gt;
|}&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_phonon_DOS_16x16x16_DHL.png|300px|none|thumb|left|Figure 6: MgO Phonon DOS 16x16x16]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_32x32x32_DHL.png|300px|none|thumb|left|Figure 7: MgO Phonon DOS 32x32x32]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_40x40x40_DHL.png|300px|none|thumb|middle|Figure 8: MgO Phonon DOS 40x40x40]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Several grid sizes were investigated up to 50x50x50 to find a compromise between an accurate DOS and the time taken to run the calculation. As the grid size is an increased a more true depiction of the DOS is obtained for the MgO structure. Increasing the grid size increases the number of peaks and then changes the graph from random sharp intensities to a smoother curve. However, the highest intensity point remains at 400 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; throughout all grid sizes and the higher frequencies having lower intensities. The bigger the grid size, the more k points that are sampled and the more representative the DOS. It can be seen in the figures below that the DOS curve is unchanged between 32x32x32 and 40x40x40, however, the running time increases greatly for the 40x40x40 grid size. Therefore, it was decided that the 32x32x32 grid size was the optimum and used in further calculations.&lt;br /&gt;
&lt;br /&gt;
The size of the grid set in the calculations is inversely related to the size of the structure in real space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This equation shows that the bigger a* (size of grid in k space) the smaller a (size of cell in real space). Therefore the bigger the cell in real space, the smaller the grid size needed for the calculation of DOS. This means that a similar oxide such as CaO will require a similar grid size as MgO for the calculation of DOS. Faujasite, a zeolite, has a lattice parameter in the range 24.2 - 25.1 Å &amp;lt;ref name=&amp;quot;Zeolite&amp;quot;/&amp;gt; and would therefore need a small grid size for the DOS calculation. Lithium, a small metal, has a lattice parameter of 3.51 Å &amp;lt;ref name=&amp;quot;Lithium&amp;quot;/&amp;gt; and would therefore need a large grid size for the DOS calculation to represent its small cell size in real space.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Computing the Free Energy&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Task_3_graph.png|300px|thumb|right|Graph 1: A Graph to show how the Free Energy changes with Grid Size]]&lt;br /&gt;
The Helmholtz Free Energy of MgO was then computed using the quasi-harmonic approximation on the same grid sizes as in the previous section at a temperature of 300K. Helmholtz Free Energy is given by the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A=Helmholtz Free Energy, U=Internal Energy, S=Entropy and T=Temperature&lt;br /&gt;
This states that the Helmholtz Free Energy should increase with increasing internal energy and decreasing temperature and entropy. This said, the Helmholtz Free Energy should decrease with increasing grid size. This can be explained with the aid of the following statistical mechanics equation of entropy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt; where S=Entropy, k=Boltzmann Constant and W=number of microstates&lt;br /&gt;
As the grid size increases the number of microstates sampled also increases. This in turn increases the entropy and decreases the TS term in the Helmholtz Free Energy equation. The decrease in Helmholtz Free Energy can be further explained using the following equation of internal energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt; where U=internal Energy, H=Enthalpy, P=Pressure and V=Volume&lt;br /&gt;
As the grid size increases so does its volume, therefore decreasing the internal energy. This further decreases the Helmholtz Free Energy. It can be seen in Graph 1 that initially the Helmholtz Free Energy increases with grid from 1x1x1 to 3x3x3 and then begins to follow the expected trend and decrease with increasing grid size. Table 1 shows that the accuracy of the Helmholtz Free Energy increases with grid size.&lt;br /&gt;
The Helmholtz Free Energy converges to a value of -40.9265 eV, with the 32x32x32 grid size being the most appropriate to run calculations from, providing the correct Helmholtz Free Energy and a suitable length of time to run the calculation.&lt;br /&gt;
&lt;br /&gt;
For CaO, a similar sized crystal to MgO (lattice constant CaO = 4.811 Å, lattice constant MgO = 4.212 Å)&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;/&amp;gt;, a similar size grid will be required for the calculation of the Helmholtz Free Energy. Faujasite would require a smaller grid size due to its large lattice constant and lithium a larger grid size than MgO due to its small lattice constant.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;The Thermal Expansion of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Thermal expansion is the ability of matter to change size, volume and shape in a response to the change in temperature. When a substance is heated the molecules vibrate and begin to move more, and their average separation increases. This thermal expansion is indicated by the Coefficient of Linear Thermal Expansion (CTE). Uniform linear objects have a thermally expand proportional to temperate over a small range of temperatures. The equation used to calculate the linear CTE is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;=linear CTE, &amp;lt;math&amp;gt;{L_0}&amp;lt;/math&amp;gt;=lattice constant at 0K and &amp;lt;math&amp;gt;dL/dT&amp;lt;/math&amp;gt;=rate of change of lattice constant with respect to temperature&lt;br /&gt;
&lt;br /&gt;
A volumetric CTE can also be calculated using the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt;=volumetric CTE, &amp;lt;math&amp;gt;{V}&amp;lt;/math&amp;gt;= volume and &amp;lt;math&amp;gt;\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;= partial derivative of volum with respect to temperature at constant pressure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Quasi-harmonic Approximation: ===&lt;br /&gt;
[[File:Task_4_graph_1.png|300px|thumb|left|Graph 2: A graph to show how the free energy of MgO changes with temperature]]&lt;br /&gt;
[[File:Task_4_graph_2.png|300px|thumb|right|Graph 3: A graph to show how the lattice constant of MgO changes with temperature]]&lt;br /&gt;
Using the 32x32x32 grid size of MgO the free energy was then optimised. The optimisation opts was set to optimise Gibbs Free Energy and the temperature was varied from 0 - 1000k. The free energy decreases with increasing temperature in a parabolic fashion to the order of 2. This negative correlation can be explained using the equation for Gibbs Free Energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G=H-TS&amp;lt;/math&amp;gt; where G=Gibbs Free Energy, H=Enthalpy, T=Temperature and S=Entropy&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Increasing the temperature decreases the TS term therefore decreasing the Gibbs Free Energy.&lt;br /&gt;
&lt;br /&gt;
The lattice constant increases in a parabolic fashion to the order of 2 with increasing temperature due to the thermal expansion.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Calculation of CTE: ====&lt;br /&gt;
Coefficient of Linear Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{2.9894}\,\frac{3.0056-2.9894}{1000}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=5.419\times10^{-6}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Coefficient of Volumetric Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{26.71481005}\,\left(\frac{27.15148242-26.71481005}{1000}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V=1.634\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It can be seen that the α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt; is 3.015 times that of the α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;. This is because MgO expands at the same rate in all three directions in three-dimensions, it is an isotropic compound. The CFE values are close to those found in literature at &amp;lt;math&amp;gt;\alpha_L=7.88\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=2.36\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; which were calculated using a temperature range close to that used in this experiment at 301.15-1273.15 K&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;/&amp;gt; (results from experiment give &amp;lt;math&amp;gt;\alpha_L=5.789\times10^{-6}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=1.747\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; if calculated from 300-1000k).&lt;br /&gt;
&lt;br /&gt;
The main approximation in the calculations of the thermal expansion is to do with the anharmonic contributions to the harmonic approximation. In order to simplify the phonon frequencies are set to be volume dependent and so at a higher temperature the anharmonic factor increases. The Born-Oppenheimer Approximation which assumes that the motion of atomic nuclei and electron in a molecule can be separated is another assumption.&lt;br /&gt;
&lt;br /&gt;
This approximation cannot be used when the temperature approaches that of the melting point of MgO due to the new lattice parameters. Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; begin to behave as separate ions as MgO begins to melt and becomes molten. Therefore the quasi-harmonic approximation cannot be used as it only takes into account linear movement.&lt;br /&gt;
&lt;br /&gt;
For a diatomic molecule with an exactly harmonic potential the bond is not allowed to break and the bond length is fixed around that of its equilibrium length. Therefore the lattice constant will only increase up to a distance just prior to bond cleavage. However, in these calculations the quasi-harmonic approximation allows the bonds to break within MgO and so the lattice constant can, in theory, increase to infinity.&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamics: ===&lt;br /&gt;
[[File:32_structure_dhl.png|300px|thumb|left|Figure 10: 32 unit MgO structure used for MD calculations]]&lt;br /&gt;
[[File:32_random_dhl.png|300px|thumb|right|Figure 11: 32 unit MgO structure post MD calculations]]&lt;br /&gt;
For the final section of this experiment the thermal expansion of MgO was once again calculated, but this time using the molecular dynamics method. This method allows the system to evolve according to Newton&#039;s Second Law &amp;lt;math&amp;gt; F= ma&amp;lt;/math&amp;gt;. The ensemble used was NPT, meaning the number of particles, the pressure and the temperature were all set to be constant. The timestep at which the vibrations to be sampled was set to be 1 femtosecond (fs) and the number of equilibration steps and production steps were set to 500, with the temperature being avried from 100-1000K. When the number of sampled configurations are sufficiently large, the average calculated is representative for the time averaged system obeying the ergodic hypothesis. A structure containing 32 units and therefore 64 atoms was used in this calculation (Fig 12), and in order to compare the volumes between the quasi-harmonic approximation and the molecular dynamics method, the volumes produced were divided by 32.&lt;br /&gt;
[[File:MD_and_QH_comparison.png|300px|thumb|right|Graph 4: Comparison of Cell Volume change between QHA and MD]]&lt;br /&gt;
It can be seen that both methods show the same trend, that of the volume increasing with increasing temperature, however throughout the whole temperature range the QHA cell volume values are slightly higher than the MD values.. The QHA becomes the exact same linear trend as the MD results at 400-1000K. At these temperatures the Coefficient of Volumetric Thermal Expansion are very similar:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_VQHA=1.730\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_VMD=1.824\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the range of 0-400K there is little anharmonicity and so the QHA predicts the thermal expansion more accurately and produces the curved graph. The MD method does not predict this trend at lower temperatures and can only predict a linear trend for the thermal expansion of MgO. The QHA graph is more similar to that found in literature than the MD graph&amp;lt;ref name=&amp;quot;Thermal Expansion graph&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The 32 unit stucture used for the MD calculations is a 2x2x2 lattice of the conventional unit cell. This is a lot smaller than the size required for an accurate Gibbs free energy result which suggests that a much larger size is required for an accurate result using the MD method.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;References&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;&amp;gt; X. Wu, W. Li, W. Rui. Effect of temperature on elastic constants, generalized stacking fault energy and dislocation cores in MgO and CaO. &#039;&#039;Computational Condensed Matter&#039;&#039;. 2014: 38-44. Available from: DOI: 10.1016/j.cocom.2014.10.005&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Zeolite&amp;quot;&amp;gt; J. A Kaduk, J. Faber. Crystal Structure of Zeolite Y as a function of Ion Exchange. &#039;&#039;The Rigaku Journal&#039;&#039;. 1995;12: 14. Available from: http://www.rigaku.com/downloads/journal/Vol12.2.1995/kaduk.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Lithium&amp;quot;&amp;gt; M. R. Nadler, C. P Kempter. Crystallographic Data 186. Lithium. &#039;&#039;Analytical Chemistry&#039;&#039;. 1959;31:2109. Available from: &lt;br /&gt;
DOI: 10.1021/ac60156a007&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;&amp;gt; D. K. Smith, H. R. Leider. Low-Temperature Thermal Expansion of LiH, MgO and CaO. &#039;&#039;Journal of Applied Crystallography&#039;&#039;. 1968;1: 246-249. Available from: DOI: 10.1107/S0021889868005418&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;&amp;gt; J. F. W. Bowles, R. A. Howie, D. J. Vaughan, J. Zussman. Rock-forming Minerals: Non-silicates: oxides, hydroxides and sulphides 2nd ed. London: The Geological Society;2011 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion graph&amp;quot;&amp;gt; L.S. Dubrovinsky, S.K. Saxena. Thermal Expansion of Periclase (MgO) and Tungsten (W)to Melting Temperatures. &#039;&#039;Physics and Chemistry of Minerals&#039;&#039;. 1999;24(8): 547-550. Available from: DOI: 10.1007/s002690050070&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Appendix&amp;lt;/u&amp;gt; ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Grid Size !! Helmholtz Free Energy (eV)!! Accuracy (meV)&lt;br /&gt;
|-&lt;br /&gt;
| 1x1x1 || -40.9303|| 4&lt;br /&gt;
|-&lt;br /&gt;
| 2x2x2 || -40.9266|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 3x3x3 || -40.9264|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 8x8x8 || -40.9265|| 0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16x16x16 || -40.9265|| 0.001&lt;br /&gt;
|-&lt;br /&gt;
| 32x32x32 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 40x40x40 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 50x50x50 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;3&amp;quot; |Table 1: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Grid Size&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Helmholtz Free Energy (eV)&lt;br /&gt;
|-&lt;br /&gt;
| 0 || -40.9019        &lt;br /&gt;
|-&lt;br /&gt;
| 100 || -40.9024&lt;br /&gt;
|-&lt;br /&gt;
| 200 || -40.9094&lt;br /&gt;
|-&lt;br /&gt;
| 300 || -40.9281&lt;br /&gt;
|-&lt;br /&gt;
| 400 || -40.9585&lt;br /&gt;
|-&lt;br /&gt;
| 500 || -40.9994&lt;br /&gt;
|-&lt;br /&gt;
| 600 || -41.0493&lt;br /&gt;
|-&lt;br /&gt;
| 700 || -41.1071&lt;br /&gt;
|-&lt;br /&gt;
| 800 || -41.1719&lt;br /&gt;
|-&lt;br /&gt;
| 900 || -41.2440&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || -41.3198&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 2: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Temperature&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Lattice Constant&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 2.9894      &lt;br /&gt;
|-&lt;br /&gt;
| 100 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 300 || 2.9883&lt;br /&gt;
|-&lt;br /&gt;
| 400 || 2.9894&lt;br /&gt;
|-&lt;br /&gt;
| 500 || 2.9916&lt;br /&gt;
|-&lt;br /&gt;
| 600 || 2.9941&lt;br /&gt;
|-&lt;br /&gt;
| 700 || 2.9968&lt;br /&gt;
|-&lt;br /&gt;
| 800 || 2.9996&lt;br /&gt;
|-&lt;br /&gt;
| 900 || 3.0026&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 3.0056&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 3: Raw Data showing change in&lt;br /&gt;
Lattice Constant with Temperature&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dl2613</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550505</id>
		<title>Rep:Mod:Dl2613</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550505"/>
		<updated>2016-03-07T22:51:41Z</updated>

		<summary type="html">&lt;p&gt;Dl2613: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== &amp;lt;u&amp;gt;Introduction&amp;lt;/u&amp;gt; ==&lt;br /&gt;
The aim of this experiment was to use a simple model of atomic interactions to calculate the energy and vibrations of a crystal of MgO. This was then used to compute the free energy, phonon dispersions and to predict how MgO expands when heated. The quasi-harmonic approximation (QHA) and molecular dynamics methods were used to do these calculations.&lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon based model of solid-state physics and can describe volume-dependant thermal effects of structures, such as the MgO crystal. This assumption assumes that for every lattice value the harmonic oscillator assumption is true. MD is a type of N-body simulation, it allows atoms and molecules to interact for a fixed period of time showing the dynamics of a system. In this experiment the MD was run on an isothermal-isobaric (NPT) ensemble in which the amount of substance, pressure and temperature are fixed. MD allows motion in three dimensions.&lt;br /&gt;
&lt;br /&gt;
The software used for this experiment was RedHat Linux. DLVisualize (DLV) was used for the visualisation of the structure and properties of the MgO crystal. General Utility Lattice Program (GULP) is a supporting interface of DLV and was used to perform analytical solutions on MgO through the use of lattice dynamics.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Internal Energy Calculation on MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Better_unit_cell.png|300px|thumb|right|Figure 1: MgO Primitive Unit Cell]]&lt;br /&gt;
In this first exercise the internal energy and structure of MgO was calculated using GULP from the primitive unit cell of the crystal. An ionic potential model was used, without shells included and at a single point. The primitive unit cell in the simplest cell to describe the crystal structure of MgO and contains 2 atoms. The lattice vectors of this cell are:&lt;br /&gt;
&lt;br /&gt;
0.0000   2.10597   2.10597&lt;br /&gt;
&lt;br /&gt;
2.10597   0.0000   2.10597&lt;br /&gt;
&lt;br /&gt;
2.10597   2.10597   0.0000&lt;br /&gt;
&lt;br /&gt;
From the [[Media:MgO_0_DHL.out| log file]] it can be seen that the lattice parameters are defined by the length 2.9783Å and the angle 60º, giving the primitive unit cell the shape of a rhombohedron. Each primitive cell was calculated to have an energy of -40.0753 eV and this corresponds to the binding energy of the crystal. The primitive cell can be used to build up a lattice by repeating its structure.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Calculation of phonon modes of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Computing the Phonon Dispersion Curves: ===&lt;br /&gt;
[[File:MgO_Phonon_Dispersion_DHL.png|300px|thumb|left|Figure 2: MgO Phonon Dispersion]]&lt;br /&gt;
The phonon frequencies were then computed along the symmetry points &amp;lt;math&amp;gt;W, L, G, W, X, K&amp;lt;/math&amp;gt; in k space. The calculation was set up for 50 Npoints with phonon eigenvectors included in the calculation. For a 3D crystal of diatomic molecules with two atom types, six vibration modes are observed in the phonon dispersion curves (Fig 2). A positive dispersion relation results in optical modes and a negative dispersion relation results in acoustic modes. Two adjacent different atoms move against each other in the optical mode, but move against together in the acoustic mode. The acoustic modes equal 0   cm-1  at the point Γ whereas the optical modes do not. It can seen that there are three acoustic modes and three optical modes. The three acoustic modes can be split into one longitudinal acoustic mode and two transverse acoustic modes. The two transverse modes become degenerate between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;. The phonon dispersion curve agrees with that found in literature&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== The Phonon Density of States: ===&lt;br /&gt;
A simpler energy level diagram than the phonon dispersion relation is the density of states (DOS). The DOS is an average over the time and space demains of the MgO system and was calculated for the phonons as a function of the wave vector k. The dimensional limits of the MgO crystal affects the DOS and therefore it is expected that the DOS will change with the grid size of the MgO crystal.&lt;br /&gt;
&lt;br /&gt;
To begin with the DOS calculation was ran on a 1x1x1 grid, corresponding to a single k point. Comparison between Figure 2 and 3 shows that the single k point is the symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The frequencies of the phonon dispersions are identical in the two graphs. Four peaks instead of six are observed due to the fact that 2 pairs of modes become degenerate between &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. These degenerate modes correspond to the peaks between 250 and 400 cm &amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, explaining why those peaks are double the intensity of the high frequency peaks. It can been seen that a grid size of 1x1x1 is not a good representative of the DOS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_Phonon_DOS_DHL.png|300px|none|thumb|left|Figure 3: MgO Phonon DOS 1x1x1]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_3x3x3_DHL.png|300px|none|thumb|middle|Figure 4: MgO Phonon DOS 3x3x3]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_8x8x8_DHL.png|300px|none|thumb|middle|Figure 5: MgO Phonon DOS 8x8x8]]&lt;br /&gt;
|}&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_phonon_DOS_16x16x16_DHL.png|300px|none|thumb|left|Figure 6: MgO Phonon DOS 16x16x16]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_32x32x32_DHL.png|300px|none|thumb|left|Figure 7: MgO Phonon DOS 32x32x32]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_40x40x40_DHL.png|300px|none|thumb|middle|Figure 8: MgO Phonon DOS 40x40x40]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Several grid sizes were investigated up to 50x50x50 to find a compromise between an accurate DOS and the time taken to run the calculation. As the grid size is an increased a more true depiction of the DOS is obtained for the MgO structure. Increasing the grid size increases the number of peaks and then changes the graph from random sharp intensities to a smoother curve. However, the highest intensity point remains at 400 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; throughout all grid sizes and the higher frequencies having lower intensities. The bigger the grid size, the more k points that are sampled and the more representative the DOS. It can be seen in the figures below that the DOS curve is unchanged between 32x32x32 and 40x40x40, however, the running time increases greatly for the 40x40x40 grid size. Therefore, it was decided that the 32x32x32 grid size was the optimum and used in further calculations.&lt;br /&gt;
&lt;br /&gt;
The size of the grid set in the calculations is inversely related to the size of the structure in real space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This equation shows that the bigger a* (size of grid in k space) the smaller a (size of cell in real space). Therefore the bigger the cell in real space, the smaller the grid size needed for the calculation of DOS. This means that a similar oxide such as CaO will require a similar grid size as MgO for the calculation of DOS. Faujasite, a zeolite, has a lattice parameter in the range 24.2 - 25.1 Å &amp;lt;ref name=&amp;quot;Zeolite&amp;quot;/&amp;gt; and would therefore need a small grid size for the DOS calculation. Lithium, a small metal, has a lattice parameter of 3.51 Å &amp;lt;ref name=&amp;quot;Lithium&amp;quot;/&amp;gt; and would therefore need a large grid size for the DOS calculation to represent its small cell size in real space.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Computing the Free Energy&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Task_3_graph.png|300px|thumb|right|Graph 1: A Graph to show how the Free Energy changes with Grid Size]]&lt;br /&gt;
The Helmholtz Free Energy of MgO was then computed using the quasi-harmonic approximation on the same grid sizes as in the previous section at a temperature of 300K. Helmholtz Free Energy is given by the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A=Helmholtz Free Energy, U=Internal Energy, S=Entropy and T=Temperature&lt;br /&gt;
This states that the Helmholtz Free Energy should increase with increasing internal energy and decreasing temperature and entropy. This said, the Helmholtz Free Energy should decrease with increasing grid size. This can be explained with the aid of the following statistical mechanics equation of entropy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt; where S=Entropy, k=Boltzmann Constant and W=number of microstates&lt;br /&gt;
As the grid size increases the number of microstates sampled also increases. This in turn increases the entropy and decreases the TS term in the Helmholtz Free Energy equation. The decrease in Helmholtz Free Energy can be further explained using the following equation of internal energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt; where U=internal Energy, H=Enthalpy, P=Pressure and V=Volume&lt;br /&gt;
As the grid size increases so does its volume, therefore decreasing the internal energy. This further decreases the Helmholtz Free Energy. It can be seen in Graph 1 that initially the Helmholtz Free Energy increases with grid from 1x1x1 to 3x3x3 and then begins to follow the expected trend and decrease with increasing grid size. Table 1 shows that the accuracy of the Helmholtz Free Energy increases with grid size.&lt;br /&gt;
The Helmholtz Free Energy converges to a value of -40.9265 eV, with the 32x32x32 grid size being the most appropriate to run calculations from, providing the correct Helmholtz Free Energy and a suitable length of time to run the calculation.&lt;br /&gt;
&lt;br /&gt;
For CaO, a similar sized crystal to MgO (lattice constant CaO = 4.811 Å, lattice constant MgO = 4.212 Å)&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;/&amp;gt;, a similar size grid will be required for the calculation of the Helmholtz Free Energy. Faujasite would require a smaller grid size due to its large lattice constant and lithium a larger grid size than MgO due to its small lattice constant.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;The Thermal Expansion of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Thermal expansion is the ability of matter to change size, volume and shape in a response to the change in temperature. When a substance is heated the molecules vibrate and begin to move more, and their average separation increases. This thermal expansion is indicated by the Coefficient of Linear Thermal Expansion (CTE). Uniform linear objects have a thermally expand proportional to temperate over a small range of temperatures. The equation used to calculate the linear CTE is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;=linear CTE, &amp;lt;math&amp;gt;{L_0}&amp;lt;/math&amp;gt;=lattice constant at 0K and &amp;lt;math&amp;gt;dL/dT&amp;lt;/math&amp;gt;=rate of change of lattice constant with respect to temperature&lt;br /&gt;
&lt;br /&gt;
A volumetric CTE can also be calculated using the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt;=volumetric CTE, &amp;lt;math&amp;gt;{V}&amp;lt;/math&amp;gt;= volume and &amp;lt;math&amp;gt;\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;= partial derivative of volum with respect to temperature at constant pressure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Quasi-harmonic Approximation: ===&lt;br /&gt;
[[File:Task_4_graph_1.png|300px|thumb|left|Graph 2: A graph to show how the free energy of MgO changes with temperature]]&lt;br /&gt;
[[File:Task_4_graph_2.png|300px|thumb|right|Graph 3: A graph to show how the lattice constant of MgO changes with temperature]]&lt;br /&gt;
Using the 32x32x32 grid size of MgO the free energy was then optimised. The optimisation opts was set to optimise Gibbs Free Energy and the temperature was varied from 0 - 1000k. The free energy decreases with increasing temperature in a parabolic fashion to the order of 2. This negative correlation can be explained using the equation for Gibbs Free Energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G=H-TS&amp;lt;/math&amp;gt; where G=Gibbs Free Energy, H=Enthalpy, T=Temperature and S=Entropy&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Increasing the temperature decreases the TS term therefore decreasing the Gibbs Free Energy.&lt;br /&gt;
&lt;br /&gt;
The lattice constant increases in a parabolic fashion to the order of 2 with increasing temperature due to the thermal expansion.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Calculation of CTE: ====&lt;br /&gt;
Coefficient of Linear Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{2.9894}\,\frac{3.0056-2.9894}{1000}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=5.419\times10^{-6}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Coefficient of Volumetric Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{26.71481005}\,\left(\frac{27.15148242-26.71481005}{1000}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V=1.634\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It can be seen that the α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt; is 3.015 times that of the α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;. This is because MgO expands at the same rate in all three directions in three-dimensions, it is an isotropic compound. The CFE values are close to those found in literature at &amp;lt;math&amp;gt;\alpha_L=7.88\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=2.36\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; which were calculated using a temperature range close to that used in this experiment at 301.15-1273.15 K&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;/&amp;gt; (results from experiment give &amp;lt;math&amp;gt;\alpha_L=5.789\times10^{-6}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=1.747\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; if calculated from 300-1000k).&lt;br /&gt;
&lt;br /&gt;
The main approximation in the calculations of the thermal expansion is to do with the anharmonic contributions to the harmonic approximation. In order to simplify the phonon frequencies are set to be volume dependent and so at a higher temperature the anharmonic factor increases. The Born-Oppenheimer Approximation which assumes that the motion of atomic nuclei and electron in a molecule can be separated is another assumption.&lt;br /&gt;
&lt;br /&gt;
This approximation cannot be used when the temperature approaches that of the melting point of MgO due to the new lattice parameters. Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; begin to behave as separate ions as MgO begins to melt and becomes molten. Therefore the quasi-harmonic approximation cannot be used as it only takes into account linear movement.&lt;br /&gt;
&lt;br /&gt;
For a diatomic molecule with an exactly harmonic potential the bond is not allowed to break and the bond length is fixed around that of its equilibrium length. Therefore the lattice constant will only increase up to a distance just prior to bond cleavage. However, in these calculations the quasi-harmonic approximation allows the bonds to break within MgO and so the lattice constant can, in theory, increase to infinity.&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamics: ===&lt;br /&gt;
[[File:32_structure_dhl.png|300px|thumb|left|Figure 10: 32 unit MgO structure used for MD calculations]]&lt;br /&gt;
[[File:32_random_dhl.png|300px|thumb|right|Figure 11: 32 unit MgO structure post MD calculations]]&lt;br /&gt;
For the final section of this experiment the thermal expansion of MgO was once again calculated, but this time using the molecular dynamics method. This method allows the system to evolve according to Newton&#039;s Second Law &amp;lt;math&amp;gt; F= ma&amp;lt;/math&amp;gt;. The ensemble used was NPT, meaning the number of particles, the pressure and the temperature were all set to be constant. The timestep at which the vibrations to be sampled was set to be 1 femtosecond (fs) and the number of equilibration steps and production steps were set to 500, with the temperature being avried from 100-1000K. When the number of sampled configurations are sufficiently large, the average calculated is representative for the time averaged system obeying the ergodic hypothesis. A structure containing 32 units and therefore 64 atoms was used in this calculation (Fig 12), and in order to compare the volumes between the quasi-harmonic approximation and the molecular dynamics method, the volumes produced were divided by 32.&lt;br /&gt;
[[File:MD_and_QH_comparison.png|300px|thumb|right|Graph 4: Comparison of Cell Volume change between QHA and MD]]&lt;br /&gt;
It can be seen that both methods show the same trend, that of the volume increasing with increasing temperature, however throughout the whole temperature range the QHA cell volume values are slightly higher than the MD values.. The QHA becomes the exact same linear trend as the MD results at 400-1000K. At these temperatures the Coefficient of Volumetric Thermal Expansion are very similar:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_VQHA=1.730\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_VMD=1.824\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the range of 0-400K there is little anharmonicity and so the QHA predicts the thermal expansion more accurately and produces the curved graph. The MD method does not predict this trend at lower temperatures and can only predict a linear trend for the thermal expansion of MgO. The QHA graph is more similar to that found in literature than the MD graph&amp;lt;ref name=&amp;quot;Thermal Expansion graph&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;References&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;&amp;gt; X. Wu, W. Li, W. Rui. Effect of temperature on elastic constants, generalized stacking fault energy and dislocation cores in MgO and CaO. &#039;&#039;Computational Condensed Matter&#039;&#039;. 2014: 38-44. Available from: DOI: 10.1016/j.cocom.2014.10.005&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Zeolite&amp;quot;&amp;gt; J. A Kaduk, J. Faber. Crystal Structure of Zeolite Y as a function of Ion Exchange. &#039;&#039;The Rigaku Journal&#039;&#039;. 1995;12: 14. Available from: http://www.rigaku.com/downloads/journal/Vol12.2.1995/kaduk.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Lithium&amp;quot;&amp;gt; M. R. Nadler, C. P Kempter. Crystallographic Data 186. Lithium. &#039;&#039;Analytical Chemistry&#039;&#039;. 1959;31:2109. Available from: &lt;br /&gt;
DOI: 10.1021/ac60156a007&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;&amp;gt; D. K. Smith, H. R. Leider. Low-Temperature Thermal Expansion of LiH, MgO and CaO. &#039;&#039;Journal of Applied Crystallography&#039;&#039;. 1968;1: 246-249. Available from: DOI: 10.1107/S0021889868005418&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;&amp;gt; J. F. W. Bowles, R. A. Howie, D. J. Vaughan, J. Zussman. Rock-forming Minerals: Non-silicates: oxides, hydroxides and sulphides 2nd ed. London: The Geological Society;2011 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion graph&amp;quot;&amp;gt; L.S. Dubrovinsky, S.K. Saxena. Thermal Expansion of Periclase (MgO) and Tungsten (W)to Melting Temperatures. &#039;&#039;Physics and Chemistry of Minerals&#039;&#039;. 1999;24(8): 547-550. Available from: DOI: 10.1007/s002690050070&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Appendix&amp;lt;/u&amp;gt; ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Grid Size !! Helmholtz Free Energy (eV)!! Accuracy (meV)&lt;br /&gt;
|-&lt;br /&gt;
| 1x1x1 || -40.9303|| 4&lt;br /&gt;
|-&lt;br /&gt;
| 2x2x2 || -40.9266|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 3x3x3 || -40.9264|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 8x8x8 || -40.9265|| 0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16x16x16 || -40.9265|| 0.001&lt;br /&gt;
|-&lt;br /&gt;
| 32x32x32 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 40x40x40 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 50x50x50 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;3&amp;quot; |Table 1: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Grid Size&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Helmholtz Free Energy (eV)&lt;br /&gt;
|-&lt;br /&gt;
| 0 || -40.9019        &lt;br /&gt;
|-&lt;br /&gt;
| 100 || -40.9024&lt;br /&gt;
|-&lt;br /&gt;
| 200 || -40.9094&lt;br /&gt;
|-&lt;br /&gt;
| 300 || -40.9281&lt;br /&gt;
|-&lt;br /&gt;
| 400 || -40.9585&lt;br /&gt;
|-&lt;br /&gt;
| 500 || -40.9994&lt;br /&gt;
|-&lt;br /&gt;
| 600 || -41.0493&lt;br /&gt;
|-&lt;br /&gt;
| 700 || -41.1071&lt;br /&gt;
|-&lt;br /&gt;
| 800 || -41.1719&lt;br /&gt;
|-&lt;br /&gt;
| 900 || -41.2440&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || -41.3198&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 2: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Temperature&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Lattice Constant&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 2.9894      &lt;br /&gt;
|-&lt;br /&gt;
| 100 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 300 || 2.9883&lt;br /&gt;
|-&lt;br /&gt;
| 400 || 2.9894&lt;br /&gt;
|-&lt;br /&gt;
| 500 || 2.9916&lt;br /&gt;
|-&lt;br /&gt;
| 600 || 2.9941&lt;br /&gt;
|-&lt;br /&gt;
| 700 || 2.9968&lt;br /&gt;
|-&lt;br /&gt;
| 800 || 2.9996&lt;br /&gt;
|-&lt;br /&gt;
| 900 || 3.0026&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 3.0056&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 3: Raw Data showing change in&lt;br /&gt;
Lattice Constant with Temperature&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dl2613</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550500</id>
		<title>Rep:Mod:Dl2613</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550500"/>
		<updated>2016-03-07T22:32:33Z</updated>

		<summary type="html">&lt;p&gt;Dl2613: /* Molecular Dynamics: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== &amp;lt;u&amp;gt;Introduction&amp;lt;/u&amp;gt; ==&lt;br /&gt;
The aim of this experiment was to use a simple model of atomic interactions to calculate the energy and vibrations of a crystal of MgO. This was then used to compute the free energy, phonon dispersions and to predict how MgO expands when heated. The quasi-harmonic approximation (QHA) and molecular dynamics methods were used to do these calculations.&lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon based model of solid-state physics and can describe volume-dependant thermal effects of structures, such as the MgO crystal. This assumption assumes that for every lattice value the harmonic oscillator assumption is true. MD is a type of N-body simulation, it allows atoms and molecules to interact for a fixed period of time showing the dynamics of a system. In this experiment the MD was run on an isothermal-isobaric (NPT) ensemble in which the amount of substance, pressure and temperature are fixed. MD allows motion in three dimensions.&lt;br /&gt;
&lt;br /&gt;
The software used for this experiment was RedHat Linux. DLVisualize (DLV) was used for the visualisation of the structure and properties of the MgO crystal. General Utility Lattice Program (GULP) is a supporting interface of DLV and was used to perform analytical solutions on MgO through the use of lattice dynamics.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Internal Energy Calculation on MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Better_unit_cell.png|300px|thumb|right|Figure 1: MgO Primitive Unit Cell]]&lt;br /&gt;
In this first exercise the internal energy and structure of MgO was calculated using GULP from the primitive unit cell of the crystal. An ionic potential model was used, without shells included and at a single point. The primitive unit cell in the simplest cell to describe the crystal structure of MgO and contains 2 atoms. The lattice vectors of this cell are:&lt;br /&gt;
&lt;br /&gt;
0.0000   2.10597   2.10597&lt;br /&gt;
&lt;br /&gt;
2.10597   0.0000   2.10597&lt;br /&gt;
&lt;br /&gt;
2.10597   2.10597   0.0000&lt;br /&gt;
&lt;br /&gt;
From the [[Media:MgO_0_DHL.out| log file]] it can be seen that the lattice parameters are defined by the length 2.9783Å and the angle 60º, giving the primitive unit cell the shape of a rhombohedron. Each primitive cell was calculated to have an energy of -40.0753 eV and this corresponds to the binding energy of the crystal. The primitive cell can be used to build up a lattice by repeating its structure.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Calculation of phonon modes of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Computing the Phonon Dispersion Curves: ===&lt;br /&gt;
[[File:MgO_Phonon_Dispersion_DHL.png|300px|thumb|left|Figure 2: MgO Phonon Dispersion]]&lt;br /&gt;
The phonon frequencies were then computed along the symmetry points &amp;lt;math&amp;gt;W, L, G, W, X, K&amp;lt;/math&amp;gt; in k space. The calculation was set up for 50 Npoints with phonon eigenvectors included in the calculation. For a 3D crystal of diatomic molecules with two atom types, six vibration modes are observed in the phonon dispersion curves (Fig 2). A positive dispersion relation results in optical modes and a negative dispersion relation results in acoustic modes. Two adjacent different atoms move against each other in the optical mode, but move against together in the acoustic mode. The acoustic modes equal 0   cm-1  at the point Γ whereas the optical modes do not. It can seen that there are three acoustic modes and three optical modes. The three acoustic modes can be split into one longitudinal acoustic mode and two transverse acoustic modes. The two transverse modes become degenerate between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;. The phonon dispersion curve agrees with that found in literature&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== The Phonon Density of States: ===&lt;br /&gt;
A simpler energy level diagram than the phonon dispersion relation is the density of states (DOS). The DOS is an average over the time and space demains of the MgO system and was calculated for the phonons as a function of the wave vector k. The dimensional limits of the MgO crystal affects the DOS and therefore it is expected that the DOS will change with the grid size of the MgO crystal.&lt;br /&gt;
&lt;br /&gt;
To begin with the DOS calculation was ran on a 1x1x1 grid, corresponding to a single k point. Comparison between Figure 2 and 3 shows that the single k point is the symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The frequencies of the phonon dispersions are identical in the two graphs. Four peaks instead of six are observed due to the fact that 2 pairs of modes become degenerate between &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. These degenerate modes correspond to the peaks between 250 and 400 cm &amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, explaining why those peaks are double the intensity of the high frequency peaks. It can been seen that a grid size of 1x1x1 is not a good representative of the DOS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_Phonon_DOS_DHL.png|300px|none|thumb|left|Figure 3: MgO Phonon DOS 1x1x1]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_3x3x3_DHL.png|300px|none|thumb|middle|Figure 4: MgO Phonon DOS 3x3x3]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_8x8x8_DHL.png|300px|none|thumb|middle|Figure 5: MgO Phonon DOS 8x8x8]]&lt;br /&gt;
|}&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_phonon_DOS_16x16x16_DHL.png|300px|none|thumb|left|Figure 6: MgO Phonon DOS 16x16x16]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_32x32x32_DHL.png|300px|none|thumb|left|Figure 7: MgO Phonon DOS 32x32x32]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_40x40x40_DHL.png|300px|none|thumb|middle|Figure 8: MgO Phonon DOS 40x40x40]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Several grid sizes were investigated up to 50x50x50 to find a compromise between an accurate DOS and the time taken to run the calculation. As the grid size is an increased a more true depiction of the DOS is obtained for the MgO structure. Increasing the grid size increases the number of peaks and then changes the graph from random sharp intensities to a smoother curve. However, the highest intensity point remains at 400 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; throughout all grid sizes and the higher frequencies having lower intensities. The bigger the grid size, the more k points that are sampled and the more representative the DOS. It can be seen in the figures below that the DOS curve is unchanged between 32x32x32 and 40x40x40, however, the running time increases greatly for the 40x40x40 grid size. Therefore, it was decided that the 32x32x32 grid size was the optimum and used in further calculations.&lt;br /&gt;
&lt;br /&gt;
The size of the grid set in the calculations is inversely related to the size of the structure in real space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This equation shows that the bigger a* (size of grid in k space) the smaller a (size of cell in real space). Therefore the bigger the cell in real space, the smaller the grid size needed for the calculation of DOS. This means that a similar oxide such as CaO will require a similar grid size as MgO for the calculation of DOS. Faujasite, a zeolite, has a lattice parameter in the range 24.2 - 25.1 Å &amp;lt;ref name=&amp;quot;Zeolite&amp;quot;/&amp;gt; and would therefore need a small grid size for the DOS calculation. Lithium, a small metal, has a lattice parameter of 3.51 Å &amp;lt;ref name=&amp;quot;Lithium&amp;quot;/&amp;gt; and would therefore need a large grid size for the DOS calculation to represent its small cell size in real space.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Computing the Free Energy&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Task_3_graph.png|300px|thumb|right|Graph 1: A Graph to show how the Free Energy changes with Grid Size]]&lt;br /&gt;
The Helmholtz Free Energy of MgO was then computed using the quasi-harmonic approximation on the same grid sizes as in the previous section at a temperature of 300K. Helmholtz Free Energy is given by the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A=Helmholtz Free Energy, U=Internal Energy, S=Entropy and T=Temperature&lt;br /&gt;
This states that the Helmholtz Free Energy should increase with increasing internal energy and decreasing temperature and entropy. This said, the Helmholtz Free Energy should decrease with increasing grid size. This can be explained with the aid of the following statistical mechanics equation of entropy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt; where S=Entropy, k=Boltzmann Constant and W=number of microstates&lt;br /&gt;
As the grid size increases the number of microstates sampled also increases. This in turn increases the entropy and decreases the TS term in the Helmholtz Free Energy equation. The decrease in Helmholtz Free Energy can be further explained using the following equation of internal energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt; where U=internal Energy, H=Enthalpy, P=Pressure and V=Volume&lt;br /&gt;
As the grid size increases so does its volume, therefore decreasing the internal energy. This further decreases the Helmholtz Free Energy. It can be seen in Graph 1 that initially the Helmholtz Free Energy increases with grid from 1x1x1 to 3x3x3 and then begins to follow the expected trend and decrease with increasing grid size. Table 1 shows that the accuracy of the Helmholtz Free Energy increases with grid size.&lt;br /&gt;
The Helmholtz Free Energy converges to a value of -40.9265 eV, with the 32x32x32 grid size being the most appropriate to run calculations from, providing the correct Helmholtz Free Energy and a suitable length of time to run the calculation.&lt;br /&gt;
&lt;br /&gt;
For CaO, a similar sized crystal to MgO (lattice constant CaO = 4.811 Å, lattice constant MgO = 4.212 Å)&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;/&amp;gt;, a similar size grid will be required for the calculation of the Helmholtz Free Energy. Faujasite would require a smaller grid size due to its large lattice constant and lithium a larger grid size than MgO due to its small lattice constant.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;The Thermal Expansion of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Thermal expansion is the ability of matter to change size, volume and shape in a response to the change in temperature. When a substance is heated the molecules vibrate and begin to move more, and their average separation increases. This thermal expansion is indicated by the Coefficient of Linear Thermal Expansion (CTE). Uniform linear objects have a thermally expand proportional to temperate over a small range of temperatures. The equation used to calculate the linear CTE is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;=linear CTE, &amp;lt;math&amp;gt;{L_0}&amp;lt;/math&amp;gt;=lattice constant at 0K and &amp;lt;math&amp;gt;dL/dT&amp;lt;/math&amp;gt;=rate of change of lattice constant with respect to temperature&lt;br /&gt;
&lt;br /&gt;
A volumetric CTE can also be calculated using the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt;=volumetric CTE, &amp;lt;math&amp;gt;{V}&amp;lt;/math&amp;gt;= volume and &amp;lt;math&amp;gt;\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;= partial derivative of volum with respect to temperature at constant pressure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Quasi-harmonic Approximation: ===&lt;br /&gt;
[[File:Task_4_graph_1.png|300px|thumb|left|Graph 2: A graph to show how the free energy of MgO changes with temperature]]&lt;br /&gt;
[[File:Task_4_graph_2.png|300px|thumb|right|Graph 3: A graph to show how the lattice constant of MgO changes with temperature]]&lt;br /&gt;
Using the 32x32x32 grid size of MgO the free energy was then optimised. The optimisation opts was set to optimise Gibbs Free Energy and the temperature was varied from 0 - 1000k. The free energy decreases with increasing temperature in a parabolic fashion to the order of 2. This negative correlation can be explained using the equation for Gibbs Free Energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G=H-TS&amp;lt;/math&amp;gt; where G=Gibbs Free Energy, H=Enthalpy, T=Temperature and S=Entropy&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Increasing the temperature decreases the TS term therefore decreasing the Gibbs Free Energy.&lt;br /&gt;
&lt;br /&gt;
The lattice constant increases in a parabolic fashion to the order of 2 with increasing temperature due to the thermal expansion.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Calculation of CTE: ====&lt;br /&gt;
Coefficient of Linear Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{2.9894}\,\frac{3.0056-2.9894}{1000}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=5.419\times10^{-6}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Coefficient of Volumetric Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{26.71481005}\,\left(\frac{27.15148242-26.71481005}{1000}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V=1.634\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It can be seen that the α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt; is 3.015 times that of the α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;. This is because MgO expands at the same rate in all three directions in three-dimensions, it is an isotropic compound. The CFE values are close to those found in literature at &amp;lt;math&amp;gt;\alpha_L=7.88\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=2.36\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; which were calculated using a temperature range close to that used in this experiment at 301.15-1273.15 K&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;/&amp;gt; (results from experiment give &amp;lt;math&amp;gt;\alpha_L=5.789\times10^{-6}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=1.747\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; if calculated from 300-1000k).&lt;br /&gt;
&lt;br /&gt;
The main approximation in the calculations of the thermal expansion is to do with the anharmonic contributions to the harmonic approximation. In order to simplify the phonon frequencies are set to be volume dependent and so at a higher temperature the anharmonic factor increases. The Born-Oppenheimer Approximation which assumes that the motion of atomic nuclei and electron in a molecule can be separated is another assumption.&lt;br /&gt;
&lt;br /&gt;
This approximation cannot be used when the temperature approaches that of the melting point of MgO due to the new lattice parameters. Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; begin to behave as separate ions as MgO begins to melt and becomes molten. Therefore the quasi-harmonic approximation cannot be used as it only takes into account linear movement.&lt;br /&gt;
&lt;br /&gt;
For a diatomic molecule with an exactly harmonic potential the bond is not allowed to break and the bond length is fixed around that of its equilibrium length. Therefore the lattice constant will only increase up to a distance just prior to bond cleavage. However, in these calculations the quasi-harmonic approximation allows the bonds to break within MgO and so the lattice constant can, in theory, increase to infinity.&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamics: ===&lt;br /&gt;
[[File:32_structure_dhl.png|300px|thumb|left|Figure 10: 32 unit MgO structure used for MD calculations]]&lt;br /&gt;
[[File:32_random_dhl.png|300px|thumb|right|Figure 11: 32 unit MgO structure post MD calculations]]&lt;br /&gt;
For the final section of this experiment the thermal expansion of MgO was once again calculated, but this time using the molecular dynamics method. This method allows the system to evolve according to Newton&#039;s Second Law &amp;lt;math&amp;gt; F= ma&amp;lt;/math&amp;gt;. The ensemble used was NPT, meaning the number of particles, the pressure and the temperature were all set to be constant. The timestep at which the vibrations to be sampled was set to be 1 femtosecond (fs) and the number of equilibration steps and production steps were set to 500, with the temperature being avried from 100-1000K. When the number of sampled configurations are sufficiently large, the average calculated is representative for the time averaged system obeying the ergodic hypothesis. A structure containing 32 units and therefore 64 atoms was used in this calculation (Fig 12), and in order to compare the volumes between the quasi-harmonic approximation and the molecular dynamics method, the volumes produced were divided by 32.&lt;br /&gt;
[[File:MD_and_QH_comparison.png|300px|thumb|right|Graph 4: Comparison of Cell Volume change between QHA and MD]]&lt;br /&gt;
It can be seen that both methods show the same trend, that of the volume increasing with increasing temperature. The QHA becomes the exact same linear trend as the MD results at 400-1000K. At these temperatures the Coefficient of Volumetric Thermal Expansion should be similar:&lt;br /&gt;
&lt;br /&gt;
Throughout the whole temperatures the QHA cell volumes values are slightly higher than the MD values.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;References&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;&amp;gt; X. Wu, W. Li, W. Rui. Effect of temperature on elastic constants, generalized stacking fault energy and dislocation cores in MgO and CaO. &#039;&#039;Computational Condensed Matter&#039;&#039;. 2014: 38-44. Available from: DOI: 10.1016/j.cocom.2014.10.005&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Zeolite&amp;quot;&amp;gt; J. A Kaduk, J. Faber. Crystal Structure of Zeolite Y as a function of Ion Exchange. &#039;&#039;The Rigaku Journal&#039;&#039;. 1995;12: 14. Available from: http://www.rigaku.com/downloads/journal/Vol12.2.1995/kaduk.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Lithium&amp;quot;&amp;gt; M. R. Nadler, C. P Kempter. Crystallographic Data 186. Lithium. &#039;&#039;Analytical Chemistry&#039;&#039;. 1959;31:2109. Available from: &lt;br /&gt;
DOI: 10.1021/ac60156a007&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;&amp;gt; D. K. Smith, H. R. Leider. Low-Temperature Thermal Expansion of LiH, MgO and CaO. &#039;&#039;Journal of Applied Crystallography&#039;&#039;. 1968;1: 246-249. Available from: DOI: 10.1107/S0021889868005418&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;&amp;gt; J. F. W. Bowles, R. A. Howie, D. J. Vaughan, J. Zussman. Rock-forming Minerals: Non-silicates: oxides, hydroxides and sulphides 2nd ed. London: The Geological Society;2011 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Appendix&amp;lt;/u&amp;gt; ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Grid Size !! Helmholtz Free Energy (eV)!! Accuracy (meV)&lt;br /&gt;
|-&lt;br /&gt;
| 1x1x1 || -40.9303|| 4&lt;br /&gt;
|-&lt;br /&gt;
| 2x2x2 || -40.9266|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 3x3x3 || -40.9264|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 8x8x8 || -40.9265|| 0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16x16x16 || -40.9265|| 0.001&lt;br /&gt;
|-&lt;br /&gt;
| 32x32x32 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 40x40x40 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 50x50x50 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;3&amp;quot; |Table 1: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Grid Size&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Helmholtz Free Energy (eV)&lt;br /&gt;
|-&lt;br /&gt;
| 0 || -40.9019        &lt;br /&gt;
|-&lt;br /&gt;
| 100 || -40.9024&lt;br /&gt;
|-&lt;br /&gt;
| 200 || -40.9094&lt;br /&gt;
|-&lt;br /&gt;
| 300 || -40.9281&lt;br /&gt;
|-&lt;br /&gt;
| 400 || -40.9585&lt;br /&gt;
|-&lt;br /&gt;
| 500 || -40.9994&lt;br /&gt;
|-&lt;br /&gt;
| 600 || -41.0493&lt;br /&gt;
|-&lt;br /&gt;
| 700 || -41.1071&lt;br /&gt;
|-&lt;br /&gt;
| 800 || -41.1719&lt;br /&gt;
|-&lt;br /&gt;
| 900 || -41.2440&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || -41.3198&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 2: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Temperature&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Lattice Constant&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 2.9894      &lt;br /&gt;
|-&lt;br /&gt;
| 100 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 300 || 2.9883&lt;br /&gt;
|-&lt;br /&gt;
| 400 || 2.9894&lt;br /&gt;
|-&lt;br /&gt;
| 500 || 2.9916&lt;br /&gt;
|-&lt;br /&gt;
| 600 || 2.9941&lt;br /&gt;
|-&lt;br /&gt;
| 700 || 2.9968&lt;br /&gt;
|-&lt;br /&gt;
| 800 || 2.9996&lt;br /&gt;
|-&lt;br /&gt;
| 900 || 3.0026&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 3.0056&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 3: Raw Data showing change in&lt;br /&gt;
Lattice Constant with Temperature&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dl2613</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550498</id>
		<title>Rep:Mod:Dl2613</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550498"/>
		<updated>2016-03-07T22:31:33Z</updated>

		<summary type="html">&lt;p&gt;Dl2613: /* Molecular Dynamics: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== &amp;lt;u&amp;gt;Introduction&amp;lt;/u&amp;gt; ==&lt;br /&gt;
The aim of this experiment was to use a simple model of atomic interactions to calculate the energy and vibrations of a crystal of MgO. This was then used to compute the free energy, phonon dispersions and to predict how MgO expands when heated. The quasi-harmonic approximation (QHA) and molecular dynamics methods were used to do these calculations.&lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon based model of solid-state physics and can describe volume-dependant thermal effects of structures, such as the MgO crystal. This assumption assumes that for every lattice value the harmonic oscillator assumption is true. MD is a type of N-body simulation, it allows atoms and molecules to interact for a fixed period of time showing the dynamics of a system. In this experiment the MD was run on an isothermal-isobaric (NPT) ensemble in which the amount of substance, pressure and temperature are fixed. MD allows motion in three dimensions.&lt;br /&gt;
&lt;br /&gt;
The software used for this experiment was RedHat Linux. DLVisualize (DLV) was used for the visualisation of the structure and properties of the MgO crystal. General Utility Lattice Program (GULP) is a supporting interface of DLV and was used to perform analytical solutions on MgO through the use of lattice dynamics.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Internal Energy Calculation on MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Better_unit_cell.png|300px|thumb|right|Figure 1: MgO Primitive Unit Cell]]&lt;br /&gt;
In this first exercise the internal energy and structure of MgO was calculated using GULP from the primitive unit cell of the crystal. An ionic potential model was used, without shells included and at a single point. The primitive unit cell in the simplest cell to describe the crystal structure of MgO and contains 2 atoms. The lattice vectors of this cell are:&lt;br /&gt;
&lt;br /&gt;
0.0000   2.10597   2.10597&lt;br /&gt;
&lt;br /&gt;
2.10597   0.0000   2.10597&lt;br /&gt;
&lt;br /&gt;
2.10597   2.10597   0.0000&lt;br /&gt;
&lt;br /&gt;
From the [[Media:MgO_0_DHL.out| log file]] it can be seen that the lattice parameters are defined by the length 2.9783Å and the angle 60º, giving the primitive unit cell the shape of a rhombohedron. Each primitive cell was calculated to have an energy of -40.0753 eV and this corresponds to the binding energy of the crystal. The primitive cell can be used to build up a lattice by repeating its structure.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Calculation of phonon modes of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Computing the Phonon Dispersion Curves: ===&lt;br /&gt;
[[File:MgO_Phonon_Dispersion_DHL.png|300px|thumb|left|Figure 2: MgO Phonon Dispersion]]&lt;br /&gt;
The phonon frequencies were then computed along the symmetry points &amp;lt;math&amp;gt;W, L, G, W, X, K&amp;lt;/math&amp;gt; in k space. The calculation was set up for 50 Npoints with phonon eigenvectors included in the calculation. For a 3D crystal of diatomic molecules with two atom types, six vibration modes are observed in the phonon dispersion curves (Fig 2). A positive dispersion relation results in optical modes and a negative dispersion relation results in acoustic modes. Two adjacent different atoms move against each other in the optical mode, but move against together in the acoustic mode. The acoustic modes equal 0   cm-1  at the point Γ whereas the optical modes do not. It can seen that there are three acoustic modes and three optical modes. The three acoustic modes can be split into one longitudinal acoustic mode and two transverse acoustic modes. The two transverse modes become degenerate between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;. The phonon dispersion curve agrees with that found in literature&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== The Phonon Density of States: ===&lt;br /&gt;
A simpler energy level diagram than the phonon dispersion relation is the density of states (DOS). The DOS is an average over the time and space demains of the MgO system and was calculated for the phonons as a function of the wave vector k. The dimensional limits of the MgO crystal affects the DOS and therefore it is expected that the DOS will change with the grid size of the MgO crystal.&lt;br /&gt;
&lt;br /&gt;
To begin with the DOS calculation was ran on a 1x1x1 grid, corresponding to a single k point. Comparison between Figure 2 and 3 shows that the single k point is the symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The frequencies of the phonon dispersions are identical in the two graphs. Four peaks instead of six are observed due to the fact that 2 pairs of modes become degenerate between &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. These degenerate modes correspond to the peaks between 250 and 400 cm &amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, explaining why those peaks are double the intensity of the high frequency peaks. It can been seen that a grid size of 1x1x1 is not a good representative of the DOS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_Phonon_DOS_DHL.png|300px|none|thumb|left|Figure 3: MgO Phonon DOS 1x1x1]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_3x3x3_DHL.png|300px|none|thumb|middle|Figure 4: MgO Phonon DOS 3x3x3]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_8x8x8_DHL.png|300px|none|thumb|middle|Figure 5: MgO Phonon DOS 8x8x8]]&lt;br /&gt;
|}&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_phonon_DOS_16x16x16_DHL.png|300px|none|thumb|left|Figure 6: MgO Phonon DOS 16x16x16]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_32x32x32_DHL.png|300px|none|thumb|left|Figure 7: MgO Phonon DOS 32x32x32]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_40x40x40_DHL.png|300px|none|thumb|middle|Figure 8: MgO Phonon DOS 40x40x40]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Several grid sizes were investigated up to 50x50x50 to find a compromise between an accurate DOS and the time taken to run the calculation. As the grid size is an increased a more true depiction of the DOS is obtained for the MgO structure. Increasing the grid size increases the number of peaks and then changes the graph from random sharp intensities to a smoother curve. However, the highest intensity point remains at 400 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; throughout all grid sizes and the higher frequencies having lower intensities. The bigger the grid size, the more k points that are sampled and the more representative the DOS. It can be seen in the figures below that the DOS curve is unchanged between 32x32x32 and 40x40x40, however, the running time increases greatly for the 40x40x40 grid size. Therefore, it was decided that the 32x32x32 grid size was the optimum and used in further calculations.&lt;br /&gt;
&lt;br /&gt;
The size of the grid set in the calculations is inversely related to the size of the structure in real space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This equation shows that the bigger a* (size of grid in k space) the smaller a (size of cell in real space). Therefore the bigger the cell in real space, the smaller the grid size needed for the calculation of DOS. This means that a similar oxide such as CaO will require a similar grid size as MgO for the calculation of DOS. Faujasite, a zeolite, has a lattice parameter in the range 24.2 - 25.1 Å &amp;lt;ref name=&amp;quot;Zeolite&amp;quot;/&amp;gt; and would therefore need a small grid size for the DOS calculation. Lithium, a small metal, has a lattice parameter of 3.51 Å &amp;lt;ref name=&amp;quot;Lithium&amp;quot;/&amp;gt; and would therefore need a large grid size for the DOS calculation to represent its small cell size in real space.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Computing the Free Energy&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Task_3_graph.png|300px|thumb|right|Graph 1: A Graph to show how the Free Energy changes with Grid Size]]&lt;br /&gt;
The Helmholtz Free Energy of MgO was then computed using the quasi-harmonic approximation on the same grid sizes as in the previous section at a temperature of 300K. Helmholtz Free Energy is given by the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A=Helmholtz Free Energy, U=Internal Energy, S=Entropy and T=Temperature&lt;br /&gt;
This states that the Helmholtz Free Energy should increase with increasing internal energy and decreasing temperature and entropy. This said, the Helmholtz Free Energy should decrease with increasing grid size. This can be explained with the aid of the following statistical mechanics equation of entropy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt; where S=Entropy, k=Boltzmann Constant and W=number of microstates&lt;br /&gt;
As the grid size increases the number of microstates sampled also increases. This in turn increases the entropy and decreases the TS term in the Helmholtz Free Energy equation. The decrease in Helmholtz Free Energy can be further explained using the following equation of internal energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt; where U=internal Energy, H=Enthalpy, P=Pressure and V=Volume&lt;br /&gt;
As the grid size increases so does its volume, therefore decreasing the internal energy. This further decreases the Helmholtz Free Energy. It can be seen in Graph 1 that initially the Helmholtz Free Energy increases with grid from 1x1x1 to 3x3x3 and then begins to follow the expected trend and decrease with increasing grid size. Table 1 shows that the accuracy of the Helmholtz Free Energy increases with grid size.&lt;br /&gt;
The Helmholtz Free Energy converges to a value of -40.9265 eV, with the 32x32x32 grid size being the most appropriate to run calculations from, providing the correct Helmholtz Free Energy and a suitable length of time to run the calculation.&lt;br /&gt;
&lt;br /&gt;
For CaO, a similar sized crystal to MgO (lattice constant CaO = 4.811 Å, lattice constant MgO = 4.212 Å)&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;/&amp;gt;, a similar size grid will be required for the calculation of the Helmholtz Free Energy. Faujasite would require a smaller grid size due to its large lattice constant and lithium a larger grid size than MgO due to its small lattice constant.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;The Thermal Expansion of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Thermal expansion is the ability of matter to change size, volume and shape in a response to the change in temperature. When a substance is heated the molecules vibrate and begin to move more, and their average separation increases. This thermal expansion is indicated by the Coefficient of Linear Thermal Expansion (CTE). Uniform linear objects have a thermally expand proportional to temperate over a small range of temperatures. The equation used to calculate the linear CTE is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;=linear CTE, &amp;lt;math&amp;gt;{L_0}&amp;lt;/math&amp;gt;=lattice constant at 0K and &amp;lt;math&amp;gt;dL/dT&amp;lt;/math&amp;gt;=rate of change of lattice constant with respect to temperature&lt;br /&gt;
&lt;br /&gt;
A volumetric CTE can also be calculated using the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt;=volumetric CTE, &amp;lt;math&amp;gt;{V}&amp;lt;/math&amp;gt;= volume and &amp;lt;math&amp;gt;\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;= partial derivative of volum with respect to temperature at constant pressure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Quasi-harmonic Approximation: ===&lt;br /&gt;
[[File:Task_4_graph_1.png|300px|thumb|left|Graph 2: A graph to show how the free energy of MgO changes with temperature]]&lt;br /&gt;
[[File:Task_4_graph_2.png|300px|thumb|right|Graph 3: A graph to show how the lattice constant of MgO changes with temperature]]&lt;br /&gt;
Using the 32x32x32 grid size of MgO the free energy was then optimised. The optimisation opts was set to optimise Gibbs Free Energy and the temperature was varied from 0 - 1000k. The free energy decreases with increasing temperature in a parabolic fashion to the order of 2. This negative correlation can be explained using the equation for Gibbs Free Energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G=H-TS&amp;lt;/math&amp;gt; where G=Gibbs Free Energy, H=Enthalpy, T=Temperature and S=Entropy&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Increasing the temperature decreases the TS term therefore decreasing the Gibbs Free Energy.&lt;br /&gt;
&lt;br /&gt;
The lattice constant increases in a parabolic fashion to the order of 2 with increasing temperature due to the thermal expansion.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Calculation of CTE: ====&lt;br /&gt;
Coefficient of Linear Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{2.9894}\,\frac{3.0056-2.9894}{1000}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=5.419\times10^{-6}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Coefficient of Volumetric Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{26.71481005}\,\left(\frac{27.15148242-26.71481005}{1000}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V=1.634\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It can be seen that the α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt; is 3.015 times that of the α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;. This is because MgO expands at the same rate in all three directions in three-dimensions, it is an isotropic compound. The CFE values are close to those found in literature at &amp;lt;math&amp;gt;\alpha_L=7.88\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=2.36\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; which were calculated using a temperature range close to that used in this experiment at 301.15-1273.15 K&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;/&amp;gt; (results from experiment give &amp;lt;math&amp;gt;\alpha_L=5.789\times10^{-6}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=1.747\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; if calculated from 300-1000k).&lt;br /&gt;
&lt;br /&gt;
The main approximation in the calculations of the thermal expansion is to do with the anharmonic contributions to the harmonic approximation. In order to simplify the phonon frequencies are set to be volume dependent and so at a higher temperature the anharmonic factor increases. The Born-Oppenheimer Approximation which assumes that the motion of atomic nuclei and electron in a molecule can be separated is another assumption.&lt;br /&gt;
&lt;br /&gt;
This approximation cannot be used when the temperature approaches that of the melting point of MgO due to the new lattice parameters. Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; begin to behave as separate ions as MgO begins to melt and becomes molten. Therefore the quasi-harmonic approximation cannot be used as it only takes into account linear movement.&lt;br /&gt;
&lt;br /&gt;
For a diatomic molecule with an exactly harmonic potential the bond is not allowed to break and the bond length is fixed around that of its equilibrium length. Therefore the lattice constant will only increase up to a distance just prior to bond cleavage. However, in these calculations the quasi-harmonic approximation allows the bonds to break within MgO and so the lattice constant can, in theory, increase to infinity.&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamics: ===&lt;br /&gt;
[[File:32_structure_dhl.png|300px|thumb|left|Figure 10: 32 unit MgO structure used for MD calculations]]&lt;br /&gt;
[[File:32_random_dhl.png|300px|thumb|right|Figure 11: 32 unit MgO structure post MD calculations]]&lt;br /&gt;
For the final section of this experiment the thermal expansion of MgO was once again calculated, but this time using the molecular dynamics method. This method allows the system to evolve according to Newton&#039;s Second Law &amp;lt;math&amp;gt; F= ma&amp;lt;/math&amp;gt;. The ensemble used was NPT, meaning the number of particles, the pressure and the temperature were all set to be constant. The timestep at which the vibrations to be sampled was set to be 1 femtosecond (fs) and the number of equilibration steps and production steps were set to 500, with the temperature being avried from 100-1000K. When the number of sampled configurations are sufficiently large, the average calculated is representative for the time averaged system obeying the ergodic hypothesis. A structure containing 32 units and therefore 64 atoms was used in this calculation (Fig 12), and in order to compare the volumes between the quasi-harmonic approximation and the molecular dynamics method, the volumes produced were divided by 32.&lt;br /&gt;
[[File:MD_and_QH_comparison.png|300px|thumb|right|Graph 4: Comparison of Cell Volume change between QHA and MD]]&lt;br /&gt;
It can be seen that both methods show the same trend, that of the volume increasing with increasing temperature. The QHA becomes the exact same linear trend as the MD results at 400-1000K. At these temperatures the Throughout the whole temperatures the QHA cell volumes values are slightly higher than the MD values.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;References&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;&amp;gt; X. Wu, W. Li, W. Rui. Effect of temperature on elastic constants, generalized stacking fault energy and dislocation cores in MgO and CaO. &#039;&#039;Computational Condensed Matter&#039;&#039;. 2014: 38-44. Available from: DOI: 10.1016/j.cocom.2014.10.005&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Zeolite&amp;quot;&amp;gt; J. A Kaduk, J. Faber. Crystal Structure of Zeolite Y as a function of Ion Exchange. &#039;&#039;The Rigaku Journal&#039;&#039;. 1995;12: 14. Available from: http://www.rigaku.com/downloads/journal/Vol12.2.1995/kaduk.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Lithium&amp;quot;&amp;gt; M. R. Nadler, C. P Kempter. Crystallographic Data 186. Lithium. &#039;&#039;Analytical Chemistry&#039;&#039;. 1959;31:2109. Available from: &lt;br /&gt;
DOI: 10.1021/ac60156a007&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;&amp;gt; D. K. Smith, H. R. Leider. Low-Temperature Thermal Expansion of LiH, MgO and CaO. &#039;&#039;Journal of Applied Crystallography&#039;&#039;. 1968;1: 246-249. Available from: DOI: 10.1107/S0021889868005418&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;&amp;gt; J. F. W. Bowles, R. A. Howie, D. J. Vaughan, J. Zussman. Rock-forming Minerals: Non-silicates: oxides, hydroxides and sulphides 2nd ed. London: The Geological Society;2011 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Appendix&amp;lt;/u&amp;gt; ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Grid Size !! Helmholtz Free Energy (eV)!! Accuracy (meV)&lt;br /&gt;
|-&lt;br /&gt;
| 1x1x1 || -40.9303|| 4&lt;br /&gt;
|-&lt;br /&gt;
| 2x2x2 || -40.9266|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 3x3x3 || -40.9264|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 8x8x8 || -40.9265|| 0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16x16x16 || -40.9265|| 0.001&lt;br /&gt;
|-&lt;br /&gt;
| 32x32x32 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 40x40x40 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 50x50x50 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;3&amp;quot; |Table 1: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Grid Size&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Helmholtz Free Energy (eV)&lt;br /&gt;
|-&lt;br /&gt;
| 0 || -40.9019        &lt;br /&gt;
|-&lt;br /&gt;
| 100 || -40.9024&lt;br /&gt;
|-&lt;br /&gt;
| 200 || -40.9094&lt;br /&gt;
|-&lt;br /&gt;
| 300 || -40.9281&lt;br /&gt;
|-&lt;br /&gt;
| 400 || -40.9585&lt;br /&gt;
|-&lt;br /&gt;
| 500 || -40.9994&lt;br /&gt;
|-&lt;br /&gt;
| 600 || -41.0493&lt;br /&gt;
|-&lt;br /&gt;
| 700 || -41.1071&lt;br /&gt;
|-&lt;br /&gt;
| 800 || -41.1719&lt;br /&gt;
|-&lt;br /&gt;
| 900 || -41.2440&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || -41.3198&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 2: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Temperature&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Lattice Constant&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 2.9894      &lt;br /&gt;
|-&lt;br /&gt;
| 100 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 300 || 2.9883&lt;br /&gt;
|-&lt;br /&gt;
| 400 || 2.9894&lt;br /&gt;
|-&lt;br /&gt;
| 500 || 2.9916&lt;br /&gt;
|-&lt;br /&gt;
| 600 || 2.9941&lt;br /&gt;
|-&lt;br /&gt;
| 700 || 2.9968&lt;br /&gt;
|-&lt;br /&gt;
| 800 || 2.9996&lt;br /&gt;
|-&lt;br /&gt;
| 900 || 3.0026&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 3.0056&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 3: Raw Data showing change in&lt;br /&gt;
Lattice Constant with Temperature&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dl2613</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=File:MD_and_QH_comparison.png&amp;diff=550494</id>
		<title>File:MD and QH comparison.png</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=File:MD_and_QH_comparison.png&amp;diff=550494"/>
		<updated>2016-03-07T22:27:02Z</updated>

		<summary type="html">&lt;p&gt;Dl2613: Dl2613 uploaded a new version of File:MD and QH comparison.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Dl2613</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550493</id>
		<title>Rep:Mod:Dl2613</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550493"/>
		<updated>2016-03-07T22:22:25Z</updated>

		<summary type="html">&lt;p&gt;Dl2613: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== &amp;lt;u&amp;gt;Introduction&amp;lt;/u&amp;gt; ==&lt;br /&gt;
The aim of this experiment was to use a simple model of atomic interactions to calculate the energy and vibrations of a crystal of MgO. This was then used to compute the free energy, phonon dispersions and to predict how MgO expands when heated. The quasi-harmonic approximation (QHA) and molecular dynamics methods were used to do these calculations.&lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon based model of solid-state physics and can describe volume-dependant thermal effects of structures, such as the MgO crystal. This assumption assumes that for every lattice value the harmonic oscillator assumption is true. MD is a type of N-body simulation, it allows atoms and molecules to interact for a fixed period of time showing the dynamics of a system. In this experiment the MD was run on an isothermal-isobaric (NPT) ensemble in which the amount of substance, pressure and temperature are fixed. MD allows motion in three dimensions.&lt;br /&gt;
&lt;br /&gt;
The software used for this experiment was RedHat Linux. DLVisualize (DLV) was used for the visualisation of the structure and properties of the MgO crystal. General Utility Lattice Program (GULP) is a supporting interface of DLV and was used to perform analytical solutions on MgO through the use of lattice dynamics.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Internal Energy Calculation on MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Better_unit_cell.png|300px|thumb|right|Figure 1: MgO Primitive Unit Cell]]&lt;br /&gt;
In this first exercise the internal energy and structure of MgO was calculated using GULP from the primitive unit cell of the crystal. An ionic potential model was used, without shells included and at a single point. The primitive unit cell in the simplest cell to describe the crystal structure of MgO and contains 2 atoms. The lattice vectors of this cell are:&lt;br /&gt;
&lt;br /&gt;
0.0000   2.10597   2.10597&lt;br /&gt;
&lt;br /&gt;
2.10597   0.0000   2.10597&lt;br /&gt;
&lt;br /&gt;
2.10597   2.10597   0.0000&lt;br /&gt;
&lt;br /&gt;
From the [[Media:MgO_0_DHL.out| log file]] it can be seen that the lattice parameters are defined by the length 2.9783Å and the angle 60º, giving the primitive unit cell the shape of a rhombohedron. Each primitive cell was calculated to have an energy of -40.0753 eV and this corresponds to the binding energy of the crystal. The primitive cell can be used to build up a lattice by repeating its structure.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Calculation of phonon modes of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Computing the Phonon Dispersion Curves: ===&lt;br /&gt;
[[File:MgO_Phonon_Dispersion_DHL.png|300px|thumb|left|Figure 2: MgO Phonon Dispersion]]&lt;br /&gt;
The phonon frequencies were then computed along the symmetry points &amp;lt;math&amp;gt;W, L, G, W, X, K&amp;lt;/math&amp;gt; in k space. The calculation was set up for 50 Npoints with phonon eigenvectors included in the calculation. For a 3D crystal of diatomic molecules with two atom types, six vibration modes are observed in the phonon dispersion curves (Fig 2). A positive dispersion relation results in optical modes and a negative dispersion relation results in acoustic modes. Two adjacent different atoms move against each other in the optical mode, but move against together in the acoustic mode. The acoustic modes equal 0   cm-1  at the point Γ whereas the optical modes do not. It can seen that there are three acoustic modes and three optical modes. The three acoustic modes can be split into one longitudinal acoustic mode and two transverse acoustic modes. The two transverse modes become degenerate between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;. The phonon dispersion curve agrees with that found in literature&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== The Phonon Density of States: ===&lt;br /&gt;
A simpler energy level diagram than the phonon dispersion relation is the density of states (DOS). The DOS is an average over the time and space demains of the MgO system and was calculated for the phonons as a function of the wave vector k. The dimensional limits of the MgO crystal affects the DOS and therefore it is expected that the DOS will change with the grid size of the MgO crystal.&lt;br /&gt;
&lt;br /&gt;
To begin with the DOS calculation was ran on a 1x1x1 grid, corresponding to a single k point. Comparison between Figure 2 and 3 shows that the single k point is the symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The frequencies of the phonon dispersions are identical in the two graphs. Four peaks instead of six are observed due to the fact that 2 pairs of modes become degenerate between &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. These degenerate modes correspond to the peaks between 250 and 400 cm &amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, explaining why those peaks are double the intensity of the high frequency peaks. It can been seen that a grid size of 1x1x1 is not a good representative of the DOS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_Phonon_DOS_DHL.png|300px|none|thumb|left|Figure 3: MgO Phonon DOS 1x1x1]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_3x3x3_DHL.png|300px|none|thumb|middle|Figure 4: MgO Phonon DOS 3x3x3]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_8x8x8_DHL.png|300px|none|thumb|middle|Figure 5: MgO Phonon DOS 8x8x8]]&lt;br /&gt;
|}&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_phonon_DOS_16x16x16_DHL.png|300px|none|thumb|left|Figure 6: MgO Phonon DOS 16x16x16]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_32x32x32_DHL.png|300px|none|thumb|left|Figure 7: MgO Phonon DOS 32x32x32]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_40x40x40_DHL.png|300px|none|thumb|middle|Figure 8: MgO Phonon DOS 40x40x40]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Several grid sizes were investigated up to 50x50x50 to find a compromise between an accurate DOS and the time taken to run the calculation. As the grid size is an increased a more true depiction of the DOS is obtained for the MgO structure. Increasing the grid size increases the number of peaks and then changes the graph from random sharp intensities to a smoother curve. However, the highest intensity point remains at 400 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; throughout all grid sizes and the higher frequencies having lower intensities. The bigger the grid size, the more k points that are sampled and the more representative the DOS. It can be seen in the figures below that the DOS curve is unchanged between 32x32x32 and 40x40x40, however, the running time increases greatly for the 40x40x40 grid size. Therefore, it was decided that the 32x32x32 grid size was the optimum and used in further calculations.&lt;br /&gt;
&lt;br /&gt;
The size of the grid set in the calculations is inversely related to the size of the structure in real space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This equation shows that the bigger a* (size of grid in k space) the smaller a (size of cell in real space). Therefore the bigger the cell in real space, the smaller the grid size needed for the calculation of DOS. This means that a similar oxide such as CaO will require a similar grid size as MgO for the calculation of DOS. Faujasite, a zeolite, has a lattice parameter in the range 24.2 - 25.1 Å &amp;lt;ref name=&amp;quot;Zeolite&amp;quot;/&amp;gt; and would therefore need a small grid size for the DOS calculation. Lithium, a small metal, has a lattice parameter of 3.51 Å &amp;lt;ref name=&amp;quot;Lithium&amp;quot;/&amp;gt; and would therefore need a large grid size for the DOS calculation to represent its small cell size in real space.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Computing the Free Energy&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Task_3_graph.png|300px|thumb|right|Graph 1: A Graph to show how the Free Energy changes with Grid Size]]&lt;br /&gt;
The Helmholtz Free Energy of MgO was then computed using the quasi-harmonic approximation on the same grid sizes as in the previous section at a temperature of 300K. Helmholtz Free Energy is given by the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A=Helmholtz Free Energy, U=Internal Energy, S=Entropy and T=Temperature&lt;br /&gt;
This states that the Helmholtz Free Energy should increase with increasing internal energy and decreasing temperature and entropy. This said, the Helmholtz Free Energy should decrease with increasing grid size. This can be explained with the aid of the following statistical mechanics equation of entropy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt; where S=Entropy, k=Boltzmann Constant and W=number of microstates&lt;br /&gt;
As the grid size increases the number of microstates sampled also increases. This in turn increases the entropy and decreases the TS term in the Helmholtz Free Energy equation. The decrease in Helmholtz Free Energy can be further explained using the following equation of internal energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt; where U=internal Energy, H=Enthalpy, P=Pressure and V=Volume&lt;br /&gt;
As the grid size increases so does its volume, therefore decreasing the internal energy. This further decreases the Helmholtz Free Energy. It can be seen in Graph 1 that initially the Helmholtz Free Energy increases with grid from 1x1x1 to 3x3x3 and then begins to follow the expected trend and decrease with increasing grid size. Table 1 shows that the accuracy of the Helmholtz Free Energy increases with grid size.&lt;br /&gt;
The Helmholtz Free Energy converges to a value of -40.9265 eV, with the 32x32x32 grid size being the most appropriate to run calculations from, providing the correct Helmholtz Free Energy and a suitable length of time to run the calculation.&lt;br /&gt;
&lt;br /&gt;
For CaO, a similar sized crystal to MgO (lattice constant CaO = 4.811 Å, lattice constant MgO = 4.212 Å)&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;/&amp;gt;, a similar size grid will be required for the calculation of the Helmholtz Free Energy. Faujasite would require a smaller grid size due to its large lattice constant and lithium a larger grid size than MgO due to its small lattice constant.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;The Thermal Expansion of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Thermal expansion is the ability of matter to change size, volume and shape in a response to the change in temperature. When a substance is heated the molecules vibrate and begin to move more, and their average separation increases. This thermal expansion is indicated by the Coefficient of Linear Thermal Expansion (CTE). Uniform linear objects have a thermally expand proportional to temperate over a small range of temperatures. The equation used to calculate the linear CTE is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;=linear CTE, &amp;lt;math&amp;gt;{L_0}&amp;lt;/math&amp;gt;=lattice constant at 0K and &amp;lt;math&amp;gt;dL/dT&amp;lt;/math&amp;gt;=rate of change of lattice constant with respect to temperature&lt;br /&gt;
&lt;br /&gt;
A volumetric CTE can also be calculated using the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt;=volumetric CTE, &amp;lt;math&amp;gt;{V}&amp;lt;/math&amp;gt;= volume and &amp;lt;math&amp;gt;\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;= partial derivative of volum with respect to temperature at constant pressure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Quasi-harmonic Approximation: ===&lt;br /&gt;
[[File:Task_4_graph_1.png|300px|thumb|left|Graph 2: A graph to show how the free energy of MgO changes with temperature]]&lt;br /&gt;
[[File:Task_4_graph_2.png|300px|thumb|right|Graph 3: A graph to show how the lattice constant of MgO changes with temperature]]&lt;br /&gt;
Using the 32x32x32 grid size of MgO the free energy was then optimised. The optimisation opts was set to optimise Gibbs Free Energy and the temperature was varied from 0 - 1000k. The free energy decreases with increasing temperature in a parabolic fashion to the order of 2. This negative correlation can be explained using the equation for Gibbs Free Energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G=H-TS&amp;lt;/math&amp;gt; where G=Gibbs Free Energy, H=Enthalpy, T=Temperature and S=Entropy&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Increasing the temperature decreases the TS term therefore decreasing the Gibbs Free Energy.&lt;br /&gt;
&lt;br /&gt;
The lattice constant increases in a parabolic fashion to the order of 2 with increasing temperature due to the thermal expansion.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Calculation of CTE: ====&lt;br /&gt;
Coefficient of Linear Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{2.9894}\,\frac{3.0056-2.9894}{1000}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=5.419\times10^{-6}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Coefficient of Volumetric Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{26.71481005}\,\left(\frac{27.15148242-26.71481005}{1000}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V=1.634\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It can be seen that the α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt; is 3.015 times that of the α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;. This is because MgO expands at the same rate in all three directions in three-dimensions, it is an isotropic compound. The CFE values are close to those found in literature at &amp;lt;math&amp;gt;\alpha_L=7.88\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=2.36\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; which were calculated using a temperature range close to that used in this experiment at 301.15-1273.15 K&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;/&amp;gt; (results from experiment give &amp;lt;math&amp;gt;\alpha_L=5.789\times10^{-6}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=1.747\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; if calculated from 300-1000k).&lt;br /&gt;
&lt;br /&gt;
The main approximation in the calculations of the thermal expansion is to do with the anharmonic contributions to the harmonic approximation. In order to simplify the phonon frequencies are set to be volume dependent and so at a higher temperature the anharmonic factor increases. The Born-Oppenheimer Approximation which assumes that the motion of atomic nuclei and electron in a molecule can be separated is another assumption.&lt;br /&gt;
&lt;br /&gt;
This approximation cannot be used when the temperature approaches that of the melting point of MgO due to the new lattice parameters. Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; begin to behave as separate ions as MgO begins to melt and becomes molten. Therefore the quasi-harmonic approximation cannot be used as it only takes into account linear movement.&lt;br /&gt;
&lt;br /&gt;
For a diatomic molecule with an exactly harmonic potential the bond is not allowed to break and the bond length is fixed around that of its equilibrium length. Therefore the lattice constant will only increase up to a distance just prior to bond cleavage. However, in these calculations the quasi-harmonic approximation allows the bonds to break within MgO and so the lattice constant can, in theory, increase to infinity.&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamics: ===&lt;br /&gt;
[[File:32_structure_dhl.png|300px|thumb|left|Figure 10: 32 unit MgO structure used for MD calculations]]&lt;br /&gt;
[[File:32_random_dhl.png|300px|thumb|right|Figure 11: 32 unit MgO structure post MD calculations]]&lt;br /&gt;
For the final section of this experiment the thermal expansion of MgO was once again calculated, but this time using the molecular dynamics method. This method allows the system to evolve according to Newton&#039;s Second Law &amp;lt;math&amp;gt; F= ma&amp;lt;/math&amp;gt;. The ensemble used was NPT, meaning the number of particles, the pressure and the temperature were all set to be constant. The timestep at which the vibrations to be sampled was set to be 1 femtosecond (fs) and the number of equilibration steps and production steps were set to 500, with the temperature being avried from 100-1000K. When the number of sampled configurations are sufficiently large, the average calculated is representative for the time averaged system obeying the ergodic hypothesis. A structure containing 32 units and therefore 64 atoms was used in this calculation (Fig 12), and in order to compare the volumes between the quasi-harmonic approximation and the molecular dynamics method, the volumes produced were divided by 32.&lt;br /&gt;
[[File:MD_and_QH_comparison.png|300px|thumb|right|Graph 4: Comparison of Cell Volume change between QHA and MD]]&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;References&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;&amp;gt; X. Wu, W. Li, W. Rui. Effect of temperature on elastic constants, generalized stacking fault energy and dislocation cores in MgO and CaO. &#039;&#039;Computational Condensed Matter&#039;&#039;. 2014: 38-44. Available from: DOI: 10.1016/j.cocom.2014.10.005&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Zeolite&amp;quot;&amp;gt; J. A Kaduk, J. Faber. Crystal Structure of Zeolite Y as a function of Ion Exchange. &#039;&#039;The Rigaku Journal&#039;&#039;. 1995;12: 14. Available from: http://www.rigaku.com/downloads/journal/Vol12.2.1995/kaduk.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Lithium&amp;quot;&amp;gt; M. R. Nadler, C. P Kempter. Crystallographic Data 186. Lithium. &#039;&#039;Analytical Chemistry&#039;&#039;. 1959;31:2109. Available from: &lt;br /&gt;
DOI: 10.1021/ac60156a007&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;&amp;gt; D. K. Smith, H. R. Leider. Low-Temperature Thermal Expansion of LiH, MgO and CaO. &#039;&#039;Journal of Applied Crystallography&#039;&#039;. 1968;1: 246-249. Available from: DOI: 10.1107/S0021889868005418&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;&amp;gt; J. F. W. Bowles, R. A. Howie, D. J. Vaughan, J. Zussman. Rock-forming Minerals: Non-silicates: oxides, hydroxides and sulphides 2nd ed. London: The Geological Society;2011 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Appendix&amp;lt;/u&amp;gt; ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Grid Size !! Helmholtz Free Energy (eV)!! Accuracy (meV)&lt;br /&gt;
|-&lt;br /&gt;
| 1x1x1 || -40.9303|| 4&lt;br /&gt;
|-&lt;br /&gt;
| 2x2x2 || -40.9266|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 3x3x3 || -40.9264|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 8x8x8 || -40.9265|| 0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16x16x16 || -40.9265|| 0.001&lt;br /&gt;
|-&lt;br /&gt;
| 32x32x32 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 40x40x40 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 50x50x50 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;3&amp;quot; |Table 1: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Grid Size&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Helmholtz Free Energy (eV)&lt;br /&gt;
|-&lt;br /&gt;
| 0 || -40.9019        &lt;br /&gt;
|-&lt;br /&gt;
| 100 || -40.9024&lt;br /&gt;
|-&lt;br /&gt;
| 200 || -40.9094&lt;br /&gt;
|-&lt;br /&gt;
| 300 || -40.9281&lt;br /&gt;
|-&lt;br /&gt;
| 400 || -40.9585&lt;br /&gt;
|-&lt;br /&gt;
| 500 || -40.9994&lt;br /&gt;
|-&lt;br /&gt;
| 600 || -41.0493&lt;br /&gt;
|-&lt;br /&gt;
| 700 || -41.1071&lt;br /&gt;
|-&lt;br /&gt;
| 800 || -41.1719&lt;br /&gt;
|-&lt;br /&gt;
| 900 || -41.2440&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || -41.3198&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 2: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Temperature&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Lattice Constant&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 2.9894      &lt;br /&gt;
|-&lt;br /&gt;
| 100 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 300 || 2.9883&lt;br /&gt;
|-&lt;br /&gt;
| 400 || 2.9894&lt;br /&gt;
|-&lt;br /&gt;
| 500 || 2.9916&lt;br /&gt;
|-&lt;br /&gt;
| 600 || 2.9941&lt;br /&gt;
|-&lt;br /&gt;
| 700 || 2.9968&lt;br /&gt;
|-&lt;br /&gt;
| 800 || 2.9996&lt;br /&gt;
|-&lt;br /&gt;
| 900 || 3.0026&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 3.0056&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 3: Raw Data showing change in&lt;br /&gt;
Lattice Constant with Temperature&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dl2613</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=File:MD_and_QH_comparison.png&amp;diff=550491</id>
		<title>File:MD and QH comparison.png</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=File:MD_and_QH_comparison.png&amp;diff=550491"/>
		<updated>2016-03-07T22:18:57Z</updated>

		<summary type="html">&lt;p&gt;Dl2613: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Dl2613</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550490</id>
		<title>Rep:Mod:Dl2613</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550490"/>
		<updated>2016-03-07T22:09:37Z</updated>

		<summary type="html">&lt;p&gt;Dl2613: /* Molecular Dynamics: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== &amp;lt;u&amp;gt;Introduction&amp;lt;/u&amp;gt; ==&lt;br /&gt;
The aim of this experiment was to use a simple model of atomic interactions to calculate the energy and vibrations of a crystal of MgO. This was then used to compute the free energy, phonon dispersions and to predict how MgO expands when heated. The quasi-harmonic approximation (QHA) and molecular dynamics methods were used to do these calculations.&lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon based model of solid-state physics and can describe volume-dependant thermal effects of structures, such as the MgO crystal. This assumption assumes that for every lattice value the harmonic oscillator assumption is true. MD is a type of N-body simulation, it allows atoms and molecules to interact for a fixed period of time showing the dynamics of a system. In this experiment the MD was run on an isothermal-isobaric (NPT) ensemble in which the amount of substance, pressure and temperature are fixed. MD allows motion in three dimensions.&lt;br /&gt;
&lt;br /&gt;
The software used for this experiment was RedHat Linux. DLVisualize (DLV) was used for the visualisation of the structure and properties of the MgO crystal. General Utility Lattice Program (GULP) is a supporting interface of DLV and was used to perform analytical solutions on MgO through the use of lattice dynamics.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Internal Energy Calculation on MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Better_unit_cell.png|300px|thumb|right|Figure 1: MgO Primitive Unit Cell]]&lt;br /&gt;
In this first exercise the internal energy and structure of MgO was calculated using GULP from the primitive unit cell of the crystal. An ionic potential model was used, without shells included and at a single point. The primitive unit cell in the simplest cell to describe the crystal structure of MgO and contains 2 atoms. The lattice vectors of this cell are:&lt;br /&gt;
&lt;br /&gt;
0.0000   2.10597   2.10597&lt;br /&gt;
&lt;br /&gt;
2.10597   0.0000   2.10597&lt;br /&gt;
&lt;br /&gt;
2.10597   2.10597   0.0000&lt;br /&gt;
&lt;br /&gt;
From the [[Media:MgO_0_DHL.out| log file]] it can be seen that the lattice parameters are defined by the length 2.9783Å and the angle 60º, giving the primitive unit cell the shape of a rhombohedron. Each primitive cell was calculated to have an energy of -40.0753 eV and this corresponds to the binding energy of the crystal. The primitive cell can be used to build up a lattice by repeating its structure.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Calculation of phonon modes of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Computing the Phonon Dispersion Curves: ===&lt;br /&gt;
[[File:MgO_Phonon_Dispersion_DHL.png|300px|thumb|left|Figure 2: MgO Phonon Dispersion]]&lt;br /&gt;
The phonon frequencies were then computed along the symmetry points &amp;lt;math&amp;gt;W, L, G, W, X, K&amp;lt;/math&amp;gt; in k space. The calculation was set up for 50 Npoints with phonon eigenvectors included in the calculation. For a 3D crystal of diatomic molecules with two atom types, six vibration modes are observed in the phonon dispersion curves (Fig 2). A positive dispersion relation results in optical modes and a negative dispersion relation results in acoustic modes. Two adjacent different atoms move against each other in the optical mode, but move against together in the acoustic mode. The acoustic modes equal 0   cm-1  at the point Γ whereas the optical modes do not. It can seen that there are three acoustic modes and three optical modes. The three acoustic modes can be split into one longitudinal acoustic mode and two transverse acoustic modes. The two transverse modes become degenerate between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;. The phonon dispersion curve agrees with that found in literature&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== The Phonon Density of States: ===&lt;br /&gt;
A simpler energy level diagram than the phonon dispersion relation is the density of states (DOS). The DOS is an average over the time and space demains of the MgO system and was calculated for the phonons as a function of the wave vector k. The dimensional limits of the MgO crystal affects the DOS and therefore it is expected that the DOS will change with the grid size of the MgO crystal.&lt;br /&gt;
&lt;br /&gt;
To begin with the DOS calculation was ran on a 1x1x1 grid, corresponding to a single k point. Comparison between Figure 2 and 3 shows that the single k point is the symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The frequencies of the phonon dispersions are identical in the two graphs. Four peaks instead of six are observed due to the fact that 2 pairs of modes become degenerate between &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. These degenerate modes correspond to the peaks between 250 and 400 cm &amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, explaining why those peaks are double the intensity of the high frequency peaks. It can been seen that a grid size of 1x1x1 is not a good representative of the DOS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_Phonon_DOS_DHL.png|300px|none|thumb|left|Figure 3: MgO Phonon DOS 1x1x1]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_3x3x3_DHL.png|300px|none|thumb|middle|Figure 4: MgO Phonon DOS 3x3x3]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_8x8x8_DHL.png|300px|none|thumb|middle|Figure 5: MgO Phonon DOS 8x8x8]]&lt;br /&gt;
|}&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_phonon_DOS_16x16x16_DHL.png|300px|none|thumb|left|Figure 6: MgO Phonon DOS 16x16x16]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_32x32x32_DHL.png|300px|none|thumb|left|Figure 7: MgO Phonon DOS 32x32x32]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_40x40x40_DHL.png|300px|none|thumb|middle|Figure 8: MgO Phonon DOS 40x40x40]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Several grid sizes were investigated up to 50x50x50 to find a compromise between an accurate DOS and the time taken to run the calculation. As the grid size is an increased a more true depiction of the DOS is obtained for the MgO structure. Increasing the grid size increases the number of peaks and then changes the graph from random sharp intensities to a smoother curve. However, the highest intensity point remains at 400 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; throughout all grid sizes and the higher frequencies having lower intensities. The bigger the grid size, the more k points that are sampled and the more representative the DOS. It can be seen in the figures below that the DOS curve is unchanged between 32x32x32 and 40x40x40, however, the running time increases greatly for the 40x40x40 grid size. Therefore, it was decided that the 32x32x32 grid size was the optimum and used in further calculations.&lt;br /&gt;
&lt;br /&gt;
The size of the grid set in the calculations is inversely related to the size of the structure in real space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This equation shows that the bigger a* (size of grid in k space) the smaller a (size of cell in real space). Therefore the bigger the cell in real space, the smaller the grid size needed for the calculation of DOS. This means that a similar oxide such as CaO will require a similar grid size as MgO for the calculation of DOS. Faujasite, a zeolite, has a lattice parameter in the range 24.2 - 25.1 Å &amp;lt;ref name=&amp;quot;Zeolite&amp;quot;/&amp;gt; and would therefore need a small grid size for the DOS calculation. Lithium, a small metal, has a lattice parameter of 3.51 Å &amp;lt;ref name=&amp;quot;Lithium&amp;quot;/&amp;gt; and would therefore need a large grid size for the DOS calculation to represent its small cell size in real space.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Computing the Free Energy&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Task_3_graph.png|300px|thumb|right|Graph 1: A Graph to show how the Free Energy changes with Grid Size]]&lt;br /&gt;
The Helmholtz Free Energy of MgO was then computed using the quasi-harmonic approximation on the same grid sizes as in the previous section at a temperature of 300K. Helmholtz Free Energy is given by the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A=Helmholtz Free Energy, U=Internal Energy, S=Entropy and T=Temperature&lt;br /&gt;
This states that the Helmholtz Free Energy should increase with increasing internal energy and decreasing temperature and entropy. This said, the Helmholtz Free Energy should decrease with increasing grid size. This can be explained with the aid of the following statistical mechanics equation of entropy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt; where S=Entropy, k=Boltzmann Constant and W=number of microstates&lt;br /&gt;
As the grid size increases the number of microstates sampled also increases. This in turn increases the entropy and decreases the TS term in the Helmholtz Free Energy equation. The decrease in Helmholtz Free Energy can be further explained using the following equation of internal energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt; where U=internal Energy, H=Enthalpy, P=Pressure and V=Volume&lt;br /&gt;
As the grid size increases so does its volume, therefore decreasing the internal energy. This further decreases the Helmholtz Free Energy. It can be seen in Graph 1 that initially the Helmholtz Free Energy increases with grid from 1x1x1 to 3x3x3 and then begins to follow the expected trend and decrease with increasing grid size. Table 1 shows that the accuracy of the Helmholtz Free Energy increases with grid size.&lt;br /&gt;
The Helmholtz Free Energy converges to a value of -40.9265 eV, with the 32x32x32 grid size being the most appropriate to run calculations from, providing the correct Helmholtz Free Energy and a suitable length of time to run the calculation.&lt;br /&gt;
&lt;br /&gt;
For CaO, a similar sized crystal to MgO (lattice constant CaO = 4.811 Å, lattice constant MgO = 4.212 Å)&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;/&amp;gt;, a similar size grid will be required for the calculation of the Helmholtz Free Energy. Faujasite would require a smaller grid size due to its large lattice constant and lithium a larger grid size than MgO due to its small lattice constant.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;The Thermal Expansion of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Thermal expansion is the ability of matter to change size, volume and shape in a response to the change in temperature. When a substance is heated the molecules vibrate and begin to move more, and their average separation increases. This thermal expansion is indicated by the Coefficient of Linear Thermal Expansion (CTE). Uniform linear objects have a thermally expand proportional to temperate over a small range of temperatures. The equation used to calculate the linear CTE is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;=linear CTE, &amp;lt;math&amp;gt;{L_0}&amp;lt;/math&amp;gt;=lattice constant at 0K and &amp;lt;math&amp;gt;dL/dT&amp;lt;/math&amp;gt;=rate of change of lattice constant with respect to temperature&lt;br /&gt;
&lt;br /&gt;
A volumetric CTE can also be calculated using the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt;=volumetric CTE, &amp;lt;math&amp;gt;{V}&amp;lt;/math&amp;gt;= volume and &amp;lt;math&amp;gt;\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;= partial derivative of volum with respect to temperature at constant pressure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Quasi-harmonic Approximation: ===&lt;br /&gt;
[[File:Task_4_graph_1.png|300px|thumb|left|Figure 10: A graph to show how the free energy of MgO changes with temperature]]&lt;br /&gt;
[[File:Task_4_graph_2.png|300px|thumb|right|Figure 11: A graph to show how the lattice constant of MgO changes with temperature]]&lt;br /&gt;
Using the 32x32x32 grid size of MgO the free energy was then optimised. The optimisation opts was set to optimise Gibbs Free Energy and the temperature was varied from 0 - 1000k. The free energy decreases with increasing temperature in a parabolic fashion to the order of 2. This negative correlation can be explained using the equation for Gibbs Free Energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G=H-TS&amp;lt;/math&amp;gt; where G=Gibbs Free Energy, H=Enthalpy, T=Temperature and S=Entropy&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Increasing the temperature decreases the TS term therefore decreasing the Gibbs Free Energy.&lt;br /&gt;
&lt;br /&gt;
The lattice constant increases in a parabolic fashion to the order of 2 with increasing temperature due to the thermal expansion.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Calculation of CTE: ====&lt;br /&gt;
Coefficient of Linear Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{2.9894}\,\frac{3.0056-2.9894}{1000}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=5.419\times10^{-6}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Coefficient of Volumetric Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{26.71481005}\,\left(\frac{27.15148242-26.71481005}{1000}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V=1.634\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It can be seen that the α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt; is 3.015 times that of the α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;. This is because MgO expands at the same rate in all three directions in three-dimensions, it is an isotropic compound. The CFE values are close to those found in literature at &amp;lt;math&amp;gt;\alpha_L=7.88\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=2.36\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; which were calculated using a temperature range close to that used in this experiment at 301.15-1273.15 K&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;/&amp;gt; (results from experiment give &amp;lt;math&amp;gt;\alpha_L=5.789\times10^{-6}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=1.747\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; if calculated from 300-1000k).&lt;br /&gt;
&lt;br /&gt;
The main approximation in the calculations of the thermal expansion is to do with the anharmonic contributions to the harmonic approximation. In order to simplify the phonon frequencies are set to be volume dependent and so at a higher temperature the anharmonic factor increases. The Born-Oppenheimer Approximation which assumes that the motion of atomic nuclei and electron in a molecule can be separated is another assumption.&lt;br /&gt;
&lt;br /&gt;
This approximation cannot be used when the temperature approaches that of the melting point of MgO due to the new lattice parameters. Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; begin to behave as separate ions as MgO begins to melt and becomes molten. Therefore the quasi-harmonic approximation cannot be used as it only takes into account linear movement.&lt;br /&gt;
&lt;br /&gt;
For a diatomic molecule with an exactly harmonic potential the bond is not allowed to break and the bond length is fixed around that of its equilibrium length. Therefore the lattice constant will only increase up to a distance just prior to bond cleavage. However, in these calculations the quasi-harmonic approximation allows the bonds to break within MgO and so the lattice constant can, in theory, increase to infinity.&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamics: ===&lt;br /&gt;
[[File:32_structure_dhl.png|300px|thumb|left|Figure 12: 32 unit MgO structure used for MD calculations]]&lt;br /&gt;
[[File:32_random_dhl.png|300px|thumb|right|Figure 13: 32 unit MgO structure post MD calculations]]&lt;br /&gt;
For the final section of this experiment the thermal expansion of MgO was once again calculated, but this time using the molecular dynamics method. This method allows the system to evolve according to Newton&#039;s Second Law&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;References&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;&amp;gt; X. Wu, W. Li, W. Rui. Effect of temperature on elastic constants, generalized stacking fault energy and dislocation cores in MgO and CaO. &#039;&#039;Computational Condensed Matter&#039;&#039;. 2014: 38-44. Available from: DOI: 10.1016/j.cocom.2014.10.005&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Zeolite&amp;quot;&amp;gt; J. A Kaduk, J. Faber. Crystal Structure of Zeolite Y as a function of Ion Exchange. &#039;&#039;The Rigaku Journal&#039;&#039;. 1995;12: 14. Available from: http://www.rigaku.com/downloads/journal/Vol12.2.1995/kaduk.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Lithium&amp;quot;&amp;gt; M. R. Nadler, C. P Kempter. Crystallographic Data 186. Lithium. &#039;&#039;Analytical Chemistry&#039;&#039;. 1959;31:2109. Available from: &lt;br /&gt;
DOI: 10.1021/ac60156a007&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;&amp;gt; D. K. Smith, H. R. Leider. Low-Temperature Thermal Expansion of LiH, MgO and CaO. &#039;&#039;Journal of Applied Crystallography&#039;&#039;. 1968;1: 246-249. Available from: DOI: 10.1107/S0021889868005418&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;&amp;gt; J. F. W. Bowles, R. A. Howie, D. J. Vaughan, J. Zussman. Rock-forming Minerals: Non-silicates: oxides, hydroxides and sulphides 2nd ed. London: The Geological Society;2011 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Appendix&amp;lt;/u&amp;gt; ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Grid Size !! Helmholtz Free Energy (eV)!! Accuracy (meV)&lt;br /&gt;
|-&lt;br /&gt;
| 1x1x1 || -40.9303|| 4&lt;br /&gt;
|-&lt;br /&gt;
| 2x2x2 || -40.9266|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 3x3x3 || -40.9264|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 8x8x8 || -40.9265|| 0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16x16x16 || -40.9265|| 0.001&lt;br /&gt;
|-&lt;br /&gt;
| 32x32x32 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 40x40x40 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 50x50x50 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;3&amp;quot; |Table 1: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Grid Size&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Helmholtz Free Energy (eV)&lt;br /&gt;
|-&lt;br /&gt;
| 0 || -40.9019        &lt;br /&gt;
|-&lt;br /&gt;
| 100 || -40.9024&lt;br /&gt;
|-&lt;br /&gt;
| 200 || -40.9094&lt;br /&gt;
|-&lt;br /&gt;
| 300 || -40.9281&lt;br /&gt;
|-&lt;br /&gt;
| 400 || -40.9585&lt;br /&gt;
|-&lt;br /&gt;
| 500 || -40.9994&lt;br /&gt;
|-&lt;br /&gt;
| 600 || -41.0493&lt;br /&gt;
|-&lt;br /&gt;
| 700 || -41.1071&lt;br /&gt;
|-&lt;br /&gt;
| 800 || -41.1719&lt;br /&gt;
|-&lt;br /&gt;
| 900 || -41.2440&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || -41.3198&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 2: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Temperature&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Lattice Constant&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 2.9894      &lt;br /&gt;
|-&lt;br /&gt;
| 100 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 300 || 2.9883&lt;br /&gt;
|-&lt;br /&gt;
| 400 || 2.9894&lt;br /&gt;
|-&lt;br /&gt;
| 500 || 2.9916&lt;br /&gt;
|-&lt;br /&gt;
| 600 || 2.9941&lt;br /&gt;
|-&lt;br /&gt;
| 700 || 2.9968&lt;br /&gt;
|-&lt;br /&gt;
| 800 || 2.9996&lt;br /&gt;
|-&lt;br /&gt;
| 900 || 3.0026&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 3.0056&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 3: Raw Data showing change in&lt;br /&gt;
Lattice Constant with Temperature&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dl2613</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550479</id>
		<title>Rep:Mod:Dl2613</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550479"/>
		<updated>2016-03-07T21:25:27Z</updated>

		<summary type="html">&lt;p&gt;Dl2613: /* Calculation of CTE: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== &amp;lt;u&amp;gt;Introduction&amp;lt;/u&amp;gt; ==&lt;br /&gt;
The aim of this experiment was to use a simple model of atomic interactions to calculate the energy and vibrations of a crystal of MgO. This was then used to compute the free energy, phonon dispersions and to predict how MgO expands when heated. The quasi-harmonic approximation (QHA) and molecular dynamics methods were used to do these calculations.&lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon based model of solid-state physics and can describe volume-dependant thermal effects of structures, such as the MgO crystal. This assumption assumes that for every lattice value the harmonic oscillator assumption is true. MD is a type of N-body simulation, it allows atoms and molecules to interact for a fixed period of time showing the dynamics of a system. In this experiment the MD was run on an isothermal-isobaric (NPT) ensemble in which the amount of substance, pressure and temperature are fixed. MD allows motion in three dimensions.&lt;br /&gt;
&lt;br /&gt;
The software used for this experiment was RedHat Linux. DLVisualize (DLV) was used for the visualisation of the structure and properties of the MgO crystal. General Utility Lattice Program (GULP) is a supporting interface of DLV and was used to perform analytical solutions on MgO through the use of lattice dynamics.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Internal Energy Calculation on MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Better_unit_cell.png|300px|thumb|right|Figure 1: MgO Primitive Unit Cell]]&lt;br /&gt;
In this first exercise the internal energy and structure of MgO was calculated using GULP from the primitive unit cell of the crystal. An ionic potential model was used, without shells included and at a single point. The primitive unit cell in the simplest cell to describe the crystal structure of MgO and contains 2 atoms. The lattice vectors of this cell are:&lt;br /&gt;
&lt;br /&gt;
0.0000   2.10597   2.10597&lt;br /&gt;
&lt;br /&gt;
2.10597   0.0000   2.10597&lt;br /&gt;
&lt;br /&gt;
2.10597   2.10597   0.0000&lt;br /&gt;
&lt;br /&gt;
From the [[Media:MgO_0_DHL.out| log file]] it can be seen that the lattice parameters are defined by the length 2.9783Å and the angle 60º, giving the primitive unit cell the shape of a rhombohedron. Each primitive cell was calculated to have an energy of -40.0753 eV and this corresponds to the binding energy of the crystal. The primitive cell can be used to build up a lattice by repeating its structure.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Calculation of phonon modes of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Computing the Phonon Dispersion Curves: ===&lt;br /&gt;
[[File:MgO_Phonon_Dispersion_DHL.png|300px|thumb|left|Figure 2: MgO Phonon Dispersion]]&lt;br /&gt;
The phonon frequencies were then computed along the symmetry points &amp;lt;math&amp;gt;W, L, G, W, X, K&amp;lt;/math&amp;gt; in k space. The calculation was set up for 50 Npoints with phonon eigenvectors included in the calculation. For a 3D crystal of diatomic molecules with two atom types, six vibration modes are observed in the phonon dispersion curves (Fig 2). A positive dispersion relation results in optical modes and a negative dispersion relation results in acoustic modes. Two adjacent different atoms move against each other in the optical mode, but move against together in the acoustic mode. The acoustic modes equal 0   cm-1  at the point Γ whereas the optical modes do not. It can seen that there are three acoustic modes and three optical modes. The three acoustic modes can be split into one longitudinal acoustic mode and two transverse acoustic modes. The two transverse modes become degenerate between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;. The phonon dispersion curve agrees with that found in literature&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== The Phonon Density of States: ===&lt;br /&gt;
A simpler energy level diagram than the phonon dispersion relation is the density of states (DOS). The DOS is an average over the time and space demains of the MgO system and was calculated for the phonons as a function of the wave vector k. The dimensional limits of the MgO crystal affects the DOS and therefore it is expected that the DOS will change with the grid size of the MgO crystal.&lt;br /&gt;
&lt;br /&gt;
To begin with the DOS calculation was ran on a 1x1x1 grid, corresponding to a single k point. Comparison between Figure 2 and 3 shows that the single k point is the symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The frequencies of the phonon dispersions are identical in the two graphs. Four peaks instead of six are observed due to the fact that 2 pairs of modes become degenerate between &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. These degenerate modes correspond to the peaks between 250 and 400 cm &amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, explaining why those peaks are double the intensity of the high frequency peaks. It can been seen that a grid size of 1x1x1 is not a good representative of the DOS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_Phonon_DOS_DHL.png|300px|none|thumb|left|Figure 3: MgO Phonon DOS 1x1x1]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_3x3x3_DHL.png|300px|none|thumb|middle|Figure 4: MgO Phonon DOS 3x3x3]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_8x8x8_DHL.png|300px|none|thumb|middle|Figure 5: MgO Phonon DOS 8x8x8]]&lt;br /&gt;
|}&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_phonon_DOS_16x16x16_DHL.png|300px|none|thumb|left|Figure 6: MgO Phonon DOS 16x16x16]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_32x32x32_DHL.png|300px|none|thumb|left|Figure 7: MgO Phonon DOS 32x32x32]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_40x40x40_DHL.png|300px|none|thumb|middle|Figure 8: MgO Phonon DOS 40x40x40]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Several grid sizes were investigated up to 50x50x50 to find a compromise between an accurate DOS and the time taken to run the calculation. As the grid size is an increased a more true depiction of the DOS is obtained for the MgO structure. Increasing the grid size increases the number of peaks and then changes the graph from random sharp intensities to a smoother curve. However, the highest intensity point remains at 400 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; throughout all grid sizes and the higher frequencies having lower intensities. The bigger the grid size, the more k points that are sampled and the more representative the DOS. It can be seen in the figures below that the DOS curve is unchanged between 32x32x32 and 40x40x40, however, the running time increases greatly for the 40x40x40 grid size. Therefore, it was decided that the 32x32x32 grid size was the optimum and used in further calculations.&lt;br /&gt;
&lt;br /&gt;
The size of the grid set in the calculations is inversely related to the size of the structure in real space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This equation shows that the bigger a* (size of grid in k space) the smaller a (size of cell in real space). Therefore the bigger the cell in real space, the smaller the grid size needed for the calculation of DOS. This means that a similar oxide such as CaO will require a similar grid size as MgO for the calculation of DOS. Faujasite, a zeolite, has a lattice parameter in the range 24.2 - 25.1 Å &amp;lt;ref name=&amp;quot;Zeolite&amp;quot;/&amp;gt; and would therefore need a small grid size for the DOS calculation. Lithium, a small metal, has a lattice parameter of 3.51 Å &amp;lt;ref name=&amp;quot;Lithium&amp;quot;/&amp;gt; and would therefore need a large grid size for the DOS calculation to represent its small cell size in real space.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Computing the Free Energy&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Task_3_graph.png|300px|thumb|right|Graph 1: A Graph to show how the Free Energy changes with Grid Size]]&lt;br /&gt;
The Helmholtz Free Energy of MgO was then computed using the quasi-harmonic approximation on the same grid sizes as in the previous section at a temperature of 300K. Helmholtz Free Energy is given by the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A=Helmholtz Free Energy, U=Internal Energy, S=Entropy and T=Temperature&lt;br /&gt;
This states that the Helmholtz Free Energy should increase with increasing internal energy and decreasing temperature and entropy. This said, the Helmholtz Free Energy should decrease with increasing grid size. This can be explained with the aid of the following statistical mechanics equation of entropy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt; where S=Entropy, k=Boltzmann Constant and W=number of microstates&lt;br /&gt;
As the grid size increases the number of microstates sampled also increases. This in turn increases the entropy and decreases the TS term in the Helmholtz Free Energy equation. The decrease in Helmholtz Free Energy can be further explained using the following equation of internal energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt; where U=internal Energy, H=Enthalpy, P=Pressure and V=Volume&lt;br /&gt;
As the grid size increases so does its volume, therefore decreasing the internal energy. This further decreases the Helmholtz Free Energy. It can be seen in Graph 1 that initially the Helmholtz Free Energy increases with grid from 1x1x1 to 3x3x3 and then begins to follow the expected trend and decrease with increasing grid size. Table 1 shows that the accuracy of the Helmholtz Free Energy increases with grid size.&lt;br /&gt;
The Helmholtz Free Energy converges to a value of -40.9265 eV, with the 32x32x32 grid size being the most appropriate to run calculations from, providing the correct Helmholtz Free Energy and a suitable length of time to run the calculation.&lt;br /&gt;
&lt;br /&gt;
For CaO, a similar sized crystal to MgO (lattice constant CaO = 4.811 Å, lattice constant MgO = 4.212 Å)&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;/&amp;gt;, a similar size grid will be required for the calculation of the Helmholtz Free Energy. Faujasite would require a smaller grid size due to its large lattice constant and lithium a larger grid size than MgO due to its small lattice constant.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;The Thermal Expansion of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Thermal expansion is the ability of matter to change size, volume and shape in a response to the change in temperature. When a substance is heated the molecules vibrate and begin to move more, and their average separation increases. This thermal expansion is indicated by the Coefficient of Linear Thermal Expansion (CTE). Uniform linear objects have a thermally expand proportional to temperate over a small range of temperatures. The equation used to calculate the linear CTE is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;=linear CTE, &amp;lt;math&amp;gt;{L_0}&amp;lt;/math&amp;gt;=lattice constant at 0K and &amp;lt;math&amp;gt;dL/dT&amp;lt;/math&amp;gt;=rate of change of lattice constant with respect to temperature&lt;br /&gt;
&lt;br /&gt;
A volumetric CTE can also be calculated using the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt;=volumetric CTE, &amp;lt;math&amp;gt;{V}&amp;lt;/math&amp;gt;= volume and &amp;lt;math&amp;gt;\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;= partial derivative of volum with respect to temperature at constant pressure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Quasi-harmonic Approximation: ===&lt;br /&gt;
[[File:Task_4_graph_1.png|300px|thumb|left|Figure 10: A graph to show how the free energy of MgO changes with temperature]]&lt;br /&gt;
[[File:Task_4_graph_2.png|300px|thumb|right|Figure 11: A graph to show how the lattice constant of MgO changes with temperature]]&lt;br /&gt;
Using the 32x32x32 grid size of MgO the free energy was then optimised. The optimisation opts was set to optimise Gibbs Free Energy and the temperature was varied from 0 - 1000k. The free energy decreases with increasing temperature in a parabolic fashion to the order of 2. This negative correlation can be explained using the equation for Gibbs Free Energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G=H-TS&amp;lt;/math&amp;gt; where G=Gibbs Free Energy, H=Enthalpy, T=Temperature and S=Entropy&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Increasing the temperature decreases the TS term therefore decreasing the Gibbs Free Energy.&lt;br /&gt;
&lt;br /&gt;
The lattice constant increases in a parabolic fashion to the order of 2 with increasing temperature due to the thermal expansion.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Calculation of CTE: ====&lt;br /&gt;
Coefficient of Linear Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{2.9894}\,\frac{3.0056-2.9894}{1000}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=5.419\times10^{-6}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Coefficient of Volumetric Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{26.71481005}\,\left(\frac{27.15148242-26.71481005}{1000}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V=1.634\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It can be seen that the α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt; is 3.015 times that of the α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;. This is because MgO expands at the same rate in all three directions in three-dimensions, it is an isotropic compound. The CFE values are close to those found in literature at &amp;lt;math&amp;gt;\alpha_L=7.88\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=2.36\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; which were calculated using a temperature range close to that used in this experiment at 301.15-1273.15 K&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;/&amp;gt; (results from experiment give &amp;lt;math&amp;gt;\alpha_L=5.789\times10^{-6}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=1.747\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; if calculated from 300-1000k).&lt;br /&gt;
&lt;br /&gt;
The main approximation in the calculations of the thermal expansion is to do with the anharmonic contributions to the harmonic approximation. In order to simplify the phonon frequencies are set to be volume dependent and so at a higher temperature the anharmonic factor increases. The Born-Oppenheimer Approximation which assumes that the motion of atomic nuclei and electron in a molecule can be separated is another assumption.&lt;br /&gt;
&lt;br /&gt;
This approximation cannot be used when the temperature approaches that of the melting point of MgO due to the new lattice parameters. Mg&amp;lt;sup&amp;gt;2+&amp;lt;/sup&amp;gt; and O&amp;lt;sup&amp;gt;2-&amp;lt;/sup&amp;gt; begin to behave as separate ions as MgO begins to melt and becomes molten. Therefore the quasi-harmonic approximation cannot be used as it only takes into account linear movement.&lt;br /&gt;
&lt;br /&gt;
For a diatomic molecule with an exactly harmonic potential the bond is not allowed to break and the bond length is fixed around that of its equilibrium length. Therefore the lattice constant will only increase up to a distance just prior to bond cleavage. However, in these calculations the quasi-harmonic approximation allows the bonds to break within MgO and so the lattice constant can, in theory, increase to infinity.&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamics: ===&lt;br /&gt;
[[File:32_structure_dhl.png|300px|thumb|left|Figure 12: 32 unit MgO structure used for MD calculations]]&lt;br /&gt;
[[File:32_random_dhl.png|300px|thumb|right|Figure 13: 32 unit MgO structure post MD calculations]]&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;References&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;&amp;gt; X. Wu, W. Li, W. Rui. Effect of temperature on elastic constants, generalized stacking fault energy and dislocation cores in MgO and CaO. &#039;&#039;Computational Condensed Matter&#039;&#039;. 2014: 38-44. Available from: DOI: 10.1016/j.cocom.2014.10.005&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Zeolite&amp;quot;&amp;gt; J. A Kaduk, J. Faber. Crystal Structure of Zeolite Y as a function of Ion Exchange. &#039;&#039;The Rigaku Journal&#039;&#039;. 1995;12: 14. Available from: http://www.rigaku.com/downloads/journal/Vol12.2.1995/kaduk.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Lithium&amp;quot;&amp;gt; M. R. Nadler, C. P Kempter. Crystallographic Data 186. Lithium. &#039;&#039;Analytical Chemistry&#039;&#039;. 1959;31:2109. Available from: &lt;br /&gt;
DOI: 10.1021/ac60156a007&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;&amp;gt; D. K. Smith, H. R. Leider. Low-Temperature Thermal Expansion of LiH, MgO and CaO. &#039;&#039;Journal of Applied Crystallography&#039;&#039;. 1968;1: 246-249. Available from: DOI: 10.1107/S0021889868005418&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;&amp;gt; J. F. W. Bowles, R. A. Howie, D. J. Vaughan, J. Zussman. Rock-forming Minerals: Non-silicates: oxides, hydroxides and sulphides 2nd ed. London: The Geological Society;2011 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Appendix&amp;lt;/u&amp;gt; ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Grid Size !! Helmholtz Free Energy (eV)!! Accuracy (meV)&lt;br /&gt;
|-&lt;br /&gt;
| 1x1x1 || -40.9303|| 4&lt;br /&gt;
|-&lt;br /&gt;
| 2x2x2 || -40.9266|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 3x3x3 || -40.9264|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 8x8x8 || -40.9265|| 0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16x16x16 || -40.9265|| 0.001&lt;br /&gt;
|-&lt;br /&gt;
| 32x32x32 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 40x40x40 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 50x50x50 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;3&amp;quot; |Table 1: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Grid Size&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Helmholtz Free Energy (eV)&lt;br /&gt;
|-&lt;br /&gt;
| 0 || -40.9019        &lt;br /&gt;
|-&lt;br /&gt;
| 100 || -40.9024&lt;br /&gt;
|-&lt;br /&gt;
| 200 || -40.9094&lt;br /&gt;
|-&lt;br /&gt;
| 300 || -40.9281&lt;br /&gt;
|-&lt;br /&gt;
| 400 || -40.9585&lt;br /&gt;
|-&lt;br /&gt;
| 500 || -40.9994&lt;br /&gt;
|-&lt;br /&gt;
| 600 || -41.0493&lt;br /&gt;
|-&lt;br /&gt;
| 700 || -41.1071&lt;br /&gt;
|-&lt;br /&gt;
| 800 || -41.1719&lt;br /&gt;
|-&lt;br /&gt;
| 900 || -41.2440&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || -41.3198&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 2: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Temperature&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Lattice Constant&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 2.9894      &lt;br /&gt;
|-&lt;br /&gt;
| 100 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 300 || 2.9883&lt;br /&gt;
|-&lt;br /&gt;
| 400 || 2.9894&lt;br /&gt;
|-&lt;br /&gt;
| 500 || 2.9916&lt;br /&gt;
|-&lt;br /&gt;
| 600 || 2.9941&lt;br /&gt;
|-&lt;br /&gt;
| 700 || 2.9968&lt;br /&gt;
|-&lt;br /&gt;
| 800 || 2.9996&lt;br /&gt;
|-&lt;br /&gt;
| 900 || 3.0026&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 3.0056&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 3: Raw Data showing change in&lt;br /&gt;
Lattice Constant with Temperature&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dl2613</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550473</id>
		<title>Rep:Mod:Dl2613</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550473"/>
		<updated>2016-03-07T21:14:07Z</updated>

		<summary type="html">&lt;p&gt;Dl2613: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== &amp;lt;u&amp;gt;Introduction&amp;lt;/u&amp;gt; ==&lt;br /&gt;
The aim of this experiment was to use a simple model of atomic interactions to calculate the energy and vibrations of a crystal of MgO. This was then used to compute the free energy, phonon dispersions and to predict how MgO expands when heated. The quasi-harmonic approximation (QHA) and molecular dynamics methods were used to do these calculations.&lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon based model of solid-state physics and can describe volume-dependant thermal effects of structures, such as the MgO crystal. This assumption assumes that for every lattice value the harmonic oscillator assumption is true. MD is a type of N-body simulation, it allows atoms and molecules to interact for a fixed period of time showing the dynamics of a system. In this experiment the MD was run on an isothermal-isobaric (NPT) ensemble in which the amount of substance, pressure and temperature are fixed. MD allows motion in three dimensions.&lt;br /&gt;
&lt;br /&gt;
The software used for this experiment was RedHat Linux. DLVisualize (DLV) was used for the visualisation of the structure and properties of the MgO crystal. General Utility Lattice Program (GULP) is a supporting interface of DLV and was used to perform analytical solutions on MgO through the use of lattice dynamics.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Internal Energy Calculation on MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Better_unit_cell.png|300px|thumb|right|Figure 1: MgO Primitive Unit Cell]]&lt;br /&gt;
In this first exercise the internal energy and structure of MgO was calculated using GULP from the primitive unit cell of the crystal. An ionic potential model was used, without shells included and at a single point. The primitive unit cell in the simplest cell to describe the crystal structure of MgO and contains 2 atoms. The lattice vectors of this cell are:&lt;br /&gt;
&lt;br /&gt;
0.0000   2.10597   2.10597&lt;br /&gt;
&lt;br /&gt;
2.10597   0.0000   2.10597&lt;br /&gt;
&lt;br /&gt;
2.10597   2.10597   0.0000&lt;br /&gt;
&lt;br /&gt;
From the [[Media:MgO_0_DHL.out| log file]] it can be seen that the lattice parameters are defined by the length 2.9783Å and the angle 60º, giving the primitive unit cell the shape of a rhombohedron. Each primitive cell was calculated to have an energy of -40.0753 eV and this corresponds to the binding energy of the crystal. The primitive cell can be used to build up a lattice by repeating its structure.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Calculation of phonon modes of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Computing the Phonon Dispersion Curves: ===&lt;br /&gt;
[[File:MgO_Phonon_Dispersion_DHL.png|300px|thumb|left|Figure 2: MgO Phonon Dispersion]]&lt;br /&gt;
The phonon frequencies were then computed along the symmetry points &amp;lt;math&amp;gt;W, L, G, W, X, K&amp;lt;/math&amp;gt; in k space. The calculation was set up for 50 Npoints with phonon eigenvectors included in the calculation. For a 3D crystal of diatomic molecules with two atom types, six vibration modes are observed in the phonon dispersion curves (Fig 2). A positive dispersion relation results in optical modes and a negative dispersion relation results in acoustic modes. Two adjacent different atoms move against each other in the optical mode, but move against together in the acoustic mode. The acoustic modes equal 0   cm-1  at the point Γ whereas the optical modes do not. It can seen that there are three acoustic modes and three optical modes. The three acoustic modes can be split into one longitudinal acoustic mode and two transverse acoustic modes. The two transverse modes become degenerate between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;. The phonon dispersion curve agrees with that found in literature&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== The Phonon Density of States: ===&lt;br /&gt;
A simpler energy level diagram than the phonon dispersion relation is the density of states (DOS). The DOS is an average over the time and space demains of the MgO system and was calculated for the phonons as a function of the wave vector k. The dimensional limits of the MgO crystal affects the DOS and therefore it is expected that the DOS will change with the grid size of the MgO crystal.&lt;br /&gt;
&lt;br /&gt;
To begin with the DOS calculation was ran on a 1x1x1 grid, corresponding to a single k point. Comparison between Figure 2 and 3 shows that the single k point is the symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The frequencies of the phonon dispersions are identical in the two graphs. Four peaks instead of six are observed due to the fact that 2 pairs of modes become degenerate between &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. These degenerate modes correspond to the peaks between 250 and 400 cm &amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, explaining why those peaks are double the intensity of the high frequency peaks. It can been seen that a grid size of 1x1x1 is not a good representative of the DOS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_Phonon_DOS_DHL.png|300px|none|thumb|left|Figure 3: MgO Phonon DOS 1x1x1]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_3x3x3_DHL.png|300px|none|thumb|middle|Figure 4: MgO Phonon DOS 3x3x3]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_8x8x8_DHL.png|300px|none|thumb|middle|Figure 5: MgO Phonon DOS 8x8x8]]&lt;br /&gt;
|}&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_phonon_DOS_16x16x16_DHL.png|300px|none|thumb|left|Figure 6: MgO Phonon DOS 16x16x16]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_32x32x32_DHL.png|300px|none|thumb|left|Figure 7: MgO Phonon DOS 32x32x32]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_40x40x40_DHL.png|300px|none|thumb|middle|Figure 8: MgO Phonon DOS 40x40x40]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Several grid sizes were investigated up to 50x50x50 to find a compromise between an accurate DOS and the time taken to run the calculation. As the grid size is an increased a more true depiction of the DOS is obtained for the MgO structure. Increasing the grid size increases the number of peaks and then changes the graph from random sharp intensities to a smoother curve. However, the highest intensity point remains at 400 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; throughout all grid sizes and the higher frequencies having lower intensities. The bigger the grid size, the more k points that are sampled and the more representative the DOS. It can be seen in the figures below that the DOS curve is unchanged between 32x32x32 and 40x40x40, however, the running time increases greatly for the 40x40x40 grid size. Therefore, it was decided that the 32x32x32 grid size was the optimum and used in further calculations.&lt;br /&gt;
&lt;br /&gt;
The size of the grid set in the calculations is inversely related to the size of the structure in real space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This equation shows that the bigger a* (size of grid in k space) the smaller a (size of cell in real space). Therefore the bigger the cell in real space, the smaller the grid size needed for the calculation of DOS. This means that a similar oxide such as CaO will require a similar grid size as MgO for the calculation of DOS. Faujasite, a zeolite, has a lattice parameter in the range 24.2 - 25.1 Å &amp;lt;ref name=&amp;quot;Zeolite&amp;quot;/&amp;gt; and would therefore need a small grid size for the DOS calculation. Lithium, a small metal, has a lattice parameter of 3.51 Å &amp;lt;ref name=&amp;quot;Lithium&amp;quot;/&amp;gt; and would therefore need a large grid size for the DOS calculation to represent its small cell size in real space.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Computing the Free Energy&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Task_3_graph.png|300px|thumb|right|Graph 1: A Graph to show how the Free Energy changes with Grid Size]]&lt;br /&gt;
The Helmholtz Free Energy of MgO was then computed using the quasi-harmonic approximation on the same grid sizes as in the previous section at a temperature of 300K. Helmholtz Free Energy is given by the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A=Helmholtz Free Energy, U=Internal Energy, S=Entropy and T=Temperature&lt;br /&gt;
This states that the Helmholtz Free Energy should increase with increasing internal energy and decreasing temperature and entropy. This said, the Helmholtz Free Energy should decrease with increasing grid size. This can be explained with the aid of the following statistical mechanics equation of entropy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt; where S=Entropy, k=Boltzmann Constant and W=number of microstates&lt;br /&gt;
As the grid size increases the number of microstates sampled also increases. This in turn increases the entropy and decreases the TS term in the Helmholtz Free Energy equation. The decrease in Helmholtz Free Energy can be further explained using the following equation of internal energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt; where U=internal Energy, H=Enthalpy, P=Pressure and V=Volume&lt;br /&gt;
As the grid size increases so does its volume, therefore decreasing the internal energy. This further decreases the Helmholtz Free Energy. It can be seen in Graph 1 that initially the Helmholtz Free Energy increases with grid from 1x1x1 to 3x3x3 and then begins to follow the expected trend and decrease with increasing grid size. Table 1 shows that the accuracy of the Helmholtz Free Energy increases with grid size.&lt;br /&gt;
The Helmholtz Free Energy converges to a value of -40.9265 eV, with the 32x32x32 grid size being the most appropriate to run calculations from, providing the correct Helmholtz Free Energy and a suitable length of time to run the calculation.&lt;br /&gt;
&lt;br /&gt;
For CaO, a similar sized crystal to MgO (lattice constant CaO = 4.811 Å, lattice constant MgO = 4.212 Å)&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;/&amp;gt;, a similar size grid will be required for the calculation of the Helmholtz Free Energy. Faujasite would require a smaller grid size due to its large lattice constant and lithium a larger grid size than MgO due to its small lattice constant.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;The Thermal Expansion of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Thermal expansion is the ability of matter to change size, volume and shape in a response to the change in temperature. When a substance is heated the molecules vibrate and begin to move more, and their average separation increases. This thermal expansion is indicated by the Coefficient of Linear Thermal Expansion (CTE). Uniform linear objects have a thermally expand proportional to temperate over a small range of temperatures. The equation used to calculate the linear CTE is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;=linear CTE, &amp;lt;math&amp;gt;{L_0}&amp;lt;/math&amp;gt;=lattice constant at 0K and &amp;lt;math&amp;gt;dL/dT&amp;lt;/math&amp;gt;=rate of change of lattice constant with respect to temperature&lt;br /&gt;
&lt;br /&gt;
A volumetric CTE can also be calculated using the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt;=volumetric CTE, &amp;lt;math&amp;gt;{V}&amp;lt;/math&amp;gt;= volume and &amp;lt;math&amp;gt;\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;= partial derivative of volum with respect to temperature at constant pressure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Quasi-harmonic Approximation: ===&lt;br /&gt;
[[File:Task_4_graph_1.png|300px|thumb|left|Figure 10: A graph to show how the free energy of MgO changes with temperature]]&lt;br /&gt;
[[File:Task_4_graph_2.png|300px|thumb|right|Figure 11: A graph to show how the lattice constant of MgO changes with temperature]]&lt;br /&gt;
Using the 32x32x32 grid size of MgO the free energy was then optimised. The optimisation opts was set to optimise Gibbs Free Energy and the temperature was varied from 0 - 1000k. The free energy decreases with increasing temperature in a parabolic fashion to the order of 2. This negative correlation can be explained using the equation for Gibbs Free Energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G=H-TS&amp;lt;/math&amp;gt; where G=Gibbs Free Energy, H=Enthalpy, T=Temperature and S=Entropy&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Increasing the temperature decreases the TS term therefore decreasing the Gibbs Free Energy.&lt;br /&gt;
&lt;br /&gt;
The lattice constant increases in a parabolic fashion to the order of 2 with increasing temperature due to the thermal expansion.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Calculation of CTE: ====&lt;br /&gt;
Coefficient of Linear Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{2.9894}\,\frac{3.0056-2.9894}{1000}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=5.419\times10^{-6}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Coefficient of Volumetric Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{26.71481005}\,\left(\frac{27.15148242-26.71481005}{1000}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V=1.634\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It can be seen that the α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt; is 3.015 times that of the α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;. This is because MgO expands at the same rate in all three directions in three-dimensions, it is an isotropic compound. The CFE values are close to those found in literature at &amp;lt;math&amp;gt;\alpha_L=7.88\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=2.36\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; which were calculated using a temperature range close to that used in this experiment at 301.15-1273.15 K&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;/&amp;gt; (results from experiment give &amp;lt;math&amp;gt;\alpha_L=5.789\times10^{-6}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=1.747\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; if calculated from 300-1000k).&lt;br /&gt;
&lt;br /&gt;
The main approximation in the calculations of the thermal expansion is to do with the anharmonic contributions to the harmonic approximation. In order to simplify the phonon frequencies are set to be volume dependant and so at a higher temperature the anharmonic factor increases. The Born-Oppenheimer Approximation which assumes that the motion of atomic nuclei and electron in a molecule can be separated is another assumption.&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamics: ===&lt;br /&gt;
[[File:32_structure_dhl.png|300px|thumb|left|Figure 12: 32 unit MgO structure used for MD calculations]]&lt;br /&gt;
[[File:32_random_dhl.png|300px|thumb|right|Figure 13: 32 unit MgO structure post MD calculations]]&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;References&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;&amp;gt; X. Wu, W. Li, W. Rui. Effect of temperature on elastic constants, generalized stacking fault energy and dislocation cores in MgO and CaO. &#039;&#039;Computational Condensed Matter&#039;&#039;. 2014: 38-44. Available from: DOI: 10.1016/j.cocom.2014.10.005&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Zeolite&amp;quot;&amp;gt; J. A Kaduk, J. Faber. Crystal Structure of Zeolite Y as a function of Ion Exchange. &#039;&#039;The Rigaku Journal&#039;&#039;. 1995;12: 14. Available from: http://www.rigaku.com/downloads/journal/Vol12.2.1995/kaduk.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Lithium&amp;quot;&amp;gt; M. R. Nadler, C. P Kempter. Crystallographic Data 186. Lithium. &#039;&#039;Analytical Chemistry&#039;&#039;. 1959;31:2109. Available from: &lt;br /&gt;
DOI: 10.1021/ac60156a007&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;&amp;gt; D. K. Smith, H. R. Leider. Low-Temperature Thermal Expansion of LiH, MgO and CaO. &#039;&#039;Journal of Applied Crystallography&#039;&#039;. 1968;1: 246-249. Available from: DOI: 10.1107/S0021889868005418&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Thermal Expansion&amp;quot;&amp;gt; J. F. W. Bowles, R. A. Howie, D. J. Vaughan, J. Zussman. Rock-forming Minerals: Non-silicates: oxides, hydroxides and sulphides 2nd ed. London: The Geological Society;2011 &amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Appendix&amp;lt;/u&amp;gt; ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Grid Size !! Helmholtz Free Energy (eV)!! Accuracy (meV)&lt;br /&gt;
|-&lt;br /&gt;
| 1x1x1 || -40.9303|| 4&lt;br /&gt;
|-&lt;br /&gt;
| 2x2x2 || -40.9266|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 3x3x3 || -40.9264|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 8x8x8 || -40.9265|| 0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16x16x16 || -40.9265|| 0.001&lt;br /&gt;
|-&lt;br /&gt;
| 32x32x32 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 40x40x40 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 50x50x50 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;3&amp;quot; |Table 1: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Grid Size&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Helmholtz Free Energy (eV)&lt;br /&gt;
|-&lt;br /&gt;
| 0 || -40.9019        &lt;br /&gt;
|-&lt;br /&gt;
| 100 || -40.9024&lt;br /&gt;
|-&lt;br /&gt;
| 200 || -40.9094&lt;br /&gt;
|-&lt;br /&gt;
| 300 || -40.9281&lt;br /&gt;
|-&lt;br /&gt;
| 400 || -40.9585&lt;br /&gt;
|-&lt;br /&gt;
| 500 || -40.9994&lt;br /&gt;
|-&lt;br /&gt;
| 600 || -41.0493&lt;br /&gt;
|-&lt;br /&gt;
| 700 || -41.1071&lt;br /&gt;
|-&lt;br /&gt;
| 800 || -41.1719&lt;br /&gt;
|-&lt;br /&gt;
| 900 || -41.2440&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || -41.3198&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 2: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Temperature&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Lattice Constant&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 2.9894      &lt;br /&gt;
|-&lt;br /&gt;
| 100 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 300 || 2.9883&lt;br /&gt;
|-&lt;br /&gt;
| 400 || 2.9894&lt;br /&gt;
|-&lt;br /&gt;
| 500 || 2.9916&lt;br /&gt;
|-&lt;br /&gt;
| 600 || 2.9941&lt;br /&gt;
|-&lt;br /&gt;
| 700 || 2.9968&lt;br /&gt;
|-&lt;br /&gt;
| 800 || 2.9996&lt;br /&gt;
|-&lt;br /&gt;
| 900 || 3.0026&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 3.0056&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 3: Raw Data showing change in&lt;br /&gt;
Lattice Constant with Temperature&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dl2613</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550463</id>
		<title>Rep:Mod:Dl2613</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550463"/>
		<updated>2016-03-07T20:42:27Z</updated>

		<summary type="html">&lt;p&gt;Dl2613: /* Calculation of CTE: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== &amp;lt;u&amp;gt;Introduction&amp;lt;/u&amp;gt; ==&lt;br /&gt;
The aim of this experiment was to use a simple model of atomic interactions to calculate the energy and vibrations of a crystal of MgO. This was then used to compute the free energy, phonon dispersions and to predict how MgO expands when heated. The quasi-harmonic approximation (QHA) and molecular dynamics methods were used to do these calculations.&lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon based model of solid-state physics and can describe volume-dependant thermal effects of structures, such as the MgO crystal. This assumption assumes that for every lattice value the harmonic oscillator assumption is true. MD is a type of N-body simulation, it allows atoms and molecules to interact for a fixed period of time showing the dynamics of a system. In this experiment the MD was run on an isothermal-isobaric (NPT) ensemble in which the amount of substance, pressure and temperature are fixed. MD allows motion in three dimensions.&lt;br /&gt;
&lt;br /&gt;
The software used for this experiment was RedHat Linux. DLVisualize (DLV) was used for the visualisation of the structure and properties of the MgO crystal. General Utility Lattice Program (GULP) is a supporting interface of DLV and was used to perform analytical solutions on MgO through the use of lattice dynamics.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Internal Energy Calculation on MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Better_unit_cell.png|300px|thumb|right|Figure 1: MgO Primitive Unit Cell]]&lt;br /&gt;
In this first exercise the internal energy and structure of MgO was calculated using GULP from the primitive unit cell of the crystal. An ionic potential model was used, without shells included and at a single point. The primitive unit cell in the simplest cell to describe the crystal structure of MgO and contains 2 atoms. The lattice vectors of this cell are:&lt;br /&gt;
&lt;br /&gt;
0.0000   2.10597   2.10597&lt;br /&gt;
&lt;br /&gt;
2.10597   0.0000   2.10597&lt;br /&gt;
&lt;br /&gt;
2.10597   2.10597   0.0000&lt;br /&gt;
&lt;br /&gt;
From the [[Media:MgO_0_DHL.out| log file]] it can be seen that the lattice parameters are defined by the length 2.9783Å and the angle 60º, giving the primitive unit cell the shape of a rhombohedron. Each primitive cell was calculated to have an energy of -40.0753 eV and this corresponds to the binding energy of the crystal. The primitive cell can be used to build up a lattice by repeating its structure.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Calculation of phonon modes of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Computing the Phonon Dispersion Curves: ===&lt;br /&gt;
[[File:MgO_Phonon_Dispersion_DHL.png|300px|thumb|left|Figure 2: MgO Phonon Dispersion]]&lt;br /&gt;
The phonon frequencies were then computed along the symmetry points &amp;lt;math&amp;gt;W, L, G, W, X, K&amp;lt;/math&amp;gt; in k space. The calculation was set up for 50 Npoints with phonon eigenvectors included in the calculation. For a 3D crystal of diatomic molecules with two atom types, six vibration modes are observed in the phonon dispersion curves (Fig 2). A positive dispersion relation results in optical modes and a negative dispersion relation results in acoustic modes. Two adjacent different atoms move against each other in the optical mode, but move against together in the acoustic mode. The acoustic modes equal 0   cm-1  at the point Γ whereas the optical modes do not. It can seen that there are three acoustic modes and three optical modes. The three acoustic modes can be split into one longitudinal acoustic mode and two transverse acoustic modes. The two transverse modes become degenerate between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;. The phonon dispersion curve agrees with that found in literature&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== The Phonon Density of States: ===&lt;br /&gt;
A simpler energy level diagram than the phonon dispersion relation is the density of states (DOS). The DOS is an average over the time and space demains of the MgO system and was calculated for the phonons as a function of the wave vector k. The dimensional limits of the MgO crystal affects the DOS and therefore it is expected that the DOS will change with the grid size of the MgO crystal.&lt;br /&gt;
&lt;br /&gt;
To begin with the DOS calculation was ran on a 1x1x1 grid, corresponding to a single k point. Comparison between Figure 2 and 3 shows that the single k point is the symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The frequencies of the phonon dispersions are identical in the two graphs. Four peaks instead of six are observed due to the fact that 2 pairs of modes become degenerate between &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. These degenerate modes correspond to the peaks between 250 and 400 cm &amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, explaining why those peaks are double the intensity of the high frequency peaks. It can been seen that a grid size of 1x1x1 is not a good representative of the DOS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_Phonon_DOS_DHL.png|300px|none|thumb|left|Figure 3: MgO Phonon DOS 1x1x1]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_3x3x3_DHL.png|300px|none|thumb|middle|Figure 4: MgO Phonon DOS 3x3x3]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_8x8x8_DHL.png|300px|none|thumb|middle|Figure 5: MgO Phonon DOS 8x8x8]]&lt;br /&gt;
|}&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_phonon_DOS_16x16x16_DHL.png|300px|none|thumb|left|Figure 6: MgO Phonon DOS 16x16x16]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_32x32x32_DHL.png|300px|none|thumb|left|Figure 7: MgO Phonon DOS 32x32x32]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_40x40x40_DHL.png|300px|none|thumb|middle|Figure 8: MgO Phonon DOS 40x40x40]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Several grid sizes were investigated up to 50x50x50 to find a compromise between an accurate DOS and the time taken to run the calculation. As the grid size is an increased a more true depiction of the DOS is obtained for the MgO structure. Increasing the grid size increases the number of peaks and then changes the graph from random sharp intensities to a smoother curve. However, the highest intensity point remains at 400 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; throughout all grid sizes and the higher frequencies having lower intensities. The bigger the grid size, the more k points that are sampled and the more representative the DOS. It can be seen in the figures below that the DOS curve is unchanged between 32x32x32 and 40x40x40, however, the running time increases greatly for the 40x40x40 grid size. Therefore, it was decided that the 32x32x32 grid size was the optimum and used in further calculations.&lt;br /&gt;
&lt;br /&gt;
The size of the grid set in the calculations is inversely related to the size of the structure in real space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This equation shows that the bigger a* (size of grid in k space) the smaller a (size of cell in real space). Therefore the bigger the cell in real space, the smaller the grid size needed for the calculation of DOS. This means that a similar oxide such as CaO will require a similar grid size as MgO for the calculation of DOS. Faujasite, a zeolite, has a lattice parameter in the range 24.2 - 25.1 Å &amp;lt;ref name=&amp;quot;Zeolite&amp;quot;/&amp;gt; and would therefore need a small grid size for the DOS calculation. Lithium, a small metal, has a lattice parameter of 3.51 Å &amp;lt;ref name=&amp;quot;Lithium&amp;quot;/&amp;gt; and would therefore need a large grid size for the DOS calculation to represent its small cell size in real space.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Computing the Free Energy&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Task_3_graph.png|300px|thumb|right|Graph 1: A Graph to show how the Free Energy changes with Grid Size]]&lt;br /&gt;
The Helmholtz Free Energy of MgO was then computed using the quasi-harmonic approximation on the same grid sizes as in the previous section at a temperature of 300K. Helmholtz Free Energy is given by the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A=Helmholtz Free Energy, U=Internal Energy, S=Entropy and T=Temperature&lt;br /&gt;
This states that the Helmholtz Free Energy should increase with increasing internal energy and decreasing temperature and entropy. This said, the Helmholtz Free Energy should decrease with increasing grid size. This can be explained with the aid of the following statistical mechanics equation of entropy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt; where S=Entropy, k=Boltzmann Constant and W=number of microstates&lt;br /&gt;
As the grid size increases the number of microstates sampled also increases. This in turn increases the entropy and decreases the TS term in the Helmholtz Free Energy equation. The decrease in Helmholtz Free Energy can be further explained using the following equation of internal energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt; where U=internal Energy, H=Enthalpy, P=Pressure and V=Volume&lt;br /&gt;
As the grid size increases so does its volume, therefore decreasing the internal energy. This further decreases the Helmholtz Free Energy. It can be seen in Graph 1 that initially the Helmholtz Free Energy increases with grid from 1x1x1 to 3x3x3 and then begins to follow the expected trend and decrease with increasing grid size. Table 1 shows that the accuracy of the Helmholtz Free Energy increases with grid size.&lt;br /&gt;
The Helmholtz Free Energy converges to a value of -40.9265 eV, with the 32x32x32 grid size being the most appropriate to run calculations from, providing the correct Helmholtz Free Energy and a suitable length of time to run the calculation.&lt;br /&gt;
&lt;br /&gt;
For CaO, a similar sized crystal to MgO (lattice constant CaO = 4.811 Å, lattice constant MgO = 4.212 Å)&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;/&amp;gt;, a similar size grid will be required for the calculation of the Helmholtz Free Energy. Faujasite would require a smaller grid size due to its large lattice constant and lithium a larger grid size than MgO due to its small lattice constant.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;The Thermal Expansion of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Thermal expansion is the ability of matter to change size, volume and shape in a response to the change in temperature. When a substance is heated the molecules vibrate and begin to move more, and their average separation increases. This thermal expansion is indicated by the Coefficient of Linear Thermal Expansion (CTE). Uniform linear objects have a thermally expand proportional to temperate over a small range of temperatures. The equation used to calculate the linear CTE is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;=linear CTE, &amp;lt;math&amp;gt;{L_0}&amp;lt;/math&amp;gt;=lattice constant at 0K and &amp;lt;math&amp;gt;dL/dT&amp;lt;/math&amp;gt;=rate of change of lattice constant with respect to temperature&lt;br /&gt;
&lt;br /&gt;
A volumetric CTE can also be calculated using the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt;=volumetric CTE, &amp;lt;math&amp;gt;{V}&amp;lt;/math&amp;gt;= volume and &amp;lt;math&amp;gt;\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;= partial derivative of volum with respect to temperature at constant pressure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Quasi-harmonic Approximation: ===&lt;br /&gt;
[[File:Task_4_graph_1.png|300px|thumb|left|Figure 10: A graph to show how the free energy of MgO changes with temperature]]&lt;br /&gt;
[[File:Task_4_graph_2.png|300px|thumb|right|Figure 11: A graph to show how the lattice constant of MgO changes with temperature]]&lt;br /&gt;
Using the 32x32x32 grid size of MgO the free energy was then optimised. The optimisation opts was set to optimise Gibbs Free Energy and the temperature was varied from 0 - 1000k. The free energy decreases with increasing temperature in a parabolic fashion to the order of 2. This negative correlation can be explained using the equation for Gibbs Free Energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G=H-TS&amp;lt;/math&amp;gt; where G=Gibbs Free Energy, H=Enthalpy, T=Temperature and S=Entropy&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Increasing the temperature decreases the TS term therefore decreasing the Gibbs Free Energy.&lt;br /&gt;
&lt;br /&gt;
The lattice constant increases in a parabolic fashion to the order of 2 with increasing temperature due to the thermal expansion.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Calculation of CTE: ====&lt;br /&gt;
Coefficient of Linear Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{2.9894}\,\frac{3.0056-2.9894}{1000}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=5.419\times10^{-6}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Coefficient of Volumetric Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{26.71481005}\,\left(\frac{27.15148242-26.71481005}{1000}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V=1.634\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It can be seen that the α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt; is 3.015 times that of the α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;. This is because MgO is the same in all three directions in three-dimensions, it is an isotropic compound. The CFE values are close to those found in literature at &amp;lt;math&amp;gt;\alpha_L=7.88\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=2.36\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; which were calculated using a temperature range close to that used in this experiment at 301.15-1273.15 K (results from experiment give &amp;lt;math&amp;gt;\alpha_L=5.789\times10^{-6}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=1.747\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; if calculated from 300-1000k).&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamics: ===&lt;br /&gt;
[[File:32_structure_dhl.png|300px|thumb|left|Figure 12: 32 unit MgO structure used for MD calculations]]&lt;br /&gt;
[[File:32_random_dhl.png|300px|thumb|right|Figure 13: 32 unit MgO structure post MD calculations]]&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;References&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;&amp;gt; X. Wu, W. Li, W. Rui. Effect of temperature on elastic constants, generalized stacking fault energy and dislocation cores in MgO and CaO. &#039;&#039;Computational Condensed Matter&#039;&#039;. 2014: 38-44. Available from: DOI: 10.1016/j.cocom.2014.10.005&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Zeolite&amp;quot;&amp;gt; J. A Kaduk, J. Faber. Crystal Structure of Zeolite Y as a function of Ion Exchange. &#039;&#039;The Rigaku Journal&#039;&#039;. 1995;12: 14. Available from: http://www.rigaku.com/downloads/journal/Vol12.2.1995/kaduk.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Lithium&amp;quot;&amp;gt; M. R. Nadler, C. P Kempter. Crystallographic Data 186. Lithium. &#039;&#039;Analytical Chemistry&#039;&#039;. 1959;31:2109. Available from: &lt;br /&gt;
DOI: 10.1021/ac60156a007&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;&amp;gt; D. K. Smith, H. R. Leider. Low-Temperature Thermal Expansion of LiH, MgO and CaO. &#039;&#039;Journal of Applied Crystallography&#039;&#039;. 1968;1: 246-249. Available from: DOI: 10.1107/S0021889868005418&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Appendix&amp;lt;/u&amp;gt; ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Grid Size !! Helmholtz Free Energy (eV)!! Accuracy (meV)&lt;br /&gt;
|-&lt;br /&gt;
| 1x1x1 || -40.9303|| 4&lt;br /&gt;
|-&lt;br /&gt;
| 2x2x2 || -40.9266|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 3x3x3 || -40.9264|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 8x8x8 || -40.9265|| 0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16x16x16 || -40.9265|| 0.001&lt;br /&gt;
|-&lt;br /&gt;
| 32x32x32 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 40x40x40 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 50x50x50 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;3&amp;quot; |Table 1: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Grid Size&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Helmholtz Free Energy (eV)&lt;br /&gt;
|-&lt;br /&gt;
| 0 || -40.9019        &lt;br /&gt;
|-&lt;br /&gt;
| 100 || -40.9024&lt;br /&gt;
|-&lt;br /&gt;
| 200 || -40.9094&lt;br /&gt;
|-&lt;br /&gt;
| 300 || -40.9281&lt;br /&gt;
|-&lt;br /&gt;
| 400 || -40.9585&lt;br /&gt;
|-&lt;br /&gt;
| 500 || -40.9994&lt;br /&gt;
|-&lt;br /&gt;
| 600 || -41.0493&lt;br /&gt;
|-&lt;br /&gt;
| 700 || -41.1071&lt;br /&gt;
|-&lt;br /&gt;
| 800 || -41.1719&lt;br /&gt;
|-&lt;br /&gt;
| 900 || -41.2440&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || -41.3198&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 2: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Temperature&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Lattice Constant&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 2.9894      &lt;br /&gt;
|-&lt;br /&gt;
| 100 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 300 || 2.9883&lt;br /&gt;
|-&lt;br /&gt;
| 400 || 2.9894&lt;br /&gt;
|-&lt;br /&gt;
| 500 || 2.9916&lt;br /&gt;
|-&lt;br /&gt;
| 600 || 2.9941&lt;br /&gt;
|-&lt;br /&gt;
| 700 || 2.9968&lt;br /&gt;
|-&lt;br /&gt;
| 800 || 2.9996&lt;br /&gt;
|-&lt;br /&gt;
| 900 || 3.0026&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 3.0056&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 3: Raw Data showing change in&lt;br /&gt;
Lattice Constant with Temperature&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dl2613</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550462</id>
		<title>Rep:Mod:Dl2613</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550462"/>
		<updated>2016-03-07T20:41:39Z</updated>

		<summary type="html">&lt;p&gt;Dl2613: /* Quasi-harmonic Approximation: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== &amp;lt;u&amp;gt;Introduction&amp;lt;/u&amp;gt; ==&lt;br /&gt;
The aim of this experiment was to use a simple model of atomic interactions to calculate the energy and vibrations of a crystal of MgO. This was then used to compute the free energy, phonon dispersions and to predict how MgO expands when heated. The quasi-harmonic approximation (QHA) and molecular dynamics methods were used to do these calculations.&lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon based model of solid-state physics and can describe volume-dependant thermal effects of structures, such as the MgO crystal. This assumption assumes that for every lattice value the harmonic oscillator assumption is true. MD is a type of N-body simulation, it allows atoms and molecules to interact for a fixed period of time showing the dynamics of a system. In this experiment the MD was run on an isothermal-isobaric (NPT) ensemble in which the amount of substance, pressure and temperature are fixed. MD allows motion in three dimensions.&lt;br /&gt;
&lt;br /&gt;
The software used for this experiment was RedHat Linux. DLVisualize (DLV) was used for the visualisation of the structure and properties of the MgO crystal. General Utility Lattice Program (GULP) is a supporting interface of DLV and was used to perform analytical solutions on MgO through the use of lattice dynamics.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Internal Energy Calculation on MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Better_unit_cell.png|300px|thumb|right|Figure 1: MgO Primitive Unit Cell]]&lt;br /&gt;
In this first exercise the internal energy and structure of MgO was calculated using GULP from the primitive unit cell of the crystal. An ionic potential model was used, without shells included and at a single point. The primitive unit cell in the simplest cell to describe the crystal structure of MgO and contains 2 atoms. The lattice vectors of this cell are:&lt;br /&gt;
&lt;br /&gt;
0.0000   2.10597   2.10597&lt;br /&gt;
&lt;br /&gt;
2.10597   0.0000   2.10597&lt;br /&gt;
&lt;br /&gt;
2.10597   2.10597   0.0000&lt;br /&gt;
&lt;br /&gt;
From the [[Media:MgO_0_DHL.out| log file]] it can be seen that the lattice parameters are defined by the length 2.9783Å and the angle 60º, giving the primitive unit cell the shape of a rhombohedron. Each primitive cell was calculated to have an energy of -40.0753 eV and this corresponds to the binding energy of the crystal. The primitive cell can be used to build up a lattice by repeating its structure.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Calculation of phonon modes of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Computing the Phonon Dispersion Curves: ===&lt;br /&gt;
[[File:MgO_Phonon_Dispersion_DHL.png|300px|thumb|left|Figure 2: MgO Phonon Dispersion]]&lt;br /&gt;
The phonon frequencies were then computed along the symmetry points &amp;lt;math&amp;gt;W, L, G, W, X, K&amp;lt;/math&amp;gt; in k space. The calculation was set up for 50 Npoints with phonon eigenvectors included in the calculation. For a 3D crystal of diatomic molecules with two atom types, six vibration modes are observed in the phonon dispersion curves (Fig 2). A positive dispersion relation results in optical modes and a negative dispersion relation results in acoustic modes. Two adjacent different atoms move against each other in the optical mode, but move against together in the acoustic mode. The acoustic modes equal 0   cm-1  at the point Γ whereas the optical modes do not. It can seen that there are three acoustic modes and three optical modes. The three acoustic modes can be split into one longitudinal acoustic mode and two transverse acoustic modes. The two transverse modes become degenerate between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;. The phonon dispersion curve agrees with that found in literature&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== The Phonon Density of States: ===&lt;br /&gt;
A simpler energy level diagram than the phonon dispersion relation is the density of states (DOS). The DOS is an average over the time and space demains of the MgO system and was calculated for the phonons as a function of the wave vector k. The dimensional limits of the MgO crystal affects the DOS and therefore it is expected that the DOS will change with the grid size of the MgO crystal.&lt;br /&gt;
&lt;br /&gt;
To begin with the DOS calculation was ran on a 1x1x1 grid, corresponding to a single k point. Comparison between Figure 2 and 3 shows that the single k point is the symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The frequencies of the phonon dispersions are identical in the two graphs. Four peaks instead of six are observed due to the fact that 2 pairs of modes become degenerate between &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. These degenerate modes correspond to the peaks between 250 and 400 cm &amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, explaining why those peaks are double the intensity of the high frequency peaks. It can been seen that a grid size of 1x1x1 is not a good representative of the DOS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_Phonon_DOS_DHL.png|300px|none|thumb|left|Figure 3: MgO Phonon DOS 1x1x1]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_3x3x3_DHL.png|300px|none|thumb|middle|Figure 4: MgO Phonon DOS 3x3x3]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_8x8x8_DHL.png|300px|none|thumb|middle|Figure 5: MgO Phonon DOS 8x8x8]]&lt;br /&gt;
|}&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_phonon_DOS_16x16x16_DHL.png|300px|none|thumb|left|Figure 6: MgO Phonon DOS 16x16x16]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_32x32x32_DHL.png|300px|none|thumb|left|Figure 7: MgO Phonon DOS 32x32x32]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_40x40x40_DHL.png|300px|none|thumb|middle|Figure 8: MgO Phonon DOS 40x40x40]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Several grid sizes were investigated up to 50x50x50 to find a compromise between an accurate DOS and the time taken to run the calculation. As the grid size is an increased a more true depiction of the DOS is obtained for the MgO structure. Increasing the grid size increases the number of peaks and then changes the graph from random sharp intensities to a smoother curve. However, the highest intensity point remains at 400 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; throughout all grid sizes and the higher frequencies having lower intensities. The bigger the grid size, the more k points that are sampled and the more representative the DOS. It can be seen in the figures below that the DOS curve is unchanged between 32x32x32 and 40x40x40, however, the running time increases greatly for the 40x40x40 grid size. Therefore, it was decided that the 32x32x32 grid size was the optimum and used in further calculations.&lt;br /&gt;
&lt;br /&gt;
The size of the grid set in the calculations is inversely related to the size of the structure in real space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This equation shows that the bigger a* (size of grid in k space) the smaller a (size of cell in real space). Therefore the bigger the cell in real space, the smaller the grid size needed for the calculation of DOS. This means that a similar oxide such as CaO will require a similar grid size as MgO for the calculation of DOS. Faujasite, a zeolite, has a lattice parameter in the range 24.2 - 25.1 Å &amp;lt;ref name=&amp;quot;Zeolite&amp;quot;/&amp;gt; and would therefore need a small grid size for the DOS calculation. Lithium, a small metal, has a lattice parameter of 3.51 Å &amp;lt;ref name=&amp;quot;Lithium&amp;quot;/&amp;gt; and would therefore need a large grid size for the DOS calculation to represent its small cell size in real space.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Computing the Free Energy&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Task_3_graph.png|300px|thumb|right|Graph 1: A Graph to show how the Free Energy changes with Grid Size]]&lt;br /&gt;
The Helmholtz Free Energy of MgO was then computed using the quasi-harmonic approximation on the same grid sizes as in the previous section at a temperature of 300K. Helmholtz Free Energy is given by the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A=Helmholtz Free Energy, U=Internal Energy, S=Entropy and T=Temperature&lt;br /&gt;
This states that the Helmholtz Free Energy should increase with increasing internal energy and decreasing temperature and entropy. This said, the Helmholtz Free Energy should decrease with increasing grid size. This can be explained with the aid of the following statistical mechanics equation of entropy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt; where S=Entropy, k=Boltzmann Constant and W=number of microstates&lt;br /&gt;
As the grid size increases the number of microstates sampled also increases. This in turn increases the entropy and decreases the TS term in the Helmholtz Free Energy equation. The decrease in Helmholtz Free Energy can be further explained using the following equation of internal energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt; where U=internal Energy, H=Enthalpy, P=Pressure and V=Volume&lt;br /&gt;
As the grid size increases so does its volume, therefore decreasing the internal energy. This further decreases the Helmholtz Free Energy. It can be seen in Graph 1 that initially the Helmholtz Free Energy increases with grid from 1x1x1 to 3x3x3 and then begins to follow the expected trend and decrease with increasing grid size. Table 1 shows that the accuracy of the Helmholtz Free Energy increases with grid size.&lt;br /&gt;
The Helmholtz Free Energy converges to a value of -40.9265 eV, with the 32x32x32 grid size being the most appropriate to run calculations from, providing the correct Helmholtz Free Energy and a suitable length of time to run the calculation.&lt;br /&gt;
&lt;br /&gt;
For CaO, a similar sized crystal to MgO (lattice constant CaO = 4.811 Å, lattice constant MgO = 4.212 Å)&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;/&amp;gt;, a similar size grid will be required for the calculation of the Helmholtz Free Energy. Faujasite would require a smaller grid size due to its large lattice constant and lithium a larger grid size than MgO due to its small lattice constant.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;The Thermal Expansion of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Thermal expansion is the ability of matter to change size, volume and shape in a response to the change in temperature. When a substance is heated the molecules vibrate and begin to move more, and their average separation increases. This thermal expansion is indicated by the Coefficient of Linear Thermal Expansion (CTE). Uniform linear objects have a thermally expand proportional to temperate over a small range of temperatures. The equation used to calculate the linear CTE is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;=linear CTE, &amp;lt;math&amp;gt;{L_0}&amp;lt;/math&amp;gt;=lattice constant at 0K and &amp;lt;math&amp;gt;dL/dT&amp;lt;/math&amp;gt;=rate of change of lattice constant with respect to temperature&lt;br /&gt;
&lt;br /&gt;
A volumetric CTE can also be calculated using the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt;=volumetric CTE, &amp;lt;math&amp;gt;{V}&amp;lt;/math&amp;gt;= volume and &amp;lt;math&amp;gt;\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;= partial derivative of volum with respect to temperature at constant pressure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Quasi-harmonic Approximation: ===&lt;br /&gt;
[[File:Task_4_graph_1.png|300px|thumb|left|Figure 10: A graph to show how the free energy of MgO changes with temperature]]&lt;br /&gt;
[[File:Task_4_graph_2.png|300px|thumb|right|Figure 11: A graph to show how the lattice constant of MgO changes with temperature]]&lt;br /&gt;
Using the 32x32x32 grid size of MgO the free energy was then optimised. The optimisation opts was set to optimise Gibbs Free Energy and the temperature was varied from 0 - 1000k. The free energy decreases with increasing temperature in a parabolic fashion to the order of 2. This negative correlation can be explained using the equation for Gibbs Free Energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G=H-TS&amp;lt;/math&amp;gt; where G=Gibbs Free Energy, H=Enthalpy, T=Temperature and S=Entropy&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Increasing the temperature decreases the TS term therefore decreasing the Gibbs Free Energy.&lt;br /&gt;
&lt;br /&gt;
The lattice constant increases in a parabolic fashion to the order of 2 with increasing temperature due to the thermal expansion.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Calculation of CTE: ====&lt;br /&gt;
Coefficient of Linear Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{2.9894}\,\frac{3.0056-2.9894}{1000}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=5.419\times10^{-6}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Coefficient of Volumetric Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{26.71481005}\,\left(\frac{27.15148242-26.71481005}{1000}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V=1.634\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It can be seen that the α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt; is 3.015 times that of the α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;. This is because MgO is the same in all three directions in three-dimensions, it is an isotropic compound. The CFE values are close to those found in literature at &amp;lt;math&amp;gt;\alpha_L=7.88\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=2.36\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; which were calculated using a temperature range close to that used in this experiment at 301.15-1273.15 K (results from experiment give &amp;lt;math&amp;gt;\alpha_L=5.789\times10^{-6}K^{-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_V=1.747\times10^{-5}K^{-1}&amp;lt;/math&amp;gt; if calculated from 300-1000k)&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamics: ===&lt;br /&gt;
[[File:32_structure_dhl.png|300px|thumb|left|Figure 12: 32 unit MgO structure used for MD calculations]]&lt;br /&gt;
[[File:32_random_dhl.png|300px|thumb|right|Figure 13: 32 unit MgO structure post MD calculations]]&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;References&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;&amp;gt; X. Wu, W. Li, W. Rui. Effect of temperature on elastic constants, generalized stacking fault energy and dislocation cores in MgO and CaO. &#039;&#039;Computational Condensed Matter&#039;&#039;. 2014: 38-44. Available from: DOI: 10.1016/j.cocom.2014.10.005&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Zeolite&amp;quot;&amp;gt; J. A Kaduk, J. Faber. Crystal Structure of Zeolite Y as a function of Ion Exchange. &#039;&#039;The Rigaku Journal&#039;&#039;. 1995;12: 14. Available from: http://www.rigaku.com/downloads/journal/Vol12.2.1995/kaduk.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Lithium&amp;quot;&amp;gt; M. R. Nadler, C. P Kempter. Crystallographic Data 186. Lithium. &#039;&#039;Analytical Chemistry&#039;&#039;. 1959;31:2109. Available from: &lt;br /&gt;
DOI: 10.1021/ac60156a007&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;&amp;gt; D. K. Smith, H. R. Leider. Low-Temperature Thermal Expansion of LiH, MgO and CaO. &#039;&#039;Journal of Applied Crystallography&#039;&#039;. 1968;1: 246-249. Available from: DOI: 10.1107/S0021889868005418&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Appendix&amp;lt;/u&amp;gt; ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Grid Size !! Helmholtz Free Energy (eV)!! Accuracy (meV)&lt;br /&gt;
|-&lt;br /&gt;
| 1x1x1 || -40.9303|| 4&lt;br /&gt;
|-&lt;br /&gt;
| 2x2x2 || -40.9266|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 3x3x3 || -40.9264|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 8x8x8 || -40.9265|| 0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16x16x16 || -40.9265|| 0.001&lt;br /&gt;
|-&lt;br /&gt;
| 32x32x32 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 40x40x40 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 50x50x50 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;3&amp;quot; |Table 1: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Grid Size&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Helmholtz Free Energy (eV)&lt;br /&gt;
|-&lt;br /&gt;
| 0 || -40.9019        &lt;br /&gt;
|-&lt;br /&gt;
| 100 || -40.9024&lt;br /&gt;
|-&lt;br /&gt;
| 200 || -40.9094&lt;br /&gt;
|-&lt;br /&gt;
| 300 || -40.9281&lt;br /&gt;
|-&lt;br /&gt;
| 400 || -40.9585&lt;br /&gt;
|-&lt;br /&gt;
| 500 || -40.9994&lt;br /&gt;
|-&lt;br /&gt;
| 600 || -41.0493&lt;br /&gt;
|-&lt;br /&gt;
| 700 || -41.1071&lt;br /&gt;
|-&lt;br /&gt;
| 800 || -41.1719&lt;br /&gt;
|-&lt;br /&gt;
| 900 || -41.2440&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || -41.3198&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 2: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Temperature&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Lattice Constant&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 2.9894      &lt;br /&gt;
|-&lt;br /&gt;
| 100 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 300 || 2.9883&lt;br /&gt;
|-&lt;br /&gt;
| 400 || 2.9894&lt;br /&gt;
|-&lt;br /&gt;
| 500 || 2.9916&lt;br /&gt;
|-&lt;br /&gt;
| 600 || 2.9941&lt;br /&gt;
|-&lt;br /&gt;
| 700 || 2.9968&lt;br /&gt;
|-&lt;br /&gt;
| 800 || 2.9996&lt;br /&gt;
|-&lt;br /&gt;
| 900 || 3.0026&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 3.0056&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 3: Raw Data showing change in&lt;br /&gt;
Lattice Constant with Temperature&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dl2613</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550448</id>
		<title>Rep:Mod:Dl2613</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550448"/>
		<updated>2016-03-07T20:11:32Z</updated>

		<summary type="html">&lt;p&gt;Dl2613: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== &amp;lt;u&amp;gt;Introduction&amp;lt;/u&amp;gt; ==&lt;br /&gt;
The aim of this experiment was to use a simple model of atomic interactions to calculate the energy and vibrations of a crystal of MgO. This was then used to compute the free energy, phonon dispersions and to predict how MgO expands when heated. The quasi-harmonic approximation (QHA) and molecular dynamics methods were used to do these calculations.&lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon based model of solid-state physics and can describe volume-dependant thermal effects of structures, such as the MgO crystal. This assumption assumes that for every lattice value the harmonic oscillator assumption is true. MD is a type of N-body simulation, it allows atoms and molecules to interact for a fixed period of time showing the dynamics of a system. In this experiment the MD was run on an isothermal-isobaric (NPT) ensemble in which the amount of substance, pressure and temperature are fixed. MD allows motion in three dimensions.&lt;br /&gt;
&lt;br /&gt;
The software used for this experiment was RedHat Linux. DLVisualize (DLV) was used for the visualisation of the structure and properties of the MgO crystal. General Utility Lattice Program (GULP) is a supporting interface of DLV and was used to perform analytical solutions on MgO through the use of lattice dynamics.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Internal Energy Calculation on MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Better_unit_cell.png|300px|thumb|right|Figure 1: MgO Primitive Unit Cell]]&lt;br /&gt;
In this first exercise the internal energy and structure of MgO was calculated using GULP from the primitive unit cell of the crystal. An ionic potential model was used, without shells included and at a single point. The primitive unit cell in the simplest cell to describe the crystal structure of MgO and contains 2 atoms. The lattice vectors of this cell are:&lt;br /&gt;
&lt;br /&gt;
0.0000   2.10597   2.10597&lt;br /&gt;
&lt;br /&gt;
2.10597   0.0000   2.10597&lt;br /&gt;
&lt;br /&gt;
2.10597   2.10597   0.0000&lt;br /&gt;
&lt;br /&gt;
From the [[Media:MgO_0_DHL.out| log file]] it can be seen that the lattice parameters are defined by the length 2.9783Å and the angle 60º, giving the primitive unit cell the shape of a rhombohedron. Each primitive cell was calculated to have an energy of -40.0753 eV and this corresponds to the binding energy of the crystal. The primitive cell can be used to build up a lattice by repeating its structure.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Calculation of phonon modes of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Computing the Phonon Dispersion Curves: ===&lt;br /&gt;
[[File:MgO_Phonon_Dispersion_DHL.png|300px|thumb|left|Figure 2: MgO Phonon Dispersion]]&lt;br /&gt;
The phonon frequencies were then computed along the symmetry points &amp;lt;math&amp;gt;W, L, G, W, X, K&amp;lt;/math&amp;gt; in k space. The calculation was set up for 50 Npoints with phonon eigenvectors included in the calculation. For a 3D crystal of diatomic molecules with two atom types, six vibration modes are observed in the phonon dispersion curves (Fig 2). A positive dispersion relation results in optical modes and a negative dispersion relation results in acoustic modes. Two adjacent different atoms move against each other in the optical mode, but move against together in the acoustic mode. The acoustic modes equal 0   cm-1  at the point Γ whereas the optical modes do not. It can seen that there are three acoustic modes and three optical modes. The three acoustic modes can be split into one longitudinal acoustic mode and two transverse acoustic modes. The two transverse modes become degenerate between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;. The phonon dispersion curve agrees with that found in literature&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== The Phonon Density of States: ===&lt;br /&gt;
A simpler energy level diagram than the phonon dispersion relation is the density of states (DOS). The DOS is an average over the time and space demains of the MgO system and was calculated for the phonons as a function of the wave vector k. The dimensional limits of the MgO crystal affects the DOS and therefore it is expected that the DOS will change with the grid size of the MgO crystal.&lt;br /&gt;
&lt;br /&gt;
To begin with the DOS calculation was ran on a 1x1x1 grid, corresponding to a single k point. Comparison between Figure 2 and 3 shows that the single k point is the symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The frequencies of the phonon dispersions are identical in the two graphs. Four peaks instead of six are observed due to the fact that 2 pairs of modes become degenerate between &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. These degenerate modes correspond to the peaks between 250 and 400 cm &amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, explaining why those peaks are double the intensity of the high frequency peaks. It can been seen that a grid size of 1x1x1 is not a good representative of the DOS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_Phonon_DOS_DHL.png|300px|none|thumb|left|Figure 3: MgO Phonon DOS 1x1x1]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_3x3x3_DHL.png|300px|none|thumb|middle|Figure 4: MgO Phonon DOS 3x3x3]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_8x8x8_DHL.png|300px|none|thumb|middle|Figure 5: MgO Phonon DOS 8x8x8]]&lt;br /&gt;
|}&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_phonon_DOS_16x16x16_DHL.png|300px|none|thumb|left|Figure 6: MgO Phonon DOS 16x16x16]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_32x32x32_DHL.png|300px|none|thumb|left|Figure 7: MgO Phonon DOS 32x32x32]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_40x40x40_DHL.png|300px|none|thumb|middle|Figure 8: MgO Phonon DOS 40x40x40]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Several grid sizes were investigated up to 50x50x50 to find a compromise between an accurate DOS and the time taken to run the calculation. As the grid size is an increased a more true depiction of the DOS is obtained for the MgO structure. Increasing the grid size increases the number of peaks and then changes the graph from random sharp intensities to a smoother curve. However, the highest intensity point remains at 400 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; throughout all grid sizes and the higher frequencies having lower intensities. The bigger the grid size, the more k points that are sampled and the more representative the DOS. It can be seen in the figures below that the DOS curve is unchanged between 32x32x32 and 40x40x40, however, the running time increases greatly for the 40x40x40 grid size. Therefore, it was decided that the 32x32x32 grid size was the optimum and used in further calculations.&lt;br /&gt;
&lt;br /&gt;
The size of the grid set in the calculations is inversely related to the size of the structure in real space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This equation shows that the bigger a* (size of grid in k space) the smaller a (size of cell in real space). Therefore the bigger the cell in real space, the smaller the grid size needed for the calculation of DOS. This means that a similar oxide such as CaO will require a similar grid size as MgO for the calculation of DOS. Faujasite, a zeolite, has a lattice parameter in the range 24.2 - 25.1 Å &amp;lt;ref name=&amp;quot;Zeolite&amp;quot;/&amp;gt; and would therefore need a small grid size for the DOS calculation. Lithium, a small metal, has a lattice parameter of 3.51 Å &amp;lt;ref name=&amp;quot;Lithium&amp;quot;/&amp;gt; and would therefore need a large grid size for the DOS calculation to represent its small cell size in real space.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Computing the Free Energy&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Task_3_graph.png|300px|thumb|right|Graph 1: A Graph to show how the Free Energy changes with Grid Size]]&lt;br /&gt;
The Helmholtz Free Energy of MgO was then computed using the quasi-harmonic approximation on the same grid sizes as in the previous section at a temperature of 300K. Helmholtz Free Energy is given by the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A=Helmholtz Free Energy, U=Internal Energy, S=Entropy and T=Temperature&lt;br /&gt;
This states that the Helmholtz Free Energy should increase with increasing internal energy and decreasing temperature and entropy. This said, the Helmholtz Free Energy should decrease with increasing grid size. This can be explained with the aid of the following statistical mechanics equation of entropy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt; where S=Entropy, k=Boltzmann Constant and W=number of microstates&lt;br /&gt;
As the grid size increases the number of microstates sampled also increases. This in turn increases the entropy and decreases the TS term in the Helmholtz Free Energy equation. The decrease in Helmholtz Free Energy can be further explained using the following equation of internal energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt; where U=internal Energy, H=Enthalpy, P=Pressure and V=Volume&lt;br /&gt;
As the grid size increases so does its volume, therefore decreasing the internal energy. This further decreases the Helmholtz Free Energy. It can be seen in Graph 1 that initially the Helmholtz Free Energy increases with grid from 1x1x1 to 3x3x3 and then begins to follow the expected trend and decrease with increasing grid size. Table 1 shows that the accuracy of the Helmholtz Free Energy increases with grid size.&lt;br /&gt;
The Helmholtz Free Energy converges to a value of -40.9265 eV, with the 32x32x32 grid size being the most appropriate to run calculations from, providing the correct Helmholtz Free Energy and a suitable length of time to run the calculation.&lt;br /&gt;
&lt;br /&gt;
For CaO, a similar sized crystal to MgO (lattice constant CaO = 4.811 Å, lattice constant MgO = 4.212 Å)&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;/&amp;gt;, a similar size grid will be required for the calculation of the Helmholtz Free Energy. Faujasite would require a smaller grid size due to its large lattice constant and lithium a larger grid size than MgO due to its small lattice constant.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;The Thermal Expansion of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Thermal expansion is the ability of matter to change size, volume and shape in a response to the change in temperature. When a substance is heated the molecules vibrate and begin to move more, and their average separation increases. This thermal expansion is indicated by the Coefficient of Linear Thermal Expansion (CTE). Uniform linear objects have a thermally expand proportional to temperate over a small range of temperatures. The equation used to calculate the linear CTE is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;=linear CTE, &amp;lt;math&amp;gt;{L_0}&amp;lt;/math&amp;gt;=lattice constant at 0K and &amp;lt;math&amp;gt;dL/dT&amp;lt;/math&amp;gt;=rate of change of lattice constant with respect to temperature&lt;br /&gt;
&lt;br /&gt;
A volumetric CTE can also be calculated using the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt;=volumetric CTE, &amp;lt;math&amp;gt;{V}&amp;lt;/math&amp;gt;= volume and &amp;lt;math&amp;gt;\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;= partial derivative of volum with respect to temperature at constant pressure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Quasi-harmonic Approximation: ===&lt;br /&gt;
[[File:Task_4_graph_1.png|300px|thumb|left|Figure 10: A graph to show how the free energy of MgO changes with temperature]]&lt;br /&gt;
[[File:Task_4_graph_2.png|300px|thumb|left|Figure 11: A graph to show how the lattice constant of MgO changes with temperature]]&lt;br /&gt;
Using the 32x32x32 grid size of MgO the free energy was then optimised. The optimisation opts was set to optimise Gibbs Free Energy and the temperature was varied from 0 - 1000k. The free energy decreases with increasing temperature in a parabolic fashion to the order of 2. This negative correlation can be explained using the equation for Gibbs Free Energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G=H-TS&amp;lt;/math&amp;gt; where G=Gibbs Free Energy, H=Enthalpy, T=Temperature and S=Entropy&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Increasing the temperature decreases the TS term therefore decreasing the Gibbs Free Energy.&lt;br /&gt;
&lt;br /&gt;
The lattice constant increases in a parabolic fashion to the order of 2 with increasing temperature due to the thermal expansion.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Calculation of CTE: ====&lt;br /&gt;
Coefficient of Linear Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{2.9894}\,\frac{3.0056-2.9894}{1000}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=5.419\times10^{-6}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Coefficient of Volumetric Thermal Expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{26.71481005}\,\left(\frac{27.15148242-26.71481005}{1000}\right)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V=1.634\times10^{-5}K^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamics: ===&lt;br /&gt;
[[File:32_structure_dhl.png|300px|thumb|left|Figure 12: 32 unit MgO structure used for MD calculations]]&lt;br /&gt;
[[File:32_random_dhl.png|300px|thumb|right|Figure 13: 32 unit MgO structure post MD calculations]]&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;References&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;&amp;gt; X. Wu, W. Li, W. Rui. Effect of temperature on elastic constants, generalized stacking fault energy and dislocation cores in MgO and CaO. &#039;&#039;Computational Condensed Matter&#039;&#039;. 2014: 38-44. Available from: DOI: 10.1016/j.cocom.2014.10.005&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Zeolite&amp;quot;&amp;gt; J. A Kaduk, J. Faber. Crystal Structure of Zeolite Y as a function of Ion Exchange. &#039;&#039;The Rigaku Journal&#039;&#039;. 1995;12: 14. Available from: http://www.rigaku.com/downloads/journal/Vol12.2.1995/kaduk.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Lithium&amp;quot;&amp;gt; M. R. Nadler, C. P Kempter. Crystallographic Data 186. Lithium. &#039;&#039;Analytical Chemistry&#039;&#039;. 1959;31:2109. Available from: &lt;br /&gt;
DOI: 10.1021/ac60156a007&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;&amp;gt; D. K. Smith, H. R. Leider. Low-Temperature Thermal Expansion of LiH, MgO and CaO. &#039;&#039;Journal of Applied Crystallography&#039;&#039;. 1968;1: 246-249. Available from: DOI: 10.1107/S0021889868005418&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Appendix&amp;lt;/u&amp;gt; ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Grid Size !! Helmholtz Free Energy (eV)!! Accuracy (meV)&lt;br /&gt;
|-&lt;br /&gt;
| 1x1x1 || -40.9303|| 4&lt;br /&gt;
|-&lt;br /&gt;
| 2x2x2 || -40.9266|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 3x3x3 || -40.9264|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 8x8x8 || -40.9265|| 0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16x16x16 || -40.9265|| 0.001&lt;br /&gt;
|-&lt;br /&gt;
| 32x32x32 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 40x40x40 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 50x50x50 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;3&amp;quot; |Table 1: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Grid Size&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Helmholtz Free Energy (eV)&lt;br /&gt;
|-&lt;br /&gt;
| 0 || -40.9019        &lt;br /&gt;
|-&lt;br /&gt;
| 100 || -40.9024&lt;br /&gt;
|-&lt;br /&gt;
| 200 || -40.9094&lt;br /&gt;
|-&lt;br /&gt;
| 300 || -40.9281&lt;br /&gt;
|-&lt;br /&gt;
| 400 || -40.9585&lt;br /&gt;
|-&lt;br /&gt;
| 500 || -40.9994&lt;br /&gt;
|-&lt;br /&gt;
| 600 || -41.0493&lt;br /&gt;
|-&lt;br /&gt;
| 700 || -41.1071&lt;br /&gt;
|-&lt;br /&gt;
| 800 || -41.1719&lt;br /&gt;
|-&lt;br /&gt;
| 900 || -41.2440&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || -41.3198&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 2: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Temperature&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Lattice Constant&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 2.9894      &lt;br /&gt;
|-&lt;br /&gt;
| 100 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 300 || 2.9883&lt;br /&gt;
|-&lt;br /&gt;
| 400 || 2.9894&lt;br /&gt;
|-&lt;br /&gt;
| 500 || 2.9916&lt;br /&gt;
|-&lt;br /&gt;
| 600 || 2.9941&lt;br /&gt;
|-&lt;br /&gt;
| 700 || 2.9968&lt;br /&gt;
|-&lt;br /&gt;
| 800 || 2.9996&lt;br /&gt;
|-&lt;br /&gt;
| 900 || 3.0026&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 3.0056&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 3: Raw Data showing change in&lt;br /&gt;
Lattice Constant with Temperature&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dl2613</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550447</id>
		<title>Rep:Mod:Dl2613</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550447"/>
		<updated>2016-03-07T19:58:43Z</updated>

		<summary type="html">&lt;p&gt;Dl2613: /* Calculation of CTE: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== &amp;lt;u&amp;gt;Introduction&amp;lt;/u&amp;gt; ==&lt;br /&gt;
The aim of this experiment was to use a simple model of atomic interactions to calculate the energy and vibrations of a crystal of MgO. This was then used to compute the free energy, phonon dispersions and to predict how MgO expands when heated. The quasi-harmonic approximation (QHA) and molecular dynamics methods were used to do these calculations.&lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon based model of solid-state physics and can describe volume-dependant thermal effects of structures, such as the MgO crystal. This assumption assumes that for every lattice value the harmonic oscillator assumption is true. MD is a type of N-body simulation, it allows atoms and molecules to interact for a fixed period of time showing the dynamics of a system. In this experiment the MD was run on an isothermal-isobaric (NPT) ensemble in which the amount of substance, pressure and temperature are fixed. MD allows motion in three dimensions.&lt;br /&gt;
&lt;br /&gt;
The software used for this experiment was RedHat Linux. DLVisualize (DLV) was used for the visualisation of the structure and properties of the MgO crystal. General Utility Lattice Program (GULP) is a supporting interface of DLV and was used to perform analytical solutions on MgO through the use of lattice dynamics.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Internal Energy Calculation on MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Better_unit_cell.png|300px|thumb|right|Figure 1: MgO Primitive Unit Cell]]&lt;br /&gt;
In this first exercise the internal energy and structure of MgO was calculated using GULP from the primitive unit cell of the crystal. An ionic potential model was used, without shells included and at a single point. The primitive unit cell in the simplest cell to describe the crystal structure of MgO and contains 2 atoms. The lattice vectors of this cell are:&lt;br /&gt;
&lt;br /&gt;
0.0000   2.10597   2.10597&lt;br /&gt;
&lt;br /&gt;
2.10597   0.0000   2.10597&lt;br /&gt;
&lt;br /&gt;
2.10597   2.10597   0.0000&lt;br /&gt;
&lt;br /&gt;
From the [[Media:MgO_0_DHL.out| log file]] it can be seen that the lattice parameters are defined by the length 2.9783Å and the angle 60º, giving the primitive unit cell the shape of a rhombohedron. Each primitive cell was calculated to have an energy of -40.0753 eV and this corresponds to the binding energy of the crystal. The primitive cell can be used to build up a lattice by repeating its structure.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Calculation of phonon modes of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Computing the Phonon Dispersion Curves: ===&lt;br /&gt;
[[File:MgO_Phonon_Dispersion_DHL.png|300px|thumb|left|Figure 2: MgO Phonon Dispersion]]&lt;br /&gt;
The phonon frequencies were then computed along the symmetry points &amp;lt;math&amp;gt;W, L, G, W, X, K&amp;lt;/math&amp;gt; in k space. The calculation was set up for 50 Npoints with phonon eigenvectors included in the calculation. For a 3D crystal of diatomic molecules with two atom types, six vibration modes are observed in the phonon dispersion curves (Fig 2). A positive dispersion relation results in optical modes and a negative dispersion relation results in acoustic modes. Two adjacent different atoms move against each other in the optical mode, but move against together in the acoustic mode. The acoustic modes equal 0   cm-1  at the point Γ whereas the optical modes do not. It can seen that there are three acoustic modes and three optical modes. The three acoustic modes can be split into one longitudinal acoustic mode and two transverse acoustic modes. The two transverse modes become degenerate between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;. The phonon dispersion curve agrees with that found in literature&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== The Phonon Density of States: ===&lt;br /&gt;
A simpler energy level diagram than the phonon dispersion relation is the density of states (DOS). The DOS is an average over the time and space demains of the MgO system and was calculated for the phonons as a function of the wave vector k. The dimensional limits of the MgO crystal affects the DOS and therefore it is expected that the DOS will change with the grid size of the MgO crystal.&lt;br /&gt;
&lt;br /&gt;
To begin with the DOS calculation was ran on a 1x1x1 grid, corresponding to a single k point. Comparison between Figure 2 and 3 shows that the single k point is the symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The frequencies of the phonon dispersions are identical in the two graphs. Four peaks instead of six are observed due to the fact that 2 pairs of modes become degenerate between &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. These degenerate modes correspond to the peaks between 250 and 400 cm &amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, explaining why those peaks are double the intensity of the high frequency peaks. It can been seen that a grid size of 1x1x1 is not a good representative of the DOS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_Phonon_DOS_DHL.png|300px|none|thumb|left|Figure 3: MgO Phonon DOS 1x1x1]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_3x3x3_DHL.png|300px|none|thumb|middle|Figure 4: MgO Phonon DOS 3x3x3]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_8x8x8_DHL.png|300px|none|thumb|middle|Figure 5: MgO Phonon DOS 8x8x8]]&lt;br /&gt;
|}&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_phonon_DOS_16x16x16_DHL.png|300px|none|thumb|left|Figure 6: MgO Phonon DOS 16x16x16]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_32x32x32_DHL.png|300px|none|thumb|left|Figure 7: MgO Phonon DOS 32x32x32]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_40x40x40_DHL.png|300px|none|thumb|middle|Figure 8: MgO Phonon DOS 40x40x40]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Several grid sizes were investigated up to 50x50x50 to find a compromise between an accurate DOS and the time taken to run the calculation. As the grid size is an increased a more true depiction of the DOS is obtained for the MgO structure. Increasing the grid size increases the number of peaks and then changes the graph from random sharp intensities to a smoother curve. However, the highest intensity point remains at 400 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; throughout all grid sizes and the higher frequencies having lower intensities. The bigger the grid size, the more k points that are sampled and the more representative the DOS. It can be seen in the figures below that the DOS curve is unchanged between 32x32x32 and 40x40x40, however, the running time increases greatly for the 40x40x40 grid size. Therefore, it was decided that the 32x32x32 grid size was the optimum and used in further calculations.&lt;br /&gt;
&lt;br /&gt;
The size of the grid set in the calculations is inversely related to the size of the structure in real space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This equation shows that the bigger a* (size of grid in k space) the smaller a (size of cell in real space). Therefore the bigger the cell in real space, the smaller the grid size needed for the calculation of DOS. This means that a similar oxide such as CaO will require a similar grid size as MgO for the calculation of DOS. Faujasite, a zeolite, has a lattice parameter in the range 24.2 - 25.1 Å &amp;lt;ref name=&amp;quot;Zeolite&amp;quot;/&amp;gt; and would therefore need a small grid size for the DOS calculation. Lithium, a small metal, has a lattice parameter of 3.51 Å &amp;lt;ref name=&amp;quot;Lithium&amp;quot;/&amp;gt; and would therefore need a large grid size for the DOS calculation to represent its small cell size in real space.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Computing the Free Energy&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Task_3_graph.png|300px|thumb|right|Graph 1: A Graph to show how the Free Energy changes with Grid Size]]&lt;br /&gt;
The Helmholtz Free Energy of MgO was then computed using the quasi-harmonic approximation on the same grid sizes as in the previous section at a temperature of 300K. Helmholtz Free Energy is given by the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A=Helmholtz Free Energy, U=Internal Energy, S=Entropy and T=Temperature&lt;br /&gt;
This states that the Helmholtz Free Energy should increase with increasing internal energy and decreasing temperature and entropy. This said, the Helmholtz Free Energy should decrease with increasing grid size. This can be explained with the aid of the following statistical mechanics equation of entropy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt; where S=Entropy, k=Boltzmann Constant and W=number of microstates&lt;br /&gt;
As the grid size increases the number of microstates sampled also increases. This in turn increases the entropy and decreases the TS term in the Helmholtz Free Energy equation. The decrease in Helmholtz Free Energy can be further explained using the following equation of internal energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt; where U=internal Energy, H=Enthalpy, P=Pressure and V=Volume&lt;br /&gt;
As the grid size increases so does its volume, therefore decreasing the internal energy. This further decreases the Helmholtz Free Energy. It can be seen in Graph 1 that initially the Helmholtz Free Energy increases with grid from 1x1x1 to 3x3x3 and then begins to follow the expected trend and decrease with increasing grid size. Table 1 shows that the accuracy of the Helmholtz Free Energy increases with grid size.&lt;br /&gt;
The Helmholtz Free Energy converges to a value of -40.9265 eV, with the 32x32x32 grid size being the most appropriate to run calculations from, providing the correct Helmholtz Free Energy and a suitable length of time to run the calculation.&lt;br /&gt;
&lt;br /&gt;
For CaO, a similar sized crystal to MgO (lattice constant CaO = 4.811 Å, lattice constant MgO = 4.212 Å)&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;/&amp;gt;, a similar size grid will be required for the calculation of the Helmholtz Free Energy. Faujasite would require a smaller grid size due to its large lattice constant and lithium a larger grid size than MgO due to its small lattice constant.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;The Thermal Expansion of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Thermal expansion is the ability of matter to change size, volume and shape in a response to the change in temperature. When a substance is heated the molecules vibrate and begin to move more, and their average separation increases. This thermal expansion is indicated by the Coefficient of Linear Thermal Expansion (CTE). Uniform linear objects have a thermally expand proportional to temperate over a small range of temperatures. The equation used to calculate the linear CTE is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;=linear CTE, &amp;lt;math&amp;gt;{L_0}&amp;lt;/math&amp;gt;=lattice constant at 0K and &amp;lt;math&amp;gt;dL/dT&amp;lt;/math&amp;gt;=rate of change of lattice constant with respect to temperature&lt;br /&gt;
&lt;br /&gt;
A volumetric CTE can also be calculated using the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt;=volumetric CTE, &amp;lt;math&amp;gt;{V}&amp;lt;/math&amp;gt;= volume and &amp;lt;math&amp;gt;\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;= partial derivative of volum with respect to temperature at constant pressure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Quasi-harmonic Approximation: ===&lt;br /&gt;
[[File:Task_4_graph_1.png|300px|thumb|left|Figure 10: A graph to show how the free energy of MgO changes with temperature]]&lt;br /&gt;
[[File:Task_4_graph_2.png|300px|thumb|left|Figure 11: A graph to show how the lattice constant of MgO changes with temperature]]&lt;br /&gt;
Using the 32x32x32 grid size of MgO the free energy was then optimised. The optimisation opts was set to optimise Gibbs Free Energy and the temperature was varied from 0 - 1000k. The free energy decreases with increasing temperature in a parabolic fashion to the order of 2. This negative correlation can be explained using the equation for Gibbs Free Energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G=H-TS&amp;lt;/math&amp;gt; where G=Gibbs Free Energy, H=Enthalpy, T=Temperature and S=Entropy&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Increasing the temperature decreases the TS term therefore decreasing the Gibbs Free Energy.&lt;br /&gt;
&lt;br /&gt;
The lattice constant increases in a parabolic fashion to the order of 2 with increasing temperature due to the thermal expansion.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Calculation of CTE: ====&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamics: ===&lt;br /&gt;
[[File:32_structure_dhl.png|300px|thumb|left|Figure 12: 32 unit MgO structure used for MD calculations]]&lt;br /&gt;
[[File:32_random_dhl.png|300px|thumb|right|Figure 13: 32 unit MgO structure post MD calculations]]&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;References&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;&amp;gt; X. Wu, W. Li, W. Rui. Effect of temperature on elastic constants, generalized stacking fault energy and dislocation cores in MgO and CaO. &#039;&#039;Computational Condensed Matter&#039;&#039;. 2014: 38-44. Available from: DOI: 10.1016/j.cocom.2014.10.005&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Zeolite&amp;quot;&amp;gt; J. A Kaduk, J. Faber. Crystal Structure of Zeolite Y as a function of Ion Exchange. &#039;&#039;The Rigaku Journal&#039;&#039;. 1995;12: 14. Available from: http://www.rigaku.com/downloads/journal/Vol12.2.1995/kaduk.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Lithium&amp;quot;&amp;gt; M. R. Nadler, C. P Kempter. Crystallographic Data 186. Lithium. &#039;&#039;Analytical Chemistry&#039;&#039;. 1959;31:2109. Available from: &lt;br /&gt;
DOI: 10.1021/ac60156a007&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;&amp;gt; D. K. Smith, H. R. Leider. Low-Temperature Thermal Expansion of LiH, MgO and CaO. &#039;&#039;Journal of Applied Crystallography&#039;&#039;. 1968;1: 246-249. Available from: DOI: 10.1107/S0021889868005418&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Appendix&amp;lt;/u&amp;gt; ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Grid Size !! Helmholtz Free Energy (eV)!! Accuracy (meV)&lt;br /&gt;
|-&lt;br /&gt;
| 1x1x1 || -40.9303|| 4&lt;br /&gt;
|-&lt;br /&gt;
| 2x2x2 || -40.9266|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 3x3x3 || -40.9264|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 8x8x8 || -40.9265|| 0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16x16x16 || -40.9265|| 0.001&lt;br /&gt;
|-&lt;br /&gt;
| 32x32x32 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 40x40x40 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 50x50x50 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;3&amp;quot; |Table 1: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Grid Size&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Helmholtz Free Energy (eV)&lt;br /&gt;
|-&lt;br /&gt;
| 0 || -40.9019        &lt;br /&gt;
|-&lt;br /&gt;
| 100 || -40.9024&lt;br /&gt;
|-&lt;br /&gt;
| 200 || -40.9094&lt;br /&gt;
|-&lt;br /&gt;
| 300 || -40.9281&lt;br /&gt;
|-&lt;br /&gt;
| 400 || -40.9585&lt;br /&gt;
|-&lt;br /&gt;
| 500 || -40.9994&lt;br /&gt;
|-&lt;br /&gt;
| 600 || -41.0493&lt;br /&gt;
|-&lt;br /&gt;
| 700 || -41.1071&lt;br /&gt;
|-&lt;br /&gt;
| 800 || -41.1719&lt;br /&gt;
|-&lt;br /&gt;
| 900 || -41.2440&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || -41.3198&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 2: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Temperature&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Lattice Constant&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 2.9894      &lt;br /&gt;
|-&lt;br /&gt;
| 100 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 300 || 2.9883&lt;br /&gt;
|-&lt;br /&gt;
| 400 || 2.9894&lt;br /&gt;
|-&lt;br /&gt;
| 500 || 2.9916&lt;br /&gt;
|-&lt;br /&gt;
| 600 || 2.9941&lt;br /&gt;
|-&lt;br /&gt;
| 700 || 2.9968&lt;br /&gt;
|-&lt;br /&gt;
| 800 || 2.9996&lt;br /&gt;
|-&lt;br /&gt;
| 900 || 3.0026&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 3.0056&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 3: Raw Data showing change in&lt;br /&gt;
Lattice Constant with Temperature&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dl2613</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550446</id>
		<title>Rep:Mod:Dl2613</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550446"/>
		<updated>2016-03-07T19:57:52Z</updated>

		<summary type="html">&lt;p&gt;Dl2613: /* The Thermal Expansion of MgO */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== &amp;lt;u&amp;gt;Introduction&amp;lt;/u&amp;gt; ==&lt;br /&gt;
The aim of this experiment was to use a simple model of atomic interactions to calculate the energy and vibrations of a crystal of MgO. This was then used to compute the free energy, phonon dispersions and to predict how MgO expands when heated. The quasi-harmonic approximation (QHA) and molecular dynamics methods were used to do these calculations.&lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon based model of solid-state physics and can describe volume-dependant thermal effects of structures, such as the MgO crystal. This assumption assumes that for every lattice value the harmonic oscillator assumption is true. MD is a type of N-body simulation, it allows atoms and molecules to interact for a fixed period of time showing the dynamics of a system. In this experiment the MD was run on an isothermal-isobaric (NPT) ensemble in which the amount of substance, pressure and temperature are fixed. MD allows motion in three dimensions.&lt;br /&gt;
&lt;br /&gt;
The software used for this experiment was RedHat Linux. DLVisualize (DLV) was used for the visualisation of the structure and properties of the MgO crystal. General Utility Lattice Program (GULP) is a supporting interface of DLV and was used to perform analytical solutions on MgO through the use of lattice dynamics.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Internal Energy Calculation on MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Better_unit_cell.png|300px|thumb|right|Figure 1: MgO Primitive Unit Cell]]&lt;br /&gt;
In this first exercise the internal energy and structure of MgO was calculated using GULP from the primitive unit cell of the crystal. An ionic potential model was used, without shells included and at a single point. The primitive unit cell in the simplest cell to describe the crystal structure of MgO and contains 2 atoms. The lattice vectors of this cell are:&lt;br /&gt;
&lt;br /&gt;
0.0000   2.10597   2.10597&lt;br /&gt;
&lt;br /&gt;
2.10597   0.0000   2.10597&lt;br /&gt;
&lt;br /&gt;
2.10597   2.10597   0.0000&lt;br /&gt;
&lt;br /&gt;
From the [[Media:MgO_0_DHL.out| log file]] it can be seen that the lattice parameters are defined by the length 2.9783Å and the angle 60º, giving the primitive unit cell the shape of a rhombohedron. Each primitive cell was calculated to have an energy of -40.0753 eV and this corresponds to the binding energy of the crystal. The primitive cell can be used to build up a lattice by repeating its structure.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Calculation of phonon modes of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Computing the Phonon Dispersion Curves: ===&lt;br /&gt;
[[File:MgO_Phonon_Dispersion_DHL.png|300px|thumb|left|Figure 2: MgO Phonon Dispersion]]&lt;br /&gt;
The phonon frequencies were then computed along the symmetry points &amp;lt;math&amp;gt;W, L, G, W, X, K&amp;lt;/math&amp;gt; in k space. The calculation was set up for 50 Npoints with phonon eigenvectors included in the calculation. For a 3D crystal of diatomic molecules with two atom types, six vibration modes are observed in the phonon dispersion curves (Fig 2). A positive dispersion relation results in optical modes and a negative dispersion relation results in acoustic modes. Two adjacent different atoms move against each other in the optical mode, but move against together in the acoustic mode. The acoustic modes equal 0   cm-1  at the point Γ whereas the optical modes do not. It can seen that there are three acoustic modes and three optical modes. The three acoustic modes can be split into one longitudinal acoustic mode and two transverse acoustic modes. The two transverse modes become degenerate between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;. The phonon dispersion curve agrees with that found in literature&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== The Phonon Density of States: ===&lt;br /&gt;
A simpler energy level diagram than the phonon dispersion relation is the density of states (DOS). The DOS is an average over the time and space demains of the MgO system and was calculated for the phonons as a function of the wave vector k. The dimensional limits of the MgO crystal affects the DOS and therefore it is expected that the DOS will change with the grid size of the MgO crystal.&lt;br /&gt;
&lt;br /&gt;
To begin with the DOS calculation was ran on a 1x1x1 grid, corresponding to a single k point. Comparison between Figure 2 and 3 shows that the single k point is the symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The frequencies of the phonon dispersions are identical in the two graphs. Four peaks instead of six are observed due to the fact that 2 pairs of modes become degenerate between &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. These degenerate modes correspond to the peaks between 250 and 400 cm &amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, explaining why those peaks are double the intensity of the high frequency peaks. It can been seen that a grid size of 1x1x1 is not a good representative of the DOS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_Phonon_DOS_DHL.png|300px|none|thumb|left|Figure 3: MgO Phonon DOS 1x1x1]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_3x3x3_DHL.png|300px|none|thumb|middle|Figure 4: MgO Phonon DOS 3x3x3]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_8x8x8_DHL.png|300px|none|thumb|middle|Figure 5: MgO Phonon DOS 8x8x8]]&lt;br /&gt;
|}&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_phonon_DOS_16x16x16_DHL.png|300px|none|thumb|left|Figure 6: MgO Phonon DOS 16x16x16]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_32x32x32_DHL.png|300px|none|thumb|left|Figure 7: MgO Phonon DOS 32x32x32]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_40x40x40_DHL.png|300px|none|thumb|middle|Figure 8: MgO Phonon DOS 40x40x40]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Several grid sizes were investigated up to 50x50x50 to find a compromise between an accurate DOS and the time taken to run the calculation. As the grid size is an increased a more true depiction of the DOS is obtained for the MgO structure. Increasing the grid size increases the number of peaks and then changes the graph from random sharp intensities to a smoother curve. However, the highest intensity point remains at 400 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; throughout all grid sizes and the higher frequencies having lower intensities. The bigger the grid size, the more k points that are sampled and the more representative the DOS. It can be seen in the figures below that the DOS curve is unchanged between 32x32x32 and 40x40x40, however, the running time increases greatly for the 40x40x40 grid size. Therefore, it was decided that the 32x32x32 grid size was the optimum and used in further calculations.&lt;br /&gt;
&lt;br /&gt;
The size of the grid set in the calculations is inversely related to the size of the structure in real space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This equation shows that the bigger a* (size of grid in k space) the smaller a (size of cell in real space). Therefore the bigger the cell in real space, the smaller the grid size needed for the calculation of DOS. This means that a similar oxide such as CaO will require a similar grid size as MgO for the calculation of DOS. Faujasite, a zeolite, has a lattice parameter in the range 24.2 - 25.1 Å &amp;lt;ref name=&amp;quot;Zeolite&amp;quot;/&amp;gt; and would therefore need a small grid size for the DOS calculation. Lithium, a small metal, has a lattice parameter of 3.51 Å &amp;lt;ref name=&amp;quot;Lithium&amp;quot;/&amp;gt; and would therefore need a large grid size for the DOS calculation to represent its small cell size in real space.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Computing the Free Energy&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Task_3_graph.png|300px|thumb|right|Graph 1: A Graph to show how the Free Energy changes with Grid Size]]&lt;br /&gt;
The Helmholtz Free Energy of MgO was then computed using the quasi-harmonic approximation on the same grid sizes as in the previous section at a temperature of 300K. Helmholtz Free Energy is given by the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A=Helmholtz Free Energy, U=Internal Energy, S=Entropy and T=Temperature&lt;br /&gt;
This states that the Helmholtz Free Energy should increase with increasing internal energy and decreasing temperature and entropy. This said, the Helmholtz Free Energy should decrease with increasing grid size. This can be explained with the aid of the following statistical mechanics equation of entropy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt; where S=Entropy, k=Boltzmann Constant and W=number of microstates&lt;br /&gt;
As the grid size increases the number of microstates sampled also increases. This in turn increases the entropy and decreases the TS term in the Helmholtz Free Energy equation. The decrease in Helmholtz Free Energy can be further explained using the following equation of internal energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt; where U=internal Energy, H=Enthalpy, P=Pressure and V=Volume&lt;br /&gt;
As the grid size increases so does its volume, therefore decreasing the internal energy. This further decreases the Helmholtz Free Energy. It can be seen in Graph 1 that initially the Helmholtz Free Energy increases with grid from 1x1x1 to 3x3x3 and then begins to follow the expected trend and decrease with increasing grid size. Table 1 shows that the accuracy of the Helmholtz Free Energy increases with grid size.&lt;br /&gt;
The Helmholtz Free Energy converges to a value of -40.9265 eV, with the 32x32x32 grid size being the most appropriate to run calculations from, providing the correct Helmholtz Free Energy and a suitable length of time to run the calculation.&lt;br /&gt;
&lt;br /&gt;
For CaO, a similar sized crystal to MgO (lattice constant CaO = 4.811 Å, lattice constant MgO = 4.212 Å)&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;/&amp;gt;, a similar size grid will be required for the calculation of the Helmholtz Free Energy. Faujasite would require a smaller grid size due to its large lattice constant and lithium a larger grid size than MgO due to its small lattice constant.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;The Thermal Expansion of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Thermal expansion is the ability of matter to change size, volume and shape in a response to the change in temperature. When a substance is heated the molecules vibrate and begin to move more, and their average separation increases. This thermal expansion is indicated by the Coefficient of Linear Thermal Expansion (CTE). Uniform linear objects have a thermally expand proportional to temperate over a small range of temperatures. The equation used to calculate the linear CTE is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;=linear CTE, &amp;lt;math&amp;gt;{L_0}&amp;lt;/math&amp;gt;=lattice constant at 0K and &amp;lt;math&amp;gt;dL/dT&amp;lt;/math&amp;gt;=rate of change of lattice constant with respect to temperature&lt;br /&gt;
&lt;br /&gt;
A volumetric CTE can also be calculated using the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt;=volumetric CTE, &amp;lt;math&amp;gt;{V}&amp;lt;/math&amp;gt;= volume and &amp;lt;math&amp;gt;\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt;= partial derivative of volum with respect to temperature at constant pressure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Quasi-harmonic Approximation: ===&lt;br /&gt;
[[File:Task_4_graph_1.png|300px|thumb|left|Figure 10: A graph to show how the free energy of MgO changes with temperature]]&lt;br /&gt;
[[File:Task_4_graph_2.png|300px|thumb|left|Figure 11: A graph to show how the lattice constant of MgO changes with temperature]]&lt;br /&gt;
Using the 32x32x32 grid size of MgO the free energy was then optimised. The optimisation opts was set to optimise Gibbs Free Energy and the temperature was varied from 0 - 1000k. The free energy decreases with increasing temperature in a parabolic fashion to the order of 2. This negative correlation can be explained using the equation for Gibbs Free Energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;G=H-TS&amp;lt;/math&amp;gt; where G=Gibbs Free Energy, H=Enthalpy, T=Temperature and S=Entropy&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Increasing the temperature decreases the TS term therefore decreasing the Gibbs Free Energy.&lt;br /&gt;
&lt;br /&gt;
The lattice constant increases in a parabolic fashion to the order of 2 with increasing temperature due to the thermal expansion.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Calculation of CTE: =&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamics: ===&lt;br /&gt;
[[File:32_structure_dhl.png|300px|thumb|left|Figure 12: 32 unit MgO structure used for MD calculations]]&lt;br /&gt;
[[File:32_random_dhl.png|300px|thumb|right|Figure 13: 32 unit MgO structure post MD calculations]]&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;References&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;&amp;gt; X. Wu, W. Li, W. Rui. Effect of temperature on elastic constants, generalized stacking fault energy and dislocation cores in MgO and CaO. &#039;&#039;Computational Condensed Matter&#039;&#039;. 2014: 38-44. Available from: DOI: 10.1016/j.cocom.2014.10.005&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Zeolite&amp;quot;&amp;gt; J. A Kaduk, J. Faber. Crystal Structure of Zeolite Y as a function of Ion Exchange. &#039;&#039;The Rigaku Journal&#039;&#039;. 1995;12: 14. Available from: http://www.rigaku.com/downloads/journal/Vol12.2.1995/kaduk.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Lithium&amp;quot;&amp;gt; M. R. Nadler, C. P Kempter. Crystallographic Data 186. Lithium. &#039;&#039;Analytical Chemistry&#039;&#039;. 1959;31:2109. Available from: &lt;br /&gt;
DOI: 10.1021/ac60156a007&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;&amp;gt; D. K. Smith, H. R. Leider. Low-Temperature Thermal Expansion of LiH, MgO and CaO. &#039;&#039;Journal of Applied Crystallography&#039;&#039;. 1968;1: 246-249. Available from: DOI: 10.1107/S0021889868005418&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Appendix&amp;lt;/u&amp;gt; ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Grid Size !! Helmholtz Free Energy (eV)!! Accuracy (meV)&lt;br /&gt;
|-&lt;br /&gt;
| 1x1x1 || -40.9303|| 4&lt;br /&gt;
|-&lt;br /&gt;
| 2x2x2 || -40.9266|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 3x3x3 || -40.9264|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 8x8x8 || -40.9265|| 0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16x16x16 || -40.9265|| 0.001&lt;br /&gt;
|-&lt;br /&gt;
| 32x32x32 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 40x40x40 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 50x50x50 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;3&amp;quot; |Table 1: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Grid Size&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Helmholtz Free Energy (eV)&lt;br /&gt;
|-&lt;br /&gt;
| 0 || -40.9019        &lt;br /&gt;
|-&lt;br /&gt;
| 100 || -40.9024&lt;br /&gt;
|-&lt;br /&gt;
| 200 || -40.9094&lt;br /&gt;
|-&lt;br /&gt;
| 300 || -40.9281&lt;br /&gt;
|-&lt;br /&gt;
| 400 || -40.9585&lt;br /&gt;
|-&lt;br /&gt;
| 500 || -40.9994&lt;br /&gt;
|-&lt;br /&gt;
| 600 || -41.0493&lt;br /&gt;
|-&lt;br /&gt;
| 700 || -41.1071&lt;br /&gt;
|-&lt;br /&gt;
| 800 || -41.1719&lt;br /&gt;
|-&lt;br /&gt;
| 900 || -41.2440&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || -41.3198&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 2: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Temperature&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Lattice Constant&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 2.9894      &lt;br /&gt;
|-&lt;br /&gt;
| 100 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 300 || 2.9883&lt;br /&gt;
|-&lt;br /&gt;
| 400 || 2.9894&lt;br /&gt;
|-&lt;br /&gt;
| 500 || 2.9916&lt;br /&gt;
|-&lt;br /&gt;
| 600 || 2.9941&lt;br /&gt;
|-&lt;br /&gt;
| 700 || 2.9968&lt;br /&gt;
|-&lt;br /&gt;
| 800 || 2.9996&lt;br /&gt;
|-&lt;br /&gt;
| 900 || 3.0026&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 3.0056&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 3: Raw Data showing change in&lt;br /&gt;
Lattice Constant with Temperature&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dl2613</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550435</id>
		<title>Rep:Mod:Dl2613</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550435"/>
		<updated>2016-03-07T18:18:32Z</updated>

		<summary type="html">&lt;p&gt;Dl2613: /* The Thermal Expansion of MgO */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== &amp;lt;u&amp;gt;Introduction&amp;lt;/u&amp;gt; ==&lt;br /&gt;
The aim of this experiment was to use a simple model of atomic interactions to calculate the energy and vibrations of a crystal of MgO. This was then used to compute the free energy, phonon dispersions and to predict how MgO expands when heated. The quasi-harmonic approximation (QHA) and molecular dynamics methods were used to do these calculations.&lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon based model of solid-state physics and can describe volume-dependant thermal effects of structures, such as the MgO crystal. This assumption assumes that for every lattice value the harmonic oscillator assumption is true. MD is a type of N-body simulation, it allows atoms and molecules to interact for a fixed period of time showing the dynamics of a system. In this experiment the MD was run on an isothermal-isobaric (NPT) ensemble in which the amount of substance, pressure and temperature are fixed. MD allows motion in three dimensions.&lt;br /&gt;
&lt;br /&gt;
The software used for this experiment was RedHat Linux. DLVisualize (DLV) was used for the visualisation of the structure and properties of the MgO crystal. General Utility Lattice Program (GULP) is a supporting interface of DLV and was used to perform analytical solutions on MgO through the use of lattice dynamics.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Internal Energy Calculation on MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Better_unit_cell.png|300px|thumb|right|Figure 1: MgO Primitive Unit Cell]]&lt;br /&gt;
In this first exercise the internal energy and structure of MgO was calculated using GULP from the primitive unit cell of the crystal. An ionic potential model was used, without shells included and at a single point. The primitive unit cell in the simplest cell to describe the crystal structure of MgO and contains 2 atoms. The lattice vectors of this cell are:&lt;br /&gt;
&lt;br /&gt;
0.0000   2.10597   2.10597&lt;br /&gt;
&lt;br /&gt;
2.10597   0.0000   2.10597&lt;br /&gt;
&lt;br /&gt;
2.10597   2.10597   0.0000&lt;br /&gt;
&lt;br /&gt;
From the [[Media:MgO_0_DHL.out| log file]] it can be seen that the lattice parameters are defined by the length 2.9783Å and the angle 60º, giving the primitive unit cell the shape of a rhombohedron. Each primitive cell was calculated to have an energy of -40.0753 eV and this corresponds to the binding energy of the crystal. The primitive cell can be used to build up a lattice by repeating its structure.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Calculation of phonon modes of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Computing the Phonon Dispersion Curves: ===&lt;br /&gt;
[[File:MgO_Phonon_Dispersion_DHL.png|300px|thumb|left|Figure 2: MgO Phonon Dispersion]]&lt;br /&gt;
The phonon frequencies were then computed along the symmetry points &amp;lt;math&amp;gt;W, L, G, W, X, K&amp;lt;/math&amp;gt; in k space. The calculation was set up for 50 Npoints with phonon eigenvectors included in the calculation. For a 3D crystal of diatomic molecules with two atom types, six vibration modes are observed in the phonon dispersion curves (Fig 2). A positive dispersion relation results in optical modes and a negative dispersion relation results in acoustic modes. Two adjacent different atoms move against each other in the optical mode, but move against together in the acoustic mode. The acoustic modes equal 0   cm-1  at the point Γ whereas the optical modes do not. It can seen that there are three acoustic modes and three optical modes. The three acoustic modes can be split into one longitudinal acoustic mode and two transverse acoustic modes. The two transverse modes become degenerate between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;. The phonon dispersion curve agrees with that found in literature&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== The Phonon Density of States: ===&lt;br /&gt;
A simpler energy level diagram than the phonon dispersion relation is the density of states (DOS). The DOS is an average over the time and space demains of the MgO system and was calculated for the phonons as a function of the wave vector k. The dimensional limits of the MgO crystal affects the DOS and therefore it is expected that the DOS will change with the grid size of the MgO crystal.&lt;br /&gt;
&lt;br /&gt;
To begin with the DOS calculation was ran on a 1x1x1 grid, corresponding to a single k point. Comparison between Figure 2 and 3 shows that the single k point is the symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The frequencies of the phonon dispersions are identical in the two graphs. Four peaks instead of six are observed due to the fact that 2 pairs of modes become degenerate between &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. These degenerate modes correspond to the peaks between 250 and 400 cm &amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, explaining why those peaks are double the intensity of the high frequency peaks. It can been seen that a grid size of 1x1x1 is not a good representative of the DOS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_Phonon_DOS_DHL.png|300px|none|thumb|left|Figure 3: MgO Phonon DOS 1x1x1]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_3x3x3_DHL.png|300px|none|thumb|middle|Figure 4: MgO Phonon DOS 3x3x3]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_8x8x8_DHL.png|300px|none|thumb|middle|Figure 5: MgO Phonon DOS 8x8x8]]&lt;br /&gt;
|}&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_phonon_DOS_16x16x16_DHL.png|300px|none|thumb|left|Figure 6: MgO Phonon DOS 16x16x16]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_32x32x32_DHL.png|300px|none|thumb|left|Figure 7: MgO Phonon DOS 32x32x32]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_40x40x40_DHL.png|300px|none|thumb|middle|Figure 8: MgO Phonon DOS 40x40x40]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Several grid sizes were investigated up to 50x50x50 to find a compromise between an accurate DOS and the time taken to run the calculation. As the grid size is an increased a more true depiction of the DOS is obtained for the MgO structure. Increasing the grid size increases the number of peaks and then changes the graph from random sharp intensities to a smoother curve. However, the highest intensity point remains at 400 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; throughout all grid sizes and the higher frequencies having lower intensities. The bigger the grid size, the more k points that are sampled and the more representative the DOS. It can be seen in the figures below that the DOS curve is unchanged between 32x32x32 and 40x40x40, however, the running time increases greatly for the 40x40x40 grid size. Therefore, it was decided that the 32x32x32 grid size was the optimum and used in further calculations.&lt;br /&gt;
&lt;br /&gt;
The size of the grid set in the calculations is inversely related to the size of the structure in real space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This equation shows that the bigger a* (size of grid in k space) the smaller a (size of cell in real space). Therefore the bigger the cell in real space, the smaller the grid size needed for the calculation of DOS. This means that a similar oxide such as CaO will require a similar grid size as MgO for the calculation of DOS. Faujasite, a zeolite, has a lattice parameter in the range 24.2 - 25.1 Å &amp;lt;ref name=&amp;quot;Zeolite&amp;quot;/&amp;gt; and would therefore need a small grid size for the DOS calculation. Lithium, a small metal, has a lattice parameter of 3.51 Å &amp;lt;ref name=&amp;quot;Lithium&amp;quot;/&amp;gt; and would therefore need a large grid size for the DOS calculation to represent its small cell size in real space.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Computing the Free Energy&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Task_3_graph.png|300px|thumb|right|Graph 1: A Graph to show how the Free Energy changes with Grid Size]]&lt;br /&gt;
The Helmholtz Free Energy of MgO was then computed using the quasi-harmonic approximation on the same grid sizes as in the previous section at a temperature of 300K. Helmholtz Free Energy is given by the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A=Helmholtz Free Energy, U=Internal Energy, S=Entropy and T=Temperature&lt;br /&gt;
This states that the Helmholtz Free Energy should increase with increasing internal energy and decreasing temperature and entropy. This said, the Helmholtz Free Energy should decrease with increasing grid size. This can be explained with the aid of the following statistical mechanics equation of entropy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt; where S=Entropy, k=Boltzmann Constant and W=number of microstates&lt;br /&gt;
As the grid size increases the number of microstates sampled also increases. This in turn increases the entropy and decreases the TS term in the Helmholtz Free Energy equation. The decrease in Helmholtz Free Energy can be further explained using the following equation of internal energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt; where U=internal Energy, H=Enthalpy, P=Pressure and V=Volume&lt;br /&gt;
As the grid size increases so does its volume, therefore decreasing the internal energy. This further decreases the Helmholtz Free Energy. It can be seen in Graph 1 that initially the Helmholtz Free Energy increases with grid from 1x1x1 to 3x3x3 and then begins to follow the expected trend and decrease with increasing grid size. Table 1 shows that the accuracy of the Helmholtz Free Energy increases with grid size.&lt;br /&gt;
The Helmholtz Free Energy converges to a value of -40.9265 eV, with the 32x32x32 grid size being the most appropriate to run calculations from, providing the correct Helmholtz Free Energy and a suitable length of time to run the calculation.&lt;br /&gt;
&lt;br /&gt;
For CaO, a similar sized crystal to MgO (lattice constant CaO = 4.811 Å, lattice constant MgO = 4.212 Å)&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;/&amp;gt;, a similar size grid will be required for the calculation of the Helmholtz Free Energy. Faujasite would require a smaller grid size due to its large lattice constant and lithium a larger grid size than MgO due to its small lattice constant.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;The Thermal Expansion of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Thermal expansion is the ability of matter to change size, volume and shape in a response to the change in temperature. When a substance is heated the molecules vibrate and begin to move more, and their average separation increases. This thermal expansion is indicated by the Coefficient of Linear Thermal Expansion (CTE). Uniform linear objects have a thermally expand proportional to temperate over a small range of temperatures. The equation used to calculate the linear CTE is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;=linear CTE, &amp;lt;math&amp;gt;{L_0}&amp;lt;/math&amp;gt;=lattice constant at 0K and &amp;lt;math&amp;gt;dL/dT&amp;lt;/math&amp;gt;=rate of change of lattice constant with respect to temperature&lt;br /&gt;
&lt;br /&gt;
A volumetric CTE can also be calculated using the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt;=volumetric CTE, &amp;lt;math&amp;gt;{V}&amp;lt;/math&amp;gt;= volume and &amp;lt;math&amp;gt;(\frac{\partial V}{\partial T})_p&amp;lt;/math&amp;gt;= partial derivative of volum with respect to temperature at constant pressure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Quasi-harmonic Approximation: ===&lt;br /&gt;
[[File:Task_4_graph_1.png|300px|thumb|left|Figure 10: A graph to show how the free energy of MgO changes with temperature]]&lt;br /&gt;
[[File:Task_4_graph_2.png|300px|thumb|left|Figure 11: A graph to show how the lattice constant of MgO changes with temperature]]&lt;br /&gt;
Using the 32x32x32 grid size of MgO the free energy was then optimised. The optimisation opts was set to optimise Gibb&#039;s Free Energy and the temperature varied from 0 - 1000k.&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamics: ===&lt;br /&gt;
[[File:32_structure_dhl.png|300px|thumb|left|Figure 12: 32 unit MgO structure used for MD calculations]]&lt;br /&gt;
[[File:32_random_dhl.png|300px|thumb|right|Figure 13: 32 unit MgO structure post MD calculations]]&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;References&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;&amp;gt; X. Wu, W. Li, W. Rui. Effect of temperature on elastic constants, generalized stacking fault energy and dislocation cores in MgO and CaO. &#039;&#039;Computational Condensed Matter&#039;&#039;. 2014: 38-44. Available from: DOI: 10.1016/j.cocom.2014.10.005&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Zeolite&amp;quot;&amp;gt; J. A Kaduk, J. Faber. Crystal Structure of Zeolite Y as a function of Ion Exchange. &#039;&#039;The Rigaku Journal&#039;&#039;. 1995;12: 14. Available from: http://www.rigaku.com/downloads/journal/Vol12.2.1995/kaduk.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Lithium&amp;quot;&amp;gt; M. R. Nadler, C. P Kempter. Crystallographic Data 186. Lithium. &#039;&#039;Analytical Chemistry&#039;&#039;. 1959;31:2109. Available from: &lt;br /&gt;
DOI: 10.1021/ac60156a007&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;&amp;gt; D. K. Smith, H. R. Leider. Low-Temperature Thermal Expansion of LiH, MgO and CaO. &#039;&#039;Journal of Applied Crystallography&#039;&#039;. 1968;1: 246-249. Available from: DOI: 10.1107/S0021889868005418&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Appendix&amp;lt;/u&amp;gt; ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Grid Size !! Helmholtz Free Energy (eV)!! Accuracy (meV)&lt;br /&gt;
|-&lt;br /&gt;
| 1x1x1 || -40.9303|| 4&lt;br /&gt;
|-&lt;br /&gt;
| 2x2x2 || -40.9266|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 3x3x3 || -40.9264|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 8x8x8 || -40.9265|| 0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16x16x16 || -40.9265|| 0.001&lt;br /&gt;
|-&lt;br /&gt;
| 32x32x32 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 40x40x40 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 50x50x50 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;3&amp;quot; |Table 1: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Grid Size&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Helmholtz Free Energy (eV)&lt;br /&gt;
|-&lt;br /&gt;
| 0 || -40.9019        &lt;br /&gt;
|-&lt;br /&gt;
| 100 || -40.9024&lt;br /&gt;
|-&lt;br /&gt;
| 200 || -40.9094&lt;br /&gt;
|-&lt;br /&gt;
| 300 || -40.9281&lt;br /&gt;
|-&lt;br /&gt;
| 400 || -40.9585&lt;br /&gt;
|-&lt;br /&gt;
| 500 || -40.9994&lt;br /&gt;
|-&lt;br /&gt;
| 600 || -41.0493&lt;br /&gt;
|-&lt;br /&gt;
| 700 || -41.1071&lt;br /&gt;
|-&lt;br /&gt;
| 800 || -41.1719&lt;br /&gt;
|-&lt;br /&gt;
| 900 || -41.2440&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || -41.3198&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 2: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Temperature&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Lattice Constant&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 2.9894      &lt;br /&gt;
|-&lt;br /&gt;
| 100 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 300 || 2.9883&lt;br /&gt;
|-&lt;br /&gt;
| 400 || 2.9894&lt;br /&gt;
|-&lt;br /&gt;
| 500 || 2.9916&lt;br /&gt;
|-&lt;br /&gt;
| 600 || 2.9941&lt;br /&gt;
|-&lt;br /&gt;
| 700 || 2.9968&lt;br /&gt;
|-&lt;br /&gt;
| 800 || 2.9996&lt;br /&gt;
|-&lt;br /&gt;
| 900 || 3.0026&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 3.0056&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 3: Raw Data showing change in&lt;br /&gt;
Lattice Constant with Temperature&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dl2613</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550434</id>
		<title>Rep:Mod:Dl2613</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550434"/>
		<updated>2016-03-07T18:17:24Z</updated>

		<summary type="html">&lt;p&gt;Dl2613: /* The Thermal Expansion of MgO */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== &amp;lt;u&amp;gt;Introduction&amp;lt;/u&amp;gt; ==&lt;br /&gt;
The aim of this experiment was to use a simple model of atomic interactions to calculate the energy and vibrations of a crystal of MgO. This was then used to compute the free energy, phonon dispersions and to predict how MgO expands when heated. The quasi-harmonic approximation (QHA) and molecular dynamics methods were used to do these calculations.&lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon based model of solid-state physics and can describe volume-dependant thermal effects of structures, such as the MgO crystal. This assumption assumes that for every lattice value the harmonic oscillator assumption is true. MD is a type of N-body simulation, it allows atoms and molecules to interact for a fixed period of time showing the dynamics of a system. In this experiment the MD was run on an isothermal-isobaric (NPT) ensemble in which the amount of substance, pressure and temperature are fixed. MD allows motion in three dimensions.&lt;br /&gt;
&lt;br /&gt;
The software used for this experiment was RedHat Linux. DLVisualize (DLV) was used for the visualisation of the structure and properties of the MgO crystal. General Utility Lattice Program (GULP) is a supporting interface of DLV and was used to perform analytical solutions on MgO through the use of lattice dynamics.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Internal Energy Calculation on MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Better_unit_cell.png|300px|thumb|right|Figure 1: MgO Primitive Unit Cell]]&lt;br /&gt;
In this first exercise the internal energy and structure of MgO was calculated using GULP from the primitive unit cell of the crystal. An ionic potential model was used, without shells included and at a single point. The primitive unit cell in the simplest cell to describe the crystal structure of MgO and contains 2 atoms. The lattice vectors of this cell are:&lt;br /&gt;
&lt;br /&gt;
0.0000   2.10597   2.10597&lt;br /&gt;
&lt;br /&gt;
2.10597   0.0000   2.10597&lt;br /&gt;
&lt;br /&gt;
2.10597   2.10597   0.0000&lt;br /&gt;
&lt;br /&gt;
From the [[Media:MgO_0_DHL.out| log file]] it can be seen that the lattice parameters are defined by the length 2.9783Å and the angle 60º, giving the primitive unit cell the shape of a rhombohedron. Each primitive cell was calculated to have an energy of -40.0753 eV and this corresponds to the binding energy of the crystal. The primitive cell can be used to build up a lattice by repeating its structure.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Calculation of phonon modes of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Computing the Phonon Dispersion Curves: ===&lt;br /&gt;
[[File:MgO_Phonon_Dispersion_DHL.png|300px|thumb|left|Figure 2: MgO Phonon Dispersion]]&lt;br /&gt;
The phonon frequencies were then computed along the symmetry points &amp;lt;math&amp;gt;W, L, G, W, X, K&amp;lt;/math&amp;gt; in k space. The calculation was set up for 50 Npoints with phonon eigenvectors included in the calculation. For a 3D crystal of diatomic molecules with two atom types, six vibration modes are observed in the phonon dispersion curves (Fig 2). A positive dispersion relation results in optical modes and a negative dispersion relation results in acoustic modes. Two adjacent different atoms move against each other in the optical mode, but move against together in the acoustic mode. The acoustic modes equal 0   cm-1  at the point Γ whereas the optical modes do not. It can seen that there are three acoustic modes and three optical modes. The three acoustic modes can be split into one longitudinal acoustic mode and two transverse acoustic modes. The two transverse modes become degenerate between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;. The phonon dispersion curve agrees with that found in literature&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== The Phonon Density of States: ===&lt;br /&gt;
A simpler energy level diagram than the phonon dispersion relation is the density of states (DOS). The DOS is an average over the time and space demains of the MgO system and was calculated for the phonons as a function of the wave vector k. The dimensional limits of the MgO crystal affects the DOS and therefore it is expected that the DOS will change with the grid size of the MgO crystal.&lt;br /&gt;
&lt;br /&gt;
To begin with the DOS calculation was ran on a 1x1x1 grid, corresponding to a single k point. Comparison between Figure 2 and 3 shows that the single k point is the symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The frequencies of the phonon dispersions are identical in the two graphs. Four peaks instead of six are observed due to the fact that 2 pairs of modes become degenerate between &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. These degenerate modes correspond to the peaks between 250 and 400 cm &amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, explaining why those peaks are double the intensity of the high frequency peaks. It can been seen that a grid size of 1x1x1 is not a good representative of the DOS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_Phonon_DOS_DHL.png|300px|none|thumb|left|Figure 3: MgO Phonon DOS 1x1x1]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_3x3x3_DHL.png|300px|none|thumb|middle|Figure 4: MgO Phonon DOS 3x3x3]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_8x8x8_DHL.png|300px|none|thumb|middle|Figure 5: MgO Phonon DOS 8x8x8]]&lt;br /&gt;
|}&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_phonon_DOS_16x16x16_DHL.png|300px|none|thumb|left|Figure 6: MgO Phonon DOS 16x16x16]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_32x32x32_DHL.png|300px|none|thumb|left|Figure 7: MgO Phonon DOS 32x32x32]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_40x40x40_DHL.png|300px|none|thumb|middle|Figure 8: MgO Phonon DOS 40x40x40]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Several grid sizes were investigated up to 50x50x50 to find a compromise between an accurate DOS and the time taken to run the calculation. As the grid size is an increased a more true depiction of the DOS is obtained for the MgO structure. Increasing the grid size increases the number of peaks and then changes the graph from random sharp intensities to a smoother curve. However, the highest intensity point remains at 400 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; throughout all grid sizes and the higher frequencies having lower intensities. The bigger the grid size, the more k points that are sampled and the more representative the DOS. It can be seen in the figures below that the DOS curve is unchanged between 32x32x32 and 40x40x40, however, the running time increases greatly for the 40x40x40 grid size. Therefore, it was decided that the 32x32x32 grid size was the optimum and used in further calculations.&lt;br /&gt;
&lt;br /&gt;
The size of the grid set in the calculations is inversely related to the size of the structure in real space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This equation shows that the bigger a* (size of grid in k space) the smaller a (size of cell in real space). Therefore the bigger the cell in real space, the smaller the grid size needed for the calculation of DOS. This means that a similar oxide such as CaO will require a similar grid size as MgO for the calculation of DOS. Faujasite, a zeolite, has a lattice parameter in the range 24.2 - 25.1 Å &amp;lt;ref name=&amp;quot;Zeolite&amp;quot;/&amp;gt; and would therefore need a small grid size for the DOS calculation. Lithium, a small metal, has a lattice parameter of 3.51 Å &amp;lt;ref name=&amp;quot;Lithium&amp;quot;/&amp;gt; and would therefore need a large grid size for the DOS calculation to represent its small cell size in real space.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Computing the Free Energy&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Task_3_graph.png|300px|thumb|right|Graph 1: A Graph to show how the Free Energy changes with Grid Size]]&lt;br /&gt;
The Helmholtz Free Energy of MgO was then computed using the quasi-harmonic approximation on the same grid sizes as in the previous section at a temperature of 300K. Helmholtz Free Energy is given by the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A=Helmholtz Free Energy, U=Internal Energy, S=Entropy and T=Temperature&lt;br /&gt;
This states that the Helmholtz Free Energy should increase with increasing internal energy and decreasing temperature and entropy. This said, the Helmholtz Free Energy should decrease with increasing grid size. This can be explained with the aid of the following statistical mechanics equation of entropy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt; where S=Entropy, k=Boltzmann Constant and W=number of microstates&lt;br /&gt;
As the grid size increases the number of microstates sampled also increases. This in turn increases the entropy and decreases the TS term in the Helmholtz Free Energy equation. The decrease in Helmholtz Free Energy can be further explained using the following equation of internal energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt; where U=internal Energy, H=Enthalpy, P=Pressure and V=Volume&lt;br /&gt;
As the grid size increases so does its volume, therefore decreasing the internal energy. This further decreases the Helmholtz Free Energy. It can be seen in Graph 1 that initially the Helmholtz Free Energy increases with grid from 1x1x1 to 3x3x3 and then begins to follow the expected trend and decrease with increasing grid size. Table 1 shows that the accuracy of the Helmholtz Free Energy increases with grid size.&lt;br /&gt;
The Helmholtz Free Energy converges to a value of -40.9265 eV, with the 32x32x32 grid size being the most appropriate to run calculations from, providing the correct Helmholtz Free Energy and a suitable length of time to run the calculation.&lt;br /&gt;
&lt;br /&gt;
For CaO, a similar sized crystal to MgO (lattice constant CaO = 4.811 Å, lattice constant MgO = 4.212 Å)&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;/&amp;gt;, a similar size grid will be required for the calculation of the Helmholtz Free Energy. Faujasite would require a smaller grid size due to its large lattice constant and lithium a larger grid size than MgO due to its small lattice constant.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;The Thermal Expansion of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Thermal expansion is the ability of matter to change size, volume and shape in a response to the change in temperature. When a substance is heated the molecules vibrate and begin to move more, and their average separation increases. This thermal expansion is indicated by the Coefficient of Linear Thermal Expansion (CTE). Uniform linear objects have a thermally expand proportional to temperate over a small range of temperatures. The equation used to calculate the linear CTE is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_L=\frac{1}{L_0}\,\frac{dL}{dT}&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;=linear CTE, &amp;lt;math&amp;gt;{L_0}&amp;lt;/math&amp;gt;=lattice constant at 0K and &amp;lt;math&amp;gt;dL/dT&amp;lt;/math&amp;gt;=rate of change of lattice constant with respect to temperature&lt;br /&gt;
&lt;br /&gt;
A volumetric CTE can also be calculated using the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_V = \frac{1}{V}\,\left(\frac{\partial V}{\partial T}\right)_p&amp;lt;/math&amp;gt; where α&amp;lt;sub&amp;gt;V&amp;lt;/sub&amp;gt;=volumetric CTE, &amp;lt;math&amp;gt;{V}&amp;lt;/math&amp;gt;= volume and &amp;lt;math&amp;gt;(\frac{\partial V}{\partial T}\)_p&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Quasi-harmonic Approximation: ===&lt;br /&gt;
[[File:Task_4_graph_1.png|300px|thumb|left|Figure 10: A graph to show how the free energy of MgO changes with temperature]]&lt;br /&gt;
[[File:Task_4_graph_2.png|300px|thumb|left|Figure 11: A graph to show how the lattice constant of MgO changes with temperature]]&lt;br /&gt;
Using the 32x32x32 grid size of MgO the free energy was then optimised. The optimisation opts was set to optimise Gibb&#039;s Free Energy and the temperature varied from 0 - 1000k.&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamics: ===&lt;br /&gt;
[[File:32_structure_dhl.png|300px|thumb|left|Figure 12: 32 unit MgO structure used for MD calculations]]&lt;br /&gt;
[[File:32_random_dhl.png|300px|thumb|right|Figure 13: 32 unit MgO structure post MD calculations]]&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;References&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;&amp;gt; X. Wu, W. Li, W. Rui. Effect of temperature on elastic constants, generalized stacking fault energy and dislocation cores in MgO and CaO. &#039;&#039;Computational Condensed Matter&#039;&#039;. 2014: 38-44. Available from: DOI: 10.1016/j.cocom.2014.10.005&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Zeolite&amp;quot;&amp;gt; J. A Kaduk, J. Faber. Crystal Structure of Zeolite Y as a function of Ion Exchange. &#039;&#039;The Rigaku Journal&#039;&#039;. 1995;12: 14. Available from: http://www.rigaku.com/downloads/journal/Vol12.2.1995/kaduk.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Lithium&amp;quot;&amp;gt; M. R. Nadler, C. P Kempter. Crystallographic Data 186. Lithium. &#039;&#039;Analytical Chemistry&#039;&#039;. 1959;31:2109. Available from: &lt;br /&gt;
DOI: 10.1021/ac60156a007&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;&amp;gt; D. K. Smith, H. R. Leider. Low-Temperature Thermal Expansion of LiH, MgO and CaO. &#039;&#039;Journal of Applied Crystallography&#039;&#039;. 1968;1: 246-249. Available from: DOI: 10.1107/S0021889868005418&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Appendix&amp;lt;/u&amp;gt; ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Grid Size !! Helmholtz Free Energy (eV)!! Accuracy (meV)&lt;br /&gt;
|-&lt;br /&gt;
| 1x1x1 || -40.9303|| 4&lt;br /&gt;
|-&lt;br /&gt;
| 2x2x2 || -40.9266|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 3x3x3 || -40.9264|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 8x8x8 || -40.9265|| 0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16x16x16 || -40.9265|| 0.001&lt;br /&gt;
|-&lt;br /&gt;
| 32x32x32 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 40x40x40 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 50x50x50 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;3&amp;quot; |Table 1: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Grid Size&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Helmholtz Free Energy (eV)&lt;br /&gt;
|-&lt;br /&gt;
| 0 || -40.9019        &lt;br /&gt;
|-&lt;br /&gt;
| 100 || -40.9024&lt;br /&gt;
|-&lt;br /&gt;
| 200 || -40.9094&lt;br /&gt;
|-&lt;br /&gt;
| 300 || -40.9281&lt;br /&gt;
|-&lt;br /&gt;
| 400 || -40.9585&lt;br /&gt;
|-&lt;br /&gt;
| 500 || -40.9994&lt;br /&gt;
|-&lt;br /&gt;
| 600 || -41.0493&lt;br /&gt;
|-&lt;br /&gt;
| 700 || -41.1071&lt;br /&gt;
|-&lt;br /&gt;
| 800 || -41.1719&lt;br /&gt;
|-&lt;br /&gt;
| 900 || -41.2440&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || -41.3198&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 2: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Temperature&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Lattice Constant&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 2.9894      &lt;br /&gt;
|-&lt;br /&gt;
| 100 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 300 || 2.9883&lt;br /&gt;
|-&lt;br /&gt;
| 400 || 2.9894&lt;br /&gt;
|-&lt;br /&gt;
| 500 || 2.9916&lt;br /&gt;
|-&lt;br /&gt;
| 600 || 2.9941&lt;br /&gt;
|-&lt;br /&gt;
| 700 || 2.9968&lt;br /&gt;
|-&lt;br /&gt;
| 800 || 2.9996&lt;br /&gt;
|-&lt;br /&gt;
| 900 || 3.0026&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 3.0056&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 3: Raw Data showing change in&lt;br /&gt;
Lattice Constant with Temperature&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dl2613</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550431</id>
		<title>Rep:Mod:Dl2613</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550431"/>
		<updated>2016-03-07T18:02:34Z</updated>

		<summary type="html">&lt;p&gt;Dl2613: /* Quasi-harmonic Approximation: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== &amp;lt;u&amp;gt;Introduction&amp;lt;/u&amp;gt; ==&lt;br /&gt;
The aim of this experiment was to use a simple model of atomic interactions to calculate the energy and vibrations of a crystal of MgO. This was then used to compute the free energy, phonon dispersions and to predict how MgO expands when heated. The quasi-harmonic approximation (QHA) and molecular dynamics methods were used to do these calculations.&lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon based model of solid-state physics and can describe volume-dependant thermal effects of structures, such as the MgO crystal. This assumption assumes that for every lattice value the harmonic oscillator assumption is true. MD is a type of N-body simulation, it allows atoms and molecules to interact for a fixed period of time showing the dynamics of a system. In this experiment the MD was run on an isothermal-isobaric (NPT) ensemble in which the amount of substance, pressure and temperature are fixed. MD allows motion in three dimensions.&lt;br /&gt;
&lt;br /&gt;
The software used for this experiment was RedHat Linux. DLVisualize (DLV) was used for the visualisation of the structure and properties of the MgO crystal. General Utility Lattice Program (GULP) is a supporting interface of DLV and was used to perform analytical solutions on MgO through the use of lattice dynamics.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Internal Energy Calculation on MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Better_unit_cell.png|300px|thumb|right|Figure 1: MgO Primitive Unit Cell]]&lt;br /&gt;
In this first exercise the internal energy and structure of MgO was calculated using GULP from the primitive unit cell of the crystal. An ionic potential model was used, without shells included and at a single point. The primitive unit cell in the simplest cell to describe the crystal structure of MgO and contains 2 atoms. The lattice vectors of this cell are:&lt;br /&gt;
&lt;br /&gt;
0.0000   2.10597   2.10597&lt;br /&gt;
&lt;br /&gt;
2.10597   0.0000   2.10597&lt;br /&gt;
&lt;br /&gt;
2.10597   2.10597   0.0000&lt;br /&gt;
&lt;br /&gt;
From the [[Media:MgO_0_DHL.out| log file]] it can be seen that the lattice parameters are defined by the length 2.9783Å and the angle 60º, giving the primitive unit cell the shape of a rhombohedron. Each primitive cell was calculated to have an energy of -40.0753 eV and this corresponds to the binding energy of the crystal. The primitive cell can be used to build up a lattice by repeating its structure.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Calculation of phonon modes of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Computing the Phonon Dispersion Curves: ===&lt;br /&gt;
[[File:MgO_Phonon_Dispersion_DHL.png|300px|thumb|left|Figure 2: MgO Phonon Dispersion]]&lt;br /&gt;
The phonon frequencies were then computed along the symmetry points &amp;lt;math&amp;gt;W, L, G, W, X, K&amp;lt;/math&amp;gt; in k space. The calculation was set up for 50 Npoints with phonon eigenvectors included in the calculation. For a 3D crystal of diatomic molecules with two atom types, six vibration modes are observed in the phonon dispersion curves (Fig 2). A positive dispersion relation results in optical modes and a negative dispersion relation results in acoustic modes. Two adjacent different atoms move against each other in the optical mode, but move against together in the acoustic mode. The acoustic modes equal 0   cm-1  at the point Γ whereas the optical modes do not. It can seen that there are three acoustic modes and three optical modes. The three acoustic modes can be split into one longitudinal acoustic mode and two transverse acoustic modes. The two transverse modes become degenerate between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;. The phonon dispersion curve agrees with that found in literature&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== The Phonon Density of States: ===&lt;br /&gt;
A simpler energy level diagram than the phonon dispersion relation is the density of states (DOS). The DOS is an average over the time and space demains of the MgO system and was calculated for the phonons as a function of the wave vector k. The dimensional limits of the MgO crystal affects the DOS and therefore it is expected that the DOS will change with the grid size of the MgO crystal.&lt;br /&gt;
&lt;br /&gt;
To begin with the DOS calculation was ran on a 1x1x1 grid, corresponding to a single k point. Comparison between Figure 2 and 3 shows that the single k point is the symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The frequencies of the phonon dispersions are identical in the two graphs. Four peaks instead of six are observed due to the fact that 2 pairs of modes become degenerate between &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. These degenerate modes correspond to the peaks between 250 and 400 cm &amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, explaining why those peaks are double the intensity of the high frequency peaks. It can been seen that a grid size of 1x1x1 is not a good representative of the DOS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_Phonon_DOS_DHL.png|300px|none|thumb|left|Figure 3: MgO Phonon DOS 1x1x1]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_3x3x3_DHL.png|300px|none|thumb|middle|Figure 4: MgO Phonon DOS 3x3x3]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_8x8x8_DHL.png|300px|none|thumb|middle|Figure 5: MgO Phonon DOS 8x8x8]]&lt;br /&gt;
|}&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_phonon_DOS_16x16x16_DHL.png|300px|none|thumb|left|Figure 6: MgO Phonon DOS 16x16x16]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_32x32x32_DHL.png|300px|none|thumb|left|Figure 7: MgO Phonon DOS 32x32x32]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_40x40x40_DHL.png|300px|none|thumb|middle|Figure 8: MgO Phonon DOS 40x40x40]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Several grid sizes were investigated up to 50x50x50 to find a compromise between an accurate DOS and the time taken to run the calculation. As the grid size is an increased a more true depiction of the DOS is obtained for the MgO structure. Increasing the grid size increases the number of peaks and then changes the graph from random sharp intensities to a smoother curve. However, the highest intensity point remains at 400 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; throughout all grid sizes and the higher frequencies having lower intensities. The bigger the grid size, the more k points that are sampled and the more representative the DOS. It can be seen in the figures below that the DOS curve is unchanged between 32x32x32 and 40x40x40, however, the running time increases greatly for the 40x40x40 grid size. Therefore, it was decided that the 32x32x32 grid size was the optimum and used in further calculations.&lt;br /&gt;
&lt;br /&gt;
The size of the grid set in the calculations is inversely related to the size of the structure in real space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This equation shows that the bigger a* (size of grid in k space) the smaller a (size of cell in real space). Therefore the bigger the cell in real space, the smaller the grid size needed for the calculation of DOS. This means that a similar oxide such as CaO will require a similar grid size as MgO for the calculation of DOS. Faujasite, a zeolite, has a lattice parameter in the range 24.2 - 25.1 Å &amp;lt;ref name=&amp;quot;Zeolite&amp;quot;/&amp;gt; and would therefore need a small grid size for the DOS calculation. Lithium, a small metal, has a lattice parameter of 3.51 Å &amp;lt;ref name=&amp;quot;Lithium&amp;quot;/&amp;gt; and would therefore need a large grid size for the DOS calculation to represent its small cell size in real space.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Computing the Free Energy&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Task_3_graph.png|300px|thumb|right|Graph 1: A Graph to show how the Free Energy changes with Grid Size]]&lt;br /&gt;
The Helmholtz Free Energy of MgO was then computed using the quasi-harmonic approximation on the same grid sizes as in the previous section at a temperature of 300K. Helmholtz Free Energy is given by the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A=Helmholtz Free Energy, U=Internal Energy, S=Entropy and T=Temperature&lt;br /&gt;
This states that the Helmholtz Free Energy should increase with increasing internal energy and decreasing temperature and entropy. This said, the Helmholtz Free Energy should decrease with increasing grid size. This can be explained with the aid of the following statistical mechanics equation of entropy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt; where S=Entropy, k=Boltzmann Constant and W=number of microstates&lt;br /&gt;
As the grid size increases the number of microstates sampled also increases. This in turn increases the entropy and decreases the TS term in the Helmholtz Free Energy equation. The decrease in Helmholtz Free Energy can be further explained using the following equation of internal energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt; where U=internal Energy, H=Enthalpy, P=Pressure and V=Volume&lt;br /&gt;
As the grid size increases so does its volume, therefore decreasing the internal energy. This further decreases the Helmholtz Free Energy. It can be seen in Graph 1 that initially the Helmholtz Free Energy increases with grid from 1x1x1 to 3x3x3 and then begins to follow the expected trend and decrease with increasing grid size. Table 1 shows that the accuracy of the Helmholtz Free Energy increases with grid size.&lt;br /&gt;
The Helmholtz Free Energy converges to a value of -40.9265 eV, with the 32x32x32 grid size being the most appropriate to run calculations from, providing the correct Helmholtz Free Energy and a suitable length of time to run the calculation.&lt;br /&gt;
&lt;br /&gt;
For CaO, a similar sized crystal to MgO (lattice constant CaO = 4.811 Å, lattice constant MgO = 4.212 Å)&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;/&amp;gt;, a similar size grid will be required for the calculation of the Helmholtz Free Energy. Faujasite would require a smaller grid size due to its large lattice constant and lithium a larger grid size than MgO due to its small lattice constant.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;The Thermal Expansion of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
=== Quasi-harmonic Approximation: ===&lt;br /&gt;
[[File:Task_4_graph_1.png|300px|thumb|left|Figure 10: A graph to show how the free energy of MgO changes with temperature]]&lt;br /&gt;
[[File:Task_4_graph_2.png|300px|thumb|left|Figure 11: A graph to show how the lattice constant of MgO changes with temperature]]&lt;br /&gt;
Thermal expansion is the ability of matter to change size, volume and shape in a response to the change in temperature. When a substance is heated the molecules vibrate and begin to move more, and their average separation increases.&lt;br /&gt;
Using the 32x32x32 grid size of MgO the free energy was then optimised. The optimisation opts was set to optimise Gibb&#039;s Free Energy and the temperature varied from 0 - 1000k.&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamics: ===&lt;br /&gt;
[[File:32_structure_dhl.png|300px|thumb|left|Figure 12: 32 unit MgO structure used for MD calculations]]&lt;br /&gt;
[[File:32_random_dhl.png|300px|thumb|right|Figure 13: 32 unit MgO structure post MD calculations]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;References&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;&amp;gt; X. Wu, W. Li, W. Rui. Effect of temperature on elastic constants, generalized stacking fault energy and dislocation cores in MgO and CaO. &#039;&#039;Computational Condensed Matter&#039;&#039;. 2014: 38-44. Available from: DOI: 10.1016/j.cocom.2014.10.005&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Zeolite&amp;quot;&amp;gt; J. A Kaduk, J. Faber. Crystal Structure of Zeolite Y as a function of Ion Exchange. &#039;&#039;The Rigaku Journal&#039;&#039;. 1995;12: 14. Available from: http://www.rigaku.com/downloads/journal/Vol12.2.1995/kaduk.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Lithium&amp;quot;&amp;gt; M. R. Nadler, C. P Kempter. Crystallographic Data 186. Lithium. &#039;&#039;Analytical Chemistry&#039;&#039;. 1959;31:2109. Available from: &lt;br /&gt;
DOI: 10.1021/ac60156a007&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;&amp;gt; D. K. Smith, H. R. Leider. Low-Temperature Thermal Expansion of LiH, MgO and CaO. &#039;&#039;Journal of Applied Crystallography&#039;&#039;. 1968;1: 246-249. Available from: DOI: 10.1107/S0021889868005418&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Appendix&amp;lt;/u&amp;gt; ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Grid Size !! Helmholtz Free Energy (eV)!! Accuracy (meV)&lt;br /&gt;
|-&lt;br /&gt;
| 1x1x1 || -40.9303|| 4&lt;br /&gt;
|-&lt;br /&gt;
| 2x2x2 || -40.9266|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 3x3x3 || -40.9264|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 8x8x8 || -40.9265|| 0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16x16x16 || -40.9265|| 0.001&lt;br /&gt;
|-&lt;br /&gt;
| 32x32x32 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 40x40x40 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 50x50x50 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;3&amp;quot; |Table 1: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Grid Size&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Helmholtz Free Energy (eV)&lt;br /&gt;
|-&lt;br /&gt;
| 0 || -40.9019        &lt;br /&gt;
|-&lt;br /&gt;
| 100 || -40.9024&lt;br /&gt;
|-&lt;br /&gt;
| 200 || -40.9094&lt;br /&gt;
|-&lt;br /&gt;
| 300 || -40.9281&lt;br /&gt;
|-&lt;br /&gt;
| 400 || -40.9585&lt;br /&gt;
|-&lt;br /&gt;
| 500 || -40.9994&lt;br /&gt;
|-&lt;br /&gt;
| 600 || -41.0493&lt;br /&gt;
|-&lt;br /&gt;
| 700 || -41.1071&lt;br /&gt;
|-&lt;br /&gt;
| 800 || -41.1719&lt;br /&gt;
|-&lt;br /&gt;
| 900 || -41.2440&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || -41.3198&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 2: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Temperature&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Lattice Constant&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 2.9894      &lt;br /&gt;
|-&lt;br /&gt;
| 100 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 300 || 2.9883&lt;br /&gt;
|-&lt;br /&gt;
| 400 || 2.9894&lt;br /&gt;
|-&lt;br /&gt;
| 500 || 2.9916&lt;br /&gt;
|-&lt;br /&gt;
| 600 || 2.9941&lt;br /&gt;
|-&lt;br /&gt;
| 700 || 2.9968&lt;br /&gt;
|-&lt;br /&gt;
| 800 || 2.9996&lt;br /&gt;
|-&lt;br /&gt;
| 900 || 3.0026&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 3.0056&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 3: Raw Data showing change in&lt;br /&gt;
Lattice Constant with Temperature&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dl2613</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550423</id>
		<title>Rep:Mod:Dl2613</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550423"/>
		<updated>2016-03-07T17:40:51Z</updated>

		<summary type="html">&lt;p&gt;Dl2613: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== &amp;lt;u&amp;gt;Introduction&amp;lt;/u&amp;gt; ==&lt;br /&gt;
The aim of this experiment was to use a simple model of atomic interactions to calculate the energy and vibrations of a crystal of MgO. This was then used to compute the free energy, phonon dispersions and to predict how MgO expands when heated. The quasi-harmonic approximation (QHA) and molecular dynamics methods were used to do these calculations.&lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon based model of solid-state physics and can describe volume-dependant thermal effects of structures, such as the MgO crystal. This assumption assumes that for every lattice value the harmonic oscillator assumption is true. MD is a type of N-body simulation, it allows atoms and molecules to interact for a fixed period of time showing the dynamics of a system. In this experiment the MD was run on an isothermal-isobaric (NPT) ensemble in which the amount of substance, pressure and temperature are fixed. MD allows motion in three dimensions.&lt;br /&gt;
&lt;br /&gt;
The software used for this experiment was RedHat Linux. DLVisualize (DLV) was used for the visualisation of the structure and properties of the MgO crystal. General Utility Lattice Program (GULP) is a supporting interface of DLV and was used to perform analytical solutions on MgO through the use of lattice dynamics.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Internal Energy Calculation on MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Better_unit_cell.png|300px|thumb|right|Figure 1: MgO Primitive Unit Cell]]&lt;br /&gt;
In this first exercise the internal energy and structure of MgO was calculated using GULP from the primitive unit cell of the crystal. An ionic potential model was used, without shells included and at a single point. The primitive unit cell in the simplest cell to describe the crystal structure of MgO and contains 2 atoms. The lattice vectors of this cell are:&lt;br /&gt;
&lt;br /&gt;
0.0000   2.10597   2.10597&lt;br /&gt;
&lt;br /&gt;
2.10597   0.0000   2.10597&lt;br /&gt;
&lt;br /&gt;
2.10597   2.10597   0.0000&lt;br /&gt;
&lt;br /&gt;
From the [[Media:MgO_0_DHL.out| log file]] it can be seen that the lattice parameters are defined by the length 2.9783Å and the angle 60º, giving the primitive unit cell the shape of a rhombohedron. Each primitive cell was calculated to have an energy of -40.0753 eV and this corresponds to the binding energy of the crystal. The primitive cell can be used to build up a lattice by repeating its structure.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Calculation of phonon modes of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Computing the Phonon Dispersion Curves: ===&lt;br /&gt;
[[File:MgO_Phonon_Dispersion_DHL.png|300px|thumb|left|Figure 2: MgO Phonon Dispersion]]&lt;br /&gt;
The phonon frequencies were then computed along the symmetry points &amp;lt;math&amp;gt;W, L, G, W, X, K&amp;lt;/math&amp;gt; in k space. The calculation was set up for 50 Npoints with phonon eigenvectors included in the calculation. For a 3D crystal of diatomic molecules with two atom types, six vibration modes are observed in the phonon dispersion curves (Fig 2). A positive dispersion relation results in optical modes and a negative dispersion relation results in acoustic modes. Two adjacent different atoms move against each other in the optical mode, but move against together in the acoustic mode. The acoustic modes equal 0   cm-1  at the point Γ whereas the optical modes do not. It can seen that there are three acoustic modes and three optical modes. The three acoustic modes can be split into one longitudinal acoustic mode and two transverse acoustic modes. The two transverse modes become degenerate between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;. The phonon dispersion curve agrees with that found in literature&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== The Phonon Density of States: ===&lt;br /&gt;
A simpler energy level diagram than the phonon dispersion relation is the density of states (DOS). The DOS is an average over the time and space demains of the MgO system and was calculated for the phonons as a function of the wave vector k. The dimensional limits of the MgO crystal affects the DOS and therefore it is expected that the DOS will change with the grid size of the MgO crystal.&lt;br /&gt;
&lt;br /&gt;
To begin with the DOS calculation was ran on a 1x1x1 grid, corresponding to a single k point. Comparison between Figure 2 and 3 shows that the single k point is the symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The frequencies of the phonon dispersions are identical in the two graphs. Four peaks instead of six are observed due to the fact that 2 pairs of modes become degenerate between &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. These degenerate modes correspond to the peaks between 250 and 400 cm &amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, explaining why those peaks are double the intensity of the high frequency peaks. It can been seen that a grid size of 1x1x1 is not a good representative of the DOS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_Phonon_DOS_DHL.png|300px|none|thumb|left|Figure 3: MgO Phonon DOS 1x1x1]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_3x3x3_DHL.png|300px|none|thumb|middle|Figure 4: MgO Phonon DOS 3x3x3]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_8x8x8_DHL.png|300px|none|thumb|middle|Figure 5: MgO Phonon DOS 8x8x8]]&lt;br /&gt;
|}&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_phonon_DOS_16x16x16_DHL.png|300px|none|thumb|left|Figure 6: MgO Phonon DOS 16x16x16]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_32x32x32_DHL.png|300px|none|thumb|left|Figure 7: MgO Phonon DOS 32x32x32]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_40x40x40_DHL.png|300px|none|thumb|middle|Figure 8: MgO Phonon DOS 40x40x40]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Several grid sizes were investigated up to 50x50x50 to find a compromise between an accurate DOS and the time taken to run the calculation. As the grid size is an increased a more true depiction of the DOS is obtained for the MgO structure. Increasing the grid size increases the number of peaks and then changes the graph from random sharp intensities to a smoother curve. However, the highest intensity point remains at 400 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; throughout all grid sizes and the higher frequencies having lower intensities. The bigger the grid size, the more k points that are sampled and the more representative the DOS. It can be seen in the figures below that the DOS curve is unchanged between 32x32x32 and 40x40x40, however, the running time increases greatly for the 40x40x40 grid size. Therefore, it was decided that the 32x32x32 grid size was the optimum and used in further calculations.&lt;br /&gt;
&lt;br /&gt;
The size of the grid set in the calculations is inversely related to the size of the structure in real space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This equation shows that the bigger a* (size of grid in k space) the smaller a (size of cell in real space). Therefore the bigger the cell in real space, the smaller the grid size needed for the calculation of DOS. This means that a similar oxide such as CaO will require a similar grid size as MgO for the calculation of DOS. Faujasite, a zeolite, has a lattice parameter in the range 24.2 - 25.1 Å &amp;lt;ref name=&amp;quot;Zeolite&amp;quot;/&amp;gt; and would therefore need a small grid size for the DOS calculation. Lithium, a small metal, has a lattice parameter of 3.51 Å &amp;lt;ref name=&amp;quot;Lithium&amp;quot;/&amp;gt; and would therefore need a large grid size for the DOS calculation to represent its small cell size in real space.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Computing the Free Energy&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Task_3_graph.png|300px|thumb|right|Graph 1: A Graph to show how the Free Energy changes with Grid Size]]&lt;br /&gt;
The Helmholtz Free Energy of MgO was then computed using the quasi-harmonic approximation on the same grid sizes as in the previous section at a temperature of 300K. Helmholtz Free Energy is given by the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A=Helmholtz Free Energy, U=Internal Energy, S=Entropy and T=Temperature&lt;br /&gt;
This states that the Helmholtz Free Energy should increase with increasing internal energy and decreasing temperature and entropy. This said, the Helmholtz Free Energy should decrease with increasing grid size. This can be explained with the aid of the following statistical mechanics equation of entropy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt; where S=Entropy, k=Boltzmann Constant and W=number of microstates&lt;br /&gt;
As the grid size increases the number of microstates sampled also increases. This in turn increases the entropy and decreases the TS term in the Helmholtz Free Energy equation. The decrease in Helmholtz Free Energy can be further explained using the following equation of internal energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt; where U=internal Energy, H=Enthalpy, P=Pressure and V=Volume&lt;br /&gt;
As the grid size increases so does its volume, therefore decreasing the internal energy. This further decreases the Helmholtz Free Energy. It can be seen in Graph 1 that initially the Helmholtz Free Energy increases with grid from 1x1x1 to 3x3x3 and then begins to follow the expected trend and decrease with increasing grid size. Table 1 shows that the accuracy of the Helmholtz Free Energy increases with grid size.&lt;br /&gt;
The Helmholtz Free Energy converges to a value of -40.9265 eV, with the 32x32x32 grid size being the most appropriate to run calculations from, providing the correct Helmholtz Free Energy and a suitable length of time to run the calculation.&lt;br /&gt;
&lt;br /&gt;
For CaO, a similar sized crystal to MgO (lattice constant CaO = 4.811 Å, lattice constant MgO = 4.212 Å)&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;/&amp;gt;, a similar size grid will be required for the calculation of the Helmholtz Free Energy. Faujasite would require a smaller grid size due to its large lattice constant and lithium a larger grid size than MgO due to its small lattice constant.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;The Thermal Expansion of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
=== Quasi-harmonic Approximation: ===&lt;br /&gt;
[[File:Task_4_graph_1.png|300px|thumb|right|Figure 10: A graph to show how the free energy of MgO changes with temperature]]&lt;br /&gt;
[[File:Task_4_graph_2.png|300px|thumb|right|Figure 11: A graph to show how the lattice constant of MgO changes with temperature]]&lt;br /&gt;
Using the 32x32x32 grid size of MgO the free energy was then optimised.&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamics: ===&lt;br /&gt;
[[File:32_structure_dhl.png|300px|thumb|left|Figure 12: 32 unit MgO structure used for MD calculations]]&lt;br /&gt;
[[File:32_random_dhl.png|300px|thumb|right|Figure 13: 32 unit MgO structure post MD calculations]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;References&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;&amp;gt; X. Wu, W. Li, W. Rui. Effect of temperature on elastic constants, generalized stacking fault energy and dislocation cores in MgO and CaO. &#039;&#039;Computational Condensed Matter&#039;&#039;. 2014: 38-44. Available from: DOI: 10.1016/j.cocom.2014.10.005&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Zeolite&amp;quot;&amp;gt; J. A Kaduk, J. Faber. Crystal Structure of Zeolite Y as a function of Ion Exchange. &#039;&#039;The Rigaku Journal&#039;&#039;. 1995;12: 14. Available from: http://www.rigaku.com/downloads/journal/Vol12.2.1995/kaduk.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Lithium&amp;quot;&amp;gt; M. R. Nadler, C. P Kempter. Crystallographic Data 186. Lithium. &#039;&#039;Analytical Chemistry&#039;&#039;. 1959;31:2109. Available from: &lt;br /&gt;
DOI: 10.1021/ac60156a007&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;&amp;gt; D. K. Smith, H. R. Leider. Low-Temperature Thermal Expansion of LiH, MgO and CaO. &#039;&#039;Journal of Applied Crystallography&#039;&#039;. 1968;1: 246-249. Available from: DOI: 10.1107/S0021889868005418&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Appendix&amp;lt;/u&amp;gt; ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Grid Size !! Helmholtz Free Energy (eV)!! Accuracy (meV)&lt;br /&gt;
|-&lt;br /&gt;
| 1x1x1 || -40.9303|| 4&lt;br /&gt;
|-&lt;br /&gt;
| 2x2x2 || -40.9266|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 3x3x3 || -40.9264|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 8x8x8 || -40.9265|| 0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16x16x16 || -40.9265|| 0.001&lt;br /&gt;
|-&lt;br /&gt;
| 32x32x32 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 40x40x40 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 50x50x50 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;3&amp;quot; |Table 1: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Grid Size&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Helmholtz Free Energy (eV)&lt;br /&gt;
|-&lt;br /&gt;
| 0 || -40.9019        &lt;br /&gt;
|-&lt;br /&gt;
| 100 || -40.9024&lt;br /&gt;
|-&lt;br /&gt;
| 200 || -40.9094&lt;br /&gt;
|-&lt;br /&gt;
| 300 || -40.9281&lt;br /&gt;
|-&lt;br /&gt;
| 400 || -40.9585&lt;br /&gt;
|-&lt;br /&gt;
| 500 || -40.9994&lt;br /&gt;
|-&lt;br /&gt;
| 600 || -41.0493&lt;br /&gt;
|-&lt;br /&gt;
| 700 || -41.1071&lt;br /&gt;
|-&lt;br /&gt;
| 800 || -41.1719&lt;br /&gt;
|-&lt;br /&gt;
| 900 || -41.2440&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || -41.3198&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 2: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Temperature&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Lattice Constant&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 2.9894      &lt;br /&gt;
|-&lt;br /&gt;
| 100 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 300 || 2.9883&lt;br /&gt;
|-&lt;br /&gt;
| 400 || 2.9894&lt;br /&gt;
|-&lt;br /&gt;
| 500 || 2.9916&lt;br /&gt;
|-&lt;br /&gt;
| 600 || 2.9941&lt;br /&gt;
|-&lt;br /&gt;
| 700 || 2.9968&lt;br /&gt;
|-&lt;br /&gt;
| 800 || 2.9996&lt;br /&gt;
|-&lt;br /&gt;
| 900 || 3.0026&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 3.0056&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 3: Raw Data showing change in&lt;br /&gt;
Lattice Constant with Temperature&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dl2613</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=File:Task_4_graph_2.png&amp;diff=550422</id>
		<title>File:Task 4 graph 2.png</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=File:Task_4_graph_2.png&amp;diff=550422"/>
		<updated>2016-03-07T17:38:36Z</updated>

		<summary type="html">&lt;p&gt;Dl2613: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Dl2613</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=File:Task_4_graph_1.png&amp;diff=550421</id>
		<title>File:Task 4 graph 1.png</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=File:Task_4_graph_1.png&amp;diff=550421"/>
		<updated>2016-03-07T17:38:11Z</updated>

		<summary type="html">&lt;p&gt;Dl2613: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Dl2613</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550420</id>
		<title>Rep:Mod:Dl2613</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550420"/>
		<updated>2016-03-07T17:37:32Z</updated>

		<summary type="html">&lt;p&gt;Dl2613: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== &amp;lt;u&amp;gt;Introduction&amp;lt;/u&amp;gt; ==&lt;br /&gt;
The aim of this experiment was to use a simple model of atomic interactions to calculate the energy and vibrations of a crystal of MgO. This was then used to compute the free energy, phonon dispersions and to predict how MgO expands when heated. The quasi-harmonic approximation (QHA) and molecular dynamics methods were used to do these calculations.&lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon based model of solid-state physics and can describe volume-dependant thermal effects of structures, such as the MgO crystal. This assumption assumes that for every lattice value the harmonic oscillator assumption is true. MD is a type of N-body simulation, it allows atoms and molecules to interact for a fixed period of time showing the dynamics of a system. In this experiment the MD was run on an isothermal-isobaric (NPT) ensemble in which the amount of substance, pressure and temperature are fixed. MD allows motion in three dimensions.&lt;br /&gt;
&lt;br /&gt;
The software used for this experiment was RedHat Linux. DLVisualize (DLV) was used for the visualisation of the structure and properties of the MgO crystal. General Utility Lattice Program (GULP) is a supporting interface of DLV and was used to perform analytical solutions on MgO through the use of lattice dynamics.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Internal Energy Calculation on MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Better_unit_cell.png|300px|thumb|right|Figure 1: MgO Primitive Unit Cell]]&lt;br /&gt;
In this first exercise the internal energy and structure of MgO was calculated using GULP from the primitive unit cell of the crystal. An ionic potential model was used, without shells included and at a single point. The primitive unit cell in the simplest cell to describe the crystal structure of MgO and contains 2 atoms. The lattice vectors of this cell are:&lt;br /&gt;
&lt;br /&gt;
0.0000   2.10597   2.10597&lt;br /&gt;
&lt;br /&gt;
2.10597   0.0000   2.10597&lt;br /&gt;
&lt;br /&gt;
2.10597   2.10597   0.0000&lt;br /&gt;
&lt;br /&gt;
From the [[Media:MgO_0_DHL.out| log file]] it can be seen that the lattice parameters are defined by the length 2.9783Å and the angle 60º, giving the primitive unit cell the shape of a rhombohedron. Each primitive cell was calculated to have an energy of -40.0753 eV and this corresponds to the binding energy of the crystal. The primitive cell can be used to build up a lattice by repeating its structure.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Calculation of phonon modes of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Computing the Phonon Dispersion Curves: ===&lt;br /&gt;
[[File:MgO_Phonon_Dispersion_DHL.png|300px|thumb|left|Figure 2: MgO Phonon Dispersion]]&lt;br /&gt;
The phonon frequencies were then computed along the symmetry points &amp;lt;math&amp;gt;W, L, G, W, X, K&amp;lt;/math&amp;gt; in k space. The calculation was set up for 50 Npoints with phonon eigenvectors included in the calculation. For a 3D crystal of diatomic molecules with two atom types, six vibration modes are observed in the phonon dispersion curves (Fig 2). A positive dispersion relation results in optical modes and a negative dispersion relation results in acoustic modes. Two adjacent different atoms move against each other in the optical mode, but move against together in the acoustic mode. The acoustic modes equal 0   cm-1  at the point Γ whereas the optical modes do not. It can seen that there are three acoustic modes and three optical modes. The three acoustic modes can be split into one longitudinal acoustic mode and two transverse acoustic modes. The two transverse modes become degenerate between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;. The phonon dispersion curve agrees with that found in literature&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== The Phonon Density of States: ===&lt;br /&gt;
A simpler energy level diagram than the phonon dispersion relation is the density of states (DOS). The DOS is an average over the time and space demains of the MgO system and was calculated for the phonons as a function of the wave vector k. The dimensional limits of the MgO crystal affects the DOS and therefore it is expected that the DOS will change with the grid size of the MgO crystal.&lt;br /&gt;
&lt;br /&gt;
To begin with the DOS calculation was ran on a 1x1x1 grid, corresponding to a single k point. Comparison between Figure 2 and 3 shows that the single k point is the symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The frequencies of the phonon dispersions are identical in the two graphs. Four peaks instead of six are observed due to the fact that 2 pairs of modes become degenerate between &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. These degenerate modes correspond to the peaks between 250 and 400 cm &amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, explaining why those peaks are double the intensity of the high frequency peaks. It can been seen that a grid size of 1x1x1 is not a good representative of the DOS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_Phonon_DOS_DHL.png|300px|none|thumb|left|Figure 3: MgO Phonon DOS 1x1x1]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_3x3x3_DHL.png|300px|none|thumb|middle|Figure 4: MgO Phonon DOS 3x3x3]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_8x8x8_DHL.png|300px|none|thumb|middle|Figure 5: MgO Phonon DOS 8x8x8]]&lt;br /&gt;
|}&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_phonon_DOS_16x16x16_DHL.png|300px|none|thumb|left|Figure 6: MgO Phonon DOS 16x16x16]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_32x32x32_DHL.png|300px|none|thumb|left|Figure 7: MgO Phonon DOS 32x32x32]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_40x40x40_DHL.png|300px|none|thumb|middle|Figure 8: MgO Phonon DOS 40x40x40]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Several grid sizes were investigated up to 50x50x50 to find a compromise between an accurate DOS and the time taken to run the calculation. As the grid size is an increased a more true depiction of the DOS is obtained for the MgO structure. Increasing the grid size increases the number of peaks and then changes the graph from random sharp intensities to a smoother curve. However, the highest intensity point remains at 400 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; throughout all grid sizes and the higher frequencies having lower intensities. The bigger the grid size, the more k points that are sampled and the more representative the DOS. It can be seen in the figures below that the DOS curve is unchanged between 32x32x32 and 40x40x40, however, the running time increases greatly for the 40x40x40 grid size. Therefore, it was decided that the 32x32x32 grid size was the optimum and used in further calculations.&lt;br /&gt;
&lt;br /&gt;
The size of the grid set in the calculations is inversely related to the size of the structure in real space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This equation shows that the bigger a* (size of grid in k space) the smaller a (size of cell in real space). Therefore the bigger the cell in real space, the smaller the grid size needed for the calculation of DOS. This means that a similar oxide such as CaO will require a similar grid size as MgO for the calculation of DOS. Faujasite, a zeolite, has a lattice parameter in the range 24.2 - 25.1 Å &amp;lt;ref name=&amp;quot;Zeolite&amp;quot;/&amp;gt; and would therefore need a small grid size for the DOS calculation. Lithium, a small metal, has a lattice parameter of 3.51 Å &amp;lt;ref name=&amp;quot;Lithium&amp;quot;/&amp;gt; and would therefore need a large grid size for the DOS calculation to represent its small cell size in real space.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Computing the Free Energy&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Task_3_graph.png|300px|thumb|right|Graph 1: A Graph to show how the Free Energy changes with Grid Size]]&lt;br /&gt;
The Helmholtz Free Energy of MgO was then computed using the quasi-harmonic approximation on the same grid sizes as in the previous section at a temperature of 300K. Helmholtz Free Energy is given by the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A=Helmholtz Free Energy, U=Internal Energy, S=Entropy and T=Temperature&lt;br /&gt;
This states that the Helmholtz Free Energy should increase with increasing internal energy and decreasing temperature and entropy. This said, the Helmholtz Free Energy should decrease with increasing grid size. This can be explained with the aid of the following statistical mechanics equation of entropy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt; where S=Entropy, k=Boltzmann Constant and W=number of microstates&lt;br /&gt;
As the grid size increases the number of microstates sampled also increases. This in turn increases the entropy and decreases the TS term in the Helmholtz Free Energy equation. The decrease in Helmholtz Free Energy can be further explained using the following equation of internal energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt; where U=internal Energy, H=Enthalpy, P=Pressure and V=Volume&lt;br /&gt;
As the grid size increases so does its volume, therefore decreasing the internal energy. This further decreases the Helmholtz Free Energy. It can be seen in Graph 1 that initially the Helmholtz Free Energy increases with grid from 1x1x1 to 3x3x3 and then begins to follow the expected trend and decrease with increasing grid size. Table 1 shows that the accuracy of the Helmholtz Free Energy increases with grid size.&lt;br /&gt;
The Helmholtz Free Energy converges to a value of -40.9265 eV, with the 32x32x32 grid size being the most appropriate to run calculations from, providing the correct Helmholtz Free Energy and a suitable length of time to run the calculation.&lt;br /&gt;
&lt;br /&gt;
For CaO, a similar sized crystal to MgO (lattice constant CaO = 4.811 Å, lattice constant MgO = 4.212 Å)&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;/&amp;gt;, a similar size grid will be required for the calculation of the Helmholtz Free Energy. Faujasite would require a smaller grid size due to its large lattice constant and lithium a larger grid size than MgO due to its small lattice constant.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;The Thermal Expansion of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
=== Quasi-harmonic Approximation: ===&lt;br /&gt;
Using the 32x32x32 grid size of MgO the free energy was then optimised.&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamics: ===&lt;br /&gt;
[[File:32_structure_dhl.png|300px|thumb|left|Figure 10: 32 unit MgO structure used for MD calculations]]&lt;br /&gt;
[[File:32_random_dhl.png|300px|thumb|right|Figure 11: 32 unit MgO structure post MD calculations]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;References&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;&amp;gt; X. Wu, W. Li, W. Rui. Effect of temperature on elastic constants, generalized stacking fault energy and dislocation cores in MgO and CaO. &#039;&#039;Computational Condensed Matter&#039;&#039;. 2014: 38-44. Available from: DOI: 10.1016/j.cocom.2014.10.005&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Zeolite&amp;quot;&amp;gt; J. A Kaduk, J. Faber. Crystal Structure of Zeolite Y as a function of Ion Exchange. &#039;&#039;The Rigaku Journal&#039;&#039;. 1995;12: 14. Available from: http://www.rigaku.com/downloads/journal/Vol12.2.1995/kaduk.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Lithium&amp;quot;&amp;gt; M. R. Nadler, C. P Kempter. Crystallographic Data 186. Lithium. &#039;&#039;Analytical Chemistry&#039;&#039;. 1959;31:2109. Available from: &lt;br /&gt;
DOI: 10.1021/ac60156a007&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;&amp;gt; D. K. Smith, H. R. Leider. Low-Temperature Thermal Expansion of LiH, MgO and CaO. &#039;&#039;Journal of Applied Crystallography&#039;&#039;. 1968;1: 246-249. Available from: DOI: 10.1107/S0021889868005418&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Appendix&amp;lt;/u&amp;gt; ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Grid Size !! Helmholtz Free Energy (eV)!! Accuracy (meV)&lt;br /&gt;
|-&lt;br /&gt;
| 1x1x1 || -40.9303|| 4&lt;br /&gt;
|-&lt;br /&gt;
| 2x2x2 || -40.9266|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 3x3x3 || -40.9264|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 8x8x8 || -40.9265|| 0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16x16x16 || -40.9265|| 0.001&lt;br /&gt;
|-&lt;br /&gt;
| 32x32x32 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 40x40x40 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 50x50x50 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;3&amp;quot; |Table 1: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Grid Size&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Helmholtz Free Energy (eV)&lt;br /&gt;
|-&lt;br /&gt;
| 0 || -40.9019        &lt;br /&gt;
|-&lt;br /&gt;
| 100 || -40.9024&lt;br /&gt;
|-&lt;br /&gt;
| 200 || -40.9094&lt;br /&gt;
|-&lt;br /&gt;
| 300 || -40.9281&lt;br /&gt;
|-&lt;br /&gt;
| 400 || -40.9585&lt;br /&gt;
|-&lt;br /&gt;
| 500 || -40.9994&lt;br /&gt;
|-&lt;br /&gt;
| 600 || -41.0493&lt;br /&gt;
|-&lt;br /&gt;
| 700 || -41.1071&lt;br /&gt;
|-&lt;br /&gt;
| 800 || -41.1719&lt;br /&gt;
|-&lt;br /&gt;
| 900 || -41.2440&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || -41.3198&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 2: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Temperature&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Lattice Constant&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 2.9894      &lt;br /&gt;
|-&lt;br /&gt;
| 100 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 300 || 2.9883&lt;br /&gt;
|-&lt;br /&gt;
| 400 || 2.9894&lt;br /&gt;
|-&lt;br /&gt;
| 500 || 2.9916&lt;br /&gt;
|-&lt;br /&gt;
| 600 || 2.9941&lt;br /&gt;
|-&lt;br /&gt;
| 700 || 2.9968&lt;br /&gt;
|-&lt;br /&gt;
| 800 || 2.9996&lt;br /&gt;
|-&lt;br /&gt;
| 900 || 3.0026&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 3.0056&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 3: Raw Data showing change in&lt;br /&gt;
Lattice Constant with Temperature&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dl2613</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550419</id>
		<title>Rep:Mod:Dl2613</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:Dl2613&amp;diff=550419"/>
		<updated>2016-03-07T17:10:20Z</updated>

		<summary type="html">&lt;p&gt;Dl2613: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== &amp;lt;u&amp;gt;Introduction&amp;lt;/u&amp;gt; ==&lt;br /&gt;
The aim of this experiment was to use a simple model of atomic interactions to calculate the energy and vibrations of a crystal of MgO. This was then used to compute the free energy, phonon dispersions and to predict how MgO expands when heated. The quasi-harmonic approximation (QHA) and molecular dynamics methods were used to do these calculations.&lt;br /&gt;
&lt;br /&gt;
The QHA is a phonon based model of solid-state physics and can describe volume-dependant thermal effects of structures, such as the MgO crystal. This assumption assumes that for every lattice value the harmonic oscillator assumption is true. MD is a type of N-body simulation, it allows atoms and molecules to interact for a fixed period of time showing the dynamics of a system. In this experiment the MD was run on an isothermal-isobaric (NPT) ensemble in which the amount of substance, pressure and temperature are fixed. MD allows motion in three dimensions.&lt;br /&gt;
&lt;br /&gt;
The software used for this experiment was RedHat Linux. DLVisualize (DLV) was used for the visualisation of the structure and properties of the MgO crystal. General Utility Lattice Program (GULP) is a supporting interface of DLV and was used to perform analytical solutions on MgO through the use of lattice dynamics.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Internal Energy Calculation on MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Better_unit_cell.png|300px|thumb|right|Figure 1: MgO Primitive Unit Cell]]&lt;br /&gt;
In this first exercise the internal energy and structure of MgO was calculated using GULP from the primitive unit cell of the crystal. An ionic potential model was used, without shells included and at a single point. The primitive unit cell in the simplest cell to describe the crystal structure of MgO and contains 2 atoms. The lattice vectors of this cell are:&lt;br /&gt;
&lt;br /&gt;
0.0000   2.10597   2.10597&lt;br /&gt;
&lt;br /&gt;
2.10597   0.0000   2.10597&lt;br /&gt;
&lt;br /&gt;
2.10597   2.10597   0.0000&lt;br /&gt;
&lt;br /&gt;
From the [[Media:MgO_0_DHL.out| log file]] it can be seen that the lattice parameters are defined by the length 2.9783Å and the angle 60º, giving the primitive unit cell the shape of a rhombohedron. Each primitive cell was calculated to have an energy of -40.0753 eV and this corresponds to the binding energy of the crystal. The primitive cell can be used to build up a lattice by repeating its structure.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Calculation of phonon modes of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Computing the Phonon Dispersion Curves: ===&lt;br /&gt;
[[File:MgO_Phonon_Dispersion_DHL.png|300px|thumb|left|Figure 2: MgO Phonon Dispersion]]&lt;br /&gt;
The phonon frequencies were then computed along the symmetry points &amp;lt;math&amp;gt;W, L, G, W, X, K&amp;lt;/math&amp;gt; in k space. The calculation was set up for 50 Npoints with phonon eigenvectors included in the calculation. For a 3D crystal of diatomic molecules with two atom types, six vibration modes are observed in the phonon dispersion curves (Fig 2). A positive dispersion relation results in optical modes and a negative dispersion relation results in acoustic modes. Two adjacent different atoms move against each other in the optical mode, but move against together in the acoustic mode. The acoustic modes equal 0   cm-1  at the point Γ whereas the optical modes do not. It can seen that there are three acoustic modes and three optical modes. The three acoustic modes can be split into one longitudinal acoustic mode and two transverse acoustic modes. The two transverse modes become degenerate between &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;. The phonon dispersion curve agrees with that found in literature&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== The Phonon Density of States: ===&lt;br /&gt;
A simpler energy level diagram than the phonon dispersion relation is the density of states (DOS). The DOS is an average over the time and space demains of the MgO system and was calculated for the phonons as a function of the wave vector k. The dimensional limits of the MgO crystal affects the DOS and therefore it is expected that the DOS will change with the grid size of the MgO crystal.&lt;br /&gt;
&lt;br /&gt;
To begin with the DOS calculation was ran on a 1x1x1 grid, corresponding to a single k point. Comparison between Figure 2 and 3 shows that the single k point is the symmetry point &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. The frequencies of the phonon dispersions are identical in the two graphs. Four peaks instead of six are observed due to the fact that 2 pairs of modes become degenerate between &amp;lt;math&amp;gt;W&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. These degenerate modes correspond to the peaks between 250 and 400 cm &amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;, explaining why those peaks are double the intensity of the high frequency peaks. It can been seen that a grid size of 1x1x1 is not a good representative of the DOS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_Phonon_DOS_DHL.png|300px|none|thumb|left|Figure 3: MgO Phonon DOS 1x1x1]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_3x3x3_DHL.png|300px|none|thumb|middle|Figure 4: MgO Phonon DOS 3x3x3]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_8x8x8_DHL.png|300px|none|thumb|middle|Figure 5: MgO Phonon DOS 8x8x8]]&lt;br /&gt;
|}&lt;br /&gt;
{|align=&amp;quot;center&amp;quot;&lt;br /&gt;
|[[File:MgO_phonon_DOS_16x16x16_DHL.png|300px|none|thumb|left|Figure 6: MgO Phonon DOS 16x16x16]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_32x32x32_DHL.png|300px|none|thumb|left|Figure 7: MgO Phonon DOS 32x32x32]]&lt;br /&gt;
|[[File:MgO_phonon_DOS_40x40x40_DHL.png|300px|none|thumb|middle|Figure 8: MgO Phonon DOS 40x40x40]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Several grid sizes were investigated up to 50x50x50 to find a compromise between an accurate DOS and the time taken to run the calculation. As the grid size is an increased a more true depiction of the DOS is obtained for the MgO structure. Increasing the grid size increases the number of peaks and then changes the graph from random sharp intensities to a smoother curve. However, the highest intensity point remains at 400 cm&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; throughout all grid sizes and the higher frequencies having lower intensities. The bigger the grid size, the more k points that are sampled and the more representative the DOS. It can be seen in the figures below that the DOS curve is unchanged between 32x32x32 and 40x40x40, however, the running time increases greatly for the 40x40x40 grid size. Therefore, it was decided that the 32x32x32 grid size was the optimum and used in further calculations.&lt;br /&gt;
&lt;br /&gt;
The size of the grid set in the calculations is inversely related to the size of the structure in real space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; a*= \frac{2\pi}{a}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This equation shows that the bigger a* (size of grid in k space) the smaller a (size of cell in real space). Therefore the bigger the cell in real space, the smaller the grid size needed for the calculation of DOS. This means that a similar oxide such as CaO will require a similar grid size as MgO for the calculation of DOS. Faujasite, a zeolite, has a lattice parameter in the range 24.2 - 25.1 Å &amp;lt;ref name=&amp;quot;Zeolite&amp;quot;/&amp;gt; and would therefore need a small grid size for the DOS calculation. Lithium, a small metal, has a lattice parameter of 3.51 Å &amp;lt;ref name=&amp;quot;Lithium&amp;quot;/&amp;gt; and would therefore need a large grid size for the DOS calculation to represent its small cell size in real space.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Computing the Free Energy&amp;lt;/u&amp;gt; ==&lt;br /&gt;
[[File:Task_3_graph.png|300px|thumb|right|Graph 1: A Graph to show how the Free Energy changes with Grid Size]]&lt;br /&gt;
The Helmholtz Free Energy of MgO was then computed using the quasi-harmonic approximation on the same grid sizes as in the previous section at a temperature of 300K. Helmholtz Free Energy is given by the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; A = U - TS&amp;lt;/math&amp;gt; where A=Helmholtz Free Energy, U=Internal Energy, S=Entropy and T=Temperature&lt;br /&gt;
This states that the Helmholtz Free Energy should increase with increasing internal energy and decreasing temperature and entropy. This said, the Helmholtz Free Energy should decrease with increasing grid size. This can be explained with the aid of the following statistical mechanics equation of entropy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;S=klnW&amp;lt;/math&amp;gt; where S=Entropy, k=Boltzmann Constant and W=number of microstates&lt;br /&gt;
As the grid size increases the number of microstates sampled also increases. This in turn increases the entropy and decreases the TS term in the Helmholtz Free Energy equation. The decrease in Helmholtz Free Energy can be further explained using the following equation of internal energy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; U = H - PV&amp;lt;/math&amp;gt; where U=internal Energy, H=Enthalpy, P=Pressure and V=Volume&lt;br /&gt;
As the grid size increases so does its volume, therefore decreasing the internal energy. This further decreases the Helmholtz Free Energy. It can be seen in Graph 1 that initially the Helmholtz Free Energy increases with grid from 1x1x1 to 3x3x3 and then begins to follow the expected trend and decrease with increasing grid size. Table 1 shows that the accuracy of the Helmholtz Free Energy increases with grid size.&lt;br /&gt;
The Helmholtz Free Energy converges to a value of -40.9265 eV, with the 32x32x32 grid size being the most appropriate to run calculations from, providing the correct Helmholtz Free Energy and a suitable length of time to run the calculation.&lt;br /&gt;
&lt;br /&gt;
For CaO, a similar sized crystal to MgO (lattice constant CaO = 4.811 Å, lattice constant MgO = 4.212 Å)&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;/&amp;gt;, a similar size grid will be required for the calculation of the Helmholtz Free Energy.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;The Thermal Expansion of MgO&amp;lt;/u&amp;gt; ==&lt;br /&gt;
=== Quasi-harmonic Approximation: ===&lt;br /&gt;
&lt;br /&gt;
=== Molecular Dynamics: ===&lt;br /&gt;
[[File:32_structure_dhl.png|300px|thumb|left|Figure 10: 32 unit MgO structure used for MD calculations]]&lt;br /&gt;
[[File:32_random_dhl.png|300px|thumb|right|Figure 11: 32 unit MgO structure post MD calculations]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;References&amp;lt;/u&amp;gt; ==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Phonon Dispersion Curve&amp;quot;&amp;gt; X. Wu, W. Li, W. Rui. Effect of temperature on elastic constants, generalized stacking fault energy and dislocation cores in MgO and CaO. &#039;&#039;Computational Condensed Matter&#039;&#039;. 2014: 38-44. Available from: DOI: 10.1016/j.cocom.2014.10.005&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Zeolite&amp;quot;&amp;gt; J. A Kaduk, J. Faber. Crystal Structure of Zeolite Y as a function of Ion Exchange. &#039;&#039;The Rigaku Journal&#039;&#039;. 1995;12: 14. Available from: http://www.rigaku.com/downloads/journal/Vol12.2.1995/kaduk.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Lithium&amp;quot;&amp;gt; M. R. Nadler, C. P Kempter. Crystallographic Data 186. Lithium. &#039;&#039;Analytical Chemistry&#039;&#039;. 1959;31:2109. Available from: &lt;br /&gt;
DOI: 10.1021/ac60156a007&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;CaO and MgO lattice constant&amp;quot;&amp;gt; D. K. Smith, H. R. Leider. Low-Temperature Thermal Expansion of LiH, MgO and CaO. &#039;&#039;Journal of Applied Crystallography&#039;&#039;. 1968;1: 246-249. Available from: DOI: 10.1107/S0021889868005418&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;u&amp;gt;Appendix&amp;lt;/u&amp;gt; ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Grid Size !! Helmholtz Free Energy (eV)!! Accuracy (meV)&lt;br /&gt;
|-&lt;br /&gt;
| 1x1x1 || -40.9303|| 4&lt;br /&gt;
|-&lt;br /&gt;
| 2x2x2 || -40.9266|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 3x3x3 || -40.9264|| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 8x8x8 || -40.9265|| 0.005&lt;br /&gt;
|-&lt;br /&gt;
| 16x16x16 || -40.9265|| 0.001&lt;br /&gt;
|-&lt;br /&gt;
| 32x32x32 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 40x40x40 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
| 50x50x50 || -40.9265|| n/a&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;3&amp;quot; |Table 1: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Grid Size&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Helmholtz Free Energy (eV)&lt;br /&gt;
|-&lt;br /&gt;
| 0 || -40.9019        &lt;br /&gt;
|-&lt;br /&gt;
| 100 || -40.9024&lt;br /&gt;
|-&lt;br /&gt;
| 200 || -40.9094&lt;br /&gt;
|-&lt;br /&gt;
| 300 || -40.9281&lt;br /&gt;
|-&lt;br /&gt;
| 400 || -40.9585&lt;br /&gt;
|-&lt;br /&gt;
| 500 || -40.9994&lt;br /&gt;
|-&lt;br /&gt;
| 600 || -41.0493&lt;br /&gt;
|-&lt;br /&gt;
| 700 || -41.1071&lt;br /&gt;
|-&lt;br /&gt;
| 800 || -41.1719&lt;br /&gt;
|-&lt;br /&gt;
| 900 || -41.2440&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || -41.3198&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 2: Raw Data showing change in&lt;br /&gt;
Helmholtz Free Energy with Temperature&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Temperature (K) !! Lattice Constant&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 2.9894      &lt;br /&gt;
|-&lt;br /&gt;
| 100 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 200 || 2.9866&lt;br /&gt;
|-&lt;br /&gt;
| 300 || 2.9883&lt;br /&gt;
|-&lt;br /&gt;
| 400 || 2.9894&lt;br /&gt;
|-&lt;br /&gt;
| 500 || 2.9916&lt;br /&gt;
|-&lt;br /&gt;
| 600 || 2.9941&lt;br /&gt;
|-&lt;br /&gt;
| 700 || 2.9968&lt;br /&gt;
|-&lt;br /&gt;
| 800 || 2.9996&lt;br /&gt;
|-&lt;br /&gt;
| 900 || 3.0026&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 3.0056&lt;br /&gt;
|-&lt;br /&gt;
!! colspan=&amp;quot;2&amp;quot; |Table 3: Raw Data showing change in&lt;br /&gt;
Lattice Constant with Temperature&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dl2613</name></author>
	</entry>
</feed>