<?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=Ar3015</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=Ar3015"/>
	<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/wiki/Special:Contributions/Ar3015"/>
	<updated>2026-07-10T22:41:51Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674670</id>
		<title>Rep:Ar3015MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674670"/>
		<updated>2018-02-28T11:31:36Z</updated>

		<summary type="html">&lt;p&gt;Ar3015: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h1&amp;gt;MgO Report - Antonia Reeves&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;Abstract&amp;lt;/h2&amp;gt;&lt;br /&gt;
The thermal expansion coefficient for MgO was investigated using a quasi harmonic approximation and molecular dynamics methods. In the region 0-300 K, the QHA gave a value of &amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt; and molecular dynamics gave a value of &amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;. In the region 300-1300 K, QHA gave a value of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt; and molecular dynamics gave a value of &amp;lt;math&amp;gt;4.000\times 10^{-5[1]}&amp;lt;/math&amp;gt;. In the lower temperature region, the QHA was found to be a better approximation and closer to literature. In the higher region, molecular dynamics was found to be a better approximation. &lt;br /&gt;
&amp;lt;h2&amp;gt;Introduction&amp;lt;/h2&amp;gt;&lt;br /&gt;
In chemistry, it is much easier to treat crystals as rigid structures with set lattice points in unit cells. This can often hold as a good approximation at very low temperatures. However, this is obviously not the case. There are many different vibrations happening throughout the lattice structure leading to thermal expansion. These vibrations can be quantified by using a wave vector - this gives the direction of the propagation of the wave in reciprocal space. To represent reciprocal space, the inverse of the lattice parameter, a, can simply be taken &amp;lt;math&amp;gt;a^* = \frac{2 \pi}{a} ^{[3]}&amp;lt;/math&amp;gt;. This means that the x axis of dispersion plots (k) is simply multiples of a&amp;lt;math&amp;gt;^*&amp;lt;/math&amp;gt;. As MgO is a cubic structure, the lattice parameter is the length of the side of a unit cell. This is calculated by taking the cube root of the volume of the conventional unit cell. This report investigates the effect of temperature on vibrations and size of the lattice structure of MgO. The lattice structure of MgO is face centred cubic. &lt;br /&gt;
&amp;lt;h3&amp;gt;Phonons and phonon dispersions&amp;lt;/h3&amp;gt;&lt;br /&gt;
In quantum chemistry, vibrations can be treated as both particles and waves. When treating vibrations as particles - just as particles of light are photons - they are called phonons. This can be used and a plot of frequency against wave vector can be generated. This effectively gives a plot of the energy against the &#039;the way that vibrations move&#039; which is the k vector. As the phonon dispersion plot investigates the different ways vibrations can take place in the same time, if there were for example only a few atoms, this would give rise to only a few different k points. However, as an infinite lattice is being used, instead of giving quantised k points, a continuous line of k points can be generated, giving rise to a band. One band is called a branch. The number of branches is dependent on the number of different atoms in the lattice. In MgO lattice there are 2 atoms. Using the equation 3N (not 3N-6 as this takes into account rotational and translation degeneracy for single molecules that don&#039;t need to be considered for crystal vibrations) where N is the number of different atoms, this gives 6 branches which can be seen in the phonon dispersion plot in Figure 1. Using the dispersion plots are useful for seeing the frequency vs k vector as a whole, however, makes it difficult to determine pieces of information such as how many states are at a given frequency, and whether there is a direct or indirect band gap. This is simply one way of displaying all of the data - the same data can be displayed as a density of states. Instead of simply giving the angular frequency as a function of the wave vector, a plot of density of states can also show how many states have a given energy at each k vector point. This can show the energy difference in the band gap, and the most densely populated k-states more easily. In order to visualise the density of states, the phonon dispersion is &#039;chopped up&#039; into sections. The number of sections is determined by the grid size (these parameters can be changed in the GULP execution panel. In this, the frequencies at the edge of the grids are taken and plotted (only one side as not to repeat the counting of the frequencies). The higher the grid size, the greater the accuracy of the density of states as this allows a greater number of wave vectors to be sampled. The value of the grid size is called the shrinking factor.&lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal Expansion Coefficient&amp;lt;/h3&amp;gt;&lt;br /&gt;
Using the equation &amp;lt;math&amp;gt;\frac{1}{V_0}\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt; gives the thermal expansion coefficient. This value represents how much a given crystal expands with an increase in temperature.  The &amp;lt;math&amp;gt;\frac{1}{V_0}&amp;lt;/math&amp;gt; term to normalises this value so it can be applied to a crystal of any size which is composed of the same crystal. Below, the different computational methods that can be used to investigate how these properties change with temperature are used.&lt;br /&gt;
&amp;lt;h3&amp;gt;Software used&amp;lt;/h3&amp;gt;&lt;br /&gt;
DLVisualise is the programmed used for modelling crystals in simulations such as this and allows chemists to visualise properties of crystals such as vibrations, energy, volume  and calculates these using wavefunctions of crystals. GULP lets the particular codes for the simulations to be accessed for running simulations. GULP is better for quantum based calculations such as lattice dynamics over molecular dynamics. However force fields for molecular dynamics can still be used and calculate values to output thermodynamic data. &lt;br /&gt;
&amp;lt;h3&amp;gt;Harmonic and Quasi-Harmonic approximations&amp;lt;/h3&amp;gt;&lt;br /&gt;
The harmonic oscillator is simply a taylor expansion of the anhmarmonic potential. The harmonic oscillator takes the third term (quadratic term) giving the harmonic oscillator parabola. When looking at harmonic potential energies, as the temperature is changed, the average bond length stays at an equilibrium point and therefore the volume of the crystal doesn&#039;t change. This means that although this approximation works well at lower temperatures as there is little change in volume at low temperatures in reality, at higher temperatures, harmonic and anharmonic (which is a much more realistic model) deviate a lot, giving unreliable data for higher temperatures. The harmonic potential isn&#039;t a very useful approximation for this experiment as it only uses 3 terms from the taylor series expansion and doesn&#039;t consider bond extension but by comparison the anharmonic potential is expensive and time consuming. This leads to using a quasi-harmonic approximation as a compromise. In the helmholtz free energy equations, the differences in the equations for harmonic and quasi-harmonic plots are in the frequency term. In a harmonic system, equation 3 would be used as the potential. However as the quasi harmonic system is being examined, within the brillouin zone &amp;lt;math&amp;gt;-\pi &amp;lt; k &amp;lt; \pi &amp;lt;/math&amp;gt; equation 1 can be used. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{4J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 1)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{2J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 2)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{1}{2\pi}){\frac{k}{\mu}}^{\frac{1}{2}} &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 3)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Helmholtz Free Energy&amp;lt;/h3&amp;gt;&lt;br /&gt;
[[File:Screen_Shot_2018-02-27_at_10.12.39.png|thumb|centre|Eq. 4]]&amp;lt;math&amp;gt;^2&amp;lt;/math&amp;gt;&lt;br /&gt;
A = U - TS&lt;br /&gt;
&amp;lt;br&amp;gt;In order to look at the energy of the vibrational modes, the vibrational contribution to the entropy is used considering statistical thermodynamics and the partition coefficient. The first term of equation 4 is the internal energy, the second term is the zero point energy (energy at 0K) and the final term is the statistical thermodynamics contribution - the contribution to the energy from the different vibrations. This equation can be derived by using the partition function to derive the entropic term as shown in equation 5. &lt;br /&gt;
[[File:Screen_Shot_2018-02-28_at_08.56.46.png|thumb|centre|Eq. 5]]&amp;lt;math&amp;gt;^{[3]}&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
The molecular dynamics method takes the values from the ideal MgO crystal, then when the parameters are changed, random velocities are generated. This process is repeated at each time step (each a microstate) then all of the microstates are averaged. An average of all of the microstates is carried out, when enough microstates have been sampled, they start to converge and properties of the crystal can start to be measured such as energy and volume. One of the main differences between the quasi-harmonic approximation and molecular dynamics is that quasi-harmonics uses quantum mechanics to calculate the volumes (the change in bond length) and molecular dynamics uses classical mechanics. When sampling a configuration, there needs to be enough time for the values to converge. This is where the length of the timesteps come into play - getting a more accurate value means that the calculations will take much longer and therefore be more expensive. &lt;br /&gt;
&amp;lt;h2&amp;gt;Method&amp;lt;/h2&amp;gt;&lt;br /&gt;
For all of the calculations, the GUI DLVisualise was used. For all calculations, the execute GULP panel was brought up and in the GULP potential parameters, ionic.lib was used and include shells was not included. &lt;br /&gt;
&amp;lt;h3&amp;gt;Lattice vibrations -Computing the phonons&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected, and then run was pressed. Once the job has completed, this shows in the job list and the files were recovered. The energy could be found in the log file under Total Free Energy. &lt;br /&gt;
[[File:MgO_phonon_1.PNG|thumb|centre|Figure 1: MgO Phonon dispersion ]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Calculating the free energy in the Harmonic approximation&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected. Under General Opts, phonon dispersion was selected with N points set to 50 and calculate phonon eigenvectors was selected, so that specific points in k-space (relating to the origin, x direction vectors being in phase etc.) are represented with greek letters. The files were recovered and the phonon dispersion was displayed using the 1D data display. &lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal expansion of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
The settings used for this calculation were, select phonon DOS, change shrinking factor to 20x20x20 and set the temperature from 0-3000 K in 100 K intervals. For each temperature, the free energy and lattice volume were taken from the log file. The volumes were multiplied by 4 as the volume given in the log file is the primitive cell volume. This is also required to calculate the lattice parameter which is simply the cube root of the volume of a conventional cell. &lt;br /&gt;
[[File:MgO_DOS_16x16x16.PNG|thumb|centre|Figure 2: 16x16x16 MgO Density of states]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
For Molecular dynamics, a super cell which is twice the length on every side of the cell was used. This is so the cell is larger and is more similar to &#039;an infinite lattice&#039;. Molecular Dynamics option was selected on the execute panel, the NPT ensemble was chosen, the time step used was 1 femtosecond, equilibration steps of 500, production steps was set to 500 steps and sampling steps and trajectory write steps were set to 5. The temperature used went from 100-3000 K with 100 K interval steps. As the volume of the cell is different to the cell used in the quasi-harmonic approximation, the cell volume taken from the log file (the last average cell volume), the volume was divided by 8 to get the same volume as the conventional cell.&lt;br /&gt;
&amp;lt;h2&amp;gt;Results and discussion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Phonon Modes of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
When the density of states are calculated for a single k point, it can be worked out by examining the phonon dispersion which k point this is. In this case, the 1x1x1 shows the k point L as there are only 4 peaks (2 that have double the intensity due to the double degeneracy) and at L there are only 4 branches where 6 would normally be expected (due to 3N to calculate number of vibrational branches expected). This can also be seen by comparing the frequencies of the peaks in the 1x1x1 DOS and the frequency of the 4 branches at L. This can be checked in the log file as although the character L is useful for helping us to determine the symmetry of the modes of vibrations, it&#039;s always useful to numerically quantify values. This is simply in the row &#039;K point&#039; where the K point is 0.5. It&#039;s important that it can be viewed in the log file as on the phonon dispersion, only greek characters which represent different k points can be seen and it&#039;s not always obvious what numerical value goes with each character. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 1: Density of states - accuracy improved with increased shrinking factor&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_1.PNG|thumb|centre|Figure 3: MgO Density of States 1x1x1 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_3x3x3.PNG|thumb|centre|Figure 4: MgO Density of States 3x3x3 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_8x8x8.PNG|thumb|centre|Figure 5: MgO Density of States 8x8x8 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_32x32x32.PNG|thumb|centre|Figure 6: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from the progression in grid size that as the grid size increases, although the peaks with the greatest intensity stay in the same place, the shape of the density of states becomes much more defined and includes information on the states at k-points even where there is a lower number of states. When looking at the difference between grid sizes qualitatively, there isn&#039;t much of a difference between 8x8x8 and 32x32x32 apart from there is a more continuous curve with the same shape. It seems that a grid size of approximately 12x12x12 would be the minimum grid size as this is the grid size at which all k points are sampled and there aren&#039;t k-points with an angular frequency of 0 which then have non-zero values of angular frequencies at higher grid sizes. However, when deciding quantitatively, the convergence of the free energy can be used. At 20x20x20 and 6 decimal places, the free energy converges suggesting this is the optimum grid size to use. The density of states in terms of the phonon dispersion curve is basically plotting how many k points there are per value of angular frequency. This can be seen more easily by placing them side by side as seen in Figure 7&lt;br /&gt;
[[File:28548481_10215289272734952_157509358_o.jpg|thumb|centre|700px|Figure 7: MgO Density of states and phonon dispersion]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 2: Free energy changing with grid size&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Grid size&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Free energy (eV)&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;1&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.930301&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;2&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926609&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;3&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926432&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;4&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.92645&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;5&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926463&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;6&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926471&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;7&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926475&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;8&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926478&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;12&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926481&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;16&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926482&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;20&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;32&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As having a higher shrinking factor takes longer and more processing power (leads to being more expensive), choosing the shrinking factor becomes a compromise between time and accuracy.  As can be seen in table 2, after the grid size is 20x20x20, the values have converged and don&#039;t change (when looking at 6 decimal places, it may be changing beyond 6 decimal places). This is optimal as it reduces the computing power needed for a calculation whilst retaining almost the same level of accuracy. Using a grid size of 3x3x3 will gives a suitable energy for calculations accurate to 1 meV, grid size of 3x3x3 gives a suitable energy for calculations accurate for 0.5 meV and a grid size of 5x5x5 gives a suitable energy for calculations accurate to 0.1 meV. When deciding on a suitable shrinking factor, it can be useful to consider the lattice parameter. k is simply a function of the lattice parameter where it is represented as a&amp;lt;math&amp;gt;^*&amp;lt;/math&amp;gt;. As the size of a increases, a&amp;lt;math&amp;gt;^*&amp;lt;/math&amp;gt; decreases because of the inversely proportional relationship. In CaO, this lattice structure also has a face centred cubic structure and a similar lattice parameter meaning a similar shrinking factor would be suitable for CaO for the types of calculations carried out in this investigation. The lattice constants shown in this experiment for MgO are around 4 Å. For Faujasite, this has a lattice parameter of around 24-25 Å. As a is much larger, &amp;lt;math&amp;gt;a^*&amp;lt;/math&amp;gt; will be much smaller, meaning a smaller grid size is required. Lithium is the smallest metal in the periodic table. This suggests that it would also have a very small lattice parameter too. If a is small, then a&amp;lt;math&amp;gt;^*&amp;lt;/math&amp;gt; will be large, meaning a large grid size. &lt;br /&gt;
&amp;lt;h3&amp;gt;Quasi-Harmonic Thermal expansion and Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Lattice_Parameter_Graph.png|thumb|centre|Figure 8: Lattice parameter vs temperature]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Free_energy_vs_T.png|thumb|centre|Figure 9: Free energy vs temperature]]&amp;lt;/th&amp;gt; &lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In Figure 9, it can be seen that the free energy is constant, then almost linearly decreases. At very low temperatures, the only main contribution to the free energy is the zero point energy as this is temperature independent. If it is assumed that the internal energy doesn&#039;t change much with temperature, then the TS term will increase in magnitude and decrease the overall free energy term. By looking at equation 4, the vibrational contribution term (also entropic term) is a ln term which will be negative, and again, decrease the overall free energy with an increase in temperature. &lt;br /&gt;
In the graph of lattice parameter vs temperature, the lattice parameter is initially constant and then increases linearly, then exponentially. Using the quasi-harmonic approximation, this gives the potential a &#039;quasi-anharmonic&#039; shape, meaning that the bond length will actually change with temperature but will just never reach the point where it breaks. Although this doesn&#039;t allow phase transitions to be investigated, it does allow the lattice parameter as a function of temperature to be investigated. DLVisualise and GULP doesn&#039;t actually allow simulations past 3000 K because of the infinitely increasing potential.&amp;lt;table style=&amp;quot;width:100%&amp;quot; class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 3: Thermal expansion coefficients&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Temperature range (K)&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Quasi-Harmonic&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Molecular Dynamics&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Literature&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;0-300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.042\times 10^{-5[1]}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;300-1300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.140\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;4.000\times 10^{-5[1]}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-0-300.png|thumb|centre|Figure 10: Quasi Harmonic approximation 0 -300 K ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-300-1300.png|thumb|centre|Figure 11:  Quasi Harmonic approximation 300-1300 K]]&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-Thermal-expansion-100-300.png|thumb|centre|Figure 12: Molecular Dynamics 100-300 K]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-300-1300.png|thumb|centre|Figure 13: Molecular Dynamics 300-1300 K]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
Using the Quasi Harmonic approximation, and fitting the data to get a line of best fit with a gradient of &amp;lt;math&amp;gt;5.697\times 10^{-4}&amp;lt;/math&amp;gt; which is equivalent to &amp;lt;math&amp;gt;\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt;. Multiplying by the reciprocal of the initial volume of the crystal, gives a thermal expansion coefficient for the region of 300-1300 K of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;. This process was then repeated with each of the graphs seen above. As can be seen from Table 3, at lower temperatures, the quasi-harmonic approximation gives a value closer to literature. This is because the quasi-harmonic approximation takes into account the zero point energy at lower temperatures which is the main contributing factor whereas molecular dynamics method doesn&#039;t, giving a linear line much like the second temperature region - it only considers classical mechanics and not quantum mechanics like quasi harmonic approximation which takes into account quantum effects such as the zero point energy. At lower temperatures, the molecular dynamics value had to be taken from the 100-300 K region as GULP gave an error at 0 K. This could be because molecular dynamics depends on the motion/velocity of the atoms. At 0 K, there is no motion meaning no information would be outputted, potentially giving an error. At higher temperatures, it can be seen that molecular dynamics gives a more accurate value compared to literature. This is because quasi harmonic has nearly a parabolic shape where the bond length increases exponentially with temperature. This means the bond length increases infinitely and the bond never breaks - the melting point can never be found using the quasi harmonic approximation. This can be demonstrated by using the thought experiment - what if this were carried out using a diatomic molecule with an exactly harmonic potential. An increase in temperature would cause more vibrations but the average bond length would remain the same due to the energy remaining in the potential well, with the internuclear separation remaining at the equilibrium position. Using the quasi harmonic potential is simply slightly skewed on one side meaning that an increase in temperature increases the bond length. Using the anharmonic potential, this can help to explain the &#039;physical origin&#039; of thermal expansion. As temperature increases, there is more bond vibration leading to greater bond extension (the internuclear separation &#039;goes further up the anharmonic potential plot&#039;. The longer the bonds in the crystal, the larger the volume. &lt;br /&gt;
&lt;br /&gt;
Looking at the molecular dynamics data, it is a lot less stable at higher temperatures than the quasi harmonic approximation graph. This could be due to the fact that there are more potential states at higher temperatures and fewer of them are sampled within the given time frame. This would lead to the average being less stable than those at lower temperatures. This would give a less accurate value and could explain the larger spread of data. &lt;br /&gt;
&amp;lt;h2&amp;gt;Conclusion&amp;lt;/h2&amp;gt;&lt;br /&gt;
This investigation found that the optimum grid size was 20x20x20 when looking at the phonon dispersion of MgO as this is where the free energy converged so gave very little difference between this value and higher values. The thermal expansion coefficient for MgO was investigated using a quasi harmonic approximation and molecular dynamics methods. In the region 0-300 K, the QHA gave a value of &amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt; and molecular dynamics gave a value of &amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;. In the region 300-1300 K, QHA gave a value of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt; and molecular dynamics gave a value of &amp;lt;math&amp;gt;4.000\times 10^{-5[1]}&amp;lt;/math&amp;gt;. In the lower temperature region, the QHA was found to be a better approximation and closer to literature as QHA includes the zero point energy which is the main contributing factor at that temperature. In the higher region, molecular dynamics was found to be a better approximation due to the quasi harmonic approximation not considering the anharmonic effects.&lt;br /&gt;
&amp;lt;h2&amp;gt;References&amp;lt;/h2&amp;gt;&lt;br /&gt;
[1] - Rao, A. S. M., &amp;amp; Narender, K. (2014). Studies on thermophysical properties of CaO and MgO by γ -ray attenuation. Journal of Thermodynamics, 2014. http://doi.org/10.1155/2014/123478&lt;br /&gt;
&amp;lt;br&amp;gt;[2] - Lecture 4: Vibrations and Free Energy N. M. Harrison Imperial College London&lt;br /&gt;
&amp;lt;br&amp;gt;[3] - Atkins, P. W., 2014, Atkins&#039; physical chemistry. Oxford: Oxford Univ. Press&lt;/div&gt;</summary>
		<author><name>Ar3015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674601</id>
		<title>Rep:Ar3015MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674601"/>
		<updated>2018-02-28T10:49:12Z</updated>

		<summary type="html">&lt;p&gt;Ar3015: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h1&amp;gt;MgO Report - Antonia Reeves&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;Abstract&amp;lt;/h2&amp;gt;&lt;br /&gt;
The thermal expansion coefficient for MgO was investigated using a quasi harmonic approximation and molecular dynamics methods. In the region 0-300 K, the QHA gave a value of &amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt; and molecular dynamics gave a value of &amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;. In the region 300-1300 K, QHA gave a value of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt; and molecular dynamics gave a value of &amp;lt;math&amp;gt;4.000\times 10^{-5[1]}&amp;lt;/math&amp;gt;. In the lower temperature region, the QHA was found to be a better approximation and closer to literature. In the higher region, molecular dynamics was found to be a better approximation. &lt;br /&gt;
&amp;lt;h2&amp;gt;Introduction&amp;lt;/h2&amp;gt;&lt;br /&gt;
In chemistry, it is much easier to treat crystals as rigid structures with set lattice points in unit cells. This can often hold as a good approximation at very low temperatures. However, this is obviously not the case. There are many different vibrations happening throughout the lattice structure leading to thermal expansion. These vibrations can be quantified by using a wave vector - this gives the direction of the propagation of the wave in reciprocal space. To represent reciprocal space, the inverse of the lattice parameter, a, can simply be taken &amp;lt;math&amp;gt;a^* = \frac{2 \pi}{a} ^{[3]}&amp;lt;/math&amp;gt;. This means that the x axis of dispersion plots (k) is simply multiples of a&amp;lt;math&amp;gt;^*&amp;lt;/math&amp;gt;. This report investigates the effect of temperature on vibrations and size of the lattice structure of MgO. The lattice structure of MgO is face centred cubic. &lt;br /&gt;
&amp;lt;h3&amp;gt;Phonons and phonon dispersions&amp;lt;/h3&amp;gt;&lt;br /&gt;
In quantum chemistry, vibrations can be treated as both particles and waves. When treating vibrations as particles - just as particles of light are photons - they are called phonons. This can be used and a plot of frequency against wave vector can be generated. This effectively gives a plot of the energy against the &#039;the way that vibrations move&#039; which is the k vector. As the phonon dispersion plot investigates the different ways vibrations can take place in the same time, if there were for example only a few atoms, this would give rise to only a few different k points. However, as an infinite lattice is being used, instead of giving quantised k points, a continuous line of k points can be generated, giving rise to a band. One band is called a branch. The number of branches is dependent on the number of different atoms in the lattice. In MgO lattice there are 2 atoms. Using the equation 3N (not 3N-6 as this takes into account rotational and translation degeneracy for single molecules that don&#039;t need to be considered for crystal vibrations) where N is the number of different atoms, this gives 6 branches which can be seen in the phonon dispersion plot in Figure 1. Using the dispersion plots are useful for seeing the frequency vs k vector as a whole, however, makes it difficult to determine pieces of information such as how many states are at a given frequency, and whether there is a direct or indirect band gap. This is simply one way of displaying all of the data - the same data can be displayed as a density of states. Instead of simply giving the angular frequency as a function of the wave vector, a plot of density of states can also show how many states have a given energy at each k vector point. This can show the energy difference in the band gap, and the most densely populated k-states more easily. In order to visualise the density of states, the phonon dispersion is &#039;chopped up&#039; into sections. The number of sections is determined by the grid size (these parameters can be changed in the GULP execution panel. In this, the frequencies at the edge of the grids are taken and plotted (only one side as not to repeat the counting of the frequencies). The higher the grid size, the greater the accuracy of the density of states as this allows a greater number of wave vectors to be sampled. The value of the grid size is called the shrinking factor.&lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal Expansion Coefficient&amp;lt;/h3&amp;gt;&lt;br /&gt;
Using the equation &amp;lt;math&amp;gt;\frac{1}{V_0}\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt; gives the thermal expansion coefficient. This value represents how much a given crystal expands with an increase in temperature.  The &amp;lt;math&amp;gt;\frac{1}{V_0}&amp;lt;/math&amp;gt; term to normalises this value so it can be applied to a crystal of any size which is composed of the same crystal. Below, the different computational methods that can be used to investigate how these properties change with temperature are used.&lt;br /&gt;
&amp;lt;h3&amp;gt;Software used&amp;lt;/h3&amp;gt;&lt;br /&gt;
DLVisualise is the programmed used for modelling crystals in simulations such as this and allows chemists to visualise properties of crystals such as vibrations, energy, volume  and calculates these using wavefunctions of crystals - GULP lets the particular codes for the simulations to be accessed for running simulations. GULP is better for quantum based calculations such as lattice dynamics over molecular dynamics. However force fields for molecular dynamics can still be used and calculate values to output thermodynamic data. &lt;br /&gt;
&amp;lt;h3&amp;gt;Harmonic and Quasi-Harmonic approximations&amp;lt;/h3&amp;gt;&lt;br /&gt;
The harmonic oscillator is simply a taylor expansion of anhmarmonic potential. The harmonic oscillator takes the third term (quadratic term) giving the easily the harmonic oscillator parabola. When looking at harmonic potential energies, as the temperature is changed, the average bond length stays at an equilibrium point and therefore the volume of the crystal doesn&#039;t change. This means that although this approximation works well at lower temperatures as there is little change in volume at low temperatures in reality, at higher temperatures, harmonic and anharmonic (which is a much more realistic model) deviate a lot, giving unreliable data for higher temperatures. A compromise between harmonic which isn&#039;t a very reliable approximation as it only uses 3 terms from the taylor series expansion and using an anharmonic which uses many terms and will be very expensive is using a quasi-harmonic approximation. In the helmholtz free energy equations, the differences in the equations for harmonic and quasi-harmonic plots are in the frequency term. In a harmonic system, equation 3 would be used as the potential. However as the quasi harmonic system is being examined, within the brillouin zone &amp;lt;math&amp;gt;-\pi &amp;lt; k &amp;lt; \pi &amp;lt;/math&amp;gt; equation 1 can be used. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{4J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 1)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{2J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 2)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{1}{2\pi}){\frac{k}{\mu}}^{\frac{1}{2}} &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 3)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Helmholtz Free Energy&amp;lt;/h3&amp;gt;&lt;br /&gt;
[[File:Screen_Shot_2018-02-27_at_10.12.39.png|thumb|centre|Eq. 4]]&amp;lt;math&amp;gt;^2&amp;lt;/math&amp;gt;&lt;br /&gt;
A = U - TS&lt;br /&gt;
&amp;lt;br&amp;gt;In order to look at the energy of the vibrational modes, the vibrational contribution to the entropy is used considering statistical thermodynamics and the partition coefficient. &lt;br /&gt;
The first term of equation 4 is the internal energy, the second term is the zero point energy (energy at 0K) and the final term is the statistical thermodynamics contribution - the contribution to the energy from the different vibrations.&lt;br /&gt;
This equation can be derived by using the partition function to derive the entropic term as shown in equation 5. &lt;br /&gt;
[[File:Screen_Shot_2018-02-28_at_08.56.46.png|thumb|centre|Eq. 5]]&amp;lt;math&amp;gt;^{[3]}&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
The molecular dynamics method takes the values from the ideal MgO crystal, then when the parameters are changed, random velocities are generated. This process is repeated at each time step (each a microstate) then all of the microstates are averaged. An average of all of the microstates is carried out, when enough microstates have been sampled, they start to converge and properties of the crystal can start to be measured such as energy and volume. One of the main differences between the quasi-harmonic approximation and molecular dynamics is that quasi-harmonics uses quantum mechanics to calculate the volumes (the change in bond length) and molecular dynamics uses classical mechanics. When sampling a configuration, there needs to be enough time for the values to converge. This is where the length of the timesteps come into play - getting a more accurate value means that the calculations will take much longer and therefore be more expensive. &lt;br /&gt;
&amp;lt;h2&amp;gt;Method&amp;lt;/h2&amp;gt;&lt;br /&gt;
For all of the calculations, the GUI DLVisualise was used. For all calculations, the execute GULP panel was brought up and in the GULP potential parameters, ionic.lib was used and include shells was not included. &lt;br /&gt;
&amp;lt;h3&amp;gt;Lattice vibrations -Computing the phonons&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected, and then run was pressed. Once the job has completed, this shows in the job list and the files were recovered. The energy could be found in the log file under Total Free Energy. &lt;br /&gt;
[[File:MgO_phonon_1.PNG|thumb|centre|Figure 1: MgO Phonon dispersion ]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Calculating the free energy in the Harmonic approximation&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected. Under General Opts, phonon dispersion was selected with N points set to 50 and calculate phonon eigenvectors was selected, so that specific points in k-space (relating to the origin, x direction vectors being in phase etc.) are represented with greek letters. The files were recovered and the phonon dispersion was displayed using the 1D data display. &lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal expansion of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
The settings used for this calculation were, select phonon DOS, change shrinking factor to 20x20x20 and set the temperature from 0-3000 K in 100 K intervals. For each temperature, the free energy and lattice volume were taken from the log file. The volumes were multiplied by 4 as the volume given in the log file is the primitive cell volume. This is also required to calculate the lattice parameter which is simply the cube root of the volume of a conventional cell. &lt;br /&gt;
[[File:MgO_DOS_16x16x16.PNG|thumb|centre|Figure 2: 16x16x16 MgO Density of states]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
For Molecular dynamics, a super cell which is twice the length on every side of the cell was used. This is so the cell is larger and is more similar to &#039;an infinite lattice&#039;. Molecular Dynamics option was selected on the execute panel, the NPT ensemble was chosen, the time step used was 1 femtosecond, equilibration steps of 500, production steps was set to 500 steps and sampling steps and trajectory write steps were set to 5. The temperature used went from 100-3000 K with 100 K interval steps. As the volume of the cell is different to the cell used in the quasi-harmonic approximation, the cell volume taken from the log file (the last average cell volume), the volume was divided by 8 to get the same volume as the conventional cell for the quasi-harmonic approximation.&lt;br /&gt;
&amp;lt;h2&amp;gt;Results and discussion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Phonon Modes of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
When the density of states for calculated for a single k point, it can be worked out by examining the phonon dispersion which k point this is. In this case, the point is L as there are only 4 peaks (2 that have double the intensity due to the double degeneracy) and at L there are only 4 branches where 6 would normally be expected(due to 3N to calculate number of vibrational branches expected). This can also be seen by comparing the frequencies of the peaks in the 1x1x1 DOS and the frequency of the 4 branches at L. This can be checked in the log file as although the character L is useful for helping us to determine the symmetry of the modes of vibrations, it&#039;s always useful to numerically quantify values. This is simply in the row &#039;K point&#039; where the K point is 0.5. It&#039;s important that it can be viewed in the log file as on the phonon dispersion, only greek characters which represent different k points can be seen and it&#039;s not always obvious what numerical value goes with each character. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 1: Density of states - accuracy improved with increased shrinking factor&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_1.PNG|thumb|centre|Figure 3: MgO Density of States 1x1x1 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_3x3x3.PNG|thumb|centre|Figure 4: MgO Density of States 3x3x3 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_8x8x8.PNG|thumb|centre|Figure 5: MgO Density of States 8x8x8 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_32x32x32.PNG|thumb|centre|Figure 6: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from the progression in grid size that as the grid size increases, although the peaks with the greatest intensity stay in the same place, the shape of the density of states becomes much more defined and includes information on the states at k-points even where there is a lower number of states. When looking at the difference between grid sizes qualitatively, there isn&#039;t much of a difference between 8x8x8 and 32x32x32 apart from there is a more continuous curve with the same shape. It seems that a grid size of approximately 12x12x12 would be the minimum grid size as this is the grid size at which all k points are sampled and there aren&#039;t k-points with an angular frequency of 0 which then have non-zero values of angular frequencies at higher grid sizes. However, when deciding qualitatively, the convergence of the free energy can be used. At 20x20x20 and 6 decimal places, the free energy converges suggesting this is the optimum grid size to use. The density of states in terms of the phonon dispersion curve is basically plotting how many k points there are per value of angular frequency. This can be seen more easily by placing them side by side as seen in Figure 7&lt;br /&gt;
[[File:28548481_10215289272734952_157509358_o.jpg|thumb|centre|700px|Figure 7: MgO Density of states and phonon dispersion]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 2: Free energy changing with grid size&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Grid size&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Free energy (eV)&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;1&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.930301&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;2&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926609&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;3&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926432&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;4&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.92645&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;5&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926463&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;6&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926471&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;7&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926475&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;8&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926478&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;12&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926481&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;16&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926482&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;20&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;32&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In order to determine a suitable shrinking factor, a number of grid sizes were investigated with the highest being 32x32x32. As having a higher shrinking factor takes longer and more processing power (leads to being more expensive), choosing the shrinking factor becomes a compromise between time and accuracy. As can be seen from Table 2, the Helmholtz free energy stops changing after a grid size of 20x20x20 so this seemed like a reasonable value to use as not to compromise the accuracy for a quicker run time.&lt;br /&gt;
As can be seen in table 2, after the grid size is 20x20x20, the values have converged and don&#039;t change (when looking at 6 decimal places, it may be changing beyond 6 decimal places). This is optimal as it reduces the computing power needed for a calculation whilst retaining almost the same level of accuracy. Using a grid size of 3x3x3 will gives a suitable energy for calculations accurate to 1 meV, grid size of 3x3x3 gives a suitable energy for calculations accurate for 0.5 meV and a grid size of 5x5x5 gives a suitable energy for calculations accurate to 0.1 meV. When deciding on a suitable shrinking factor, it can be useful to consider the lattice parameter. k is simply a function of the lattice parameter where it is represented as a&amp;lt;math&amp;gt;^*&amp;lt;/math&amp;gt;. As the size of a increases, a&amp;lt;math&amp;gt;^*&amp;lt;/math&amp;gt; decreases because of the inversely proportional relationship. In CaO, this lattice structure also has a face centred cubic structure and a similar lattice parameter meaning a similar shrinking factor would be suitable for CaO for the types of calculations carried out in this investigation. The lattice constants shown in this experiment for MgO are around 4A. For Faujasite, this has a lattice parameter of around 24-25A. As a is much larger, &amp;lt;math&amp;gt;a^*&amp;lt;/math&amp;gt; will be much smaller, meaning a smaller grid size is required. Lithium is the smallest metal in the periodic table. This suggests that it would also have a very small lattice parameter too. If a is small, then a&amp;lt;math&amp;gt;^*&amp;lt;/math&amp;gt; will be large, meaning a large grid size. &lt;br /&gt;
&amp;lt;h3&amp;gt;Quasi-Harmonic Thermal expansion and Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Lattice_Parameter_Graph.png|thumb|centre|Figure 8: Lattice parameter vs temperature]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Free_energy_vs_T.png|thumb|centre|Figure 9: Free energy vs temperature]]&amp;lt;/th&amp;gt; &lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In Figure 9, it can be seen that the free energy is constant, then almost linearly decreases. At very low temperatures, the only main contribution to the free energy is the zero point energy as this is temperature independent. At around 400 K (where the free energy starts to decrease). This can be explained by looking at equation 4 as when the temperature increases, the entropic contribution increases. If it is assumed that the internal energy doesn&#039;t change much with temperature, then the TS term will increase in magnitude and decrease the overall free energy term. By looking at equation 4, the vibrational contribution term (also entropic term) is a ln term which will be negative, and again, decrease the overall free energy with an increase in temperature. &lt;br /&gt;
In the graph of lattice parameter vs temperature, the lattice parameter is initially constant and then increases linearly, then exponentially. Using the quasi-harmonic approximation, this gives the potential a &#039;quasi-anharmonic&#039; shape, meaning that the bond length will actually change with temperature but will just never reach the point where it breaks. Although this doesn&#039;t allow phase transitions to be investigated, it does allow the lattice parameter as a function of temperature to be investigated. DLVisualise and GULP doesn&#039;t actually allow simulations past 3000 K because of the infinitely increase potential.&lt;br /&gt;
&lt;br /&gt;
Using the Quasi Harmonic approximation, and fitting the data to get a line of best fit with a gradient of &amp;lt;math&amp;gt;5.697\times 10^{-4}&amp;lt;/math&amp;gt; which is equivalent to &amp;lt;math&amp;gt;\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt;. Multiplying by the reciprocal of the initial volume of the crystal, gives a thermal expansion coefficient for the region of 300-1300 K of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;. By taking the value from lower temperatures, this gives a higher accuracy compared to the &#039;real value&#039;. This is because of the computational model that is being used. This model is quasi-harmonic which is based on the harmonic model. The harmonic oscillator is infinite and the bond between two atoms infinitely extends. However, at high temperatures this is not the reality. The bonds extend and break which is shown by the anharmonic model. Using the anharmonic potential, this can help to explain the &#039;physical origin&#039; of thermal expansion. As temperature increases, there is more bond vibration leading to greater bond extension (the internuclear separation &#039;goes further up the anharmonic potential plot). The longer the bonds in the crystal, the larger the volume. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot; class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 3: Thermal expansion coefficients&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Temperature range (K)&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Quasi-Harmonic&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Molecular Dynamics&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Literature&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;0-300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.042\times 10^{-5[1]}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;300-1300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.140\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;4.000\times 10^{-5[1]}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-0-300.png|thumb|centre|Figure 10: Quasi Harmonic approximation 0 -300 K ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-300-1300.png|thumb|centre|Figure 11:  Quasi Harmonic approximation 300-1300 K]]&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-Thermal-expansion-100-300.png|thumb|centre|Figure 12: Molecular Dynamics 100-300 K]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-300-1300.png|thumb|centre|Figure 13: Molecular Dynamics 300-1300 K]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from Table 3, at lower temperatures, the quasi-harmonic approximation gives a value closer to literature. This is because the quasi-harmonic approximation takes into account the zero point energy at lower temperatures which is the main contributing factor whereas molecular dynamics method doesn&#039;t giving a linear line much like the second temperature region - it only considers classical mechanics and not quantum mechanics like quasi-harmonic approximation which takes into account quantum effects such as the zero point energy. At lower temperatures, the molecular dynamics value had to be taken from the 100-300 K region as GULP gave an error at 0 K. This could be because molecular dynamics depends on the motion/velocity of the atoms. At 0 K, there is no motion meaning no information would be outputted, potentially giving an error. At higher temperatures, it can be seen that molecular dynamics gives a more accurate value compared to literature. This is because quasi-harmonic has a parabolic shape where the bond length increases exponentially with temperature. This means the bond length increases infinitely and the bond never breaks - the melting point can never be found using the quasi harmonic approximation. This can be demonstrated by using the thought experiment - what if this were carried out using a diatomic molecule with an exactly harmonic potential. An increase in temperature would cause more vibrations but the average bond length would remain the same due to the energy remaining in the potential well, with the internuclear separation remaining at the equilibrium position. Using the quasi harmonic potential is simply slightly skewed on one side meaning that an increase in temperature increases the bond length. &lt;br /&gt;
&lt;br /&gt;
Looking at the molecular dynamics data, it is a lot less stable than the quasi harmonic approximation graph. This could be due to the fact that there are more potential states at higher temperatures and fewer of them are sampled within the given time frame. This would lead to the average being less stable than those at lower temperatures. This would give a less accurate value and could explain the larger spread of data. &lt;br /&gt;
&amp;lt;h2&amp;gt;Conclusion&amp;lt;/h2&amp;gt;&lt;br /&gt;
This investigation found that the optimum grid size was 20x20x20 when looking at the phonon dispersion of MgO as this is where the free energy converged so gave very little difference between this value and higher values. The thermal expansion coefficient for MgO was investigated using a quasi harmonic approximation and molecular dynamics methods. In the region 0-300 K, the QHA gave a value of &amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt; and molecular dynamics gave a value of &amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;. In the region 300-1300 K, QHA gave a value of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt; and molecular dynamics gave a value of &amp;lt;math&amp;gt;4.000\times 10^{-5[1]}&amp;lt;/math&amp;gt;. In the lower temperature region, the QHA was found to be a better approximation and closer to literature as QHA includes the zero point energy which is the main contributing factor at that temperature. In the higher region, molecular dynamics was found to be a better approximation due to the quasi harmonic approximation not considering the anharmonic effects.&lt;br /&gt;
&amp;lt;h2&amp;gt;References&amp;lt;/h2&amp;gt;&lt;br /&gt;
[1] - Rao, A. S. M., &amp;amp; Narender, K. (2014). Studies on thermophysical properties of CaO and MgO by γ -ray attenuation. Journal of Thermodynamics, 2014. http://doi.org/10.1155/2014/123478&lt;br /&gt;
&amp;lt;br&amp;gt;[2] - Lecture 4: Vibrations and Free Energy N. M. Harrison Imperial College London&lt;br /&gt;
&amp;lt;br&amp;gt;[3] - Atkins, P. W., 2014, Atkins&#039; physical chemistry. Oxford: Oxford Univ. Press&lt;/div&gt;</summary>
		<author><name>Ar3015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674595</id>
		<title>Rep:Ar3015MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674595"/>
		<updated>2018-02-28T10:47:04Z</updated>

		<summary type="html">&lt;p&gt;Ar3015: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h1&amp;gt;MgO Report - Antonia Reeves&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;Abstract&amp;lt;/h2&amp;gt;&lt;br /&gt;
The thermal expansion coefficient for MgO was investigated using a quasi harmonic approximation and molecular dynamics methods. In the region 0-300 K, the QHA gave a value of &amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt; and molecular dynamics gave a value of &amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;. In the region 300-1300 K, QHA gave a value of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt; and molecular dynamics gave a value of &amp;lt;math&amp;gt;4.000\times 10^{-5[1]}&amp;lt;/math&amp;gt;. In the lower temperature region, the QHA was found to be a better approximation and closer to literature. In the higher region, molecular dynamics was found to be a better approximation. &lt;br /&gt;
&amp;lt;h2&amp;gt;Introduction&amp;lt;/h2&amp;gt;&lt;br /&gt;
In chemistry, it is much easier to treat crystals as rigid structures with set lattice points in unit cells. This can often hold as a good approximation at very low temperatures. However, this is obviously not the case. There are many different vibrations happening throughout the lattice structure leading to thermal expansion. These vibrations can be quantified by using a wave vector - this gives the direction of the propagation of the wave in reciprocal space. To represent reciprocal space, the inverse of the lattice parameter, a, can simply be taken &amp;lt;math&amp;gt;a^* = \frac{2 \pi}{a} ^{[3]}&amp;lt;/math&amp;gt;. This means that the x axis of dispersion plots (k) is simply multiples of a&amp;lt;math&amp;gt;^*&amp;lt;/math&amp;gt;. This report investigates the effect of temperature on vibrations and size of the lattice structure of MgO. The lattice structure of MgO is face centred cubic. &lt;br /&gt;
&amp;lt;h3&amp;gt;Phonons and phonon dispersions&amp;lt;/h3&amp;gt;&lt;br /&gt;
In quantum chemistry, vibrations can be treated as both particles and waves. When treating vibrations as particles - just as particles of light are photons - they are called phonons. This can be used and a plot of frequency against wave vector can be generated. This effectively gives a plot of the energy against the &#039;the way that vibrations move&#039; which is the k vector. As the phonon dispersion plot investigates the different ways vibrations can take place in the same time, if there were for example only a few atoms, this would give rise to only a few different k points. However, as an infinite lattice is being used, instead of giving quantised k points, a continuous line of k points can be generated, giving rise to a band. One band is called a branch. The number of branches is dependent on the number of different atoms in the lattice. In MgO lattice there are 2 atoms. Using the equation 3N (not 3N-6 as this takes into account rotational and translation degeneracy for single molecules that don&#039;t need to be considered for crystal vibrations) where N is the number of different atoms, this gives 6 branches which can be seen in the phonon dispersion plot in Figure 1. Using the dispersion plots are useful for seeing the frequency vs k vector as a whole, however, makes it difficult to determine pieces of information such as how many states are at a given frequency, and whether there is a direct or indirect band gap. This is simply one way of displaying all of the data - the same data can be displayed as a density of states. Instead of simply giving the angular frequency as a function of the wave vector, a plot of density of states can also show how many states have a given energy at each k vector point. This can show the energy difference in the band gap, and the most densely populated k-states more easily. In order to visualise the density of states, the phonon dispersion is &#039;chopped up&#039; into sections. The number of sections is determined by the grid size (these parameters can be changed in the GULP execution panel. In this, the frequencies at the edge of the grids are taken and plotted (only one side as not to repeat the counting of the frequencies). The higher the grid size, the greater the accuracy of the density of states as this allows a greater number of wave vectors to be sampled. The value of the grid size is called the shrinking factor.&lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal Expansion Coefficient&amp;lt;/h3&amp;gt;&lt;br /&gt;
Using the equation &amp;lt;math&amp;gt;\frac{1}{V_0}\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt; gives the thermal expansion coefficient. This value represents how much a given crystal expands with an increase in temperature.  The &amp;lt;math&amp;gt;\frac{1}{V_0}&amp;lt;/math&amp;gt; term to normalises this value so it can be applied to a crystal of any size which is composed of the same crystal. Below, the different computational methods that can be used to investigate how these properties change with temperature are used.&lt;br /&gt;
&amp;lt;h3&amp;gt;Software used&amp;lt;/h3&amp;gt;&lt;br /&gt;
DLVisualise is the programmed used for modelling crystals in simulations such as this and allows chemists to visualise properties of crystals such as vibrations, energy, volume  and calculates these using wavefunctions of crystals - GULP lets the particular codes for the simulations to be accessed for running simulations. GULP is better for quantum based calculations such as lattice dynamics over molecular dynamics. However force fields for molecular dynamics can still be used and calculate values to output thermodynamic data. &lt;br /&gt;
&amp;lt;h3&amp;gt;Harmonic and Quasi-Harmonic approximations&amp;lt;/h3&amp;gt;&lt;br /&gt;
The harmonic oscillator is simply a taylor expansion of anhmarmonic potential. The harmonic oscillator takes the third term (quadratic term) giving the easily the harmonic oscillator parabola. When looking at harmonic potential energies, as the temperature is changed, the average bond length stays at an equilibrium point and therefore the volume of the crystal doesn&#039;t change. This means that although this approximation works well at lower temperatures as there is little change in volume at low temperatures in reality, at higher temperatures, harmonic and anharmonic (which is a much more realistic model) deviate a lot, giving unreliable data for higher temperatures. A compromise between harmonic which isn&#039;t a very reliable approximation as it only uses 3 terms from the taylor series expansion and using an anharmonic which uses many terms and will be very expensive is using a quasi-harmonic approximation. In the helmholtz free energy equations, the differences in the equations for harmonic and quasi-harmonic plots are in the frequency term. In a harmonic system, equation 3 would be used as the potential. However as the quasi harmonic system is being examined, within the brillouin zone &amp;lt;math&amp;gt;-\pi &amp;lt; k &amp;lt; \pi &amp;lt;/math&amp;gt; equation 1 can be used. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{4J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 1)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{2J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 2)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{1}{2\pi}){\frac{k}{\mu}}^{\frac{1}{2}} &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 3)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Helmholtz Free Energy&amp;lt;/h3&amp;gt;&lt;br /&gt;
[[File:Screen_Shot_2018-02-27_at_10.12.39.png|thumb|centre|Eq. 4]]&amp;lt;math&amp;gt;^2&amp;lt;/math&amp;gt;&lt;br /&gt;
A = U - TS&lt;br /&gt;
In order to look at the energy of the vibrational modes, the vibrational contribution to the entropy is used considering statistical thermodynamics and the partition coefficient. &lt;br /&gt;
The first term of equation 4 is the internal energy, the second term is the zero point energy (energy at 0K) and the final term is the statistical thermodynamics contribution - the contribution to the energy from the different vibrations.&lt;br /&gt;
This equation can be derived by using the partition function to derive the entropic term as shown in equation 5. &lt;br /&gt;
[[File:Screen_Shot_2018-02-28_at_08.56.46.png|thumb|centre|Eq. 5]]&amp;lt;math&amp;gt;^{[3]}&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
The molecular dynamics method takes the values from the ideal MgO crystal, then when the parameters are changed, random velocities are generated. This process is repeated at each time step (each a microstate) then all of the microstates are averaged. An average of all of the microstates is carried out, when enough microstates have been sampled, they start to converge and properties of the crystal can start to be measured such as energy and volume. One of the main differences between the quasi-harmonic approximation and molecular dynamics is that quasi-harmonics uses quantum mechanics to calculate the volumes (the change in bond length) and molecular dynamics uses classical mechanics. When sampling a configuration, there needs to be enough time for the values to converge. This is where the length of the timesteps come into play - getting a more accurate value means that the calculations will take much longer and therefore be more expensive. &lt;br /&gt;
&amp;lt;h2&amp;gt;Method&amp;lt;/h2&amp;gt;&lt;br /&gt;
For all of the calculations, the GUI DLVisualise was used. For all calculations, the execute GULP panel was brought up and in the GULP potential parameters, ionic.lib was used and include shells was not included. &lt;br /&gt;
&amp;lt;h3&amp;gt;Lattice vibrations -Computing the phonons&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected, and then run was pressed. Once the job has completed, this shows in the job list and the files were recovered. The energy could be found in the log file under Total Free Energy. &lt;br /&gt;
[[File:MgO_phonon_1.PNG|thumb|centre|Figure 1: MgO Phonon dispersion ]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Calculating the free energy in the Harmonic approximation&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected. Under General Opts, phonon dispersion was selected with N points set to 50 and calculate phonon eigenvectors was selected, so that specific points in k-space (relating to the origin, x direction vectors being in phase etc.) are represented with greek letters. The files were recovered and the phonon dispersion was displayed using the 1D data display. &lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal expansion of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
The settings used for this calculation were, select phonon DOS, change shrinking factor to 20x20x20 and set the temperature from 0-3000 K in 100 K intervals. For each temperature, the free energy and lattice volume were taken from the log file. The volumes were multiplied by 4 as the volume given in the log file is the primitive cell volume. This is also required to calculate the lattice parameter which is simply the cube root of the volume of a conventional cell. &lt;br /&gt;
[[File:MgO_DOS_16x16x16.PNG|thumb|centre|Figure 2: 16x16x16 MgO Density of states]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
For Molecular dynamics, a super cell which is twice the length on every side of the cell was used. This is so the cell is larger and is more similar to &#039;an infinite lattice&#039;. Molecular Dynamics option was selected on the execute panel, the NPT ensemble was chosen, the time step used was 1 femtosecond, equilibration steps of 500, production steps was set to 500 steps and sampling steps and trajectory write steps were set to 5. The temperature used went from 100-3000 K with 100 K interval steps. As the volume of the cell is different to the cell used in the quasi-harmonic approximation, the cell volume taken from the log file (the last average cell volume), the volume was divided by 8 to get the same volume as the conventional cell for the quasi-harmonic approximation.&lt;br /&gt;
&amp;lt;h2&amp;gt;Results and discussion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Phonon Modes of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
When the density of states for calculated for a single k point, it can be worked out by examining the phonon dispersion which k point this is. In this case, the point is L as there are only 4 peaks (2 that have double the intensity due to the double degeneracy) and at L there are only 4 branches where 6 would normally be expected(due to 3N to calculate number of vibrational branches expected). This can also be seen by comparing the frequencies of the peaks in the 1x1x1 DOS and the frequency of the 4 branches at L. This can be checked in the log file as although the character L is useful for helping us to determine the symmetry of the modes of vibrations, it&#039;s always useful to numerically quantify values. This is simply in the row &#039;K point&#039; where the K point is 0.5. It&#039;s important that it can be viewed in the log file as on the phonon dispersion, only greek characters which represent different k points can be seen and it&#039;s not always obvious what numerical value goes with each character. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 1: Density of states - accuracy improved with increased shrinking factor&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_1.PNG|thumb|centre|Figure 3: MgO Density of States 1x1x1 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_3x3x3.PNG|thumb|centre|Figure 4: MgO Density of States 3x3x3 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_8x8x8.PNG|thumb|centre|Figure 5: MgO Density of States 8x8x8 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_32x32x32.PNG|thumb|centre|Figure 6: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from the progression in grid size that as the grid size increases, although the peaks with the greatest intensity stay in the same place, the shape of the density of states becomes much more defined and includes information on the states at k-points even where there is a lower number of states. When looking at the difference between grid sizes qualitatively, there isn&#039;t much of a difference between 8x8x8 and 32x32x32 apart from there is a more continuous curve with the same shape. It seems that a grid size of approximately 12x12x12 would be the minimum grid size as this is the grid size at which all k points are sampled and there aren&#039;t k-points with an angular frequency of 0 which then have non-zero values of angular frequencies at higher grid sizes. However, when deciding qualitatively, the convergence of the free energy can be used. At 20x20x20 and 6 decimal places, the free energy converges suggesting this is the optimum grid size to use. The density of states in terms of the phonon dispersion curve is basically plotting how many k points there are per value of angular frequency. This can be seen more easily by placing them side by side as seen in Figure 7&lt;br /&gt;
[[File:28548481_10215289272734952_157509358_o.jpg|thumb|centre|700px|Figure 7: MgO Density of states and phonon dispersion]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 2: Free energy changing with grid size&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Grid size&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Free energy (eV)&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;1&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.930301&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;2&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926609&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;3&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926432&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;4&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.92645&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;5&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926463&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;6&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926471&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;7&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926475&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;8&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926478&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;12&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926481&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;16&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926482&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;20&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;32&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In order to determine a suitable shrinking factor, a number of grid sizes were investigated with the highest being 32x32x32. As having a higher shrinking factor takes longer and more processing power (leads to being more expensive), choosing the shrinking factor becomes a compromise between time and accuracy. As can be seen from Table 2, the Helmholtz free energy stops changing after a grid size of 20x20x20 so this seemed like a reasonable value to use as not to compromise the accuracy for a quicker run time.&lt;br /&gt;
As can be seen in table 2, after the grid size is 20x20x20, the values have converged and don&#039;t change (when looking at 6 decimal places, it may be changing beyond 6 decimal places). This is optimal as it reduces the computing power needed for a calculation whilst retaining almost the same level of accuracy. Using a grid size of 3x3x3 will gives a suitable energy for calculations accurate to 1 meV, grid size of 3x3x3 gives a suitable energy for calculations accurate for 0.5 meV and a grid size of 5x5x5 gives a suitable energy for calculations accurate to 0.1 meV. When deciding on a suitable shrinking factor, it can be useful to consider the lattice parameter. k is simply a function of the lattice parameter where it is represented as a&amp;lt;math&amp;gt;^*&amp;lt;/math&amp;gt;. As the size of a increases, a&amp;lt;math&amp;gt;^*&amp;lt;/math&amp;gt; decreases because of the inversely proportional relationship. In CaO, this lattice structure also has a face centred cubic structure and a similar lattice parameter meaning a similar shrinking factor would be suitable for CaO for the types of calculations carried out in this investigation. The lattice constants shown in this experiment for MgO are around 4A. For Faujasite, this has a lattice parameter of around 24-25A. As a is much larger, &amp;lt;math&amp;gt;a^*&amp;lt;/math&amp;gt; will be much smaller, meaning a smaller grid size is required. Lithium is the smallest metal in the periodic table. This suggests that it would also have a very small lattice parameter too. If a is small, then a&amp;lt;math&amp;gt;^*&amp;lt;/math&amp;gt; will be large, meaning a large grid size. &lt;br /&gt;
&amp;lt;h3&amp;gt;Quasi-Harmonic Thermal expansion and Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Lattice_Parameter_Graph.png|thumb|centre|Figure 8: Lattice parameter vs temperature]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Free_energy_vs_T.png|thumb|centre|Figure 9: Free energy vs temperature]]&amp;lt;/th&amp;gt; &lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In Figure 9, it can be seen that the free energy is constant, then almost linearly decreases. At very low temperatures, the only main contribution to the free energy is the zero point energy as this is temperature independent. At around 400 K (where the free energy starts to decrease). This can be explained by looking at equation 4 as when the temperature increases, the entropic contribution increases. If it is assumed that the internal energy doesn&#039;t change much with temperature, then the TS term will increase in magnitude and decrease the overall free energy term. By looking at equation 4, the vibrational contribution term (also entropic term) is a ln term which will be negative, and again, decrease the overall free energy with an increase in temperature. &lt;br /&gt;
In the graph of lattice parameter vs temperature, the lattice parameter is initially constant and then increases linearly, then exponentially. Using the quasi-harmonic approximation, this gives the potential a &#039;quasi-anharmonic&#039; shape, meaning that the bond length will actually change with temperature but will just never reach the point where it breaks. Although this doesn&#039;t allow phase transitions to be investigated, it does allow the lattice parameter as a function of temperature to be investigated. DLVisualise and GULP doesn&#039;t actually allow simulations past 3000 K because of the infinitely increase potential.&lt;br /&gt;
&lt;br /&gt;
Using the Quasi Harmonic approximation, and fitting the data to get a line of best fit with a gradient of &amp;lt;math&amp;gt;5.697\times 10^{-4}&amp;lt;/math&amp;gt; which is equivalent to &amp;lt;math&amp;gt;\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt;. Multiplying by the reciprocal of the initial volume of the crystal, gives a thermal expansion coefficient for the region of 300-1300 K of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;. By taking the value from lower temperatures, this gives a higher accuracy compared to the &#039;real value&#039;. This is because of the computational model that is being used. This model is quasi-harmonic which is based on the harmonic model. The harmonic oscillator is infinite and the bond between two atoms infinitely extends. However, at high temperatures this is not the reality. The bonds extend and break which is shown by the anharmonic model. Using the anharmonic potential, this can help to explain the &#039;physical origin&#039; of thermal expansion. As temperature increases, there is more bond vibration leading to greater bond extension (the internuclear separation &#039;goes further up the anharmonic potential plot). The longer the bonds in the crystal, the larger the volume. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot; class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 3: Thermal expansion coefficients&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Temperature range (K)&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Quasi-Harmonic&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Molecular Dynamics&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Literature&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;0-300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.042\times 10^{-5[1]}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;300-1300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.140\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;4.000\times 10^{-5[1]}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-0-300.png|thumb|centre|Figure 10: Quasi Harmonic approximation 0 -300 K ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-300-1300.png|thumb|centre|Figure 11:  Quasi Harmonic approximation 300-1300 K]]&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-Thermal-expansion-100-300.png|thumb|centre|Figure 12: Molecular Dynamics 100-300 K]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-300-1300.png|thumb|centre|Figure 13: Molecular Dynamics 300-1300 K]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from Table 3, at lower temperatures, the quasi-harmonic approximation gives a value closer to literature. This is because the quasi-harmonic approximation takes into account the zero point energy at lower temperatures which is the main contributing factor whereas molecular dynamics method doesn&#039;t giving a linear line much like the second temperature region - it only considers classical mechanics and not quantum mechanics like quasi-harmonic approximation which takes into account quantum effects such as the zero point energy. At lower temperatures, the molecular dynamics value had to be taken from the 100-300 K region as GULP gave an error at 0 K. This could be because molecular dynamics depends on the motion/velocity of the atoms. At 0 K, there is no motion meaning no information would be outputted, potentially giving an error. At higher temperatures, it can be seen that molecular dynamics gives a more accurate value compared to literature. This is because quasi-harmonic has a parabolic shape where the bond length increases exponentially with temperature. This means the bond length increases infinitely and the bond never breaks - the melting point can never be found using the quasi harmonic approximation. This can be demonstrated by using the thought experiment - what if this were carried out using a diatomic molecule with an exactly harmonic potential. An increase in temperature would cause more vibrations but the average bond length would remain the same due to the energy remaining in the potential well, with the internuclear separation remaining at the equilibrium position. Using the quasi harmonic potential is simply slightly skewed on one side meaning that an increase in temperature increases the bond length. &lt;br /&gt;
&lt;br /&gt;
Looking at the molecular dynamics data, it is a lot less stable than the quasi harmonic approximation graph. This could be due to the fact that there are more potential states at higher temperatures and fewer of them are sampled within the given time frame. This would lead to the average being less stable than those at lower temperatures. This would give a less accurate value and could explain the larger spread of data. &lt;br /&gt;
&amp;lt;h2&amp;gt;Conclusion&amp;lt;/h2&amp;gt;&lt;br /&gt;
This investigation found that the optimum grid size was 20x20x20 when looking at the phonon dispersion of MgO as this is where the free energy converged so gave very little difference between this value and higher values. The thermal expansion coefficient for MgO was investigated using a quasi harmonic approximation and molecular dynamics methods. In the region 0-300 K, the QHA gave a value of &amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt; and molecular dynamics gave a value of &amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;. In the region 300-1300 K, QHA gave a value of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt; and molecular dynamics gave a value of &amp;lt;math&amp;gt;4.000\times 10^{-5[1]}&amp;lt;/math&amp;gt;. In the lower temperature region, the QHA was found to be a better approximation and closer to literature as QHA includes the zero point energy which is the main contributing factor at that temperature. In the higher region, molecular dynamics was found to be a better approximation due to the quasi harmonic approximation not considering the anharmonic effects.&lt;br /&gt;
&amp;lt;h2&amp;gt;References&amp;lt;/h2&amp;gt;&lt;br /&gt;
[1] - Rao, A. S. M., &amp;amp; Narender, K. (2014). Studies on thermophysical properties of CaO and MgO by γ -ray attenuation. Journal of Thermodynamics, 2014. http://doi.org/10.1155/2014/123478&lt;br /&gt;
&amp;lt;br&amp;gt;[2] - Lecture 4: Vibrations and Free Energy N. M. Harrison Imperial College London&lt;br /&gt;
&amp;lt;br&amp;gt;[3] - Atkins, P. W., 2014, Atkins&#039; physical chemistry. Oxford: Oxford Univ. Press&lt;/div&gt;</summary>
		<author><name>Ar3015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674589</id>
		<title>Rep:Ar3015MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674589"/>
		<updated>2018-02-28T10:44:33Z</updated>

		<summary type="html">&lt;p&gt;Ar3015: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h1&amp;gt;MgO Report - Antonia Reeves&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;Abstract&amp;lt;/h2&amp;gt;&lt;br /&gt;
The thermal expansion coefficient for MgO was investigated using a quasi harmonic approximation and molecular dynamics methods. In the region 0-300 K, the QHA gave a value of &amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt; and molecular dynamics gave a value of &amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;. In the region 300-1300 K, QHA gave a value of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt; and molecular dynamics gave a value of &amp;lt;math&amp;gt;4.000\times 10^{-5[1]}&amp;lt;/math&amp;gt;. In the lower temperature region, the QHA was found to be a better approximation and closer to literature. In the higher region, molecular dynamics was found to be a better approximation. &lt;br /&gt;
&amp;lt;h2&amp;gt;Introduction&amp;lt;/h2&amp;gt;&lt;br /&gt;
In chemistry, it is much easier to treat crystals as rigid structures with set lattice points in unit cells. This can often hold as a good approximation at very low temperatures. However, this is obviously not the case. There are many different vibrations happening throughout the lattice structure leading to thermal expansion. These vibrations can be quantified by using a wave vector - this gives the direction of the propagation of the wave in reciprocal space. To represent reciprocal space, the inverse of the lattice parameter, a, can simply be taken &amp;lt;math&amp;gt;a^* = \frac{2 \pi}{a} ^{[3]}&amp;lt;/math&amp;gt;. This means that the x axis of dispersion plots (k) is simply multiples of a&amp;lt;math&amp;gt;^*&amp;lt;/math&amp;gt;. This report investigates the effect of temperature on vibrations and size of the lattice structure of MgO. The lattice structure of MgO is face centred cubic. &lt;br /&gt;
&amp;lt;h3&amp;gt;Phonons and phonon dispersions&amp;lt;/h3&amp;gt;&lt;br /&gt;
In quantum chemistry, vibrations can be treated as both particles and waves. When treating vibrations as particles - just as particles of light are photons - they are called phonons. This can be used and a plot of frequency against wave vector can be generated. This effectively gives a plot of the energy against the &#039;the way that vibrations move&#039; which is the k vector. As the phonon dispersion plot investigates the different ways vibrations can take place in the same time, if there were for example only a few atoms, this would give rise to only a few different k points. However, as an infinite lattice is being used, instead of giving quantised k points, a continuous line of k points can be generated, giving rise to a band. One band is called a branch. The number of branches is dependent on the number of different atoms in the lattice. In MgO lattice there are 2 atoms. Using the equation 3N (not 3N-6 as this takes into account rotational and translation degeneracy for single molecules that don&#039;t need to be considered for crystal vibrations) where N is the number of different atoms, this gives 6 branches which can be seen in the phonon dispersion plot in Figure 1. Using the dispersion plots are useful for seeing the frequency vs k vector as a whole, however, makes it difficult to determine pieces of information such as how many states are at a given frequency, and whether there is a direct or indirect band gap. This is simply one way of displaying all of the data - the same data can be displayed as a density of states. Instead of simply giving the angular frequency as a function of the wave vector, a plot of density of states can also show how many states have a given energy at each k vector point. This can show the energy difference in the band gap, and the most densely populated k-states more easily. In order to visualise the density of states, the phonon dispersion is &#039;chopped up&#039; into sections. The number of sections is determined by the grid size (these parameters can be changed in the GULP execution panel. In this, the frequencies at the edge of the grids are taken and plotted (only one side as not to repeat the counting of the frequencies). The higher the grid size, the greater the accuracy of the density of states as this allows a greater number of wave vectors to be sampled. The value of the grid size is called the shrinking factor.&lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal Expansion Coefficient&amp;lt;/h3&amp;gt;&lt;br /&gt;
Using the equation &amp;lt;math&amp;gt;\frac{1}{V_0}\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt; gives the thermal expansion coefficient. This value represents how much a given crystal expands with an increase in temperature.  The &amp;lt;math&amp;gt;\frac{1}{V_0}&amp;lt;/math&amp;gt; term to normalises this value so it can be applied to a crystal of any size which is composed of the same crystal. Below, the different computational methods that can be used to investigate how these properties change with temperature are used.&lt;br /&gt;
&amp;lt;h3&amp;gt;Software used&amp;lt;/h3&amp;gt;&lt;br /&gt;
DLVisualise is the programmed used for modelling crystals in simulations such as this and allows chemists to visualise properties of crystals such as vibrations, energy, volume  and calculates these using wavefunctions of crystals - GULP lets the particular codes for the simulations to be accessed for running simulations. GULP is better for quantum based calculations such as lattice dynamics over molecular dynamics. However force fields for molecular dynamics can still be used and calculate values to output thermodynamic data. &lt;br /&gt;
&amp;lt;h3&amp;gt;Harmonic and Quasi-Harmonic approximations&amp;lt;/h3&amp;gt;&lt;br /&gt;
The harmonic oscillator is simply a taylor expansion of anhmarmonic potential. The harmonic oscillator takes the third term (quadratic term) giving the easily the harmonic oscillator parabola. When looking at harmonic potential energies, as the temperature is changed, the average bond length stays at an equilibrium point and therefore the volume of the crystal doesn&#039;t change. This means that although this approximation works well at lower temperatures as there is little change in volume at low temperatures in reality, at higher temperatures, harmonic and anharmonic (which is a much more realistic model) deviate a lot, giving unreliable data for higher temperatures. A compromise between harmonic which isn&#039;t a very reliable approximation as it only uses 3 terms from the taylor series expansion and using an anharmonic which uses many terms and will be very expensive is using a quasi-harmonic approximation. In the helmholtz free energy equations, the differences in the equations for harmonic and quasi-harmonic plots are in the frequency term. In a harmonic system, equation 3 would be used as the potential. However as the quasi harmonic system is being examined, within the brillouin zone &amp;lt;math&amp;gt;-\pi &amp;lt; k &amp;lt; \pi &amp;lt;/math&amp;gt; equation 1 can be used. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{4J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 1)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{2J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 2)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{1}{2\pi}){\frac{k}{\mu}}^{\frac{1}{2}} &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 3)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Helmholtz Free Energy&amp;lt;/h3&amp;gt;&lt;br /&gt;
[[File:Screen_Shot_2018-02-27_at_10.12.39.png|thumb|centre|Eq. 4]]&amp;lt;math&amp;gt;^2&amp;lt;/math&amp;gt;&lt;br /&gt;
A = U - TS&lt;br /&gt;
In order to look at the energy of the vibrational modes, the vibrational contribution to the entropy is used considering statistical thermodynamics and the partition coefficient. &lt;br /&gt;
The first term of equation 4 is the internal energy, the second term is the zero point energy (energy at 0K) and the final term is the statistical thermodynamics contribution - the contribution to the energy from the different vibrations.&lt;br /&gt;
This equation can be derived by using the partition function to derive the entropic term as shown in equation 5. &lt;br /&gt;
[[File:Screen_Shot_2018-02-28_at_08.56.46.png|thumb|centre|Eq. 5]]&amp;lt;math&amp;gt;^{[3]}&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
The molecular dynamics method takes the values from the ideal MgO crystal, then when the parameters are changed, random velocities are generated. This process is repeated at each time step (each a microstate) then all of the microstates are averaged. An average of all of the microstates is carried out, when enough microstates have been sampled, they start to converge and properties of the crystal can start to be measured such as energy and volume. One of the main differences between the quasi-harmonic approximation and molecular dynamics is that quasi-harmonics uses quantum mechanics to calculate the volumes (the change in bond length) and molecular dynamics uses classical mechanics. When sampling a configuration, there needs to be enough time for the values to converge. This is where the length of the timesteps come into play - getting a more accurate value means that the calculations will take much longer and therefore be more expensive. &lt;br /&gt;
&amp;lt;h2&amp;gt;Method&amp;lt;/h2&amp;gt;&lt;br /&gt;
For all of the calculations, the GUI DLVisualise was used. For all calculations, the execute GULP panel was brought up and in the GULP potential parameters, ionic.lib was used and include shells was not included. &lt;br /&gt;
&amp;lt;h3&amp;gt;Lattice vibrations -Computing the phonons&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected, and then run was pressed. Once the job has completed, this shows in the job list and the files were recovered. The energy could be found in the log file under Total Free Energy. &lt;br /&gt;
[[File:MgO_phonon_1.PNG|thumb|centre|Figure 1: MgO Phonon dispersion ]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Calculating the free energy in the Harmonic approximation&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected. Under General Opts, phonon dispersion was selected with N points set to 50 and calculate phonon eigenvectors was selected, so that specific points in k-space (relating to the origin, x direction vectors being in phase etc.) are represented with greek letters. The files were recovered and the phonon dispersion was displayed using the 1D data display. &lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal expansion of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
The settings used for this calculation were, select phonon DOS, change shrinking factor to 20x20x20 and set the temperature from 0-3000 K in 100 K intervals. For each temperature, the free energy and lattice volume were taken from the log file. The volumes were multiplied by 4 as the volume given in the log file is the primitive cell volume. This is also required to calculate the lattice parameter which is simply the cube root of the volume of a conventional cell. &lt;br /&gt;
[[File:MgO_DOS_16x16x16.PNG|thumb|centre|Figure 2: 16x16x16 MgO Density of states]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
For Molecular dynamics, a super cell which is twice the length on every side of the cell was used. This is so the cell is larger and is more similar to &#039;an infinite lattice&#039;. Molecular Dynamics option was selected on the execute panel, the NPT ensemble was chosen, the time step used was 1 femtosecond, equilibration steps of 500, production steps was set to 500 steps and sampling steps and trajectory write steps were set to 5. The temperature used went from 100-3000 K with 100 K interval steps. As the volume of the cell is different to the cell used in the quasi-harmonic approximation, the cell volume taken from the log file (the last average cell volume), the volume was divided by 8 to get the same volume as the conventional cell for the quasi-harmonic approximation.&lt;br /&gt;
&amp;lt;h2&amp;gt;Results and discussion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Phonon Modes of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
When the density of states for calculated for a single k point, it can be worked out by examining the phonon dispersion which k point this is. In this case, the point is L as there are only 4 peaks (2 that have double the intensity due to the double degeneracy) and at L there are only 4 branches where 6 would normally be expected(due to 3N to calculate number of vibrational branches expected). This can also be seen by comparing the frequencies of the peaks in the 1x1x1 DOS and the frequency of the 4 branches at L. This can be checked in the log file as although the character L is useful for helping us to determine the symmetry of the modes of vibrations, it&#039;s always useful to numerically quantify values. This is simply in the row &#039;K point&#039; where the K point is 0.5. It&#039;s important that it can be viewed in the log file as on the phonon dispersion, only greek characters which represent different k points can be seen and it&#039;s not always obvious what numerical value goes with each character. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 1: Density of states - accuracy improved with increased shrinking factor&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_1.PNG|thumb|centre|Figure 3: MgO Density of States 1x1x1 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_3x3x3.PNG|thumb|centre|Figure 4: MgO Density of States 3x3x3 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_8x8x8.PNG|thumb|centre|Figure 5: MgO Density of States 8x8x8 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_32x32x32.PNG|thumb|centre|Figure 6: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from the progression in grid size that as the grid size increases, although the peaks with the greatest intensity stay in the same place, the shape of the density of states becomes much more defined and includes information on the states at k-points even where there is a lower number of states. When looking at the difference between grid sizes qualitatively, there isn&#039;t much of a difference between 8x8x8 and 32x32x32 apart from there is a more continuous curve with the same shape. It seems that a grid size of approximately 12x12x12 would be the minimum grid size as this is the grid size at which all k points are sampled and there aren&#039;t k-points with an angular frequency of 0 which then have non-zero values of angular frequencies at higher grid sizes. However, when deciding qualitatively, the convergence of the free energy can be used. At 20x20x20 and 6 decimal places, the free energy converges suggesting this is the optimum grid size to use. The density of states in terms of the phonon dispersion curve is basically plotting how many k points there are per value of angular frequency. This can be seen more easily by placing them side by side as seen in Figure 7&lt;br /&gt;
[[File:28548481_10215289272734952_157509358_o.jpg|thumb|centre|700px|Figure 7: MgO Density of states and phonon dispersion]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 2: Free energy changing with grid size&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Grid size&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Free energy (eV)&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;1&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.930301&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;2&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926609&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;3&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926432&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;4&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.92645&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;5&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926463&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;6&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926471&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;7&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926475&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;8&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926478&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;12&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926481&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;16&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926482&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;20&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;32&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In order to determine a suitable shrinking factor, a number of grid sizes were investigated with the highest being 32x32x32. As having a higher shrinking factor takes longer and more processing power (leads to being more expensive), choosing the shrinking factor becomes a compromise between time and accuracy. As can be seen from Table 2, the Helmholtz free energy stops changing after a grid size of 20x20x20 so this seemed like a reasonable value to use as not to compromise the accuracy for a quicker run time.&lt;br /&gt;
As can be seen in table 2, after the grid size is 20x20x20, the values have converged and don&#039;t change (when looking at 6 decimal places, it may be changing beyond 6 decimal places). This is optimal as it reduces the computing power needed for a calculation whilst retaining almost the same level of accuracy. Using a grid size of 3x3x3 will gives a suitable energy for calculations accurate to 1 meV, REMEMBER TO DO 0.5mEV!!!!!!!! and a grid size of 5 gives a suitable energy for calculations accurate to 0.1 meV. When deciding on a suitable shrinking factor, it can be useful to consider the lattice parameter. k is simply a function of the lattice parameter where it is represented as a&amp;lt;math&amp;gt;^*&amp;lt;/math&amp;gt;. As the size of a increases, a&amp;lt;math&amp;gt;^*&amp;lt;/math&amp;gt; decreases because of the inversely proportional relationship. In CaO, this lattice structure also has a face centred cubic structure and a similar lattice parameter meaning a similar shrinking factor would be suitable for CaO for the types of calculations carried out in this investigation. The lattice constants shown in this experiment for MgO are around 4A. For Faujasite, this has a lattice parameter of around 24-25A. As a is much larger, &amp;lt;math&amp;gt;a^*&amp;lt;/math&amp;gt; will be much smaller, meaning a smaller grid size is required. Lithium is the smallest metal in the periodic table. This suggests that it would also have a very small lattice parameter too. If a is small, then a&amp;lt;math&amp;gt;^*&amp;lt;/math&amp;gt; will be large, meaning a large grid size. &lt;br /&gt;
&amp;lt;h3&amp;gt;Quasi-Harmonic Thermal expansion and Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Lattice_Parameter_Graph.png|thumb|centre|Figure 8: Lattice parameter vs temperature]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Free_energy_vs_T.png|thumb|centre|Figure 9: Free energy vs temperature]]&amp;lt;/th&amp;gt; &lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In Figure 9, it can be seen that the free energy is constant, then almost linearly decreases. At very low temperatures, the only main contribution to the free energy is the zero point energy as this is temperature independent. At around 400 K (where the free energy starts to decrease). This can be explained by looking at equation 4 as when the temperature increases, the entropic contribution increases. If it is assumed that the internal energy doesn&#039;t change much with temperature, then the TS term will increase in magnitude and decrease the overall free energy term. By looking at equation 4, the vibrational contribution term (also entropic term) is a ln term which will be negative, and again, decrease the overall free energy with an increase in temperature. &lt;br /&gt;
In the graph of lattice parameter vs temperature, the lattice parameter is initially constant and then increases linearly, then exponentially. Using the quasi-harmonic approximation, this gives the potential a &#039;quasi-anharmonic&#039; shape, meaning that the bond length will actually change with temperature but will just never reach the point where it breaks. Although this doesn&#039;t allow phase transitions to be investigated, it does allow the lattice parameter as a function of temperature to be investigated. DLVisualise and GULP doesn&#039;t actually allow simulations past 3000 K because of the infinitely increase potential.&lt;br /&gt;
&lt;br /&gt;
Using the Quasi Harmonic approximation, and fitting the data to get a line of best fit with a gradient of &amp;lt;math&amp;gt;5.697\times 10^{-4}&amp;lt;/math&amp;gt; which is equivalent to &amp;lt;math&amp;gt;\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt;. Multiplying by the reciprocal of the initial volume of the crystal, gives a thermal expansion coefficient for the region of 300-1300 K of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;. By taking the value from lower temperatures, this gives a higher accuracy compared to the &#039;real value&#039;. This is because of the computational model that is being used. This model is quasi-harmonic which is based on the harmonic model. The harmonic oscillator is infinite and the bond between two atoms infinitely extends. However, at high temperatures this is not the reality. The bonds extend and break which is shown by the anharmonic model. Using the anharmonic potential, this can help to explain the &#039;physical origin&#039; of thermal expansion. As temperature increases, there is more bond vibration leading to greater bond extension (the internuclear separation &#039;goes further up the anharmonic potential plot). The longer the bonds in the crystal, the larger the volume. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot; class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 3: Thermal expansion coefficients&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Temperature range (K)&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Quasi-Harmonic&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Molecular Dynamics&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Literature&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;0-300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.042\times 10^{-5[1]}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;300-1300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.140\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;4.000\times 10^{-5[1]}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-0-300.png|thumb|centre|Figure 10: Quasi Harmonic approximation 0 -300 K ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-300-1300.png|thumb|centre|Figure 11:  Quasi Harmonic approximation 300-1300 K]]&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-Thermal-expansion-100-300.png|thumb|centre|Figure 12: Molecular Dynamics 100-300 K]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-300-1300.png|thumb|centre|Figure 13: Molecular Dynamics 300-1300 K]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from Table 3, at lower temperatures, the quasi-harmonic approximation gives a value closer to literature. This is because the quasi-harmonic approximation takes into account the zero point energy at lower temperatures which is the main contributing factor whereas molecular dynamics method doesn&#039;t giving a linear line much like the second temperature region - it only considers classical mechanics and not quantum mechanics like quasi-harmonic approximation which takes into account quantum effects such as the zero point energy. At lower temperatures, the molecular dynamics value had to be taken from the 100-300 K region as GULP gave an error at 0 K. This could be because molecular dynamics depends on the motion/velocity of the atoms. At 0 K, there is no motion meaning no information would be outputted, potentially giving an error. At higher temperatures, it can be seen that molecular dynamics gives a more accurate value compared to literature. This is because quasi-harmonic has a parabolic shape where the bond length increases exponentially with temperature. This means the bond length increases infinitely and the bond never breaks - the melting point can never be found using the quasi harmonic approximation. This can be demonstrated by using the thought experiment - what if this were carried out using a diatomic molecule with an exactly harmonic potential. An increase in temperature would cause more vibrations but the average bond length would remain the same due to the energy remaining in the potential well, with the internuclear separation remaining at the equilibrium position. Using the quasi harmonic potential is simply slightly skewed on one side meaning that an increase in temperature increases the bond length. &lt;br /&gt;
&lt;br /&gt;
Looking at the molecular dynamics data, it is a lot less stable than the quasi harmonic approximation graph. This could be due to the fact that there are more potential states at higher temperatures and fewer of them are sampled within the given time frame. This would lead to the average being less stable than those at lower temperatures. This would give a less accurate value and could explain the larger spread of data. &lt;br /&gt;
&amp;lt;h2&amp;gt;Conclusion&amp;lt;/h2&amp;gt;&lt;br /&gt;
This investigation found that the optimum grid size was 20x20x20 when looking at the phonon dispersion of MgO as this is where the free energy converged so gave very little difference between this value and higher values. The thermal expansion coefficient for MgO was investigated using a quasi harmonic approximation and molecular dynamics methods. In the region 0-300 K, the QHA gave a value of &amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt; and molecular dynamics gave a value of &amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;. In the region 300-1300 K, QHA gave a value of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt; and molecular dynamics gave a value of &amp;lt;math&amp;gt;4.000\times 10^{-5[1]}&amp;lt;/math&amp;gt;. In the lower temperature region, the QHA was found to be a better approximation and closer to literature as QHA includes the zero point energy which is the main contributing factor at that temperature. In the higher region, molecular dynamics was found to be a better approximation due to the quasi harmonic approximation not considering the anharmonic effects.&lt;br /&gt;
&amp;lt;h2&amp;gt;References&amp;lt;/h2&amp;gt;&lt;br /&gt;
[1] - Rao, A. S. M., &amp;amp; Narender, K. (2014). Studies on thermophysical properties of CaO and MgO by γ -ray attenuation. Journal of Thermodynamics, 2014. http://doi.org/10.1155/2014/123478&lt;br /&gt;
&amp;lt;br&amp;gt;[2] - Lecture 4: Vibrations and Free Energy N. M. Harrison Imperial College London&lt;br /&gt;
&amp;lt;br&amp;gt;[3] - Atkins, P. W., 2014, Atkins&#039; physical chemistry. Oxford: Oxford Univ. Press&lt;/div&gt;</summary>
		<author><name>Ar3015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674562</id>
		<title>Rep:Ar3015MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674562"/>
		<updated>2018-02-28T10:38:28Z</updated>

		<summary type="html">&lt;p&gt;Ar3015: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h1&amp;gt;MgO Report - Antonia Reeves&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;Abstract&amp;lt;/h2&amp;gt;&lt;br /&gt;
The thermal expansion coefficient for MgO was investigated using a quasi harmonic approximation and molecular dynamics methods. In the region 0-300 K, the QHA gave a value of &amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt; and molecular dynamics gave a value of &amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;. In the region 300-1300 K, QHA gave a value of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt; and molecular dynamics gave a value of &amp;lt;math&amp;gt;4.000\times 10^{-5[1]}&amp;lt;/math&amp;gt;. In the lower temperature region, the QHA was found to be a better approximation and closer to literature. In the higher region, molecular dynamics was found to be a better approximation. &lt;br /&gt;
&amp;lt;h2&amp;gt;Introduction&amp;lt;/h2&amp;gt;&lt;br /&gt;
In chemistry, it is much easier to treat crystals as rigid structures with set lattice points in unit cells. This can often hold as a good approximation at very low temperatures. However, this is obviously not the case. There are many different vibrations happening throughout the lattice structure leading to thermal expansion. These vibrations can be quantified by using a wave vector - this gives the direction of the propagation of the wave in reciprocal space. To represent reciprocal space, the inverse of the lattice parameter, a, can simply be taken &amp;lt;math&amp;gt;a^* = \frac{2 \pi}{a} ^{[3]}&amp;lt;/math&amp;gt;. This means that the x axis of dispersion plots (k) is simply multiples of a&amp;lt;math&amp;gt;^*&amp;lt;/math&amp;gt;. This report investigates the effect of temperature on vibrations and size of the lattice structure of MgO. The lattice structure of MgO is face centred cubic. &lt;br /&gt;
&amp;lt;h3&amp;gt;Phonons and phonon dispersions&amp;lt;/h3&amp;gt;&lt;br /&gt;
In quantum chemistry, vibrations can be treated as both particles and waves. When treating vibrations as particles - just as particles of light are photons - they are called phonons. This can be used and a plot of frequency against wave vector can be generated. This effectively gives a plot of the energy against the &#039;the way that vibrations move&#039; which is the k vector. As the phonon dispersion plot investigates the different ways vibrations can take place in the same time, if there were for example only a few atoms, this would give rise to only a few different k points. However, as an infinite lattice is being used, instead of giving quantised k points, a continuous line of k points can be generated, giving rise to a band. One band is called a branch. The number of branches is dependent on the number of different atoms in the lattice. In MgO lattice there are 2 atoms. Using the equation 3N (not 3N-6 as this takes into account rotational and translation degeneracy for single molecules that don&#039;t need to be considered for crystal vibrations) where N is the number of different atoms, this gives 6 branches which can be seen in the phonon dispersion plot in Figure 1. Using the dispersion plots are useful for seeing the frequency vs k vector as a whole, however, makes it difficult to determine pieces of information such as how many states are at a given frequency, and whether there is a direct or indirect band gap. This is simply one way of displaying all of the data - the same data can be displayed as a density of states. Instead of simply giving the angular frequency as a function of the wave vector, a plot of density of states can also show how many states have a given energy at each k vector point. This can show the energy difference in the band gap, and the most densely populated k-states more easily. In order to visualise the density of states, the phonon dispersion is &#039;chopped up&#039; into sections. The number of sections is determined by the grid size (these parameters can be changed in the GULP execution panel. In this, the frequencies at the edge of the grids are taken and plotted (only one side as not to repeat the counting of the frequencies). The higher the grid size, the greater the accuracy of the density of states as this allows a greater number of wave vectors to be sampled. The value of the grid size is called the shrinking factor.&lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal Expansion Coefficient&amp;lt;/h3&amp;gt;&lt;br /&gt;
Using the equation &amp;lt;math&amp;gt;\frac{1}{V_0}\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt; gives the thermal expansion coefficient. This value represents how much a given crystal expands with an increase in temperature.  The &amp;lt;math&amp;gt;\frac{1}{V_0}&amp;lt;/math&amp;gt; term to normalises this value so it can be applied to a crystal of any size which is composed of the same crystal. Below, the different computational methods that can be used to investigate how these properties change with temperature are used.&lt;br /&gt;
&amp;lt;h3&amp;gt;Software used&amp;lt;/h3&amp;gt;&lt;br /&gt;
DLVisualise is the programmed used for modelling crystals in simulations such as this and allows chemists to visualise properties of crystals such as vibrations, energy, volume  and calculates these using wavefunctions of crystals - GULP lets the particular codes for the simulations to be accessed for running simulations. GULP is better for quantum based calculations such as lattice dynamics over molecular dynamics. However force fields for molecular dynamics can still be used and calculate values to output thermodynamic data. &lt;br /&gt;
&amp;lt;h3&amp;gt;Harmonic and Quasi-Harmonic approximations&amp;lt;/h3&amp;gt;&lt;br /&gt;
The harmonic oscillator is simply a taylor expansion of anhmarmonic potential. The harmonic oscillator takes the third term (quadratic term) giving the easily the harmonic oscillator parabola. When looking at harmonic potential energies, as the temperature is changed, the average bond length stays at an equilibrium point and therefore the volume of the crystal doesn&#039;t change. This means that although this approximation works well at lower temperatures as there is little change in volume at low temperatures in reality, at higher temperatures, harmonic and anharmonic (which is a much more realistic model) deviate a lot, giving unreliable data for higher temperatures. A compromise between harmonic which isn&#039;t a very reliable approximation as it only uses 3 terms from the taylor series expansion and using an anharmonic which uses many terms and will be very expensive is using a quasi-harmonic approximation. In the helmholtz free energy equations, the differences in the equations for harmonic and quasi-harmonic plots are in the frequency term. In a harmonic system, equation 3 would be used as the potential. However as the quasi harmonic system is being examined, within the brillouin zone &amp;lt;math&amp;gt;-\pi &amp;lt; k &amp;lt; \pi &amp;lt;/math&amp;gt; equation 1 can be used. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{4J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 1)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{2J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 2)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{1}{2\pi}){\frac{k}{\mu}}^{\frac{1}{2}} &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 3)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Helmholtz Free Energy&amp;lt;/h3&amp;gt;&lt;br /&gt;
[[File:Screen_Shot_2018-02-27_at_10.12.39.png|thumb|centre|Eq. 4]]&amp;lt;math&amp;gt;^2&amp;lt;/math&amp;gt;&lt;br /&gt;
A = U - TS&lt;br /&gt;
In order to look at the energy of the vibrational modes, the vibrational contribution to the entropy is used considering statistical thermodynamics and the partition coefficient. &lt;br /&gt;
The first term of equation 4 is the internal energy, the second term is the zero point energy (energy at 0K) and the final term is the statistical thermodynamics contribution - the contribution to the energy from the different vibrations.&lt;br /&gt;
This equation can be derived by using the partition function to derive the entropic term as shown in equation 5. &lt;br /&gt;
[[File:Screen_Shot_2018-02-28_at_08.56.46.png|thumb|centre|Eq. 5]]&amp;lt;math&amp;gt;^{[3]}&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
The molecular dynamics method takes the values from the ideal MgO crystal, then when the parameters are changed, random velocities are generated. This process is repeated at each time step (each a microstate) then all of the microstates are averaged. An average of all of the microstates is carried out, when enough microstates have been sampled, they start to converge and properties of the crystal can start to be measured such as energy and volume. One of the main differences between the quasi-harmonic approximation and molecular dynamics is that quasi-harmonics uses quantum mechanics to calculate the volumes (the change in bond length) and molecular dynamics uses classical mechanics. When sampling a configuration, there needs to be enough time for the values to converge. This is where the length of the timesteps come into play - getting a more accurate value means that the calculations will take much longer and therefore be more expensive. &lt;br /&gt;
&amp;lt;h2&amp;gt;Method&amp;lt;/h2&amp;gt;&lt;br /&gt;
For all of the calculations, the GUI DLVisualise was used. For all calculations, the execute GULP panel was brought up and in the GULP potential parameters, ionic.lib was used and include shells was not included. &lt;br /&gt;
&amp;lt;h3&amp;gt;Lattice vibrations -Computing the phonons&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected, and then run was pressed. Once the job has completed, this shows in the job list and the files were recovered. The energy could be found in the log file under Total Free Energy. &lt;br /&gt;
[[File:MgO_phonon_1.PNG|thumb|centre|Figure 1: MgO Phonon dispersion ]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Calculating the free energy in the Harmonic approximation&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected. Under General Opts, phonon dispersion was selected with N points set to 50 and calculate phonon eigenvectors was selected, so that specific points in k-space (relating to the origin, x direction vectors being in phase etc.) are represented with greek letters. The files were recovered and the phonon dispersion was displayed using the 1D data display. &lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal expansion of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
The settings used for this calculation were, select phonon DOS, change shrinking factor to 20x20x20 and set the temperature from 0-3000 K in 100 K intervals. For each temperature, the free energy and lattice volume were taken from the log file. The volumes were multiplied by 4 as the volume given in the log file is the primitive cell volume. This is also required to calculate the lattice parameter which is simply the cube root of the volume of a conventional cell. &lt;br /&gt;
[[File:MgO_DOS_16x16x16.PNG|thumb|centre|Figure 2: 16x16x16 MgO Density of states]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
For Molecular dynamics, a super cell which is twice the length on every side of the cell was used. This is so the cell is larger and is more similar to &#039;an infinite lattice&#039;. Molecular Dynamics option was selected on the execute panel, the NPT ensemble was chosen, the time step used was 1 femtosecond, equilibration steps of 500, production steps was set to 500 steps and sampling steps and trajectory write steps were set to 5. The temperature used went from 100-3000 K with 100 K interval steps. As the volume of the cell is different to the cell used in the quasi-harmonic approximation, the cell volume taken from the log file (the last average cell volume), the volume was divided by 8 to get the same volume as the conventional cell for the quasi-harmonic approximation.&lt;br /&gt;
&amp;lt;h2&amp;gt;Results and discussion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Phonon Modes of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
When the density of states for calculated for a single k point, it can be worked out by examining the phonon dispersion which k point this is. In this case, the point is L as there are only 4 peaks (2 that have double the intensity due to the double degeneracy) and at L there are only 4 branches where 6 would normally be expected(due to 3N to calculate number of vibrational branches expected). This can also be seen by comparing the frequencies of the peaks in the 1x1x1 DOS and the frequency of the 4 branches at L. This can be checked in the log file as although the character L is useful for helping us to determine the symmetry of the modes of vibrations, it&#039;s always useful to numerically quantify values. This is simply in the row &#039;K point&#039; where the K point is 0.5. It&#039;s important that it can be viewed in the log file as on the phonon dispersion, only greek characters which represent different k points can be seen and it&#039;s not always obvious what numerical value goes with each character. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 1: Density of states - accuracy improved with increased shrinking factor&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_1.PNG|thumb|centre|Figure 3: MgO Density of States 1x1x1 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_3x3x3.PNG|thumb|centre|Figure 4: MgO Density of States 3x3x3 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_8x8x8.PNG|thumb|centre|Figure 5: MgO Density of States 8x8x8 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_32x32x32.PNG|thumb|centre|Figure 6: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from the progression in grid size that as the grid size increases, although the peaks with the greatest intensity stay in the same place, the shape of the density of states becomes much more defined and includes information on the states at k-points even where there is a lower number of states. When looking at the difference between grid sizes qualitatively, there isn&#039;t much of a difference between 8x8x8 and 32x32x32 apart from there is a more continuous curve with the same shape. It seems that a grid size of approximately 12x12x12 would be the minimum grid size as this is the grid size at which all k points are sampled and there aren&#039;t k-points with an angular frequency of 0 which then have non-zero values of angular frequencies at higher grid sizes. However, when deciding qualitatively, the convergence of the free energy can be used. At 20x20x20 and 6 decimal places, the free energy converges suggesting this is the optimum grid size to use. The density of states in terms of the phonon dispersion curve is basically plotting how many k points there are per value of angular frequency. This can be seen more easily by placing them side by side as seen in Figure 7&lt;br /&gt;
[[File:28548481_10215289272734952_157509358_o.jpg|thumb|centre|700px|Figure 7: MgO Density of states and phonon dispersion]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 2: Free energy changing with grid size&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Grid size&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Free energy (eV)&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;1&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-41.07531759&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;2&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926609&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;3&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926432&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;4&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.92645&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;5&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926463&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;6&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926471&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;7&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926475&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;8&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926478&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;12&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926481&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;16&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926482&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;20&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;32&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In order to determine a suitable shrinking factor, a number of grid sizes were investigated with the highest being 32x32x32. As having a higher shrinking factor takes longer and more processing power (leads to being more expensive), choosing the shrinking factor becomes a compromise between time and accuracy. As can be seen from Table 2, the Helmholtz free energy stops changing after a grid size of 20x20x20 so this seemed like a reasonable value to use as not to compromise the accuracy for a quicker run time.&lt;br /&gt;
As can be seen in table 2, after the grid size is 20x20x20, the values have converged and don&#039;t change (when looking at 6 decimal places, it may be changing beyond 6 decimal places). This is optimal as it reduces the computing power needed for a calculation whilst retaining almost the same level of accuracy. Using a grid size of 3x3x3 will gives a suitable energy for calculations accurate to 1 meV, REMEMBER TO DO 0.5mEV!!!!!!!! and a grid size of 5 gives a suitable energy for calculations accurate to 0.1 meV. When deciding on a suitable shrinking factor, it can be useful to consider the lattice parameter. k is simply a function of the lattice parameter where it is represented as a&amp;lt;math&amp;gt;^*&amp;lt;/math&amp;gt;. As the size of a increases, a&amp;lt;math&amp;gt;^*&amp;lt;/math&amp;gt; decreases because of the inversely proportional relationship. In CaO, this lattice structure also has a face centred cubic structure and a similar lattice parameter meaning a similar shrinking factor would be suitable for CaO for the types of calculations carried out in this investigation. The lattice constants shown in this experiment for MgO are around 4A. For Faujasite, this has a lattice parameter of around 24-25A. As a is much larger, &amp;lt;math&amp;gt;a^*&amp;lt;/math&amp;gt; will be much smaller, meaning a smaller grid size is required. Lithium is the smallest metal in the periodic table. This suggests that it would also have a very small lattice parameter too. If a is small, then a&amp;lt;math&amp;gt;^*&amp;lt;/math&amp;gt; will be large, meaning a large grid size. &lt;br /&gt;
&amp;lt;h3&amp;gt;Quasi-Harmonic Thermal expansion and Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Lattice_Parameter_Graph.png|thumb|centre|Figure 8: Lattice parameter vs temperature]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Free_energy_vs_T.png|thumb|centre|Figure 9: Free energy vs temperature]]&amp;lt;/th&amp;gt; &lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In Figure 9, it can be seen that the free energy is constant, then almost linearly decreases. At very low temperatures, the only main contribution to the free energy is the zero point energy as this is temperature independent. At around 400 K (where the free energy starts to decrease). This can be explained by looking at equation 4 as when the temperature increases, the entropic contribution increases. If it is assumed that the internal energy doesn&#039;t change much with temperature, then the TS term will increase in magnitude and decrease the overall free energy term. By looking at equation 4, the vibrational contribution term (also entropic term) is a ln term which will be negative, and again, decrease the overall free energy with an increase in temperature. &lt;br /&gt;
In the graph of lattice parameter vs temperature, the lattice parameter is initially constant and then increases linearly, then exponentially. Using the quasi-harmonic approximation, this gives the potential a &#039;quasi-anharmonic&#039; shape, meaning that the bond length will actually change with temperature but will just never reach the point where it breaks. Although this doesn&#039;t allow phase transitions to be investigated, it does allow the lattice parameter as a function of temperature to be investigated. DLVisualise and GULP doesn&#039;t actually allow simulations past 3000 K because of the infinitely increase potential.&lt;br /&gt;
&lt;br /&gt;
Using the Quasi Harmonic approximation, and fitting the data to get a line of best fit with a gradient of &amp;lt;math&amp;gt;5.697\times 10^{-4}&amp;lt;/math&amp;gt; which is equivalent to &amp;lt;math&amp;gt;\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt;. Multiplying by the reciprocal of the initial volume of the crystal, gives a thermal expansion coefficient for the region of 300-1300 K of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;. By taking the value from lower temperatures, this gives a higher accuracy compared to the &#039;real value&#039;. This is because of the computational model that is being used. This model is quasi-harmonic which is based on the harmonic model. The harmonic oscillator is infinite and the bond between two atoms infinitely extends. However, at high temperatures this is not the reality. The bonds extend and break which is shown by the anharmonic model. Using the anharmonic potential, this can help to explain the &#039;physical origin&#039; of thermal expansion. As temperature increases, there is more bond vibration leading to greater bond extension (the internuclear separation &#039;goes further up the anharmonic potential plot). The longer the bonds in the crystal, the larger the volume. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot; class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 3: Thermal expansion coefficients&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Temperature range (K)&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Quasi-Harmonic&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Molecular Dynamics&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Literature&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;0-300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.042\times 10^{-5[1]}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;300-1300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.140\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;4.000\times 10^{-5[1]}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-0-300.png|thumb|centre|Figure 10: Quasi Harmonic approximation 0 -300 K ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-300-1300.png|thumb|centre|Figure 11:  Quasi Harmonic approximation 300-1300 K]]&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-Thermal-expansion-100-300.png|thumb|centre|Figure 12: Molecular Dynamics 100-300 K]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-300-1300.png|thumb|centre|Figure 13: Molecular Dynamics 300-1300 K]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from Table 3, at lower temperatures, the quasi-harmonic approximation gives a value closer to literature. This is because the quasi-harmonic approximation takes into account the zero point energy at lower temperatures which is the main contributing factor whereas molecular dynamics method doesn&#039;t giving a linear line much like the second temperature region - it only considers classical mechanics and not quantum mechanics like quasi-harmonic approximation which takes into account quantum effects such as the zero point energy. At lower temperatures, the molecular dynamics value had to be taken from the 100-300 K region as GULP gave an error at 0 K. This could be because molecular dynamics depends on the motion/velocity of the atoms. At 0 K, there is no motion meaning no information would be outputted, potentially giving an error. At higher temperatures, it can be seen that molecular dynamics gives a more accurate value compared to literature. This is because quasi-harmonic has a parabolic shape where the bond length increases exponentially with temperature. This means the bond length increases infinitely and the bond never breaks - the melting point can never be found using the quasi harmonic approximation. This can be demonstrated by using the thought experiment - what if this were carried out using a diatomic molecule with an exactly harmonic potential. An increase in temperature would cause more vibrations but the average bond length would remain the same due to the energy remaining in the potential well, with the internuclear separation remaining at the equilibrium position. Using the quasi harmonic potential is simply slightly skewed on one side meaning that an increase in temperature increases the bond length. &lt;br /&gt;
&lt;br /&gt;
Looking at the molecular dynamics data, it is a lot less stable than the quasi harmonic approximation graph. This could be due to the fact that there are more potential states at higher temperatures and fewer of them are sampled within the given time frame. This would lead to the average being less stable than those at lower temperatures. This would give a less accurate value and could explain the larger spread of data. &lt;br /&gt;
&amp;lt;h2&amp;gt;Conclusion&amp;lt;/h2&amp;gt;&lt;br /&gt;
This investigation found that the optimum grid size was 20x20x20 when looking at the phonon dispersion of MgO as this is where the free energy converged so gave very little difference between this value and higher values. The thermal expansion coefficient for MgO was investigated using a quasi harmonic approximation and molecular dynamics methods. In the region 0-300 K, the QHA gave a value of &amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt; and molecular dynamics gave a value of &amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;. In the region 300-1300 K, QHA gave a value of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt; and molecular dynamics gave a value of &amp;lt;math&amp;gt;4.000\times 10^{-5[1]}&amp;lt;/math&amp;gt;. In the lower temperature region, the QHA was found to be a better approximation and closer to literature as QHA includes the zero point energy which is the main contributing factor at that temperature. In the higher region, molecular dynamics was found to be a better approximation due to the quasi harmonic approximation not considering the anharmonic effects.&lt;br /&gt;
&amp;lt;h2&amp;gt;References&amp;lt;/h2&amp;gt;&lt;br /&gt;
[1] - Rao, A. S. M., &amp;amp; Narender, K. (2014). Studies on thermophysical properties of CaO and MgO by γ -ray attenuation. Journal of Thermodynamics, 2014. http://doi.org/10.1155/2014/123478&lt;br /&gt;
&amp;lt;br&amp;gt;[2] - Lecture 4: Vibrations and Free Energy N. M. Harrison Imperial College London&lt;br /&gt;
&amp;lt;br&amp;gt;[3] - Atkins, P. W., 2014, Atkins&#039; physical chemistry. Oxford: Oxford Univ. Press&lt;/div&gt;</summary>
		<author><name>Ar3015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674558</id>
		<title>Rep:Ar3015MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674558"/>
		<updated>2018-02-28T10:34:36Z</updated>

		<summary type="html">&lt;p&gt;Ar3015: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h1&amp;gt;MgO Report - Antonia Reeves&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;Abstract&amp;lt;/h2&amp;gt;&lt;br /&gt;
The thermal expansion coefficient for MgO was investigated using a quasi harmonic approximation and molecular dynamics methods. In the region 0-300 K, the QHA gave a value of &amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt; and molecular dynamics gave a value of &amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;. In the region 300-1300 K, QHA gave a value of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt; and molecular dynamics gave a value of &amp;lt;math&amp;gt;4.000\times 10^{-5[1]}&amp;lt;/math&amp;gt;. In the lower temperature region, the QHA was found to be a better approximation and closer to literature. In the higher region, molecular dynamics was found to be a better approximation. &lt;br /&gt;
&amp;lt;h2&amp;gt;Introduction&amp;lt;/h2&amp;gt;&lt;br /&gt;
In chemistry, it is much easier to treat crystals as rigid structures with set lattice points in unit cells. This can often hold as a good approximation at very low temperatures. However, this is obviously not the case. There are many different vibrations happening throughout the lattice structure leading to thermal expansion. These vibrations can be quantified by using a wave vector - this gives the direction of the propagation of the wave in reciprocal space. To represent reciprocal space, the inverse of the lattice parameter, a, can simply be taken &amp;lt;math&amp;gt;a^* = \frac{2 \pi}{a} ^{[3]}&amp;lt;/math&amp;gt;. This means that the x axis of dispersion plots (k) is simply multiples of a&amp;lt;math&amp;gt;^*&amp;lt;/math&amp;gt;. This report investigates the effect of temperature on vibrations and size of the lattice structure of MgO. The lattice structure of MgO is face centred cubic. &lt;br /&gt;
&amp;lt;h3&amp;gt;Phonons and phonon dispersions&amp;lt;/h3&amp;gt;&lt;br /&gt;
In quantum chemistry, vibrations can be treated as both particles and waves. When treating vibrations as particles - just as particles of light are photons - they are called phonons. This can be used and a plot of frequency against wave vector can be generated. This effectively gives a plot of the energy against the &#039;the way that vibrations move&#039; which is the k vector. As the phonon dispersion plot investigates the different ways vibrations can take place in the same time, if there were for example only a few atoms, this would give rise to only a few different k points. However, as an infinite lattice is being used, instead of giving quantised k points, a continuous line of k points can be generated, giving rise to a band. One band is called a branch. The number of branches is dependent on the number of different atoms in the lattice. In MgO lattice there are 2 atoms. Using the equation 3N (not 3N-6 as this takes into account rotational and translation degeneracy for single molecules that don&#039;t need to be considered for crystal vibrations) where N is the number of different atoms, this gives 6 branches which can be seen in the phonon dispersion plot in Figure 1. Using the dispersion plots are useful for seeing the frequency vs k vector as a whole, however, makes it difficult to determine pieces of information such as how many states are at a given frequency, and whether there is a direct or indirect band gap. This is simply one way of displaying all of the data - the same data can be displayed as a density of states. Instead of simply giving the angular frequency as a function of the wave vector, a plot of density of states can also show how many states have a given energy at each k vector point. This can show the energy difference in the band gap, and the most densely populated k-states more easily. In order to visualise the density of states, the phonon dispersion is &#039;chopped up&#039; into sections. The number of sections is determined by the grid size (these parameters can be changed in the GULP execution panel. In this, the frequencies at the edge of the grids are taken and plotted (only one side as not to repeat the counting of the frequencies). The higher the grid size, the greater the accuracy of the density of states as this allows a greater number of wave vectors to be sampled. The value of the grid size is called the shrinking factor.&lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal Expansion Coefficient&amp;lt;/h3&amp;gt;&lt;br /&gt;
Using the equation &amp;lt;math&amp;gt;\frac{1}{V_0}\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt; gives the thermal expansion coefficient. This value represents how much a given crystal expands with an increase in temperature.  The &amp;lt;math&amp;gt;\frac{1}{V_0}&amp;lt;/math&amp;gt; term to normalises this value so it can be applied to a crystal of any size which is composed of the same crystal. Below, the different computational methods that can be used to investigate how these properties change with temperature are used.&lt;br /&gt;
&amp;lt;h3&amp;gt;Software used&amp;lt;/h3&amp;gt;&lt;br /&gt;
DLVisualise is the programmed used for modelling crystals in simulations such as this and allows chemists to visualise properties of crystals such as vibrations, energy, volume  and calculates these using wavefunctions of crystals - GULP lets the particular codes for the simulations to be accessed for running simulations. GULP is better for quantum based calculations such as lattice dynamics over molecular dynamics. However force fields for molecular dynamics can still be used and calculate values to output thermodynamic data. &lt;br /&gt;
&amp;lt;h3&amp;gt;Harmonic and Quasi-Harmonic approximations&amp;lt;/h3&amp;gt;&lt;br /&gt;
The harmonic oscillator is simply a taylor expansion of anhmarmonic potential. The harmonic oscillator takes the third term (quadratic term) giving the easily the harmonic oscillator parabola. When looking at harmonic potential energies, as the temperature is changed, the average bond length stays at an equilibrium point and therefore the volume of the crystal doesn&#039;t change. This means that although this approximation works well at lower temperatures as there is little change in volume at low temperatures in reality, at higher temperatures, harmonic and anharmonic (which is a much more realistic model) deviate a lot, giving unreliable data for higher temperatures. A compromise between harmonic which isn&#039;t a very reliable approximation as it only uses 3 terms from the taylor series expansion and using an anharmonic which uses many terms and will be very expensive is using a quasi-harmonic approximation. In the helmholtz free energy equations, the differences in the equations for harmonic and quasi-harmonic plots are in the frequency term. In a harmonic system, equation 3 would be used as the potential. However as the quasi harmonic system is being examined, within the brillouin zone &amp;lt;math&amp;gt;-\pi &amp;lt; k &amp;lt; \pi &amp;lt;/math&amp;gt; equation 1 can be used. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{4J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 1)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{2J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 2)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{1}{2\pi}){\frac{k}{\mu}}^{\frac{1}{2}} &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 3)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Helmholtz Free Energy&amp;lt;/h3&amp;gt;&lt;br /&gt;
[[File:Screen_Shot_2018-02-27_at_10.12.39.png|thumb|centre|Eq. 4]]&amp;lt;math&amp;gt;^2&amp;lt;/math&amp;gt;&lt;br /&gt;
A = U - TS&lt;br /&gt;
In order to look at the energy of the vibrational modes, we use the vibrational contribution to the entropy using statistical thermodynamics and the partition coefficient. &lt;br /&gt;
The first term of equation 4 is the internal energy, the second term is the zero point energy (energy at 0K) and the final term is the statistical thermodynamics contribution - the contribution to the energy from the different vibrations.&lt;br /&gt;
This equation can be derived by using the partition function to derive the entropic term as shown in equation 5. &lt;br /&gt;
[[File:Screen_Shot_2018-02-28_at_08.56.46.png|thumb|centre|Eq. 5]]&amp;lt;math&amp;gt;^{[3]}&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
The molecular dynamics method takes the values from the ideal MgO crystal, then when we change the parameters, generate random velocities. This process is repeated at each time step (each a microstate) then all of the microstates are averaged. An average of all of the microstates is carried out, when enough microstates have been sampled, they start to converge and properties of the crystal can start to be measured such as energy and volume. One of the main differences between the quasi-harmonic approximation and molecular dynamics is that quasi-harmonics uses quantum mechanics to calculate the volumes (the change in bond length) and molecular dynamics uses classical mechanics. When sampling a configuration, there needs to be enough time for the values to converge. This is where the length of the timesteps come into play - getting a more accurate value means that the calculations will take much longer and therefore be more expensive. &lt;br /&gt;
&amp;lt;h2&amp;gt;Method&amp;lt;/h2&amp;gt;&lt;br /&gt;
For all of the calculations, the GUI DLVisualise was used. For all calculations, the execute GULP panel was brought up and in the GULP potential parameters, ionic.lib was used and include shells was not included. &lt;br /&gt;
&amp;lt;h3&amp;gt;Lattice vibrations -Computing the phonons&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected, and then run was pressed. Once the job has completed, this shows in the job list and the files were recovered. The energy could be found in the log file under Total Free Energy. &lt;br /&gt;
[[File:MgO_phonon_1.PNG|thumb|centre|Figure 1: MgO Phonon dispersion ]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Calculating the free energy in the Harmonic approximation&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected. Under General Opts, phonon dispersion was selected with N points set to 50 and calculate phonon eigenvectors was selected, so that specific points in k-space (relating to the origin, x direction vectors being in phase etc.) are represented with greek letters. The files were recovered and the phonon dispersion was displayed using the 1D data display. &lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal expansion of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
The settings used for this calculation were, select phonon DOS, change shrinking factor to 20x20x20 and set the temperature from 0-3000 K in 100 K intervals. For each temperature, the free energy and lattice volume were taken from the log file. The volumes were multiplied by 4 as the volume given in the log file is the primitive cell volume. This is also required to calculate the lattice parameter which is simply the cube root of the volume of a conventional cell. &lt;br /&gt;
[[File:MgO_DOS_16x16x16.PNG|thumb|centre|Figure 2: 16x16x16 MgO Density of states]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
For Molecular dynamics, a super cell which is twice the length on every side of the cell was used. This is so the cell is larger and is more similar to &#039;an infinite lattice&#039;. Molecular Dynamics option was selected on the execute panel, the NPT ensemble was chosen, the time step used was 1 femtosecond, equilibration steps of 500, production steps was set to 500 steps and sampling steps and trajectory write steps were set to 5. The temperature used went from 100-3000 K with 100 K interval steps. As the volume of the cell is different to the cell used in the quasi-harmonic approximation, the cell volume taken from the log file (the last average cell volume), the volume was divided by 8 to get the same volume as the conventional cell for the quasi-harmonic approximation.&lt;br /&gt;
&amp;lt;h2&amp;gt;Results and discussion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Phonon Modes of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
When the density of states for calculated for a single k point, it can be worked out by examining the phonon dispersion which k point this is. In this case, the point is L as there are only 4 peaks (2 that have double the intensity due to the double degeneracy) and at L there are only 4 branches where we would expect 6 (due to 3N to calculate number of vibrational branches expected). This can also be seen by comparing the frequencies of the peaks in the 1x1x1 DOS and the frequency of the 4 branches at L. This can be checked in the log file as although the character L is useful for helping us to determine the symmetry of the modes of vibrations, it&#039;s always useful to numerically quantify values. This is simply in the row &#039;K point&#039; where the K point is 0.5. It&#039;s important that it can be viewed in the log file as on the phonon dispersion, only greek characters which represent different k points can be seen and it&#039;s not always obvious what numerical value goes with each character. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 1: Density of states - accuracy improved with increased shrinking factor&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_1.PNG|thumb|centre|Figure 3: MgO Density of States 1x1x1 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_3x3x3.PNG|thumb|centre|Figure 4: MgO Density of States 3x3x3 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_8x8x8.PNG|thumb|centre|Figure 5: MgO Density of States 8x8x8 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_32x32x32.PNG|thumb|centre|Figure 6: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from the progression in grid size that as the grid size increases, although the peaks with the greatest intensity stay in the same place, the shape of the density of states becomes much more defined and includes information on the states at k-points even where there is a lower number of states. When looking at the difference between grid sizes qualitatively, there isn&#039;t much of a difference between 8x8x8 and 32x32x32 apart from there is a more continuous curve with the same shape. It seems that a grid size of approximately 12x12x12 would be the minimum grid size as this is the grid size at which all k points are sampled and there aren&#039;t k-points with an angular frequency of 0 which then have non-zero values of angular frequencies at higher grid sizes. However, when deciding qualitatively, the convergence of the free energy can be used. At 20x20x20 and 6 decimal places, the free energy converges suggesting this is the optimum grid size to use. The density of states in terms of the phonon dispersion curve is basically plotting how many k points there are per value of angular frequency. This can be seen more easily by placing them side by side as seen in Figure 7&lt;br /&gt;
[[File:28548481_10215289272734952_157509358_o.jpg|thumb|centre|700px|Figure 7: MgO Density of states and phonon dispersion]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 2: Free energy changing with grid size&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Grid size&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Free energy (eV)&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;1&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-41.07531759&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;2&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926609&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;3&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926432&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;4&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.92645&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;5&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926463&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;6&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926471&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;7&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926475&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;8&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926478&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;12&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926481&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;16&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926482&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;20&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;32&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In order to determine a suitable shrinking factor, a number of grid sizes were investigated with the highest being 32x32x32. As having a higher shrinking factor takes longer and more processing power (leads to being more expensive), choosing the shrinking factor becomes a compromise between time and accuracy. As can be seen from Table 2, the Helmholtz free energy stops changing after a grid size of 20x20x20 so this seemed like a reasonable value to use as not to compromise the accuracy for a quicker run time.&lt;br /&gt;
As can be seen in table 2, after the grid size is 20x20x20, the values have converged and don&#039;t change (when looking at 6 decimal places, it may be changing beyond 6 decimal places). This is optimal as it reduces the computing power needed for a calculation whilst retaining almost the same level of accuracy. Using a grid size of 3x3x3 will gives a suitable energy for calculations accurate to 1 meV, REMEMBER TO DO 0.5mEV!!!!!!!! and a grid size of 5 gives a suitable energy for calculations accurate to 0.1 meV. When deciding on a suitable shrinking factor, it can be useful to consider the lattice parameter. k is simply a function of the lattice parameter where it is represented as a&amp;lt;math&amp;gt;^*&amp;lt;/math&amp;gt;. As the size of a increases, a&amp;lt;math&amp;gt;^*&amp;lt;/math&amp;gt; decreases because of the inversely proportional relationship. In CaO, this lattice structure also has a face centred cubic structure and a similar lattice parameter meaning a similar shrinking factor would be suitable for CaO for the types of calculations carried out in this investigation. The lattice constants shown in this experiment for MgO are around 4A. For Faujasite, this has a lattice parameter of around 24-25A. As a is much larger, &amp;lt;math&amp;gt;a^*&amp;lt;/math&amp;gt; will be much smaller, meaning a smaller grid size is required. Lithium is the smallest metal in the periodic table. This suggests that it would also have a very small lattice parameter too. If a is small, then a&amp;lt;math&amp;gt;^*&amp;lt;/math&amp;gt; will be large, meaning a large grid size. &lt;br /&gt;
&amp;lt;h3&amp;gt;Quasi-Harmonic Thermal expansion and Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Lattice_Parameter_Graph.png|thumb|centre|Figure 8: Lattice parameter vs temperature]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Free_energy_vs_T.png|thumb|centre|Figure 9: Free energy vs temperature]]&amp;lt;/th&amp;gt; &lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In Figure 9, it can be seen that the free energy is constant, then almost linearly decreases. At very low temperatures, the only main contribution to the free energy is the zero point energy as this is temperature independent. At around 400 K (where the free energy starts to decrease). We can explain by looking at equation 4 as when the temperature increases, the entropic contribution increases. If we assume the internal energy doesn&#039;t change much with temperature, then the TS term will increase in magnitude and decrease the overall free energy term. By looking at equation 4, the vibrational contribution term (also entropic term) is a ln term which will be negative, and again, decrease the overall free energy with an increase in temperature. &lt;br /&gt;
In the graph of lattice parameter vs temperature, the lattice parameter is initially constant and then increases linearly, then exponentially. Using the quasi-harmonic approximation, this gives the potential a &#039;quasi-anharmonic&#039; shape, meaning that the bond length will actually change with temperature but will just never reach the point where it breaks. Although this doesn&#039;t allow phase transitions to be investigated, it does allow the lattice parameter as a function of temperature to be investigated. DLVisualise and GULP doesn&#039;t actually allow simulations past 3000 K because of the infinitely increase potential.&lt;br /&gt;
&lt;br /&gt;
Using the Quasi Harmonic approximation, and fitting the data to get a line of best fit with a gradient of &amp;lt;math&amp;gt;5.697\times 10^{-4}&amp;lt;/math&amp;gt; which is equivalent to &amp;lt;math&amp;gt;\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt;. Multiplying by the reciprocal of the initial volume of the crystal, gives a thermal expansion coefficient for the region of 300-1300 K of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;. By taking the value from lower temperatures, this gives a higher accuracy compared to the &#039;real value&#039;. This is because of the computational model that is being used. This model is quasi-harmonic which is based on the harmonic model. The harmonic oscillator is infinite and the bond between two atoms infinitely extends. However, at high temperatures this is not the reality. The bonds extend and break which is shown by the anharmonic model. Using the anharmonic potential, this can help to explain the &#039;physical origin&#039; of thermal expansion. As temperature increases, there is more bond vibration leading to greater bond extension (the internuclear separation &#039;goes further up the anharmonic potential plot). The longer the bonds in the crystal, the larger the volume. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot; class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 3: Thermal expansion coefficients&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Temperature range (K)&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Quasi-Harmonic&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Molecular Dynamics&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Literature&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;0-300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.042\times 10^{-5[1]}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;300-1300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.140\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;4.000\times 10^{-5[1]}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-0-300.png|thumb|centre|Figure 10: Quasi Harmonic approximation 0 -300 K ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-300-1300.png|thumb|centre|Figure 11:  Quasi Harmonic approximation 300-1300 K]]&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-Thermal-expansion-100-300.png|thumb|centre|Figure 12: Molecular Dynamics 100-300 K]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-300-1300.png|thumb|centre|Figure 13: Molecular Dynamics 300-1300 K]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from Table 3, at lower temperatures, the quasi-harmonic approximation gives a value closer to literature. This is because the quasi-harmonic approximation takes into account the zero point energy at lower temperatures which is the main contributing factor whereas molecular dynamics method doesn&#039;t giving a linear line much like the second temperature region - it only considers classical mechanics and not quantum mechanics like quasi-harmonic approximation which takes into account quantum effects such as the zero point energy. At lower temperatures, the molecular dynamics value had to be taken from the 100-300 K region as GULP gave an error at 0 K. This could be because molecular dynamics depends on the motion/velocity of the atoms. At 0 K, there is no motion meaning no information would be outputted, potentially giving an error. At higher temperatures, it can be seen that molecular dynamics gives a more accurate value compared to literature. This is because quasi-harmonic has a parabolic shape where the bond length increases exponentially with temperature. This means the bond length increases infinitely and the bond never breaks - the melting point can never be found using the quasi harmonic approximation. This can be demonstrated by using the thought experiment - what if this were carried out using a diatomic molecule with an exactly harmonic potential. An increase in temperature would cause more vibrations but the average bond length would remain the same due to the energy remaining in the potential well, with the internuclear separation remaining at the equilibrium position. Using the quasi harmonic potential is simply slightly skewed on one side meaning that an increase in temperature increases the bond length. &lt;br /&gt;
&lt;br /&gt;
Looking at the molecular dynamics data, it is a lot less stable than the quasi harmonic approximation graph. This could be due to the fact that there are more potential states at higher temperatures and fewer of them are sampled within the given time frame. This would lead to the average being less stable than those at lower temperatures. This would give a less accurate value and could explain the larger spread of data. &lt;br /&gt;
&amp;lt;h2&amp;gt;Conclusion&amp;lt;/h2&amp;gt;&lt;br /&gt;
This investigation found that the optimum grid size was 20x20x20 when looking at the phonon dispersion of MgO as this is where the free energy converged so gave very little difference between this value and higher values. The thermal expansion coefficient for MgO was investigated using a quasi harmonic approximation and molecular dynamics methods. In the region 0-300 K, the QHA gave a value of &amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt; and molecular dynamics gave a value of &amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;. In the region 300-1300 K, QHA gave a value of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt; and molecular dynamics gave a value of &amp;lt;math&amp;gt;4.000\times 10^{-5[1]}&amp;lt;/math&amp;gt;. In the lower temperature region, the QHA was found to be a better approximation and closer to literature as QHA includes the zero point energy which is the main contributing factor at that temperature. In the higher region, molecular dynamics was found to be a better approximation due to the quasi harmonic approximation not considering the anharmonic effects.&lt;br /&gt;
&amp;lt;h2&amp;gt;References&amp;lt;/h2&amp;gt;&lt;br /&gt;
[1] - Rao, A. S. M., &amp;amp; Narender, K. (2014). Studies on thermophysical properties of CaO and MgO by γ -ray attenuation. Journal of Thermodynamics, 2014. http://doi.org/10.1155/2014/123478&lt;br /&gt;
&amp;lt;br&amp;gt;[2] - Lecture 4: Vibrations and Free Energy N. M. Harrison Imperial College London&lt;br /&gt;
&amp;lt;br&amp;gt;[3] - Atkins, P. W., 2014, Atkins&#039; physical chemistry. Oxford: Oxford Univ. Press&lt;/div&gt;</summary>
		<author><name>Ar3015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674554</id>
		<title>Rep:Ar3015MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674554"/>
		<updated>2018-02-28T10:32:23Z</updated>

		<summary type="html">&lt;p&gt;Ar3015: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h1&amp;gt;MgO Report - Antonia Reeves&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;Abstract&amp;lt;/h2&amp;gt;&lt;br /&gt;
The thermal expansion coefficient for MgO was investigated using a quasi harmonic approximation and molecular dynamics methods. In the region 0-300 K, the QHA gave a value of &amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt; and molecular dynamics gave a value of &amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;. In the region 300-1300 K, QHA gave a value of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt; and molecular dynamics gave a value of &amp;lt;math&amp;gt;4.000\times 10^{-5[1]}&amp;lt;/math&amp;gt;. In the lower temperature region, the QHA was found to be a better approximation and closer to literature. In the higher region, molecular dynamics was found to be a better approximation. &lt;br /&gt;
&amp;lt;h2&amp;gt;Introduction&amp;lt;/h2&amp;gt;&lt;br /&gt;
In chemistry, it is much easier to treat crystals as rigid structures with set lattice points in unit cells. This can often hold as a good approximation at very low temperatures. However, this is obviously not the case. There are many different vibrations happening throughout the lattice structure leading to thermal expansion. These vibrations can be quantified by using a wave vector - this gives the direction of the propagation of the wave in reciprocal space. To represent reciprocal space, the inverse of the lattice parameter, a, can simply be taken &amp;lt;math&amp;gt;a^* = \frac{2 \pi}{a} ^{[3]}&amp;lt;/math&amp;gt;. This means that the x axis of dispersion plots (k) is simply multiples of a&amp;lt;math&amp;gt;^*&amp;lt;/math&amp;gt;. This report investigates the effect of temperature on vibrations and size of the lattice structure of MgO. The lattice structure of MgO is face centred cubic. &lt;br /&gt;
&amp;lt;h3&amp;gt;Phonons and phonon dispersions&amp;lt;/h3&amp;gt;&lt;br /&gt;
In quantum chemistry, vibrations can be treated as both particles and waves. When treating vibrations as particles - just as particles of light are photons - they are called phonons. This can be used and a plot of frequency against wave vector can be generated. This effectively gives a plot of the energy against the &#039;the way that vibrations move&#039; which is the k vector. As the phonon dispersion plot investigates the different ways vibrations can take place in the same time, if there were for example only a few atoms, this would give rise to only a few different k points. However, as an infinite lattice is being used, instead of giving quantised k points, a continuous line of k points can be generated, giving rise to a band. One band is called a branch. The number of branches is dependent on the number of different atoms in the lattice. In MgO lattice there are 2 atoms. Using the equation 3N (not 3N-6 as this takes into account rotational and translation degeneracy for single molecules that don&#039;t need to be considered for crystal vibrations) where N is the number of different atoms, this gives 6 branches which can be seen in the phonon dispersion plot in Figure 1. Using the dispersion plots are useful for seeing the frequency vs k vector as a whole, however, makes it difficult to determine pieces of information such as how many states are at a given frequency, and whether there is a direct or indirect band gap. This is simply one way of displaying all of the data - the same data can be displayed as a density of states. Instead of simply giving the angular frequency as a function of the wave vector, a plot of density of states can also show how many states have a given energy at each k vector point. This can show the energy difference in the band gap, and the most densely populated k-states more easily. In order to visualise the density of states, the phonon dispersion is &#039;chopped up&#039; into sections. The number of sections is determined by the grid size (these parameters can be changed in the GULP execution panel. In this, the frequencies at the edge of the grids are taken and plotted (only one side as not to repeat the counting of the frequencies). The higher the grid size, the greater the accuracy of the density of states as this allows a greater number of wave vectors to be sampled. The value of the grid size is called the shrinking factor.&lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal Expansion Coefficient&amp;lt;/h3&amp;gt;&lt;br /&gt;
Using the equation &amp;lt;math&amp;gt;\frac{1}{V_0}\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt; gives the thermal expansion coefficient. This value represents how much a given crystal expands with an increase in temperature.  The &amp;lt;math&amp;gt;\frac{1}{V_0}&amp;lt;/math&amp;gt; term to normalises this value so it can be applied to a crystal of any size which is composed of the same crystal. Below, the different computational methods that can be used to investigate how these properties change with temperature are used.&lt;br /&gt;
&amp;lt;h3&amp;gt;Software used&amp;lt;/h3&amp;gt;&lt;br /&gt;
DLVisualise is the programmed used for modelling crystals in simulations such as this and allows chemists to visualise properties of crystals such as vibrations, energy, volume  and calculates these using wavefunctions of crystals - GULP lets the particular codes for the simulations to be accessed for running simulations. GULP is better for quantum based calculations such as lattice dynamics over molecular dynamics. However force fields for molecular dynamics can still be used and calculate values to output thermodynamic data. &lt;br /&gt;
&amp;lt;h3&amp;gt;Harmonic and Quasi-Harmonic approximations&amp;lt;/h3&amp;gt;&lt;br /&gt;
The harmonic oscillator is simply a taylor expansion of anhmarmonic potential. The harmonic oscillator takes the third term (quadratic term) giving the easily the harmonic oscillator parabola. When looking at harmonic potential energies, as the temperature is changed, the average bond length stays at an equilibrium point and therefore the volume of the crystal doesn&#039;t change. This means that although this approximation works well at lower temperatures as there is little change in volume at low temperatures in reality, at higher temperatures, harmonic and anharmonic (which is a much more realistic model) deviate a lot, giving unreliable data for higher temperatures. A compromise between harmonic which isn&#039;t a very reliable approximation as it only uses 3 terms from the taylor series expansion and using an anharmonic which uses many terms and will be very expensive is using a quasi-harmonic approximation. In the helmholtz free energy equations, the differences in the equations for harmonic and quasi-harmonic plots are in the frequency term. In a harmonic system, equation 3 would be used as the potential. However as the quasi harmonic system is being examined, within the brillouin zone &amp;lt;math&amp;gt;-\pi &amp;lt; k &amp;lt; \pi &amp;lt;/math&amp;gt; equation 1 can be used. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{4J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 1)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{2J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 2)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{1}{2\pi}){\frac{k}{\mu}}^{\frac{1}{2}} &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 3)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Helmholtz Free Energy&amp;lt;/h3&amp;gt;&lt;br /&gt;
[[File:Screen_Shot_2018-02-27_at_10.12.39.png|thumb|centre|Eq. 4]]&amp;lt;math&amp;gt;^2&amp;lt;/math&amp;gt;&lt;br /&gt;
A = U - TS&lt;br /&gt;
In order to look at the energy of the vibrational modes, we use the vibrational contribution to the entropy using statistical thermodynamics and the partition coefficient. &lt;br /&gt;
The first term of equation 4 is the internal energy, the second term is the zero point energy (energy at 0K) and the final term is the statistical thermodynamics contribution - the contribution to the energy from the different vibrations.&lt;br /&gt;
This equation can be derived by using the partition function to derive the entropic term as shown in equation 5. &lt;br /&gt;
[[File:Screen_Shot_2018-02-28_at_08.56.46.png|thumb|centre|Eq. 5]&amp;lt;math&amp;gt;^3&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
The molecular dynamics method takes the values from the ideal MgO crystal, then when we change the parameters, generate random velocities. This process is repeated at each time step (each a microstate) then all of the microstates are averaged. An average of all of the microstates is carried out, when enough microstates have been sampled, they start to converge and properties of the crystal can start to be measured such as energy and volume. One of the main differences between the quasi-harmonic approximation and molecular dynamics is that quasi-harmonics uses quantum mechanics to calculate the volumes (the change in bond length) and molecular dynamics uses classical mechanics. When sampling a configuration, there needs to be enough time for the values to converge. This is where the length of the timesteps come into play - getting a more accurate value means that the calculations will take much longer and therefore be more expensive. &lt;br /&gt;
&amp;lt;h2&amp;gt;Method&amp;lt;/h2&amp;gt;&lt;br /&gt;
For all of the calculations, the GUI DLVisualise was used. For all calculations, the execute GULP panel was brought up and in the GULP potential parameters, ionic.lib was used and include shells was not included. &lt;br /&gt;
&amp;lt;h3&amp;gt;Lattice vibrations -Computing the phonons&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected, and then run was pressed. Once the job has completed, this shows in the job list and the files were recovered. The energy could be found in the log file under Total Free Energy. &lt;br /&gt;
[[File:MgO_phonon_1.PNG|thumb|centre|Figure 1: MgO Phonon dispersion ]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Calculating the free energy in the Harmonic approximation&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected. Under General Opts, phonon dispersion was selected with N points set to 50 and calculate phonon eigenvectors was selected, so that specific points in k-space (relating to the origin, x direction vectors being in phase etc.) are represented with greek letters. The files were recovered and the phonon dispersion was displayed using the 1D data display. &lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal expansion of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
The settings used for this calculation were, select phonon DOS, change shrinking factor to 20x20x20 and set the temperature from 0-3000 K in 100 K intervals. For each temperature, the free energy and lattice volume were taken from the log file. The volumes were multiplied by 4 as the volume given in the log file is the primitive cell volume. This is also required to calculate the lattice parameter which is simply the cube root of the volume of a conventional cell. &lt;br /&gt;
[[File:MgO_DOS_16x16x16.PNG|thumb|centre|Figure 2: 16x16x16 MgO Density of states]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
For Molecular dynamics, a super cell which is twice the length on every side of the cell was used. This is so the cell is larger and is more similar to &#039;an infinite lattice&#039;. Molecular Dynamics option was selected on the execute panel, the NPT ensemble was chosen, the time step used was 1 femtosecond, equilibration steps of 500, production steps was set to 500 steps and sampling steps and trajectory write steps were set to 5. The temperature used went from 100-3000 K with 100 K interval steps. As the volume of the cell is different to the cell used in the quasi-harmonic approximation, the cell volume taken from the log file (the last average cell volume), the volume was divided by 8 to get the same volume as the conventional cell for the quasi-harmonic approximation.&lt;br /&gt;
&amp;lt;h2&amp;gt;Results and discussion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Phonon Modes of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
When the density of states for calculated for a single k point, it can be worked out by examining the phonon dispersion which k point this is. In this case, the point is L as there are only 4 peaks (2 that have double the intensity due to the double degeneracy) and at L there are only 4 branches where we would expect 6 (due to 3N to calculate number of vibrational branches expected). This can also be seen by comparing the frequencies of the peaks in the 1x1x1 DOS and the frequency of the 4 branches at L. This can be checked in the log file as although the character L is useful for helping us to determine the symmetry of the modes of vibrations, it&#039;s always useful to numerically quantify values. This is simply in the row &#039;K point&#039; where the K point is 0.5. It&#039;s important that it can be viewed in the log file as on the phonon dispersion, only greek characters which represent different k points can be seen and it&#039;s not always obvious what numerical value goes with each character. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 1: Density of states - accuracy improved with increased shrinking factor&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_1.PNG|thumb|centre|Figure 3: MgO Density of States 1x1x1 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_3x3x3.PNG|thumb|centre|Figure 4: MgO Density of States 3x3x3 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_8x8x8.PNG|thumb|centre|Figure 5: MgO Density of States 8x8x8 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_32x32x32.PNG|thumb|centre|Figure 6: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from the progression in grid size that as the grid size increases, although the peaks with the greatest intensity stay in the same place, the shape of the density of states becomes much more defined and includes information on the states at k-points even where there is a lower number of states. When looking at the difference between grid sizes qualitatively, there isn&#039;t much of a difference between 8x8x8 and 32x32x32 apart from there is a more continuous curve with the same shape. It seems that a grid size of approximately 12x12x12 would be the minimum grid size as this is the grid size at which all k points are sampled and there aren&#039;t k-points with an angular frequency of 0 which then have non-zero values of angular frequencies at higher grid sizes. However, when deciding qualitatively, the convergence of the free energy can be used. At 20x20x20 and 6 decimal places, the free energy converges suggesting this is the optimum grid size to use. The density of states in terms of the phonon dispersion curve is basically plotting how many k points there are per value of angular frequency. This can be seen more easily by placing them side by side as seen in Figure 7&lt;br /&gt;
[[File:28548481_10215289272734952_157509358_o.jpg|thumb|centre|700px|Figure 7: MgO Density of states and phonon dispersion]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 2: Free energy changing with grid size&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Grid size&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Free energy (eV)&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;1&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-41.07531759&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;2&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926609&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;3&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926432&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;4&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.92645&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;5&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926463&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;6&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926471&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;7&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926475&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;8&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926478&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;12&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926481&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;16&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926482&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;20&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;32&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In order to determine a suitable shrinking factor, a number of grid sizes were investigated with the highest being 32x32x32. As having a higher shrinking factor takes longer and more processing power (leads to being more expensive), choosing the shrinking factor becomes a compromise between time and accuracy. As can be seen from Table 2, the Helmholtz free energy stops changing after a grid size of 20x20x20 so this seemed like a reasonable value to use as not to compromise the accuracy for a quicker run time.&lt;br /&gt;
As can be seen in table 2, after the grid size is 20x20x20, the values have converged and don&#039;t change (when looking at 6 decimal places, it may be changing beyond 6 decimal places). This is optimal as it reduces the computing power needed for a calculation whilst retaining almost the same level of accuracy. Using a grid size of 3x3x3 will gives a suitable energy for calculations accurate to 1 meV, REMEMBER TO DO 0.5mEV!!!!!!!! and a grid size of 5 gives a suitable energy for calculations accurate to 0.1 meV. When deciding on a suitable shrinking factor, it can be useful to consider the lattice parameter. k is simply a function of the lattice parameter where it is represented as a&amp;lt;math&amp;gt;^*&amp;lt;/math&amp;gt;. As the size of a increases, a&amp;lt;math&amp;gt;^*&amp;lt;/math&amp;gt; decreases because of the inversely proportional relationship. In CaO, this lattice structure also has a face centred cubic structure and a similar lattice parameter meaning a similar shrinking factor would be suitable for CaO for the types of calculations carried out in this investigation. The lattice constants shown in this experiment for MgO are around 4A. For Faujasite, this has a lattice parameter of around 24-25A. As a is much larger, &amp;lt;math&amp;gt;a^*&amp;lt;/math&amp;gt; will be much smaller, meaning a smaller grid size is required. Lithium is the smallest metal in the periodic table. This suggests that it would also have a very small lattice parameter too. If a is small, then a&amp;lt;math&amp;gt;^*&amp;lt;/math&amp;gt; will be large, meaning a large grid size. &lt;br /&gt;
&amp;lt;h3&amp;gt;Quasi-Harmonic Thermal expansion and Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Lattice_Parameter_Graph.png|thumb|centre|Figure 8: Lattice parameter vs temperature]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Free_energy_vs_T.png|thumb|centre|Figure 9: Free energy vs temperature]]&amp;lt;/th&amp;gt; &lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In Figure 9, it can be seen that the free energy is constant, then almost linearly decreases. At very low temperatures, the only main contribution to the free energy is the zero point energy as this is temperature independent. At around 400 K (where the free energy starts to decrease). We can explain by looking at equation 4 as when the temperature increases, the entropic contribution increases. If we assume the internal energy doesn&#039;t change much with temperature, then the TS term will increase in magnitude and decrease the overall free energy term. By looking at equation 4, the vibrational contribution term (also entropic term) is a ln term which will be negative, and again, decrease the overall free energy with an increase in temperature. &lt;br /&gt;
In the graph of lattice parameter vs temperature, the lattice parameter is initially constant and then increases linearly, then exponentially. Using the quasi-harmonic approximation, this gives the potential a &#039;quasi-anharmonic&#039; shape, meaning that the bond length will actually change with temperature but will just never reach the point where it breaks. Although this doesn&#039;t allow phase transitions to be investigated, it does allow the lattice parameter as a function of temperature to be investigated. DLVisualise and GULP doesn&#039;t actually allow simulations past 3000 K because of the infinitely increase potential.&lt;br /&gt;
&lt;br /&gt;
Using the Quasi Harmonic approximation, and fitting the data to get a line of best fit with a gradient of &amp;lt;math&amp;gt;5.697\times 10^{-4}&amp;lt;/math&amp;gt; which is equivalent to &amp;lt;math&amp;gt;\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt;. Multiplying by the reciprocal of the initial volume of the crystal, gives a thermal expansion coefficient for the region of 300-1300 K of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;. By taking the value from lower temperatures, this gives a higher accuracy compared to the &#039;real value&#039;. This is because of the computational model that is being used. This model is quasi-harmonic which is based on the harmonic model. The harmonic oscillator is infinite and the bond between two atoms infinitely extends. However, at high temperatures this is not the reality. The bonds extend and break which is shown by the anharmonic model. Using the anharmonic potential, this can help to explain the &#039;physical origin&#039; of thermal expansion. As temperature increases, there is more bond vibration leading to greater bond extension (the internuclear separation &#039;goes further up the anharmonic potential plot). The longer the bonds in the crystal, the larger the volume. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot; class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 3: Thermal expansion coefficients&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Temperature range (K)&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Quasi-Harmonic&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Molecular Dynamics&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Literature&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;0-300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.042\times 10^{-5[1]}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;300-1300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.140\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;4.000\times 10^{-5[1]}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-0-300.png|thumb|centre|Figure 10: Quasi Harmonic approximation 0 -300 K ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-300-1300.png|thumb|centre|Figure 11:  Quasi Harmonic approximation 300-1300 K]]&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-Thermal-expansion-100-300.png|thumb|centre|Figure 12: Molecular Dynamics 100-300 K]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-300-1300.png|thumb|centre|Figure 13: Molecular Dynamics 300-1300 K]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from Table 3, at lower temperatures, the quasi-harmonic approximation gives a value closer to literature. This is because the quasi-harmonic approximation takes into account the zero point energy at lower temperatures which is the main contributing factor whereas molecular dynamics method doesn&#039;t giving a linear line much like the second temperature region - it only considers classical mechanics and not quantum mechanics like quasi-harmonic approximation which takes into account quantum effects such as the zero point energy. At lower temperatures, the molecular dynamics value had to be taken from the 100-300 K region as GULP gave an error at 0 K. This could be because molecular dynamics depends on the motion/velocity of the atoms. At 0 K, there is no motion meaning no information would be outputted, potentially giving an error. At higher temperatures, it can be seen that molecular dynamics gives a more accurate value compared to literature. This is because quasi-harmonic has a parabolic shape where the bond length increases exponentially with temperature. This means the bond length increases infinitely and the bond never breaks - the melting point can never be found using the quasi harmonic approximation. This can be demonstrated by using the thought experiment - what if this were carried out using a diatomic molecule with an exactly harmonic potential. An increase in temperature would cause more vibrations but the average bond length would remain the same due to the energy remaining in the potential well, with the internuclear separation remaining at the equilibrium position. Using the quasi harmonic potential is simply slightly skewed on one side meaning that an increase in temperature increases the bond length. &lt;br /&gt;
&lt;br /&gt;
Looking at the molecular dynamics data, it is a lot less stable than the quasi harmonic approximation graph. This could be due to the fact that there are more potential states at higher temperatures and fewer of them are sampled within the given time frame. This would lead to the average being less stable than those at lower temperatures. This would give a less accurate value and could explain the larger spread of data. &lt;br /&gt;
&amp;lt;h2&amp;gt;Conclusion&amp;lt;/h2&amp;gt;&lt;br /&gt;
This investigation found that the optimum grid size was 20x20x20 when looking at the phonon dispersion of MgO as this is where the free energy converged so gave very little difference between this value and higher values. The thermal expansion coefficient for MgO was investigated using a quasi harmonic approximation and molecular dynamics methods. In the region 0-300 K, the QHA gave a value of &amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt; and molecular dynamics gave a value of &amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;. In the region 300-1300 K, QHA gave a value of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt; and molecular dynamics gave a value of &amp;lt;math&amp;gt;4.000\times 10^{-5[1]}&amp;lt;/math&amp;gt;. In the lower temperature region, the QHA was found to be a better approximation and closer to literature as QHA includes the zero point energy which is the main contributing factor at that temperature. In the higher region, molecular dynamics was found to be a better approximation due to the quasi harmonic approximation not considering the anharmonic effects.&lt;br /&gt;
&amp;lt;h2&amp;gt;References&amp;lt;/h2&amp;gt;&lt;br /&gt;
[1] - Rao, A. S. M., &amp;amp; Narender, K. (2014). Studies on thermophysical properties of CaO and MgO by γ -ray attenuation. Journal of Thermodynamics, 2014. http://doi.org/10.1155/2014/123478&lt;br /&gt;
&amp;lt;br&amp;gt;[2] - Lecture 4: Vibrations and Free Energy N. M. Harrison Imperial College London&lt;br /&gt;
&amp;lt;br&amp;gt;[3] - Atkins, P. W., 2014, Atkins&#039; physical chemistry. Oxford: Oxford Univ. Press&lt;/div&gt;</summary>
		<author><name>Ar3015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674525</id>
		<title>Rep:Ar3015MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674525"/>
		<updated>2018-02-28T10:12:01Z</updated>

		<summary type="html">&lt;p&gt;Ar3015: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h1&amp;gt;MgO Report - Antonia Reeves&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;Abstract&amp;lt;/h2&amp;gt;&lt;br /&gt;
The thermal expansion coefficient for MgO was investigated using a quasi harmonic approximation and molecular dynamics methods. In the region 0-300 K, the QHA gave a value of &amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt; and molecular dynamics gave a value of &amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;. In the region 300-1300 K, QHA gave a value of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt; and molecular dynamics gave a value of &amp;lt;math&amp;gt;4.000\times 10^{-5[1]}&amp;lt;/math&amp;gt;. In the lower temperature region, the QHA was found to be a better approximation and closer to literature. In the higher region, molecular dynamics was found to be a better approximation. &lt;br /&gt;
&amp;lt;h2&amp;gt;Introduction&amp;lt;/h2&amp;gt;&lt;br /&gt;
In chemistry, it is much easier to treat crystals as rigid structures with set lattice points in unit cells. This can often hold as a good approximation at very low temperatures. However, this is obviously not the case. There are many different vibrations happening throughout the lattice structure leading to thermal expansion. These vibrations can be quantified by using a wave vector - this gives the direction of the propagation of the wave in reciprocal space. To represent reciprocal space, the inverse of the lattice parameter, a, can simply be taken &amp;lt;math&amp;gt;a^* = \frac{2 \pi}{a} ^{[3]}&amp;lt;/math&amp;gt;. This means that the x axis of dispersion plots (k) is simply multiples of a&amp;lt;math&amp;gt;^*&amp;lt;/math&amp;gt;. This report investigates the effect of temperature on vibrations and size of the lattice structure of MgO. The lattice structure of MgO is face centred cubic. &lt;br /&gt;
&amp;lt;h3&amp;gt;Phonons and phonon dispersions&amp;lt;/h3&amp;gt;&lt;br /&gt;
In quantum chemistry, vibrations can be treated as both particles and waves. When treating vibrations as particles - just as particles of light are photons - they are called phonons. This can be used and a plot of frequency against wave vector can be generated. This effectively gives a plot of the energy against the &#039;the way that vibrations move&#039; which is the k vector. As the phonon dispersion plot investigates the different ways vibrations can take place in the same time, if there were for example only a few atoms, this would give rise to only a few different k points. However, as an infinite lattice is being used, instead of giving quantised k points, a continuous line of k points can be generated, giving rise to a band. One band is called a branch. The number of branches is dependent on the number of different atoms in the lattice. In MgO lattice there are 2 atoms. Using the equation 3N (not 3N-6 as this takes into account rotational and translation degeneracy for single molecules that don&#039;t need to be considered for crystal vibrations) where N is the number of different atoms, this gives 6 branches which can be seen in the phonon dispersion plot in Figure 1. Using the dispersion plots are useful for seeing the frequency vs k vector as a whole, however, makes it difficult to determine pieces of information such as how many states are at a given frequency, and whether there is a direct or indirect band gap. This is simply one way of displaying all of the data - the same data can be displayed as a density of states. Instead of simply giving the angular frequency as a function of the wave vector, a plot of density of states can also show how many states have a given energy at each k vector point. This can show the energy difference in the band gap, and the most densely populated k-states more easily. In order to visualise the density of states, the phonon dispersion is &#039;chopped up&#039; into sections. The number of sections is determined by the grid size (these parameters can be changed in the GULP execution panel. In this, the frequencies at the edge of the grids are taken and plotted (only one side as not to repeat the counting of the frequencies). The higher the grid size, the greater the accuracy of the density of states as this allows a greater number of wave vectors to be sampled. The value of the grid size is called the shrinking factor.&lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal Expansion Coefficient&amp;lt;/h3&amp;gt;&lt;br /&gt;
Using the equation &amp;lt;math&amp;gt;\frac{1}{V_0}\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt; gives the thermal expansion coefficient. This value represents how much a given crystal expands with an increase in temperature.  The &amp;lt;math&amp;gt;\frac{1}{V_0}&amp;lt;/math&amp;gt; term to normalises this value so it can be applied to a crystal of any size which is composed of the same crystal. Below, the different computational methods that can be used to investigate how these properties change with temperature are used.&lt;br /&gt;
&amp;lt;h3&amp;gt;Software used&amp;lt;/h3&amp;gt;&lt;br /&gt;
DLVisualise is the programmed used for modelling crystals in simulations such as this and allows chemists to visualise properties of crystals such as vibrations, energy, volume  and calculates these using wavefunctions of crystals - GULP lets the particular codes for the simulations to be accessed for running simulations. GULP is better for quantum based calculations such as lattice dynamics over molecular dynamics. However force fields for molecular dynamics can still be used and calculate values to output thermodynamic data. &lt;br /&gt;
&amp;lt;h3&amp;gt;Harmonic and Quasi-Harmonic approximations&amp;lt;/h3&amp;gt;&lt;br /&gt;
The harmonic oscillator is simply a taylor expansion of anhmarmonic potential. The harmonic oscillator takes the third term (quadratic term) giving the easily the harmonic oscillator parabola. When looking at harmonic potential energies, as the temperature is changed, the average bond length stays at an equilibrium point and therefore the volume of the crystal doesn&#039;t change. This means that although this approximation works well at lower temperatures as there is little change in volume at low temperatures in reality, at higher temperatures, harmonic and anharmonic (which is a much more realistic model) deviate a lot, giving unreliable data for higher temperatures. A compromise between harmonic which isn&#039;t a very reliable approximation as it only uses 3 terms from the taylor series expansion and using an anharmonic which uses many terms and will be very expensive is using a quasi-harmonic approximation. In the helmholtz free energy equations, the differences in the equations for harmonic and quasi-harmonic plots are in the frequency term. In a harmonic system, equation 3 would be used as the potential. However as the quasi harmonic system is being examined, within the brillouin zone &amp;lt;math&amp;gt;-\pi &amp;lt; k &amp;lt; \pi &amp;lt;/math&amp;gt; equation 1 can be used. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{4J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 1)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{2J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 2)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{1}{2\pi}){\frac{k}{\mu}}^{\frac{1}{2}} &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 3)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Helmholtz Free Energy&amp;lt;/h3&amp;gt;&lt;br /&gt;
[[File:Screen_Shot_2018-02-27_at_10.12.39.png|thumb|centre|Eq. 4]]&amp;lt;math&amp;gt;^2&amp;lt;/math&amp;gt;&lt;br /&gt;
A = U - TS&lt;br /&gt;
In order to look at the energy of the vibrational modes, we use the vibrational contribution to the entropy using statistical thermodynamics and the partition coefficient. &lt;br /&gt;
The first term of equation 4 is the internal energy, the second term is the zero point energy (energy at 0K) and the final term is the statistical thermodynamics contribution - the contribution to the energy from the different vibrations.&lt;br /&gt;
This equation can be derived by using the partition function to derive the entropic term as shown in equation 5. &lt;br /&gt;
[[File:Screen_Shot_2018-02-28_at_08.56.46.png|thumb|centre|Eq. 5]&amp;lt;math&amp;gt;^3&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
The molecular dynamics method takes the values from the ideal MgO crystal, then when we change the parameters, generate random velocities. This process is repeated at each time step (each a microstate) then all of the microstates are averaged. An average of all of the microstates is carried out, when enough microstates have been sampled, they start to converge and properties of the crystal can start to be measured such as energy and volume. One of the main differences between the quasi-harmonic approximation and molecular dynamics is that quasi-harmonics uses quantum mechanics to calculate the volumes (the change in bond length) and molecular dynamics uses classical mechanics. When sampling a configuration, there needs to be enough time for the values to converge. This is where the length of the timesteps come into play - getting a more accurate value means that the calculations will take much longer and therefore be more expensive. &lt;br /&gt;
&amp;lt;h2&amp;gt;Method&amp;lt;/h2&amp;gt;&lt;br /&gt;
For all of the calculations, the GUI DLVisualise was used. For all calculations, the execute GULP panel was brought up and in the GULP potential parameters, ionic.lib was used and include shells was not included. &lt;br /&gt;
&amp;lt;h3&amp;gt;Lattice vibrations -Computing the phonons&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected, and then run was pressed. Once the job has completed, this shows in the job list and the files were recovered. The energy could be found in the log file under Total Free Energy. &lt;br /&gt;
[[File:MgO_phonon_1.PNG|thumb|centre|Figure 1: MgO Phonon dispersion ]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Calculating the free energy in the Harmonic approximation&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected. Under General Opts, phonon dispersion was selected with N points set to 50 and calculate phonon eigenvectors was selected, so that specific points in k-space (relating to the origin, x direction vectors being in phase etc.) are represented with greek letters. The files were recovered and the phonon dispersion was displayed using the 1D data display. &lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal expansion of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
The settings used for this calculation were, select phonon DOS, change shrinking factor to 20x20x20 and set the temperature from 0-3000 K in 100 K intervals. For each temperature, the free energy and lattice volume were taken from the log file. The volumes were multiplied by 4 as the volume given in the log file is the primitive cell volume. This is also required to calculate the lattice parameter which is simply the cube root of the volume of a conventional cell. &lt;br /&gt;
[[File:MgO_DOS_16x16x16.PNG|thumb|centre|Figure 2: 16x16x16 MgO Density of states]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
For Molecular dynamics, a super cell which is twice the length on every side of the cell was used. This is so the cell is larger and is more similar to &#039;an infinite lattice&#039;. Molecular Dynamics option was selected on the execute panel, the NPT ensemble was chosen, the time step used was 1 femtosecond, equilibration steps of 500, production steps was set to 500 steps and sampling steps and trajectory write steps were set to 5. The temperature used went from 100-3000 K with 100 K interval steps. As the volume of the cell is different to the cell used in the quasi-harmonic approximation, the cell volume taken from the log file (the last average cell volume), the volume was divided by 8 to get the same volume as the conventional cell for the quasi-harmonic approximation.&lt;br /&gt;
&amp;lt;h2&amp;gt;Results and discussion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Phonon Modes of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
When the density of states for calculated for a single k point, it can be worked out by examining the phonon dispersion which k point this is. In this case, the point is L as there are only 4 peaks (2 that have double the intensity due to the double degeneracy) and at L there are only 4 branches where we would expect 6 (due to 3N to calculate number of vibrational branches expected). This can also be seen by comparing the frequencies of the peaks in the 1x1x1 DOS and the frequency of the 4 branches at L. This can be checked in the log file as although the character L is useful for helping us to determine the symmetry of the modes of vibrations, it&#039;s always useful to numerically quantify values. This is simply in the row &#039;K point&#039; where the K point is 0.5. It&#039;s important that it can be viewed in the log file as on the phonon dispersion, only greek characters which represent different k points can be seen and it&#039;s not always obvious what numerical value goes with each character. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 1: Density of states - accuracy improved with increased shrinking factor&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_1.PNG|thumb|centre|Figure 3: MgO Density of States 1x1x1 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_3x3x3.PNG|thumb|centre|Figure 4: MgO Density of States 3x3x3 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_8x8x8.PNG|thumb|centre|Figure 5: MgO Density of States 8x8x8 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_32x32x32.PNG|thumb|centre|Figure 6: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from the progression in grid size that as the grid size increases, although the peaks with the greatest intensity stay in the same place, the shape of the density of states becomes much more defined and includes information on the states at k-points even where there is a lower number of states. When looking at the difference between grid sizes qualitatively, there isn&#039;t much of a difference between 8x8x8 and 32x32x32 apart from there is a more continuous curve with the same shape. It seems that a grid size of approximately 12x12x12 would be the minimum grid size as this is the grid size at which all k points are sampled and there aren&#039;t k-points with an angular frequency of 0 which then have non-zero values of angular frequencies at higher grid sizes. However, when deciding qualitatively, the convergence of the free energy can be used. At 20x20x20 and 6 decimal places, the free energy converges suggesting this is the optimum grid size to use. The density of states in terms of the phonon dispersion curve is basically plotting how many k points there are per value of angular frequency. This can be seen more easily by placing them side by side as seen in Figure 7&lt;br /&gt;
[[File:28548481_10215289272734952_157509358_o.jpg|thumb|centre|700px|Figure 7: MgO Density of states and phonon dispersion]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 2: Free energy changing with grid size&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Grid size&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Free energy (eV)&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;1&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-41.07531759&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;2&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926609&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;3&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926432&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;4&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.92645&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;5&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926463&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;6&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926471&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;7&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926475&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;8&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926478&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;12&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926481&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;16&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926482&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;20&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;32&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In order to determine a suitable shrinking factor, a number of grid sizes were investigated with the highest being 32x32x32. As having a higher shrinking factor takes longer and more processing power (leads to being more expensive), choosing the shrinking factor becomes a compromise between time and accuracy. As can be seen from Table 2, the Helmholtz free energy stops changing after a grid size of 20x20x20 so this seemed like a reasonable value to use as not to compromise the accuracy for a quicker run time.&lt;br /&gt;
As can be seen in table 2, after the grid size is 20x20x20, the values have converged and don&#039;t change (when looking at 6 decimal places, it may be changing beyond 6 decimal places). This is optimal as it reduces the computing power needed for a calculation whilst retaining almost the same level of accuracy. Using a grid size of 3x3x3 will gives a suitable energy for calculations accurate to 1 meV, REMEMBER TO DO 0.5mEV!!!!!!!! and a grid size of 5 gives a suitable energy for calculations accurate to 0.1 meV. When deciding on a suitable shrinking factor, it can be useful to consider the lattice parameter. k is simply a function of the lattice parameter where it is represented as a&amp;lt;math&amp;gt;^*&amp;lt;/math&amp;gt;. As the size of a increases, a&amp;lt;math&amp;gt;^*&amp;lt;/math&amp;gt; decreases because of the inversely proportional relationship. In CaO, this lattice structure also has a face centred cubic structure and a similar lattice parameter meaning a similar shrinking factor would be suitable for CaO for the types of calculations carried out in this investigation. The lattice constants shown in this experiment for MgO are around 4A. For Faujasite, this has a lattice parameter of around 24-25A. As a is much larger, &amp;lt;math&amp;gt;a^*&amp;lt;/math&amp;gt; will be much smaller, meaning a smaller grid size is required. Lithium is the smallest metal in the periodic table. This suggests that it would also have a very small lattice parameter too. If a is small, then a&amp;lt;math&amp;gt;^*&amp;lt;/math&amp;gt; will be large, meaning a large grid size. &lt;br /&gt;
&amp;lt;h3&amp;gt;Quasi-Harmonic Thermal expansion and Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Lattice_Parameter_Graph.png|thumb|centre|Figure 8: Lattice parameter vs temperature]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Free_energy_vs_T.png|thumb|centre|Figure 9: Free energy vs temperature]]&amp;lt;/th&amp;gt; &lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In Figure 9, it can be seen that the free energy is constant, then almost linearly decreases. At very low temperatures, the only main contribution to the free energy is the zero point energy as this is temperature independent. At around 400 K (where the free energy starts to decrease). We can explain by looking at equation 4 as when the temperature increases, the entropic contribution increases. If we assume the internal energy doesn&#039;t change much with temperature, then the TS term will increase in magnitude and decrease the overall free energy term. By looking at equation 4, the vibrational contribution term (also entropic term) is a ln term which will be negative, and again, decrease the overall free energy with an increase in temperature. &lt;br /&gt;
In the graph of lattice parameter vs temperature, the lattice parameter is initially constant and then increases linearly, then exponentially. Using the quasi-harmonic approximation, this gives the potential a &#039;quasi-anharmonic&#039; shape, meaning that the bond length will actually change with temperature but will just never reach the point where it breaks. Although this doesn&#039;t allow phase transitions to be investigated, it does allow the lattice parameter as a function of temperature to be investigated. DLVisualise and GULP doesn&#039;t actually allow simulations past 3000 K because of the infinitely increase potential.&lt;br /&gt;
&lt;br /&gt;
Using the Quasi Harmonic approximation, and fitting the data to get a line of best fit with a gradient of &amp;lt;math&amp;gt;5.697\times 10^{-4}&amp;lt;/math&amp;gt; which is equivalent to &amp;lt;math&amp;gt;\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt;. Multiplying by the reciprocal of the initial volume of the crystal, gives a thermal expansion coefficient for the region of 300-1300 K of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;. By taking the value from lower temperatures, this gives a higher accuracy compared to the &#039;real value&#039;. This is because of the computational model that is being used. This model is quasi-harmonic which is based on the harmonic model. The harmonic oscillator is infinite and the bond between two atoms infinitely extends. However, at high temperatures this is not the reality. The bonds extend and break which is shown by the anharmonic model. Using the anharmonic potential, this can help to explain the &#039;physical origin&#039; of thermal expansion. As temperature increases, there is more bond vibration leading to greater bond extension (the internuclear separation &#039;goes further up the anharmonic potential plot). The longer the bonds in the crystal, the larger the volume. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot; class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 3: Thermal expansion coefficients&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Temperature range (K)&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Quasi-Harmonic&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Molecular Dynamics&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Literature&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;0-300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.042\times 10^{-5[1]}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;300-1300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.140\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;4.000\times 10^{-5[1]}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-0-300.png|thumb|centre|Figure 10: Quasi Harmonic approximation 0 -300 K ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-300-1300.png|thumb|centre|Figure 11:  Quasi Harmonic approximation 300-1300 K]]&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-Thermal-expansion-100-300.png|thumb|centre|Figure 12: Molecular Dynamics 100-300 K]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-300-1300.png|thumb|centre|Figure 13: Molecular Dynamics 300-1300 K]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from Table 3, at lower temperatures, the quasi-harmonic approximation gives a value closer to literature. This is because the quasi-harmonic approximation takes into account the zero point energy at lower temperatures which is the main contributing factor whereas molecular dynamics method doesn&#039;t giving a linear line much like the second temperature region - it only considers classical mechanics and not quantum mechanics like quasi-harmonic approximation which takes into account quantum effects such as the zero point energy. At lower temperatures, the molecular dynamics value had to be taken from the 100-300 K region as GULP gave an error at 0 K. This could be because molecular dynamics depends on the motion/velocity of the atoms. At 0 K, there is no motion meaning no information would be outputted, potentially giving an error. At higher temperatures, it can be seen that molecular dynamics gives a more accurate value compared to literature. This is because quasi-harmonic has a parabolic shape where the bond length increases exponentially with temperature. This means the bond length increases infinitely and the bond never breaks - the melting point can never be found using the quasi harmonic approximation. This can be demonstrated by using the thought experiment - what if this were carried out using a diatomic molecule with an exactly harmonic potential. An increase in temperature would cause more vibrations but the average bond length would remain the same due to the energy remaining in the potential well, with the internuclear separation remaining at the equilibrium position. Using the quasi harmonic potential is simply slightly skewed on one side meaning that an increase in temperature increases the bond length. &lt;br /&gt;
&lt;br /&gt;
Looking at the molecular dynamics data, it is a lot less stable than the quasi harmonic approximation graph. This could be due to the fact that there are more potential states at higher temperatures and fewer of them are sampled within the given time frame. This would lead to the average being less stable than those at lower temperatures. This would give a less accurate value and could explain the larger spread of data. &lt;br /&gt;
&amp;lt;h2&amp;gt;Conclusion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;References&amp;lt;/h2&amp;gt;&lt;br /&gt;
[1] - Rao, A. S. M., &amp;amp; Narender, K. (2014). Studies on thermophysical properties of CaO and MgO by γ -ray attenuation. Journal of Thermodynamics, 2014. http://doi.org/10.1155/2014/123478&lt;br /&gt;
&amp;lt;br&amp;gt;[2] - Lecture 4: Vibrations and Free Energy N. M. Harrison Imperial College London&lt;br /&gt;
&amp;lt;br&amp;gt;[3] - Atkins, P. W., 2014, Atkins&#039; physical chemistry. Oxford: Oxford Univ. Press&lt;/div&gt;</summary>
		<author><name>Ar3015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674508</id>
		<title>Rep:Ar3015MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674508"/>
		<updated>2018-02-28T10:01:00Z</updated>

		<summary type="html">&lt;p&gt;Ar3015: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h1&amp;gt;MgO Report - Antonia Reeves&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;Abstract&amp;lt;/h2&amp;gt;&lt;br /&gt;
The thermal expansion coefficient for MgO was investigated using a quasi harmonic approximation and molecular dynamics methods. In the region 0-300 K, the QHA gave a value of &amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt; and molecular dynamics gave a value of &amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;. In the region 300-1300 K, QHA gave a value of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt; and molecular dynamics gave a value of &amp;lt;math&amp;gt;4.000\times 10^{-5[1]}&amp;lt;/math&amp;gt;. In the lower temperature region, the QHA was found to be a better approximation and closer to literature. In the higher region, molecular dynamics was found to be a better approximation. &lt;br /&gt;
&amp;lt;h2&amp;gt;Introduction&amp;lt;/h2&amp;gt;&lt;br /&gt;
In chemistry, it is much easier to treat crystals as rigid structures with set lattice points in unit cells. This can often hold as a good approximation at very low temperatures. However, this is obviously not the case. There are many different vibrations happening throughout the lattice structure leading to thermal expansion. These vibrations can be quantified by using a wave vector - this gives the direction of the propagation of the wave in reciprocal space. To represent reciprocal space, the inverse of the lattice parameter, a, can simply be taken &amp;lt;math&amp;gt;a^* = \frac{2 \pi}{a} ^{[3]}&amp;lt;/math&amp;gt;. This means that the x axis of dispersion plots (k) is simply multiples of a&amp;lt;math&amp;gt;^*&amp;lt;/math&amp;gt;. This report investigates the effect of temperature on vibrations and size of the lattice structure of MgO. The lattice structure of MgO is face centred cubic. &lt;br /&gt;
&amp;lt;h3&amp;gt;Phonons and phonon dispersions&amp;lt;/h3&amp;gt;&lt;br /&gt;
In quantum chemistry, vibrations can be treated as both particles and waves. When treating vibrations as particles - just as particles of light are photons - they are called phonons. This can be used and a plot of frequency against wave vector can be generated. This effectively gives a plot of the energy against the &#039;the way that vibrations move&#039; which is the k vector. As the phonon dispersion plot investigates the different ways vibrations can take place in the same time, if there were for example only a few atoms, this would give rise to only a few different k points. However, as an infinite lattice is being used, instead of giving quantised k points, a continuous line of k points can be generated, giving rise to a band. One band is called a branch. The number of branches is dependent on the number of different atoms in the lattice. In MgO lattice there are 2 atoms. Using the equation 3N (not 3N-6 as this takes into account rotational and translation degeneracy for single molecules that don&#039;t need to be considered for crystal vibrations) where N is the number of different atoms, this gives 6 branches which can be seen in the phonon dispersion plot in Figure 1. Using the dispersion plots are useful for seeing the frequency vs k vector as a whole, however, makes it difficult to determine pieces of information such as how many states are at a given frequency, and whether there is a direct or indirect band gap. This is simply one way of displaying all of the data - the same data can be displayed as a density of states. Instead of simply giving the angular frequency as a function of the wave vector, a plot of density of states can also show how many states have a given energy at each k vector point. This can show the energy difference in the band gap, and the most densely populated k-states more easily. In order to visualise the density of states, the phonon dispersion is &#039;chopped up&#039; into sections. The number of sections is determined by the grid size (these parameters can be changed in the GULP execution panel. In this, the frequencies at the edge of the grids are taken and plotted (only one side as not to repeat the counting of the frequencies). The higher the grid size, the greater the accuracy of the density of states as this allows a greater number of wave vectors to be sampled. The value of the grid size is called the shrinking factor.&lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal Expansion Coefficient&amp;lt;/h3&amp;gt;&lt;br /&gt;
Using the equation &amp;lt;math&amp;gt;\frac{1}{V_0}\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt; gives the thermal expansion coefficient. This value represents how much a given crystal expands with an increase in temperature.  The &amp;lt;math&amp;gt;\frac{1}{V_0}&amp;lt;/math&amp;gt; term to normalises this value so it can be applied to a crystal of any size which is composed of the same crystal. Below, the different computational methods that can be used to investigate how these properties change with temperature are used.&lt;br /&gt;
&amp;lt;h3&amp;gt;Software used&amp;lt;/h3&amp;gt;&lt;br /&gt;
DLVisualise is the programmed used for modelling crystals in simulations such as this and allows chemists to visualise properties of crystals such as vibrations, energy, volume  and calculates these using wavefunctions of crystals - GULP lets the particular codes for the simulations to be accessed for running simulations. GULP is better for quantum based calculations such as lattice dynamics over molecular dynamics. However force fields for molecular dynamics can still be used and calculate values to output thermodynamic data. &lt;br /&gt;
&amp;lt;h3&amp;gt;Harmonic and Quasi-Harmonic approximations&amp;lt;/h3&amp;gt;&lt;br /&gt;
The harmonic oscillator is simply a taylor expansion of anhmarmonic potential. The harmonic oscillator takes the third term (quadratic term) giving the easily the harmonic oscillator parabola. When looking at harmonic potential energies, as the temperature is changed, the average bond length stays at an equilibrium point and therefore the volume of the crystal doesn&#039;t change. This means that although this approximation works well at lower temperatures as there is little change in volume at low temperatures in reality, at higher temperatures, harmonic and anharmonic (which is a much more realistic model) deviate a lot, giving unreliable data for higher temperatures. A compromise between harmonic which isn&#039;t a very reliable approximation as it only uses 3 terms from the taylor series expansion and using an anharmonic which uses many terms and will be very expensive is using a quasi-harmonic approximation. In the helmholtz free energy equations, the differences in the equations for harmonic and quasi-harmonic plots are in the frequency term. In a harmonic system, equation 3 would be used as the potential. However as the quasi harmonic system is being examined, within the brillouin zone &amp;lt;math&amp;gt;-\pi &amp;lt; k &amp;lt; \pi &amp;lt;/math&amp;gt; equation 1 can be used. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{4J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 1)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{2J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 2)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{1}{2\pi}){\frac{k}{\mu}}^{\frac{1}{2}} &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 3)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Helmholtz Free Energy&amp;lt;/h3&amp;gt;&lt;br /&gt;
[[File:Screen_Shot_2018-02-27_at_10.12.39.png|thumb|centre|Eq. 4]]&amp;lt;math&amp;gt;^2&amp;lt;/math&amp;gt;&lt;br /&gt;
A = U - TS&lt;br /&gt;
In order to look at the energy of the vibrational modes, we use the vibrational contribution to the entropy using statistical thermodynamics and the partition coefficient. &lt;br /&gt;
The first term of equation 4 is the internal energy, the second term is the zero point energy (energy at 0K) and the final term is the statistical thermodynamics contribution - the contribution to the energy from the different vibrations.&lt;br /&gt;
This equation can be derived by using the partition function to derive the entropic term as shown in equation 5. &lt;br /&gt;
[[File:Screen_Shot_2018-02-28_at_08.56.46.png|thumb|centre|Eq. 5]&amp;lt;math&amp;gt;^3&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
The molecular dynamics method takes the values from the ideal MgO crystal, then when we change the parameters, generate random velocities. This process is repeated at each time step (each a microstate) then all of the microstates are averaged. An average of all of the microstates is carried out, when enough microstates have been sampled, they start to converge and properties of the crystal can start to be measured such as energy and volume. One of the main differences between the quasi-harmonic approximation and molecular dynamics is that quasi-harmonics uses quantum mechanics to calculate the volumes (the change in bond length) and molecular dynamics uses classical mechanics. When sampling a configuration, there needs to be enough time for the values to converge. This is where the length of the timesteps come into play - getting a more accurate value means that the calculations will take much longer and therefore be more expensive. &lt;br /&gt;
&amp;lt;h2&amp;gt;Method&amp;lt;/h2&amp;gt;&lt;br /&gt;
For all of the calculations, the GUI DLVisualise was used. For all calculations, the execute GULP panel was brought up and in the GULP potential parameters, ionic.lib was used and include shells was not included. &lt;br /&gt;
&amp;lt;h3&amp;gt;Lattice vibrations -Computing the phonons&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected, and then run was pressed. Once the job has completed, this shows in the job list and the files were recovered. The energy could be found in the log file under Total Free Energy. &lt;br /&gt;
[[File:MgO_phonon_1.PNG|thumb|centre|Figure 1: MgO Phonon dispersion ]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Calculating the free energy in the Harmonic approximation&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected. Under General Opts, phonon dispersion was selected with N points set to 50 and calculate phonon eigenvectors was selected, so that specific points in k-space (relating to the origin, x direction vectors being in phase etc.) are represented with greek letters. The files were recovered and the phonon dispersion was displayed using the 1D data display. &lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal expansion of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
The settings used for this calculation were, select phonon DOS, change shrinking factor to 20x20x20 and set the temperature from 0-3000 K in 100 K intervals. For each temperature, the free energy and lattice volume were taken from the log file. The volumes were multiplied by 4 as the volume given in the log file is the primitive cell volume. This is also required to calculate the lattice parameter which is simply the cube root of the volume of a conventional cell. &lt;br /&gt;
[[File:MgO_DOS_16x16x16.PNG|thumb|centre|Figure 2: 16x16x16 MgO Density of states]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
For Molecular dynamics, a super cell which is twice the length on every side of the cell was used. This is so the cell is larger and is more similar to &#039;an infinite lattice&#039;. Molecular Dynamics option was selected on the execute panel, the NPT ensemble was chosen, the time step used was 1 femtosecond, equilibration steps of 500, production steps was set to 500 steps and sampling steps and trajectory write steps were set to 5. The temperature used went from 100-3000 K with 100 K interval steps. As the volume of the cell is different to the cell used in the quasi-harmonic approximation, the cell volume taken from the log file (the last average cell volume), the volume was divided by 8 to get the same volume as the conventional cell for the quasi-harmonic approximation.&lt;br /&gt;
&amp;lt;h2&amp;gt;Results and discussion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Phonon Modes of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
When the density of states for calculated for a single k point, it can be worked out by examining the phonon dispersion which k point this is. In this case, the point is L as there are only 4 peaks (2 that have double the intensity due to the double degeneracy) and at L there are only 4 branches where we would expect 6 (due to 3N to calculate number of vibrational branches expected). This can also be seen by comparing the frequencies of the peaks in the 1x1x1 DOS and the frequency of the 4 branches at L. This can be checked in the log file as although the character L is useful for helping us to determine the symmetry of the modes of vibrations, it&#039;s always useful to numerically quantify values. This is simply in the row &#039;K point&#039; where the K point is 0.5. It&#039;s important that it can be viewed in the log file as on the phonon dispersion, only greek characters which represent different k points can be seen and it&#039;s not always obvious what numerical value goes with each character. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 1: Density of states - accuracy improved with increased shrinking factor&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_1.PNG|thumb|centre|Figure 3: MgO Density of States 1x1x1 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_3x3x3.PNG|thumb|centre|Figure 4: MgO Density of States 3x3x3 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_8x8x8.PNG|thumb|centre|Figure 5: MgO Density of States 8x8x8 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_32x32x32.PNG|thumb|centre|Figure 6: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from the progression in grid size that as the grid size increases, although the peaks with the greatest intensity stay in the same place, the shape of the density of states becomes much more defined and includes information on the states at k-points even where there is a lower number of states. When looking at the difference between grid sizes qualitatively, there isn&#039;t much of a difference between 8x8x8 and 32x32x32 apart from there is a more continuous curve with the same shape. It seems that a grid size of approximately 12x12x12 would be the minimum grid size as this is the grid size at which all k points are sampled and there aren&#039;t k-points with an angular frequency of 0 which then have non-zero values of angular frequencies at higher grid sizes. However, when deciding qualitatively, the convergence of the free energy can be used. At 20x20x20 and 6 decimal places, the free energy converges suggesting this is the optimum grid size to use. The density of states in terms of the phonon dispersion curve is basically plotting how many k points there are per value of angular frequency. This can be seen more easily by placing them side by side as seen in Figure 7&lt;br /&gt;
[[File:28548481_10215289272734952_157509358_o.jpg|thumb|centre|700px|Figure 7: MgO Density of states and phonon dispersion]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 2: Free energy changing with grid size&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Grid size&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Free energy (eV)&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;1&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-41.07531759&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;2&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926609&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;3&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926432&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;4&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.92645&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;5&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926463&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;6&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926471&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;7&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926475&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;8&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926478&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;12&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926481&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;16&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926482&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;20&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;32&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In order to determine a suitable shrinking factor, a number of grid sizes were investigated with the highest being 32x32x32. As having a higher shrinking factor takes longer and more processing power (leads to being more expensive), choosing the shrinking factor becomes a compromise between time and accuracy. As can be seen from Table 2, the Helmholtz free energy stops changing after a grid size of 20x20x20 so this seemed like a reasonable value to use as not to compromise the accuracy for a quicker run time.&lt;br /&gt;
As can be seen in table 2, after the grid size is 20x20x20, the values have converged and don&#039;t change (when looking at 6 decimal places, it may be changing beyond 6 decimal places). This is optimal as it reduces the computing power needed for a calculation whilst retaining almost the same level of accuracy. Using a grid size of 3x3x3 will gives a suitable energy for calculations accurate to 1 meV, REMEMBER TO DO 0.5mEV!!!!!!!! and a grid size of 5 gives a suitable energy for calculations accurate to 0.1 meV. When deciding on a suitable shrinking factor, it can be useful to consider the lattice parameter. k is simply a function of the lattice parameter where it is represented as a&amp;lt;math&amp;gt;^*&amp;lt;/math&amp;gt;. As the size of a increases, a&amp;lt;math&amp;gt;^*&amp;lt;/math&amp;gt; decreases because of the inversely proportional relationship. In CaO, this lattice structure also has a face centred cubic structure and a similar lattice parameter meaning a similar shrinking factor would be suitable for CaO for the types of calculations carried out in this investigation. The lattice constants shown in this experiment for MgO are around 4A. For Faujasite, this has a lattice parameter of around 24-25A. As a is much larger, &amp;lt;math&amp;gt;a^*&amp;lt;/math&amp;gt; will be much smaller, meaning a smaller grid size is required. Lithium is the smallest metal in the periodic table. This suggests that it would also have a very small lattice parameter too. If a is small, then a&amp;lt;math&amp;gt;^*&amp;lt;/math&amp;gt; will be large, meaning a large grid size. &lt;br /&gt;
&amp;lt;h3&amp;gt;Quasi-Harmonic Thermal expansion and Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Lattice_Parameter_Graph.png|thumb|centre|Figure 8: Lattice parameter vs temperature]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Free_energy_vs_T.png|thumb|centre|Figure 9: Free energy vs temperature]]&amp;lt;/th&amp;gt; &lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In Figure 9, it can be seen that the free energy is constant, then almost linearly decreases. At very low temperatures, the only main contribution to the free energy is the zero point energy as this is temperature independent. At around 400 K (where the free energy starts to decrease). We can explain by looking at equation 4 as when the temperature increases, the entropic contribution increases. If we assume the internal energy doesn&#039;t change much with temperature, then the TS term will increase in magnitude and decrease the overall free energy term. By looking at equation 4, the vibrational contribution term (also entropic term) is a ln term which will be negative, and again, decrease the overall free energy with an increase in temperature. &lt;br /&gt;
In the graph of lattice parameter vs temperature, the lattice parameter is initially constant and then increases linearly, then exponentially. Using the quasi-harmonic approximation, this gives the potential a &#039;quasi-anharmonic&#039; shape, meaning that the bond length will actually change with temperature but will just never reach the point where it breaks. Although this doesn&#039;t allow phase transitions to be investigated, it does allow the lattice parameter as a function of temperature to be investigated. DLVisualise and GULP doesn&#039;t actually allow simulations past 3000 K because of the infinitely increase potential.&lt;br /&gt;
&lt;br /&gt;
Using the Quasi Harmonic approximation, and fitting the data to get a line of best fit with a gradient of &amp;lt;math&amp;gt;5.697\times 10^{-4}&amp;lt;/math&amp;gt; which is equivalent to &amp;lt;math&amp;gt;\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt;. Multiplying by the reciprocal of the initial volume of the crystal, gives a thermal expansion coefficient for the region of 300-1300 K of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;. By taking the value from lower temperatures, this gives a higher accuracy compared to the &#039;real value&#039;. This is because of the computational model that is being used. This model is quasi-harmonic which is based on the harmonic model. The harmonic oscillator is infinite and the bond between two atoms infinitely extends. However, at high temperatures this is not the reality. The bonds extend and break which is shown by the anharmonic model. Using the anharmonic potential, this can help to explain the &#039;physical origin&#039; of thermal expansion. As temperature increases, there is more bond vibration leading to greater bond extension (the internuclear separation &#039;goes further up the anharmonic potential plot). The longer the bonds in the crystal, the larger the volume. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot; class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 3: Thermal expansion coefficients&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Temperature range (K)&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Quasi-Harmonic&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Molecular Dynamics&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Literature&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;0-300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.042\times 10^{-5[1]}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;300-1300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.140\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;4.000\times 10^{-5[1]}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-0-300.png|thumb|centre|Figure 10: Quasi Harmonic approximation 0 -300 K ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-300-1300.png|thumb|centre|Figure 11:  Quasi Harmonic approximation 300-1300 K]]&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-Thermal-expansion-100-300.png|thumb|centre|Figure 12: Molecular Dynamics 100-300 K]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-300-1300.png|thumb|centre|Figure 13: Molecular Dynamics 300-1300 K]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from Table 3, at lower temperatures, the quasi-harmonic approximation gives a value closer to literature. This is because the quasi-harmonic approximation takes into account the zero point energy at lower temperatures which is the main contributing factor whereas molecular dynamics method doesn&#039;t giving a linear line much like the second temperature region - it only considers classical mechanics and not quantum mechanics like quasi-harmonic approximation which takes into account quantum effects such as the zero point energy. At lower temperatures, the molecular dynamics value had to be taken from the 100-300 K region as GULP gave an error at 0 K. This could be because molecular dynamics depends on the motion/velocity of the atoms. At 0 K, there is no motion meaning no information would be outputted, potentially giving an error. At higher temperatures, it can be seen that molecular dynamics gives a more accurate value compared to literature. This is because quasi-harmonic has a parabolic shape where the bond length increases exponentially with temperature. This means the bond length increases infinitely and the bond never breaks - the melting point can never be found using the quasi harmonic approximation. This can be demonstrated by using the thought experiment - what if this were carried out using a diatomic molecule with an exactly harmonic potential. An increase in temperature would cause more vibrations but the average bond length would remain the same due to the energy remaining in the potential well, with the internuclear separation remaining at the equilibrium position. Using the quasi harmonic potential is simply slightly skewed on one side meaning that an increase in temperature increases the bond length. &lt;br /&gt;
&amp;lt;h2&amp;gt;Conclusion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;References&amp;lt;/h2&amp;gt;&lt;br /&gt;
[1] - Rao, A. S. M., &amp;amp; Narender, K. (2014). Studies on thermophysical properties of CaO and MgO by γ -ray attenuation. Journal of Thermodynamics, 2014. http://doi.org/10.1155/2014/123478&lt;br /&gt;
&amp;lt;br&amp;gt;[2] - Lecture 4: Vibrations and Free Energy N. M. Harrison Imperial College London&lt;br /&gt;
&amp;lt;br&amp;gt;[3] - Atkins, P. W., 2014, Atkins&#039; physical chemistry. Oxford: Oxford Univ. Press&lt;/div&gt;</summary>
		<author><name>Ar3015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674506</id>
		<title>Rep:Ar3015MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674506"/>
		<updated>2018-02-28T10:00:30Z</updated>

		<summary type="html">&lt;p&gt;Ar3015: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h1&amp;gt;MgO Report - Antonia Reeves&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;Abstract&amp;lt;/h2&amp;gt;&lt;br /&gt;
The thermal expansion coefficient for MgO was investigated using a quasi harmonic approximation and molecular dynamics methods. In the region 0-300 K, the QHA gave a value of &amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt; and molecular dynamics gave a value of &amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;. In the region 300-1300 K, QHA gave a value of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt; and molecular dynamics gave a value of &amp;lt;math&amp;gt;4.000\times 10^{-5[1]}&amp;lt;/math&amp;gt;. In the lower temperature region, the QHA was found to be a better approximation and closer to literature. In the higher region, molecular dynamics was found to be a better approximation. &lt;br /&gt;
&amp;lt;h2&amp;gt;Introduction&amp;lt;/h2&amp;gt;&lt;br /&gt;
In chemistry, it is much easier to treat crystals as rigid structures with set lattice points in unit cells. This can often hold as a good approximation at very low temperatures. However, this is obviously not the case. There are many different vibrations happening throughout the lattice structure leading to thermal expansion. These vibrations can be quantified by using a wave vector - this gives the direction of the propagation of the wave in reciprocal space. To represent reciprocal space, the inverse of the lattice parameter, a, can simply be taken &amp;lt;math&amp;gt;a^* = \frac{2 \pi}{a} ^{[3]}&amp;lt;/math&amp;gt;. This means that the x axis of dispersion plots (k) is simply multiples of a&amp;lt;math&amp;gt;^*&amp;lt;/math&amp;gt;. This report investigates the effect of temperature on vibrations and size of the lattice structure of MgO. The lattice structure of MgO is face centred cubic. &lt;br /&gt;
&amp;lt;h3&amp;gt;Phonons and phonon dispersions&amp;lt;/h3&amp;gt;&lt;br /&gt;
In quantum chemistry, vibrations can be treated as both particles and waves. When treating vibrations as particles - just as particles of light are photons - they are called phonons. This can be used and a plot of frequency against wave vector can be generated. This effectively gives a plot of the energy against the &#039;the way that vibrations move&#039; which is the k vector. As the phonon dispersion plot investigates the different ways vibrations can take place in the same time, if there were for example only a few atoms, this would give rise to only a few different k points. However, as an infinite lattice is being used, instead of giving quantised k points, a continuous line of k points can be generated, giving rise to a band. One band is called a branch. The number of branches is dependent on the number of different atoms in the lattice. In MgO lattice there are 2 atoms. Using the equation 3N (not 3N-6 as this takes into account rotational and translation degeneracy for single molecules that don&#039;t need to be considered for crystal vibrations) where N is the number of different atoms, this gives 6 branches which can be seen in the phonon dispersion plot in Figure 1. Using the dispersion plots are useful for seeing the frequency vs k vector as a whole, however, makes it difficult to determine pieces of information such as how many states are at a given frequency, and whether there is a direct or indirect band gap. This is simply one way of displaying all of the data - the same data can be displayed as a density of states. Instead of simply giving the angular frequency as a function of the wave vector, a plot of density of states can also show how many states have a given energy at each k vector point. This can show the energy difference in the band gap, and the most densely populated k-states more easily. In order to visualise the density of states, the phonon dispersion is &#039;chopped up&#039; into sections. The number of sections is determined by the grid size (these parameters can be changed in the GULP execution panel. In this, the frequencies at the edge of the grids are taken and plotted (only one side as not to repeat the counting of the frequencies). The higher the grid size, the greater the accuracy of the density of states as this allows a greater number of wave vectors to be sampled. The value of the grid size is called the shrinking factor.&lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal Expansion Coefficient&amp;lt;/h3&amp;gt;&lt;br /&gt;
Using the equation &amp;lt;math&amp;gt;\frac{1}{V_0}\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt; gives the thermal expansion coefficient. This value represents how much a given crystal expands with an increase in temperature.  The &amp;lt;math&amp;gt;\frac{1}{V_0}&amp;lt;/math&amp;gt; term to normalises this value so it can be applied to a crystal of any size which is composed of the same crystal. Below, the different computational methods that can be used to investigate how these properties change with temperature are used.&lt;br /&gt;
&amp;lt;h3&amp;gt;Software used&amp;lt;/h3&amp;gt;&lt;br /&gt;
DLVisualise is the programmed used for modelling crystals in simulations such as this and allows chemists to visualise properties of crystals such as vibrations, energy, volume  and calculates these using wavefunctions of crystals - GULP lets the particular codes for the simulations to be accessed for running simulations. GULP is better for quantum based calculations such as lattice dynamics over molecular dynamics. However force fields for molecular dynamics can still be used and calculate values to output thermodynamic data. &lt;br /&gt;
&amp;lt;h3&amp;gt;Harmonic and Quasi-Harmonic approximations&amp;lt;/h3&amp;gt;&lt;br /&gt;
The harmonic oscillator is simply a taylor expansion of anhmarmonic potential. The harmonic oscillator takes the third term (quadratic term) giving the easily the harmonic oscillator parabola. When looking at harmonic potential energies, as the temperature is changed, the average bond length stays at an equilibrium point and therefore the volume of the crystal doesn&#039;t change. This means that although this approximation works well at lower temperatures as there is little change in volume at low temperatures in reality, at higher temperatures, harmonic and anharmonic (which is a much more realistic model) deviate a lot, giving unreliable data for higher temperatures. A compromise between harmonic which isn&#039;t a very reliable approximation as it only uses 3 terms from the taylor series expansion and using an anharmonic which uses many terms and will be very expensive is using a quasi-harmonic approximation. In the helmholtz free energy equations, the differences in the equations for harmonic and quasi-harmonic plots are in the frequency term. In a harmonic system, equation 3 would be used as the potential. However as the quasi harmonic system is being examined, within the brillouin zone &amp;lt;math&amp;gt;-\pi &amp;lt; k &amp;lt; \pi &amp;lt;/math&amp;gt; equation 1 can be used. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{4J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 1)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{2J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 2)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{1}{2\pi}){\frac{k}{\mu}}^{\frac{1}{2}} &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 3)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Helmholtz Free Energy&amp;lt;/h3&amp;gt;&lt;br /&gt;
[[File:Screen_Shot_2018-02-27_at_10.12.39.png|thumb|centre|Eq. 4]]&amp;lt;math&amp;gt;^2&amp;lt;/math&amp;gt;&lt;br /&gt;
A = U - TS&lt;br /&gt;
In order to look at the energy of the vibrational modes, we use the vibrational contribution to the entropy using statistical thermodynamics and the partition coefficient. &lt;br /&gt;
The first term of equation 4 is the internal energy, the second term is the zero point energy (energy at 0K) and the final term is the statistical thermodynamics contribution - the contribution to the energy from the different vibrations.&lt;br /&gt;
This equation can be derived by using the partition function to derive the entropic term as shown in equation 5. &lt;br /&gt;
[[File:Screen_Shot_2018-02-28_at_08.56.46.png|thumb|centre|Eq. 5]&amp;lt;math&amp;gt;^3&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
The molecular dynamics method takes the values from the ideal MgO crystal, then when we change the parameters, generate random velocities. This process is repeated at each time step (each a microstate) then all of the microstates are averaged. An average of all of the microstates is carried out, when enough microstates have been sampled, they start to converge and properties of the crystal can start to be measured such as energy and volume. One of the main differences between the quasi-harmonic approximation and molecular dynamics is that quasi-harmonics uses quantum mechanics to calculate the volumes (the change in bond length) and molecular dynamics uses classical mechanics. When sampling a configuration, there needs to be enough time for the values to converge. This is where the length of the timesteps come into play - getting a more accurate value means that the calculations will take much longer and therefore be more expensive. &lt;br /&gt;
&amp;lt;h2&amp;gt;Method&amp;lt;/h2&amp;gt;&lt;br /&gt;
For all of the calculations, the GUI DLVisualise was used. For all calculations, the execute GULP panel was brought up and in the GULP potential parameters, ionic.lib was used and include shells was not included. &lt;br /&gt;
&amp;lt;h3&amp;gt;Lattice vibrations -Computing the phonons&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected, and then run was pressed. Once the job has completed, this shows in the job list and the files were recovered. The energy could be found in the log file under Total Free Energy. &lt;br /&gt;
[[File:MgO_phonon_1.PNG|thumb|centre|Figure 1: MgO Phonon dispersion ]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Calculating the free energy in the Harmonic approximation&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected. Under General Opts, phonon dispersion was selected with N points set to 50 and calculate phonon eigenvectors was selected, so that specific points in k-space (relating to the origin, x direction vectors being in phase etc.) are represented with greek letters. The files were recovered and the phonon dispersion was displayed using the 1D data display. &lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal expansion of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
The settings used for this calculation were, select phonon DOS, change shrinking factor to 20x20x20 and set the temperature from 0-3000 K in 100 K intervals. For each temperature, the free energy and lattice volume were taken from the log file. The volumes were multiplied by 4 as the volume given in the log file is the primitive cell volume. This is also required to calculate the lattice parameter which is simply the cube root of the volume of a conventional cell. &lt;br /&gt;
[[File:MgO_DOS_16x16x16.PNG|thumb|centre|Figure 2: 16x16x16 MgO Density of states]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
For Molecular dynamics, a super cell which is twice the length on every side of the cell was used. This is so the cell is larger and is more similar to &#039;an infinite lattice&#039;. Molecular Dynamics option was selected on the execute panel, the NPT ensemble was chosen, the time step used was 1 femtosecond, equilibration steps of 500, production steps was set to 500 steps and sampling steps and trajectory write steps were set to 5. The temperature used went from 100-3000 K with 100 K interval steps. As the volume of the cell is different to the cell used in the quasi-harmonic approximation, the cell volume taken from the log file (the last average cell volume), the volume was divided by 8 to get the same volume as the conventional cell for the quasi-harmonic approximation.&lt;br /&gt;
&amp;lt;h2&amp;gt;Results and discussion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Phonon Modes of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
When the density of states for calculated for a single k point, it can be worked out by examining the phonon dispersion which k point this is. In this case, the point is L as there are only 4 peaks (2 that have double the intensity due to the double degeneracy) and at L there are only 4 branches where we would expect 6 (due to 3N to calculate number of vibrational branches expected). This can also be seen by comparing the frequencies of the peaks in the 1x1x1 DOS and the frequency of the 4 branches at L. This can be checked in the log file as although the character L is useful for helping us to determine the symmetry of the modes of vibrations, it&#039;s always useful to numerically quantify values. This is simply in the row &#039;K point&#039; where the K point is 0.5. It&#039;s important that it can be viewed in the log file as on the phonon dispersion, only greek characters which represent different k points can be seen and it&#039;s not always obvious what numerical value goes with each character. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 1: Density of states - accuracy improved with increased shrinking factor&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_1.PNG|thumb|centre|Figure 3: MgO Density of States 1x1x1 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_3x3x3.PNG|thumb|centre|Figure 4: MgO Density of States 3x3x3 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_8x8x8.PNG|thumb|centre|Figure 5: MgO Density of States 8x8x8 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_32x32x32.PNG|thumb|centre|Figure 6: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from the progression in grid size that as the grid size increases, although the peaks with the greatest intensity stay in the same place, the shape of the density of states becomes much more defined and includes information on the states at k-points even where there is a lower number of states. When looking at the difference between grid sizes qualitatively, there isn&#039;t much of a difference between 8x8x8 and 32x32x32 apart from there is a more continuous curve with the same shape. It seems that a grid size of approximately 12x12x12 would be the minimum grid size as this is the grid size at which all k points are sampled and there aren&#039;t k-points with an angular frequency of 0 which then have non-zero values of angular frequencies at higher grid sizes. However, when deciding qualitatively, the convergence of the free energy can be used. At 20x20x20 and 6 decimal places, the free energy converges suggesting this is the optimum grid size to use. The density of states in terms of the phonon dispersion curve is basically plotting how many k points there are per value of angular frequency. This can be seen more easily by placing them side by side as seen in Figure 7&lt;br /&gt;
[[File:28548481_10215289272734952_157509358_o.jpg|thumb|centre|700px|Figure 7: MgO Density of states and phonon dispersion]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 2: Free energy changing with grid size&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Grid size&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Free energy (eV)&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;1&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-41.07531759&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;2&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926609&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;3&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926432&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;4&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.92645&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;5&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926463&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;6&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926471&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;7&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926475&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;8&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926478&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;12&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926481&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;16&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926482&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;20&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;32&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In order to determine a suitable shrinking factor, a number of grid sizes were investigated with the highest being 32x32x32. As having a higher shrinking factor takes longer and more processing power (leads to being more expensive), choosing the shrinking factor becomes a compromise between time and accuracy. As can be seen from Table 2, the Helmholtz free energy stops changing after a grid size of 20x20x20 so this seemed like a reasonable value to use as not to compromise the accuracy for a quicker run time.&lt;br /&gt;
As can be seen in table 2, after the grid size is 20x20x20, the values have converged and don&#039;t change (when looking at 6 decimal places, it may be changing beyond 6 decimal places). This is optimal as it reduces the computing power needed for a calculation whilst retaining almost the same level of accuracy. Using a grid size of 3x3x3 will gives a suitable energy for calculations accurate to 1 meV, REMEMBER TO DO 0.5mEV!!!!!!!! and a grid size of 5 gives a suitable energy for calculations accurate to 0.1 meV. When deciding on a suitable shrinking factor, it can be useful to consider the lattice parameter. k is simply a function of the lattice parameter where it is represented as a&amp;lt;math&amp;gt;^*&amp;lt;/math&amp;gt;. As the size of a increases, a&amp;lt;math&amp;gt;^*&amp;lt;/math&amp;gt; decreases because of the inversely proportional relationship. In CaO, this lattice structure also has a face centred cubic structure and a similar lattice parameter meaning a similar shrinking factor would be suitable for CaO for the types of calculations carried out in this investigation. The lattice constants shown in this experiment for MgO are around 4A. For Faujasite, this has a lattice parameter of around 24-25A. As a is much larger, &amp;lt;math&amp;gt;a^*&amp;lt;/math&amp;gt; will be much smaller, meaning a smaller grid size is required. Lithium is the smallest metal in the periodic table. This suggests that it would also have a very small lattice parameter too. If a is small, then a&amp;lt;math&amp;gt;^*&amp;lt;/math&amp;gt; will be large, meaning a large grid size. &lt;br /&gt;
&amp;lt;h3&amp;gt;Quasi-Harmonic Thermal expansion&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Lattice_Parameter_Graph.png|thumb|centre|Figure 8: Lattice parameter vs temperature]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Free_energy_vs_T.png|thumb|centre|Figure 9: Free energy vs temperature]]&amp;lt;/th&amp;gt; &lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In Figure 9, it can be seen that the free energy is constant, then almost linearly decreases. At very low temperatures, the only main contribution to the free energy is the zero point energy as this is temperature independent. At around 400 K (where the free energy starts to decrease). We can explain by looking at equation 4 as when the temperature increases, the entropic contribution increases. If we assume the internal energy doesn&#039;t change much with temperature, then the TS term will increase in magnitude and decrease the overall free energy term. By looking at equation 4, the vibrational contribution term (also entropic term) is a ln term which will be negative, and again, decrease the overall free energy with an increase in temperature. &lt;br /&gt;
In the graph of lattice parameter vs temperature, the lattice parameter is initially constant and then increases linearly, then exponentially. Using the quasi-harmonic approximation, this gives the potential a &#039;quasi-anharmonic&#039; shape, meaning that the bond length will actually change with temperature but will just never reach the point where it breaks. Although this doesn&#039;t allow phase transitions to be investigated, it does allow the lattice parameter as a function of temperature to be investigated. DLVisualise and GULP doesn&#039;t actually allow simulations past 3000 K because of the infinitely increase potential.&lt;br /&gt;
&lt;br /&gt;
Using the Quasi Harmonic approximation, and fitting the data to get a line of best fit with a gradient of &amp;lt;math&amp;gt;5.697\times 10^{-4}&amp;lt;/math&amp;gt; which is equivalent to &amp;lt;math&amp;gt;\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt;. Multiplying by the reciprocal of the initial volume of the crystal, gives a thermal expansion coefficient for the region of 300-1300 K of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;. By taking the value from lower temperatures, this gives a higher accuracy compared to the &#039;real value&#039;. This is because of the computational model that is being used. This model is quasi-harmonic which is based on the harmonic model. The harmonic oscillator is infinite and the bond between two atoms infinitely extends. However, at high temperatures this is not the reality. The bonds extend and break which is shown by the anharmonic model. Using the anharmonic potential, this can help to explain the &#039;physical origin&#039; of thermal expansion. As temperature increases, there is more bond vibration leading to greater bond extension (the internuclear separation &#039;goes further up the anharmonic potential plot). The longer the bonds in the crystal, the larger the volume. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot; class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 3: Thermal expansion coefficients&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Temperature range (K)&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Quasi-Harmonic&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Molecular Dynamics&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Literature&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;0-300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.042\times 10^{-5[1]}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;300-1300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.140\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;4.000\times 10^{-5[1]}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-0-300.png|thumb|centre|Figure 10: Quasi Harmonic approximation 0 -300 K ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-300-1300.png|thumb|centre|Figure 11:  Quasi Harmonic approximation 300-1300 K]]&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-Thermal-expansion-100-300.png|thumb|centre|Figure 12: Molecular Dynamics 100-300 K]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-300-1300.png|thumb|centre|Figure 13: Molecular Dynamics 300-1300 K]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from Table 3, at lower temperatures, the quasi-harmonic approximation gives a value closer to literature. This is because the quasi-harmonic approximation takes into account the zero point energy at lower temperatures which is the main contributing factor whereas molecular dynamics method doesn&#039;t giving a linear line much like the second temperature region - it only considers classical mechanics and not quantum mechanics like quasi-harmonic approximation which takes into account quantum effects such as the zero point energy. At lower temperatures, the molecular dynamics value had to be taken from the 100-300 K region as GULP gave an error at 0 K. This could be because molecular dynamics depends on the motion/velocity of the atoms. At 0 K, there is no motion meaning no information would be outputted, potentially giving an error. At higher temperatures, it can be seen that molecular dynamics gives a more accurate value compared to literature. This is because quasi-harmonic has a parabolic shape where the bond length increases exponentially with temperature. This means the bond length increases infinitely and the bond never breaks - the melting point can never be found using the quasi harmonic approximation. This can be demonstrated by using the thought experiment - what if this were carried out using a diatomic molecule with an exactly harmonic potential. An increase in temperature would cause more vibrations but the average bond length would remain the same due to the energy remaining in the potential well, with the internuclear separation remaining at the equilibrium position. Using the quasi harmonic potential is simply slightly skewed on one side meaning that an increase in temperature increases the bond length. &lt;br /&gt;
&amp;lt;h2&amp;gt;Conclusion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;References&amp;lt;/h2&amp;gt;&lt;br /&gt;
[1] - Rao, A. S. M., &amp;amp; Narender, K. (2014). Studies on thermophysical properties of CaO and MgO by γ -ray attenuation. Journal of Thermodynamics, 2014. http://doi.org/10.1155/2014/123478&lt;br /&gt;
&amp;lt;br&amp;gt;[2] - Lecture 4: Vibrations and Free Energy N. M. Harrison Imperial College London&lt;br /&gt;
&amp;lt;br&amp;gt;[3] - Atkins, P. W., 2014, Atkins&#039; physical chemistry. Oxford: Oxford Univ. Press&lt;/div&gt;</summary>
		<author><name>Ar3015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674470</id>
		<title>Rep:Ar3015MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674470"/>
		<updated>2018-02-28T09:26:17Z</updated>

		<summary type="html">&lt;p&gt;Ar3015: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h1&amp;gt;MgO Report - Antonia Reeves&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;Introduction&amp;lt;/h2&amp;gt;&lt;br /&gt;
In chemistry, it is much easier to treat crystals as rigid structures with set lattice points in unit cells. This can often hold as a good approximation at very low temperatures. However, this is obviously not the case. There are many different vibrations happening throughout the lattice structure leading to thermal expansion. These vibrations can be quantified by using a wave vector - this gives the direction of the propagation of the wave in reciprocal space. To represent reciprocal space, the inverse of the lattice parameter, a, can simply be taken &amp;lt;math&amp;gt;a^* = \frac{2 \pi}{a} ^{[3]}&amp;lt;/math&amp;gt;. This report investigates the effect of temperature on vibrations and size of the lattice structure of MgO. The lattice structure of MgO is face centred cubic. &lt;br /&gt;
&amp;lt;h3&amp;gt;Phonons and phonon dispersions&amp;lt;/h3&amp;gt;&lt;br /&gt;
In quantum chemistry, vibrations can be treated as both particles and waves. When treating vibrations as particles - just as particles of light are photons - they are called phonons. This can be used and a plot of frequency against wave vector can be generated. This effectively gives a plot of the energy against the &#039;the way that vibrations move&#039; which is the k vector. As the phonon dispersion plot investigates the different ways vibrations can take place in the same time, if there were for example only a few atoms, this would give rise to only a few different k points. However, as an infinite lattice is being used, instead of giving quantised k points, a continuous line of k points can be generated, giving rise to a band. One band is called a branch. The number of branches is dependent on the number of different atoms in the lattice. In MgO lattice there are 2 atoms. Using the equation 3N (not 3N-6 as this takes into account rotational and translation degeneracy for single molecules that don&#039;t need to be considered for crystal vibrations) where N is the number of different atoms, this gives 6 branches which can be seen in the phonon dispersion plot in Figure 1. Using the dispersion plots are useful for seeing the frequency vs k vector as a whole, however, makes it difficult to determine pieces of information such as how many states are at a given frequency, and whether there is a direct or indirect band gap. This is simply one way of displaying all of the data - the same data can be displayed as a density of states. Instead of simply giving the angular frequency as a function of the wave vector, a plot of density of states can also show how many states have a given energy at each k vector point. This can show the energy difference in the band gap, and the most densely populated k-states more easily. In order to visualise the density of states, the phonon dispersion is &#039;chopped up&#039; into sections. The number of sections is determined by the grid size (these parameters can be changed in the GULP execution panel. In this, the frequencies at the edge of the grids are taken and plotted (only one side as not to repeat the counting of the frequencies). The higher the grid size, the greater the accuracy of the density of states as this allows a greater number of wave vectors to be sampled. The value of the grid size is called the shrinking factor.&lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal Expansion Coefficient&amp;lt;/h3&amp;gt;&lt;br /&gt;
Using the equation &amp;lt;math&amp;gt;\frac{1}{V_0}\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt; gives the thermal expansion coefficient. This value represents how much a given crystal expands with an increase in temperature.  The &amp;lt;math&amp;gt;\frac{1}{V_0}&amp;lt;/math&amp;gt; term to normalises this value so it can be applied to a crystal of any size which is composed of the same crystal. Below, the different computational methods that can be used to investigate how these properties change with temperature are used.&lt;br /&gt;
&amp;lt;h3&amp;gt;Software used&amp;lt;/h3&amp;gt;&lt;br /&gt;
DLVisualise is the programmed used for modelling crystals in simulations such as this and allows chemists to visualise properties of crystals such as vibrations, energy, volume  and calculates these using wavefunctions of crystals - GULP lets the particular codes for the simulations to be accessed for running simulations. GULP is better for quantum based calculations such as lattice dynamics over molecular dynamics. However force fields for molecular dynamics can still be used and calculate values to output thermodynamic data. &lt;br /&gt;
&amp;lt;h3&amp;gt;Harmonic and Quasi-Harmonic approximations&amp;lt;/h3&amp;gt;&lt;br /&gt;
The harmonic oscillator is simply a taylor expansion of anhmarmonic potential. The harmonic oscillator takes the third term (quadratic term) giving the easily the harmonic oscillator parabola. When looking at harmonic potential energies, as the temperature is changed, the average bond length stays at an equilibrium point and therefore the volume of the crystal doesn&#039;t change. This means that although this approximation works well at lower temperatures as there is little change in volume at low temperatures in reality, at higher temperatures, harmonic and anharmonic (which is a much more realistic model) deviate a lot, giving unreliable data for higher temperatures. A compromise between harmonic which isn&#039;t a very reliable approximation as it only uses 3 terms from the taylor series expansion and using an anharmonic which uses many terms and will be very expensive is using a quasi-harmonic approximation. In the helmholtz free energy equations, the differences in the equations for harmonic and quasi-harmonic plots are in the frequency term. In a harmonic system, equation 3 would be used as the potential. However as the quasi harmonic system is being examined, within the brillouin zone &amp;lt;math&amp;gt;-\pi &amp;lt; k &amp;lt; \pi &amp;lt;/math&amp;gt; equation 1 can be used. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{4J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 1)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{2J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 2)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{1}{2\pi}){\frac{k}{\mu}}^{\frac{1}{2}} &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 3)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Helmholtz Free Energy&amp;lt;/h3&amp;gt;&lt;br /&gt;
[[File:Screen_Shot_2018-02-27_at_10.12.39.png|thumb|centre|Eq. 4]]&amp;lt;math&amp;gt;^2&amp;lt;/math&amp;gt;&lt;br /&gt;
A = U - TS&lt;br /&gt;
In order to look at the energy of the vibrational modes, we use the vibrational contribution to the entropy using statistical thermodynamics and the partition coefficient. &lt;br /&gt;
The first term of equation 4 is the internal energy, the second term is the zero point energy (energy at 0K) and the final term is the statistical thermodynamics contribution - the contribution to the energy from the different vibrations.&lt;br /&gt;
This equation can be derived by using the partition function to derive the entropic term as shown in equation 5. &lt;br /&gt;
[[File:Screen_Shot_2018-02-28_at_08.56.46.png|thumb|centre|Eq. 5]&amp;lt;math&amp;gt;^3&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
The molecular dynamics method takes the values from the ideal MgO crystal, then when we change the parameters, generate random velocities. This process is repeated at each time step (each a microstate) then all of the microstates are averaged. An average of all of the microstates is carried out, when enough microstates have been sampled, they start to converge and properties of the crystal can start to be measured such as energy and volume. One of the main differences between the quasi-harmonic approximation and molecular dynamics is that quasi-harmonics uses quantum mechanics to calculate the volumes (the change in bond length) and molecular dynamics uses classical mechanics. When sampling a configuration, there needs to be enough time for the values to converge. This is where the length of the timesteps come into play - getting a more accurate value means that the calculations will take much longer and therefore be more expensive. &lt;br /&gt;
&amp;lt;h2&amp;gt;Method&amp;lt;/h2&amp;gt;&lt;br /&gt;
For all of the calculations, the GUI DLVisualise was used. For all calculations, the execute GULP panel was brought up and in the GULP potential parameters, ionic.lib was used and include shells was not included. &lt;br /&gt;
&amp;lt;h3&amp;gt;Lattice vibrations -Computing the phonons&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected, and then run was pressed. Once the job has completed, this shows in the job list and the files were recovered. The energy could be found in the log file under Total Free Energy. &lt;br /&gt;
[[File:MgO_phonon_1.PNG|thumb|centre|Figure 1: MgO Phonon dispersion ]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Calculating the free energy in the Harmonic approximation&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected. Under General Opts, phonon dispersion was selected with N points set to 50 and calculate phonon eigenvectors was selected, so that specific points in k-space (relating to the origin, x direction vectors being in phase etc.) are represented with greek letters. The files were recovered and the phonon dispersion was displayed using the 1D data display. &lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal expansion of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
The settings used for this calculation were, select phonon DOS, change shrinking factor to 20x20x20 and set the temperature from 0-3000 K in 100 K intervals. For each temperature, the free energy and lattice volume were taken from the log file. The volumes were multiplied by 4 as the volume given in the log file is the primitive cell volume. This is also required to calculate the lattice parameter which is simply the cube root of the volume of a conventional cell. &lt;br /&gt;
[[File:MgO_DOS_16x16x16.PNG|thumb|centre|Figure 2: 16x16x16 MgO Density of states]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
For Molecular dynamics, a super cell which is twice the length on every side of the cell was used. This is so the cell is larger and is more similar to &#039;an infinite lattice&#039;. Molecular Dynamics option was selected on the execute panel, the NPT ensemble was chosen, the time step used was 1 femtosecond, equilibration steps of 500, production steps was set to 500 steps and sampling steps and trajectory write steps were set to 5. The temperature used went from 100-3000 K with 100 K interval steps. As the volume of the cell is different to the cell used in the quasi-harmonic approximation, the cell volume taken from the log file (the last average cell volume), the volume was divided by 8 to get the same volume as the conventional cell for the quasi-harmonic approximation.&lt;br /&gt;
&amp;lt;h2&amp;gt;Results and discussion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Phonon Modes of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
When the density of states for calculated for a single k point, it can be worked out by examining the phonon dispersion which k point this is. In this case, the point is L as there are only 4 peaks (2 that have double the intensity due to the double degeneracy) and at L there are only 4 branches where we would expect 6 (due to 3N to calculate number of vibrational branches expected). This can also be seen by comparing the frequencies of the peaks in the 1x1x1 DOS and the frequency of the 4 branches at L. This can be checked in the log file as although the character L is useful for helping us to determine the symmetry of the modes of vibrations, it&#039;s always useful to numerically quantify values. This is simply in the row &#039;K point&#039; where the K point is 0.5. It&#039;s important that it can be viewed in the log file as on the phonon dispersion, only greek characters which represent different k points can be seen and it&#039;s not always obvious what numerical value goes with each character. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 1: Density of states - accuracy improved with increased shrinking factor&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_1.PNG|thumb|centre|Figure 3: MgO Density of States 1x1x1 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_3x3x3.PNG|thumb|centre|Figure 4: MgO Density of States 3x3x3 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_8x8x8.PNG|thumb|centre|Figure 5: MgO Density of States 8x8x8 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_32x32x32.PNG|thumb|centre|Figure 6: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from the progression in grid size that as the grid size increases, although the peaks with the greatest intensity stay in the same place, the shape of the density of states becomes much more defined and includes information on the states at k-points even where there is a lower number of states. When looking at the difference between grid sizes qualitatively, there isn&#039;t much of a difference between 8x8x8 and 32x32x32 apart from there is a more continuous curve with the same shape. It seems that a grid size of approximately 12x12x12 would be the minimum grid size as this is the grid size at which all k points are sampled and there aren&#039;t k-points with an angular frequency of 0 which then have non-zero values of angular frequencies at higher grid sizes. However, when deciding qualitatively, the convergence of the free energy can be used. At 20x20x20 and 6 decimal places, the free energy converges suggesting this is the optimum grid size to use. The density of states in terms of the phonon dispersion curve is basically plotting how many k points there are per value of angular frequency. This can be seen more easily by placing them side by side as seen in Figure 7&lt;br /&gt;
[[File:28548481_10215289272734952_157509358_o.jpg|thumb|centre|700px|Figure 7: MgO Density of states and phonon dispersion]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 2: Free energy changing with grid size&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Grid size&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Free energy (eV)&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;1&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-41.07531759&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;2&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926609&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;3&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926432&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;4&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.92645&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;5&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926463&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;6&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926471&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;7&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926475&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;8&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926478&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;12&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926481&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;16&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926482&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;20&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;32&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In order to determine a suitable shrinking factor, a number of grid sizes were investigated with the highest being 32x32x32. As having a higher shrinking factor takes longer and more processing power (leads to being more expensive), choosing the shrinking factor becomes a compromise between time and accuracy. As can be seen from Table 2, the Helmholtz free energy stops changing after a grid size of 20x20x20 so this seemed like a reasonable value to use as not to compromise the accuracy for a quicker run time.&lt;br /&gt;
As can be seen in table 2, after the grid size is 20x20x20, the values have converged and don&#039;t change (when looking at 6 decimal places, it may be changing beyond 6 decimal places). This is optimal as it reduces the computing power needed for a calculation whilst retaining almost the same level of accuracy. Using a grid size of 3x3x3 will gives a suitable energy for calculations accurate to 1 meV, REMEMBER TO DO 0.5mEV!!!!!!!! and a grid size of 5 gives a suitable energy for calculations accurate to 0.1 meV. When deciding on a suitable shrinking factor, it can be useful to consider the lattice parameter. k is simply a function of the lattice parameter where it is represented as a&amp;lt;math&amp;gt;^*&amp;lt;/math&amp;gt;. As the size of a increases, a&amp;lt;math&amp;gt;^*&amp;lt;/math&amp;gt; decreases because of the inversely proportional relationship. In CaO, this lattice structure also has a face centred cubic structure and a similar lattice parameter meaning a similar shrinking factor would be suitable for CaO for the types of calculations carried out in this investigation. The lattice constants shown in this experiment for MgO are around 4A. For Faujasite, this has a lattice parameter of around 24-25A. As a is much larger, &amp;lt;math&amp;gt;a^*&amp;lt;/math&amp;gt; will be much smaller, meaning a smaller grid size is required. Lithium is the smallest metal in the periodic table. This suggests that it would also have a very small lattice parameter too. If a is small, then a&amp;lt;math&amp;gt;^*&amp;lt;/math&amp;gt; will be large, meaning a large grid size. &lt;br /&gt;
&amp;lt;h3&amp;gt;Quasi-Harmonic Thermal expansion&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Lattice_Parameter_Graph.png|thumb|centre|Figure 8: Lattice parameter vs temperature]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Free_energy_vs_T.png|thumb|centre|Figure 9: Free energy vs temperature]]&amp;lt;/th&amp;gt; &lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In Figure 9, it can be seen that the free energy is constant, then almost linearly decreases. At very low temperatures, the only main contribution to the free energy is the zero point energy as this is temperature independent. At around 400 K (where the free energy starts to decrease). We can explain by looking at equation 4 as when the temperature increases, the entropic contribution increases. If we assume the internal energy doesn&#039;t change much with temperature, then the TS term will increase in magnitude and decrease the overall free energy term. By looking at equation 4, the vibrational contribution term (also entropic term) is a ln term which will be negative, and again, decrease the overall free energy with an increase in temperature. &lt;br /&gt;
In the graph of lattice parameter vs temperature, the lattice parameter is initially constant and then increases linearly, then exponentially. Using the quasi-harmonic approximation, this gives the potential a &#039;quasi-anharmonic&#039; shape, meaning that the bond length will actually change with temperature but will just never reach the point where it breaks. Although this doesn&#039;t allow phase transitions to be investigated, it does allow the lattice parameter as a function of temperature to be investigated. DLVisualise and GULP doesn&#039;t actually allow simulations past 3000 K because of the infinitely increase potential.&lt;br /&gt;
&lt;br /&gt;
Using the Quasi Harmonic approximation, and fitting the data to get a line of best fit with a gradient of &amp;lt;math&amp;gt;5.697\times 10^{-4}&amp;lt;/math&amp;gt; which is equivalent to &amp;lt;math&amp;gt;\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt;. Multiplying by the reciprocal of the initial volume of the crystal, gives a thermal expansion coefficient for the region of 300-1300 K of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;. By taking the value from lower temperatures, this gives a higher accuracy compared to the &#039;real value&#039;. This is because of the computational model that is being used. This model is quasi-harmonic which is based on the harmonic model. The harmonic oscillator is infinite and the bond between two atoms infinitely extends. However, at high temperatures this is not the reality. The bonds extend and break which is shown by the anharmonic model. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot; class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 3: Thermal expansion coefficients&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Temperature range (K)&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Quasi-Harmonic&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Molecular Dynamics&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Literature&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;0-300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.042\times 10^{-5[1]}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;300-1300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.140\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;4.000\times 10^{-5[1]}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-0-300.png|thumb|centre|Figure 10: Quasi Harmonic approximation 0 -300 K ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-300-1300.png|thumb|centre|Figure 11:  Quasi Harmonic approximation 300-1300 K]]&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-Thermal-expansion-100-300.png|thumb|centre|Figure 12: Molecular Dynamics 100-300 K]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-300-1300.png|thumb|centre|Figure 13: Molecular Dynamics 300-1300 K]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from Table 3, at lower temperatures, the quasi-harmonic approximation gives a value closer to literature. This is because the quasi-harmonic approximation takes into account the zero point energy at lower temperatures which is the main contributing factor whereas molecular dynamics method doesn&#039;t giving a linear line much like the second temperature region - it only considers classical mechanics and not quantum mechanics like quasi-harmonic approximation which takes into account quantum effects such as the zero point energy. At lower temperatures, the molecular dynamics value had to be taken from the 100-300 K region as GULP gave an error at 0 K. This could be because molecular dynamics depends on the motion/velocity of the atoms. At 0 K, there is no motion meaning no information would be outputted, potentially giving an error. At higher temperatures, it can be seen that molecular dynamics gives a more accurate value compared to literature. This is because quasi-harmonic has a parabolic shape where the bond length increases exponentially with temperature. This means the bond length increases infinitely and the bond never breaks - the melting point can never be found using the quasi harmonic approximation. Quasi harmonic is, however, much more useful than simply a harmonic approximation as the average bond length stays at the bottom of the potential well in the harmonic oscillator potential meaning there&#039;s no difference in bond length at different temperatures.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Conclusion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;References&amp;lt;/h2&amp;gt;&lt;br /&gt;
[1] - Rao, A. S. M., &amp;amp; Narender, K. (2014). Studies on thermophysical properties of CaO and MgO by γ -ray attenuation. Journal of Thermodynamics, 2014. http://doi.org/10.1155/2014/123478&lt;br /&gt;
&amp;lt;br&amp;gt;[2] - Lecture 4: Vibrations and Free Energy N. M. Harrison Imperial College London&lt;br /&gt;
&amp;lt;br&amp;gt;[3] - Atkins, P. W., 2014, Atkins&#039; physical chemistry. Oxford: Oxford Univ. Press&lt;/div&gt;</summary>
		<author><name>Ar3015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674466</id>
		<title>Rep:Ar3015MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674466"/>
		<updated>2018-02-28T09:22:31Z</updated>

		<summary type="html">&lt;p&gt;Ar3015: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h1&amp;gt;MgO Report - Antonia Reeves&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;Introduction&amp;lt;/h2&amp;gt;&lt;br /&gt;
In chemistry, it is much easier to treat crystals as rigid structures with set lattice points in unit cells. This can often hold as a good approximation at very low temperatures. However, this is obviously not the case. There are many different vibrations happening throughout the lattice structure leading to thermal expansion. These vibrations can be quantified by using a wave vector - this gives the direction of the propagation of the wave in reciprocal space. To represent reciprocal space, the inverse of the lattice parameter, a, can simply be taken &amp;lt;math&amp;gt;a^* = \frac{2 \pi}{a} ^{[3]}&amp;lt;/math&amp;gt;. This report investigates the effect of temperature on vibrations and size of the lattice structure of MgO. The lattice structure of MgO is face centred cubic. &lt;br /&gt;
&amp;lt;h3&amp;gt;Phonons and phonon dispersions&amp;lt;/h3&amp;gt;&lt;br /&gt;
In quantum chemistry, vibrations can be treated as both particles and waves. When treating vibrations as particles - just as particles of light are photons - they are called phonons. This can be used and a plot of frequency against wave vector can be generated. This effectively gives a plot of the energy against the &#039;the way that vibrations move&#039; which is the k vector. As the phonon dispersion plot investigates the different ways vibrations can take place in the same time, if there were for example only a few atoms, this would give rise to only a few different k points. However, as an infinite lattice is being used, instead of giving quantised k points, a continuous line of k points can be generated, giving rise to a band. One band is called a branch. The number of branches is dependent on the number of different atoms in the lattice. In MgO lattice there are 2 atoms. Using the equation 3N (not 3N-6 as this takes into account rotational and translation degeneracy for single molecules that don&#039;t need to be considered for crystal vibrations) where N is the number of different atoms, this gives 6 branches which can be seen in the phonon dispersion plot in Figure 1. Using the dispersion plots are useful for seeing the frequency vs k vector as a whole, however, makes it difficult to determine pieces of information such as how many states are at a given frequency, and whether there is a direct or indirect band gap. This is simply one way of displaying all of the data - the same data can be displayed as a density of states. Instead of simply giving the angular frequency as a function of the wave vector, a plot of density of states can also show how many states have a given energy at each k vector point. This can show the energy difference in the band gap, and the most densely populated k-states more easily. In order to visualise the density of states, the phonon dispersion is &#039;chopped up&#039; into sections. The number of sections is determined by the grid size (these parameters can be changed in the GULP execution panel. In this, the frequencies at the edge of the grids are taken and plotted (only one side as not to repeat the counting of the frequencies). The higher the grid size, the greater the accuracy of the density of states as this allows a greater number of wave vectors to be sampled. The value of the grid size is called the shrinking factor.&lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal Expansion Coefficient&amp;lt;/h3&amp;gt;&lt;br /&gt;
Using the equation &amp;lt;math&amp;gt;\frac{1}{V_0}\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt; gives the thermal expansion coefficient. This value represents how much a given crystal expands with an increase in temperature.  The &amp;lt;math&amp;gt;\frac{1}{V_0}&amp;lt;/math&amp;gt; term to normalises this value so it can be applied to a crystal of any size which is composed of the same crystal. Below, the different computational methods that can be used to investigate how these properties change with temperature are used.&lt;br /&gt;
&amp;lt;h3&amp;gt;Software used&amp;lt;/h3&amp;gt;&lt;br /&gt;
DLVisualise is the programmed used for modelling crystals in simulations such as this and allows chemists to visualise properties of crystals such as vibrations, energy, volume  and calculates these using wavefunctions of crystals - GULP lets the particular codes for the simulations to be accessed for running simulations. GULP is better for quantum based calculations such as lattice dynamics over molecular dynamics. However force fields for molecular dynamics can still be used and calculate values to output thermodynamic data. &lt;br /&gt;
&amp;lt;h3&amp;gt;Harmonic and Quasi-Harmonic approximations&amp;lt;/h3&amp;gt;&lt;br /&gt;
The harmonic oscillator is simply a taylor expansion of anhmarmonic potential. The harmonic oscillator takes the third term (quadratic term) giving the easily the harmonic oscillator parabola. When looking at harmonic potential energies, as the temperature is changed, the average bond length stays at an equilibrium point and therefore the volume of the crystal doesn&#039;t change. This means that although this approximation works well at lower temperatures as there is little change in volume at low temperatures in reality, at higher temperatures, harmonic and anharmonic (which is a much more realistic model) deviate a lot, giving unreliable data for higher temperatures. A compromise between harmonic which isn&#039;t a very reliable approximation as it only uses 3 terms from the taylor series expansion and using an anharmonic which uses many terms and will be very expensive is using a quasi-harmonic approximation. In the helmholtz free energy equations, the differences in the equations for harmonic and quasi-harmonic plots are in the frequency term. In a harmonic system, equation 3 would be used as the potential. However as the quasi harmonic system is being examined, within the brillouin zone &amp;lt;math&amp;gt;-\pi &amp;lt; k &amp;lt; \pi &amp;lt;/math&amp;gt; equation 1 can be used. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{4J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 1)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{2J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 2)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{1}{2\pi}){\frac{k}{\mu}}^{\frac{1}{2}} &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 3)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Helmholtz Free Energy&amp;lt;/h3&amp;gt;&lt;br /&gt;
[[File:Screen_Shot_2018-02-27_at_10.12.39.png|thumb|centre|Eq. 4]]&amp;lt;math&amp;gt;^2&amp;lt;/math&amp;gt;&lt;br /&gt;
A = U - TS&lt;br /&gt;
In order to look at the energy of the vibrational modes, we use the vibrational contribution to the entropy using statistical thermodynamics and the partition coefficient. &lt;br /&gt;
The first term of equation 4 is the internal energy, the second term is the zero point energy (energy at 0K) and the final term is the statistical thermodynamics contribution - the contribution to the energy from the different vibrations.&lt;br /&gt;
This equation can be derived by using the partition function to derive the entropic term as shown in equation 5. &lt;br /&gt;
[[File:Screen_Shot_2018-02-28_at_08.56.46.png|thumb|centre|Eq. 5]&amp;lt;math&amp;gt;^3&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
The molecular dynamics method takes the values from the ideal MgO crystal, then when we change the parameters, generate random velocities. This process is repeated at each time step (each a microstate) then all of the microstates are averaged. An average of all of the microstates is carried out, when enough microstates have been sampled, they start to converge and properties of the crystal can start to be measured such as energy and volume. One of the main differences between the quasi-harmonic approximation and molecular dynamics is that quasi-harmonics uses quantum mechanics to calculate the volumes (the change in bond length) and molecular dynamics uses classical mechanics. When sampling a configuration, there needs to be enough time for the values to converge. This is where the length of the timesteps come into play - getting a more accurate value means that the calculations will take much longer and therefore be more expensive. &lt;br /&gt;
&amp;lt;h2&amp;gt;Method&amp;lt;/h2&amp;gt;&lt;br /&gt;
For all of the calculations, the GUI DLVisualise was used. For all calculations, the execute GULP panel was brought up and in the GULP potential parameters, ionic.lib was used and include shells was not included. &lt;br /&gt;
&amp;lt;h3&amp;gt;Lattice vibrations -Computing the phonons&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected, and then run was pressed. Once the job has completed, this shows in the job list and the files were recovered. The energy could be found in the log file under Total Free Energy. &lt;br /&gt;
[[File:MgO_phonon_1.PNG|thumb|centre|Figure 1: MgO Phonon dispersion ]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Calculating the free energy in the Harmonic approximation&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected. Under General Opts, phonon dispersion was selected with N points set to 50 and calculate phonon eigenvectors was selected, so that specific points in k-space (relating to the origin, x direction vectors being in phase etc.) are represented with greek letters. The files were recovered and the phonon dispersion was displayed using the 1D data display. &lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal expansion of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
The settings used for this calculation were, select phonon DOS, change shrinking factor to 20x20x20 and set the temperature from 0-3000 K in 100 K intervals. For each temperature, the free energy and lattice volume were taken from the log file. The volumes were multiplied by 4 as the volume given in the log file is the primitive cell volume. This is also required to calculate the lattice parameter which is simply the cube root of the volume of a conventional cell. &lt;br /&gt;
[[File:MgO_DOS_16x16x16.PNG|thumb|centre|Figure 2: 16x16x16 MgO Density of states]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
For Molecular dynamics, a super cell which is twice the length on every side of the cell was used. This is so the cell is larger and is more similar to &#039;an infinite lattice&#039;. Molecular Dynamics option was selected on the execute panel, the NPT ensemble was chosen, the time step used was 1 femtosecond, equilibration steps of 500, production steps was set to 500 steps and sampling steps and trajectory write steps were set to 5. The temperature used went from 100-3000 K with 100 K interval steps. As the volume of the cell is different to the cell used in the quasi-harmonic approximation, the cell volume taken from the log file (the last average cell volume), the volume was divided by 8 to get the same volume as the conventional cell for the quasi-harmonic approximation.&lt;br /&gt;
&amp;lt;h2&amp;gt;Results and discussion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Phonon Modes of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
When the density of states for calculated for a single k point, it can be worked out by examining the phonon dispersion which k point this is. In this case, the point is L as there are only 4 peaks (2 that have double the intensity due to the double degeneracy) and at L there are only 4 branches where we would expect 6 (due to 3N to calculate number of vibrational branches expected). This can also be seen by comparing the frequencies of the peaks in the 1x1x1 DOS and the frequency of the 4 branches at L. This can be checked in the log file as although the character L is useful for helping us to determine the symmetry of the modes of vibrations, it&#039;s always useful to numerically quantify values. This is simply in the row &#039;K point&#039; where the K point is 0.5. It&#039;s important that it can be viewed in the log file as on the phonon dispersion, only greek characters which represent different k points can be seen and it&#039;s not always obvious what numerical value goes with each character. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 1: Density of states - accuracy improved with increased shrinking factor&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_1.PNG|thumb|centre|Figure 3: MgO Density of States 1x1x1 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_3x3x3.PNG|thumb|centre|Figure 4: MgO Density of States 3x3x3 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_8x8x8.PNG|thumb|centre|Figure 5: MgO Density of States 8x8x8 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_32x32x32.PNG|thumb|centre|Figure 6: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from the progression in grid size that as the grid size increases, although the peaks with the greatest intensity stay in the same place, the shape of the density of states becomes much more defined and includes information on the states at k-points even where there is a lower number of states. When looking at the difference between grid sizes qualitatively, there isn&#039;t much of a difference between 8x8x8 and 32x32x32 apart from there is a more continuous curve with the same shape. It seems that a grid size of approximately 12x12x12 would be the minimum grid size as this is the grid size at which all k points are sampled and there aren&#039;t k-points with an angular frequency of 0 which then have non-zero values of angular frequencies at higher grid sizes. However, when deciding qualitatively, the convergence of the free energy can be used. At 20x20x20 and 6 decimal places, the free energy converges suggesting this is the optimum grid size to use. The density of states in terms of the phonon dispersion curve is basically plotting how many k points there are per value of angular frequency. This can be seen more easily by placing them side by side as seen in Figure 7&lt;br /&gt;
[[File:28548481_10215289272734952_157509358_o.jpg|thumb|centre|700px|Figure 7: MgO Density of states and phonon dispersion]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 2: Free energy changing with grid size&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Grid size&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Free energy (eV)&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;1&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-41.07531759&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;2&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926609&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;3&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926432&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;4&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.92645&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;5&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926463&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;6&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926471&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;7&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926475&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;8&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926478&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;12&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926481&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;16&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926482&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;20&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;32&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In order to determine a suitable shrinking factor, a number of grid sizes were investigated with the highest being 32x32x32. As having a higher shrinking factor takes longer and more processing power (leads to being more expensive), choosing the shrinking factor becomes a compromise between time and accuracy. As can be seen from Table 2, the Helmholtz free energy stops changing after a grid size of 20x20x20 so this seemed like a reasonable value to use as not to compromise the accuracy for a quicker run time.&lt;br /&gt;
As can be seen in table 2, after the grid size is 20x20x20, the values have converged and don&#039;t change (when looking at 6 decimal places, it may be changing beyond 6 decimal places). This is optimal as it reduces the computing power needed for a calculation whilst retaining almost the same level of accuracy. Using a grid size of 3x3x3 will gives a suitable energy for calculations accurate to 1 meV, REMEMBER TO DO 0.5mEV!!!!!!!! and a grid size of 5 gives a suitable energy for calculations accurate to 0.1 meV. When deciding on a suitable shrinking factor, it can be useful to consider the lattice parameter. k is simply a function of the lattice parameter where it is represented as a&amp;lt;math&amp;gt;^*&amp;lt;/math&amp;gt;. As the size of a increases, a&amp;lt;math&amp;gt;^*&amp;lt;/math&amp;gt; decreases because of the inversely proportional relationship. In CaO, this lattice structure also has a face centred cubic structure and a similar lattice parameter meaning a similar shrinking factor would be suitable for CaO for the types of calculations carried out in this investigation. The lattice constants shown in this experiment for MgO are around 4A. For Faujasite, this has a lattice parameter of around 24-25A. As a is much larger, &amp;lt;math&amp;gt;a^*&amp;lt;/math&amp;gt; will be much smaller, meaning a smaller grid size is required. &lt;br /&gt;
&amp;lt;h3&amp;gt;Quasi-Harmonic Thermal expansion&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Lattice_Parameter_Graph.png|thumb|centre|Figure 8: Lattice parameter vs temperature]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Free_energy_vs_T.png|thumb|centre|Figure 9: Free energy vs temperature]]&amp;lt;/th&amp;gt; &lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In Figure 9, it can be seen that the free energy is constant, then almost linearly decreases. At very low temperatures, the only main contribution to the free energy is the zero point energy as this is temperature independent. At around 400 K (where the free energy starts to decrease). We can explain by looking at equation 4 as when the temperature increases, the entropic contribution increases. If we assume the internal energy doesn&#039;t change much with temperature, then the TS term will increase in magnitude and decrease the overall free energy term. By looking at equation 4, the vibrational contribution term (also entropic term) is a ln term which will be negative, and again, decrease the overall free energy with an increase in temperature. &lt;br /&gt;
In the graph of lattice parameter vs temperature, the lattice parameter is initially constant and then increases linearly, then exponentially. Using the quasi-harmonic approximation, this gives the potential a &#039;quasi-anharmonic&#039; shape, meaning that the bond length will actually change with temperature but will just never reach the point where it breaks. Although this doesn&#039;t allow phase transitions to be investigated, it does allow the lattice parameter as a function of temperature to be investigated. DLVisualise and GULP doesn&#039;t actually allow simulations past 3000 K because of the infinitely increase potential.&lt;br /&gt;
&lt;br /&gt;
Using the Quasi Harmonic approximation, and fitting the data to get a line of best fit with a gradient of &amp;lt;math&amp;gt;5.697\times 10^{-4}&amp;lt;/math&amp;gt; which is equivalent to &amp;lt;math&amp;gt;\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt;. Multiplying by the reciprocal of the initial volume of the crystal, gives a thermal expansion coefficient for the region of 300-1300 K of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;. By taking the value from lower temperatures, this gives a higher accuracy compared to the &#039;real value&#039;. This is because of the computational model that is being used. This model is quasi-harmonic which is based on the harmonic model. The harmonic oscillator is infinite and the bond between two atoms infinitely extends. However, at high temperatures this is not the reality. The bonds extend and break which is shown by the anharmonic model. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot; class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 3: Thermal expansion coefficients&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Temperature range (K)&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Quasi-Harmonic&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Molecular Dynamics&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Literature&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;0-300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.042\times 10^{-5[1]}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;300-1300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.140\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;4.000\times 10^{-5[1]}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-0-300.png|thumb|centre|Figure 10: Quasi Harmonic approximation 0 -300 K ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-300-1300.png|thumb|centre|Figure 11:  Quasi Harmonic approximation 300-1300 K]]&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-Thermal-expansion-100-300.png|thumb|centre|Figure 12: Molecular Dynamics 100-300 K]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-300-1300.png|thumb|centre|Figure 13: Molecular Dynamics 300-1300 K]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from Table 3, at lower temperatures, the quasi-harmonic approximation gives a value closer to literature. This is because the quasi-harmonic approximation takes into account the zero point energy at lower temperatures which is the main contributing factor whereas molecular dynamics method doesn&#039;t giving a linear line much like the second temperature region - it only considers classical mechanics and not quantum mechanics like quasi-harmonic approximation which takes into account quantum effects such as the zero point energy. At lower temperatures, the molecular dynamics value had to be taken from the 100-300 K region as GULP gave an error at 0 K. This could be because molecular dynamics depends on the motion/velocity of the atoms. At 0 K, there is no motion meaning no information would be outputted, potentially giving an error. At higher temperatures, it can be seen that molecular dynamics gives a more accurate value compared to literature. This is because quasi-harmonic has a parabolic shape where the bond length increases exponentially with temperature. This means the bond length increases infinitely and the bond never breaks - the melting point can never be found using the quasi harmonic approximation. Quasi harmonic is, however, much more useful than simply a harmonic approximation as the average bond length stays at the bottom of the potential well in the harmonic oscillator potential meaning there&#039;s no difference in bond length at different temperatures.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Conclusion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;References&amp;lt;/h2&amp;gt;&lt;br /&gt;
[1] - Rao, A. S. M., &amp;amp; Narender, K. (2014). Studies on thermophysical properties of CaO and MgO by γ -ray attenuation. Journal of Thermodynamics, 2014. http://doi.org/10.1155/2014/123478&lt;br /&gt;
&amp;lt;br&amp;gt;[2] - Lecture 4: Vibrations and Free Energy N. M. Harrison Imperial College London&lt;br /&gt;
&amp;lt;br&amp;gt;[3] - Atkins, P. W., 2014, Atkins&#039; physical chemistry. Oxford: Oxford Univ. Press&lt;/div&gt;</summary>
		<author><name>Ar3015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674456</id>
		<title>Rep:Ar3015MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674456"/>
		<updated>2018-02-28T09:11:18Z</updated>

		<summary type="html">&lt;p&gt;Ar3015: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h1&amp;gt;MgO Report - Antonia Reeves&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;Introduction&amp;lt;/h2&amp;gt;&lt;br /&gt;
In chemistry, it is much easier to treat crystals as rigid structures with set lattice points in unit cells. This can often hold as a good approximation at very low temperatures. However, this is obviously not the case. There are many different vibrations happening throughout the lattice structure leading to thermal expansion. These vibrations can be quantified by using a wave vector - this gives the direction of the propagation of the wave in reciprocal space. To represent reciprocal space, the inverse of the lattice parameter, a, can simply be taken &amp;lt;math&amp;gt;a^* = \frac{2 \pi}{a} ^{[3]}&amp;lt;/math&amp;gt;. This report investigates the effect of temperature on vibrations and size of the lattice structure of MgO. The lattice structure of MgO is face centred cubic. &lt;br /&gt;
&amp;lt;h3&amp;gt;Phonons and phonon dispersions&amp;lt;/h3&amp;gt;&lt;br /&gt;
In quantum chemistry, vibrations can be treated as both particles and waves. When treating vibrations as particles - just as particles of light are photons - they are called phonons. This can be used and a plot of frequency against wave vector can be generated. This effectively gives a plot of the energy against the &#039;the way that vibrations move&#039; which is the k vector. As the phonon dispersion plot investigates the different ways vibrations can take place in the same time, if there were for example only a few atoms, this would give rise to only a few different k points. However, as an infinite lattice is being used, instead of giving quantised k points, a continuous line of k points can be generated, giving rise to a band. One band is called a branch. The number of branches is dependent on the number of different atoms in the lattice. In MgO lattice there are 2 atoms. Using the equation 3N (not 3N-6 as this takes into account rotational and translation degeneracy for single molecules that don&#039;t need to be considered for crystal vibrations) where N is the number of different atoms, this gives 6 branches which can be seen in the phonon dispersion plot in Figure 1. Using the dispersion plots are useful for seeing the frequency vs k vector as a whole, however, makes it difficult to determine pieces of information such as how many states are at a given frequency, and whether there is a direct or indirect band gap. This is simply one way of displaying all of the data - the same data can be displayed as a density of states. Instead of simply giving the angular frequency as a function of the wave vector, a plot of density of states can also show how many states have a given energy at each k vector point. This can show the energy difference in the band gap, and the most densely populated k-states more easily. In order to visualise the density of states, the phonon dispersion is &#039;chopped up&#039; into sections. The number of sections is determined by the grid size (these parameters can be changed in the GULP execution panel. In this, the frequencies at the edge of the grids are taken and plotted (only one side as not to repeat the counting of the frequencies). The higher the grid size, the greater the accuracy of the density of states as this allows a greater number of wave vectors to be sampled. The value of the grid size is called the shrinking factor.&lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal Expansion Coefficient&amp;lt;/h3&amp;gt;&lt;br /&gt;
Using the equation &amp;lt;math&amp;gt;\frac{1}{V_0}\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt; gives the thermal expansion coefficient. This value represents how much a given crystal expands with an increase in temperature.  The &amp;lt;math&amp;gt;\frac{1}{V_0}&amp;lt;/math&amp;gt; term to normalises this value so it can be applied to a crystal of any size which is composed of the same crystal. Below, the different computational methods that can be used to investigate how these properties change with temperature are used.&lt;br /&gt;
&amp;lt;h3&amp;gt;Software used&amp;lt;/h3&amp;gt;&lt;br /&gt;
DLVisualise is the programmed used for modelling crystals in simulations such as this and allows chemists to visualise properties of crystals such as vibrations, energy, volume  and calculates these using wavefunctions of crystals - GULP lets the particular codes for the simulations to be accessed for running simulations. GULP is better for quantum based calculations such as lattice dynamics over molecular dynamics. However force fields for molecular dynamics can still be used and calculate values to output thermodynamic data. &lt;br /&gt;
&amp;lt;h3&amp;gt;Harmonic and Quasi-Harmonic approximations&amp;lt;/h3&amp;gt;&lt;br /&gt;
The harmonic oscillator is simply a taylor expansion of anhmarmonic potential. The harmonic oscillator takes the third term (quadratic term) giving the easily the harmonic oscillator parabola. When looking at harmonic potential energies, as the temperature is changed, the average bond length stays at an equilibrium point and therefore the volume of the crystal doesn&#039;t change. This means that although this approximation works well at lower temperatures as there is little change in volume at low temperatures in reality, at higher temperatures, harmonic and anharmonic (which is a much more realistic model) deviate a lot, giving unreliable data for higher temperatures. A compromise between harmonic which isn&#039;t a very reliable approximation as it only uses 3 terms from the taylor series expansion and using an anharmonic which uses many terms and will be very expensive is using a quasi-harmonic approximation. In the helmholtz free energy equations, the differences in the equations for harmonic and quasi-harmonic plots are in the frequency term. In a harmonic system, equation 3 would be used as the potential. However as the quasi harmonic system is being examined, within the brillouin zone &amp;lt;math&amp;gt;-\pi &amp;lt; k &amp;lt; \pi &amp;lt;/math&amp;gt; equation 1 can be used. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{4J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 1)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{2J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 2)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{1}{2\pi}){\frac{k}{\mu}}^{\frac{1}{2}} &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 3)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Helmholtz Free Energy&amp;lt;/h3&amp;gt;&lt;br /&gt;
[[File:Screen_Shot_2018-02-27_at_10.12.39.png|thumb|centre|Eq. 4]]&amp;lt;math&amp;gt;^2&amp;lt;/math&amp;gt;&lt;br /&gt;
A = U - TS&lt;br /&gt;
In order to look at the energy of the vibrational modes, we use the vibrational contribution to the entropy using statistical thermodynamics and the partition coefficient. &lt;br /&gt;
The first term of equation 4 is the internal energy, the second term is the zero point energy (energy at 0K) and the final term is the statistical thermodynamics contribution - the contribution to the energy from the different vibrations.&lt;br /&gt;
This equation can be derived by using the partition function to derive the entropic term as shown in equation 5. &lt;br /&gt;
[[File:Screen_Shot_2018-02-28_at_08.56.46.png|thumb|centre|Eq. 5]&amp;lt;math&amp;gt;^3&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
The molecular dynamics method takes the values from the ideal MgO crystal, then when we change the parameters, generate random velocities. This process is repeated at each time step (each a microstate) then all of the microstates are averaged. An average of all of the microstates is carried out, when enough microstates have been sampled, they start to converge and properties of the crystal can start to be measured such as energy and volume. One of the main differences between the quasi-harmonic approximation and molecular dynamics is that quasi-harmonics uses quantum mechanics to calculate the volumes (the change in bond length) and molecular dynamics uses classical mechanics. When sampling a configuration, there needs to be enough time for the values to converge. This is where the length of the timesteps come into play - getting a more accurate value means that the calculations will take much longer and therefore be more expensive. &lt;br /&gt;
&amp;lt;h2&amp;gt;Method&amp;lt;/h2&amp;gt;&lt;br /&gt;
For all of the calculations, the GUI DLVisualise was used. For all calculations, the execute GULP panel was brought up and in the GULP potential parameters, ionic.lib was used and include shells was not included. &lt;br /&gt;
&amp;lt;h3&amp;gt;Lattice vibrations -Computing the phonons&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected, and then run was pressed. Once the job has completed, this shows in the job list and the files were recovered. The energy could be found in the log file under Total Free Energy. &lt;br /&gt;
[[File:MgO_phonon_1.PNG|thumb|centre|Figure 1: MgO Phonon dispersion ]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Calculating the free energy in the Harmonic approximation&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected. Under General Opts, phonon dispersion was selected with N points set to 50 and calculate phonon eigenvectors was selected, so that specific points in k-space (relating to the origin, x direction vectors being in phase etc.) are represented with greek letters. The files were recovered and the phonon dispersion was displayed using the 1D data display. &lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal expansion of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
The settings used for this calculation were, select phonon DOS, change shrinking factor to 20x20x20 and set the temperature from 0-3000 K in 100 K intervals. For each temperature, the free energy and lattice volume were taken from the log file. The volumes were multiplied by 4 as the volume given in the log file is the primitive cell volume. This is also required to calculate the lattice parameter which is simply the cube root of the volume of a conventional cell. &lt;br /&gt;
[[File:MgO_DOS_16x16x16.PNG|thumb|centre|Figure 2: 16x16x16 MgO Density of states]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
For Molecular dynamics, a super cell which is twice the length on every side of the cell was used. This is so the cell is larger and is more similar to &#039;an infinite lattice&#039;. Molecular Dynamics option was selected on the execute panel, the NPT ensemble was chosen, the time step used was 1 femtosecond, equilibration steps of 500, production steps was set to 500 steps and sampling steps and trajectory write steps were set to 5. The temperature used went from 100-3000 K with 100 K interval steps. As the volume of the cell is different to the cell used in the quasi-harmonic approximation, the cell volume taken from the log file (the last average cell volume), the volume was divided by 8 to get the same volume as the conventional cell for the quasi-harmonic approximation.&lt;br /&gt;
&amp;lt;h2&amp;gt;Results and discussion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Phonon Modes of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
When the density of states for calculated for a single k point, it can be worked out by examining the phonon dispersion which k point this is. In this case, the point is L as there are only 4 peaks (2 that have double the intensity due to the double degeneracy) and at L there are only 4 branches where we would expect 6 (due to 3N to calculate number of vibrational branches expected). This can also be seen by comparing the frequencies of the peaks in the 1x1x1 DOS and the frequency of the 4 branches at L. This can be checked in the log file as although the character L is useful for helping us to determine the symmetry of the modes of vibrations, it&#039;s always useful to numerically quantify values. This is simply in the row &#039;K point&#039; where the K point is 0.5. It&#039;s important that it can be viewed in the log file as on the phonon dispersion, only greek characters which represent different k points can be seen and it&#039;s not always obvious what numerical value goes with each character. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 1: Density of states - accuracy improved with increased shrinking factor&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_1.PNG|thumb|centre|Figure 3: MgO Density of States 1x1x1 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_3x3x3.PNG|thumb|centre|Figure 4: MgO Density of States 3x3x3 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_8x8x8.PNG|thumb|centre|Figure 5: MgO Density of States 8x8x8 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_32x32x32.PNG|thumb|centre|Figure 6: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from the progression in grid size that as the grid size increases, although the peaks with the greatest intensity stay in the same place, the shape of the density of states becomes much more defined and includes information on the states at k-points even where there is a lower number of states. When looking at the difference between grid sizes qualitatively, there isn&#039;t much of a difference between 8x8x8 and 32x32x32 apart from there is a more continuous curve with the same shape. It seems that a grid size of approximately 12x12x12 would be the minimum grid size as this is the grid size at which all k points are sampled and there aren&#039;t k-points with an angular frequency of 0 which then have non-zero values of angular frequencies at higher grid sizes. However, when deciding qualitatively, the convergence of the free energy can be used. At 20x20x20 and 6 decimal places, the free energy converges suggesting this is the optimum grid size to use. The density of states in terms of the phonon dispersion curve is basically plotting how many k points there are per value of angular frequency. This can be seen more easily by placing them side by side as seen in Figure 7&lt;br /&gt;
[[File:28548481_10215289272734952_157509358_o.jpg|thumb|centre|700px|Figure 7: MgO Density of states and phonon dispersion]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 2: Free energy changing with grid size&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Grid size&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Free energy (eV)&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;1&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-41.07531759&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;2&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926609&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;3&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926432&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;4&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.92645&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;5&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926463&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;6&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926471&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;7&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926475&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;8&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926478&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;12&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926481&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;16&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926482&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;20&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;32&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In order to determine a suitable shrinking factor, a number of grid sizes were investigated with the highest being 32x32x32. As having a higher shrinking factor takes longer and more processing power (leads to being more expensive), choosing the shrinking factor becomes a compromise between time and accuracy. As can be seen from Table 2, the Helmholtz free energy stops changing after a grid size of 20x20x20 so this seemed like a reasonable value to use as not to compromise the accuracy for a quicker run time.&lt;br /&gt;
As can be seen in TABLE 2, after the grid size is 20x20x20, the values have converged and don&#039;t change (when looking at 6 decimal places, it may be changing beyond 6 decimal places). This is optimal as it reduces the computing power needed for a calculation whilst retaining almost the same level of accuracy. Using a grid size of 3x3x3 will gives a suitable energy for calculations accurate to 1 meV, REMEMBER TO DO 0.5mEV!!!!!!!! and a grid size of 5 gives a suitable energy for calculations accurate to 0.1 meV.&lt;br /&gt;
&amp;lt;h3&amp;gt;Quasi-Harmonic Thermal expansion&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Lattice_Parameter_Graph.png|thumb|centre|Figure 8: Lattice parameter vs temperature]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Free_energy_vs_T.png|thumb|centre|Figure 9: Free energy vs temperature]]&amp;lt;/th&amp;gt; &lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In Figure 9, it can be seen that the free energy is constant, then almost linearly decreases. At very low temperatures, the only main contribution to the free energy is the zero point energy as this is temperature independent. At around 400 K (where the free energy starts to decrease). We can explain by looking at equation 4 as when the temperature increases, the entropic contribution increases. If we assume the internal energy doesn&#039;t change much with temperature, then the TS term will increase in magnitude and decrease the overall free energy term. By looking at equation 4, the vibrational contribution term (also entropic term) is a ln term which will be negative, and again, decrease the overall free energy with an increase in temperature. &lt;br /&gt;
In the graph of lattice parameter vs temperature, the lattice parameter is initially constant and then increases linearly, then exponentially. Using the quasi-harmonic approximation, this gives the potential a &#039;quasi-anharmonic&#039; shape, meaning that the bond length will actually change with temperature but will just never reach the point where it breaks. Although this doesn&#039;t allow phase transitions to be investigated, it does allow the lattice parameter as a function of temperature to be investigated. DLVisualise and GULP doesn&#039;t actually allow simulations past 3000 K because of the infinitely increase potential.&lt;br /&gt;
&lt;br /&gt;
Using the Quasi Harmonic approximation, and fitting the data to get a line of best fit with a gradient of &amp;lt;math&amp;gt;5.697\times 10^{-4}&amp;lt;/math&amp;gt; which is equivalent to &amp;lt;math&amp;gt;\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt;. Multiplying by the reciprocal of the initial volume of the crystal, gives a thermal expansion coefficient for the region of 300-1300 K of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;. By taking the value from lower temperatures, this gives a higher accuracy compared to the &#039;real value&#039;. This is because of the computational model that is being used. This model is quasi-harmonic which is based on the harmonic model. The harmonic oscillator is infinite and the bond between two atoms infinitely extends. However, at high temperatures this is not the reality. The bonds extend and break which is shown by the anharmonic model. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot; class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 3: Thermal expansion coefficients&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Temperature range (K)&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Quasi-Harmonic&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Molecular Dynamics&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Literature&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;0-300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.042\times 10^{-5[1]}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;300-1300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.140\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;4.000\times 10^{-5[1]}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-0-300.png|thumb|centre|Figure 10: Quasi Harmonic approximation 0 -300 K ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-300-1300.png|thumb|centre|Figure 11:  Quasi Harmonic approximation 300-1300 K]]&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-Thermal-expansion-100-300.png|thumb|centre|Figure 12: Molecular Dynamics 100-300 K]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-300-1300.png|thumb|centre|Figure 13: Molecular Dynamics 300-1300 K]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from Table 3, at lower temperatures, the quasi-harmonic approximation gives a value closer to literature. This is because the quasi-harmonic approximation takes into account the zero point energy at lower temperatures which is the main contributing factor whereas molecular dynamics method doesn&#039;t giving a linear line much like the second temperature region - it only considers classical mechanics and not quantum mechanics like quasi-harmonic approximation which takes into account quantum effects such as the zero point energy. At lower temperatures, the molecular dynamics value had to be taken from the 100-300 K region as GULP gave an error at 0 K. This could be because molecular dynamics depends on the motion/velocity of the atoms. At 0 K, there is no motion meaning no information would be outputted, potentially giving an error. At higher temperatures, it can be seen that molecular dynamics gives a more accurate value compared to literature. This is because quasi-harmonic has a parabolic shape where the bond length increases exponentially with temperature. This means the bond length increases infinitely and the bond never breaks - the melting point can never be found using the quasi harmonic approximation. Quasi harmonic is, however, much more useful than simply a harmonic approximation as the average bond length stays at the bottom of the potential well in the harmonic oscillator potential meaning there&#039;s no difference in bond length at different temperatures.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Conclusion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;References&amp;lt;/h2&amp;gt;&lt;br /&gt;
[1] - Rao, A. S. M., &amp;amp; Narender, K. (2014). Studies on thermophysical properties of CaO and MgO by γ -ray attenuation. Journal of Thermodynamics, 2014. http://doi.org/10.1155/2014/123478&lt;br /&gt;
&amp;lt;br&amp;gt;[2] - Lecture 4: Vibrations and Free Energy N. M. Harrison Imperial College London&lt;br /&gt;
&amp;lt;br&amp;gt;[3] - Atkins, P. W., 2014, Atkins&#039; physical chemistry. Oxford: Oxford Univ. Press&lt;/div&gt;</summary>
		<author><name>Ar3015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674454</id>
		<title>Rep:Ar3015MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674454"/>
		<updated>2018-02-28T09:11:02Z</updated>

		<summary type="html">&lt;p&gt;Ar3015: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h1&amp;gt;MgO Report - Antonia Reeves&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;Introduction&amp;lt;/h2&amp;gt;&lt;br /&gt;
In chemistry, it is much easier to treat crystals as rigid structures with set lattice points in unit cells. This can often hold as a good approximation at very low temperatures. However, this is obviously not the case. There are many different vibrations happening throughout the lattice structure leading to thermal expansion. These vibrations can be quantified by using a wave vector - this gives the direction of the propagation of the wave in reciprocal space. To represent reciprocal space, the inverse of the lattice parameter, a, can simply be taken &amp;lt;math&amp;gt;a^* = \frac{2 \pi}{a} ^[{3}]&amp;lt;/math&amp;gt;. This report investigates the effect of temperature on vibrations and size of the lattice structure of MgO. The lattice structure of MgO is face centred cubic. &lt;br /&gt;
&amp;lt;h3&amp;gt;Phonons and phonon dispersions&amp;lt;/h3&amp;gt;&lt;br /&gt;
In quantum chemistry, vibrations can be treated as both particles and waves. When treating vibrations as particles - just as particles of light are photons - they are called phonons. This can be used and a plot of frequency against wave vector can be generated. This effectively gives a plot of the energy against the &#039;the way that vibrations move&#039; which is the k vector. As the phonon dispersion plot investigates the different ways vibrations can take place in the same time, if there were for example only a few atoms, this would give rise to only a few different k points. However, as an infinite lattice is being used, instead of giving quantised k points, a continuous line of k points can be generated, giving rise to a band. One band is called a branch. The number of branches is dependent on the number of different atoms in the lattice. In MgO lattice there are 2 atoms. Using the equation 3N (not 3N-6 as this takes into account rotational and translation degeneracy for single molecules that don&#039;t need to be considered for crystal vibrations) where N is the number of different atoms, this gives 6 branches which can be seen in the phonon dispersion plot in Figure 1. Using the dispersion plots are useful for seeing the frequency vs k vector as a whole, however, makes it difficult to determine pieces of information such as how many states are at a given frequency, and whether there is a direct or indirect band gap. This is simply one way of displaying all of the data - the same data can be displayed as a density of states. Instead of simply giving the angular frequency as a function of the wave vector, a plot of density of states can also show how many states have a given energy at each k vector point. This can show the energy difference in the band gap, and the most densely populated k-states more easily. In order to visualise the density of states, the phonon dispersion is &#039;chopped up&#039; into sections. The number of sections is determined by the grid size (these parameters can be changed in the GULP execution panel. In this, the frequencies at the edge of the grids are taken and plotted (only one side as not to repeat the counting of the frequencies). The higher the grid size, the greater the accuracy of the density of states as this allows a greater number of wave vectors to be sampled. The value of the grid size is called the shrinking factor.&lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal Expansion Coefficient&amp;lt;/h3&amp;gt;&lt;br /&gt;
Using the equation &amp;lt;math&amp;gt;\frac{1}{V_0}\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt; gives the thermal expansion coefficient. This value represents how much a given crystal expands with an increase in temperature.  The &amp;lt;math&amp;gt;\frac{1}{V_0}&amp;lt;/math&amp;gt; term to normalises this value so it can be applied to a crystal of any size which is composed of the same crystal. Below, the different computational methods that can be used to investigate how these properties change with temperature are used.&lt;br /&gt;
&amp;lt;h3&amp;gt;Software used&amp;lt;/h3&amp;gt;&lt;br /&gt;
DLVisualise is the programmed used for modelling crystals in simulations such as this and allows chemists to visualise properties of crystals such as vibrations, energy, volume  and calculates these using wavefunctions of crystals - GULP lets the particular codes for the simulations to be accessed for running simulations. GULP is better for quantum based calculations such as lattice dynamics over molecular dynamics. However force fields for molecular dynamics can still be used and calculate values to output thermodynamic data. &lt;br /&gt;
&amp;lt;h3&amp;gt;Harmonic and Quasi-Harmonic approximations&amp;lt;/h3&amp;gt;&lt;br /&gt;
The harmonic oscillator is simply a taylor expansion of anhmarmonic potential. The harmonic oscillator takes the third term (quadratic term) giving the easily the harmonic oscillator parabola. When looking at harmonic potential energies, as the temperature is changed, the average bond length stays at an equilibrium point and therefore the volume of the crystal doesn&#039;t change. This means that although this approximation works well at lower temperatures as there is little change in volume at low temperatures in reality, at higher temperatures, harmonic and anharmonic (which is a much more realistic model) deviate a lot, giving unreliable data for higher temperatures. A compromise between harmonic which isn&#039;t a very reliable approximation as it only uses 3 terms from the taylor series expansion and using an anharmonic which uses many terms and will be very expensive is using a quasi-harmonic approximation. In the helmholtz free energy equations, the differences in the equations for harmonic and quasi-harmonic plots are in the frequency term. In a harmonic system, equation 3 would be used as the potential. However as the quasi harmonic system is being examined, within the brillouin zone &amp;lt;math&amp;gt;-\pi &amp;lt; k &amp;lt; \pi &amp;lt;/math&amp;gt; equation 1 can be used. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{4J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 1)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{2J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 2)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{1}{2\pi}){\frac{k}{\mu}}^{\frac{1}{2}} &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 3)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Helmholtz Free Energy&amp;lt;/h3&amp;gt;&lt;br /&gt;
[[File:Screen_Shot_2018-02-27_at_10.12.39.png|thumb|centre|Eq. 4]]&amp;lt;math&amp;gt;^2&amp;lt;/math&amp;gt;&lt;br /&gt;
A = U - TS&lt;br /&gt;
In order to look at the energy of the vibrational modes, we use the vibrational contribution to the entropy using statistical thermodynamics and the partition coefficient. &lt;br /&gt;
The first term of equation 4 is the internal energy, the second term is the zero point energy (energy at 0K) and the final term is the statistical thermodynamics contribution - the contribution to the energy from the different vibrations.&lt;br /&gt;
This equation can be derived by using the partition function to derive the entropic term as shown in equation 5. &lt;br /&gt;
[[File:Screen_Shot_2018-02-28_at_08.56.46.png|thumb|centre|Eq. 5]&amp;lt;math&amp;gt;^3&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
The molecular dynamics method takes the values from the ideal MgO crystal, then when we change the parameters, generate random velocities. This process is repeated at each time step (each a microstate) then all of the microstates are averaged. An average of all of the microstates is carried out, when enough microstates have been sampled, they start to converge and properties of the crystal can start to be measured such as energy and volume. One of the main differences between the quasi-harmonic approximation and molecular dynamics is that quasi-harmonics uses quantum mechanics to calculate the volumes (the change in bond length) and molecular dynamics uses classical mechanics. When sampling a configuration, there needs to be enough time for the values to converge. This is where the length of the timesteps come into play - getting a more accurate value means that the calculations will take much longer and therefore be more expensive. &lt;br /&gt;
&amp;lt;h2&amp;gt;Method&amp;lt;/h2&amp;gt;&lt;br /&gt;
For all of the calculations, the GUI DLVisualise was used. For all calculations, the execute GULP panel was brought up and in the GULP potential parameters, ionic.lib was used and include shells was not included. &lt;br /&gt;
&amp;lt;h3&amp;gt;Lattice vibrations -Computing the phonons&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected, and then run was pressed. Once the job has completed, this shows in the job list and the files were recovered. The energy could be found in the log file under Total Free Energy. &lt;br /&gt;
[[File:MgO_phonon_1.PNG|thumb|centre|Figure 1: MgO Phonon dispersion ]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Calculating the free energy in the Harmonic approximation&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected. Under General Opts, phonon dispersion was selected with N points set to 50 and calculate phonon eigenvectors was selected, so that specific points in k-space (relating to the origin, x direction vectors being in phase etc.) are represented with greek letters. The files were recovered and the phonon dispersion was displayed using the 1D data display. &lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal expansion of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
The settings used for this calculation were, select phonon DOS, change shrinking factor to 20x20x20 and set the temperature from 0-3000 K in 100 K intervals. For each temperature, the free energy and lattice volume were taken from the log file. The volumes were multiplied by 4 as the volume given in the log file is the primitive cell volume. This is also required to calculate the lattice parameter which is simply the cube root of the volume of a conventional cell. &lt;br /&gt;
[[File:MgO_DOS_16x16x16.PNG|thumb|centre|Figure 2: 16x16x16 MgO Density of states]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
For Molecular dynamics, a super cell which is twice the length on every side of the cell was used. This is so the cell is larger and is more similar to &#039;an infinite lattice&#039;. Molecular Dynamics option was selected on the execute panel, the NPT ensemble was chosen, the time step used was 1 femtosecond, equilibration steps of 500, production steps was set to 500 steps and sampling steps and trajectory write steps were set to 5. The temperature used went from 100-3000 K with 100 K interval steps. As the volume of the cell is different to the cell used in the quasi-harmonic approximation, the cell volume taken from the log file (the last average cell volume), the volume was divided by 8 to get the same volume as the conventional cell for the quasi-harmonic approximation.&lt;br /&gt;
&amp;lt;h2&amp;gt;Results and discussion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Phonon Modes of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
When the density of states for calculated for a single k point, it can be worked out by examining the phonon dispersion which k point this is. In this case, the point is L as there are only 4 peaks (2 that have double the intensity due to the double degeneracy) and at L there are only 4 branches where we would expect 6 (due to 3N to calculate number of vibrational branches expected). This can also be seen by comparing the frequencies of the peaks in the 1x1x1 DOS and the frequency of the 4 branches at L. This can be checked in the log file as although the character L is useful for helping us to determine the symmetry of the modes of vibrations, it&#039;s always useful to numerically quantify values. This is simply in the row &#039;K point&#039; where the K point is 0.5. It&#039;s important that it can be viewed in the log file as on the phonon dispersion, only greek characters which represent different k points can be seen and it&#039;s not always obvious what numerical value goes with each character. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 1: Density of states - accuracy improved with increased shrinking factor&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_1.PNG|thumb|centre|Figure 3: MgO Density of States 1x1x1 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_3x3x3.PNG|thumb|centre|Figure 4: MgO Density of States 3x3x3 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_8x8x8.PNG|thumb|centre|Figure 5: MgO Density of States 8x8x8 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_32x32x32.PNG|thumb|centre|Figure 6: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from the progression in grid size that as the grid size increases, although the peaks with the greatest intensity stay in the same place, the shape of the density of states becomes much more defined and includes information on the states at k-points even where there is a lower number of states. When looking at the difference between grid sizes qualitatively, there isn&#039;t much of a difference between 8x8x8 and 32x32x32 apart from there is a more continuous curve with the same shape. It seems that a grid size of approximately 12x12x12 would be the minimum grid size as this is the grid size at which all k points are sampled and there aren&#039;t k-points with an angular frequency of 0 which then have non-zero values of angular frequencies at higher grid sizes. However, when deciding qualitatively, the convergence of the free energy can be used. At 20x20x20 and 6 decimal places, the free energy converges suggesting this is the optimum grid size to use. The density of states in terms of the phonon dispersion curve is basically plotting how many k points there are per value of angular frequency. This can be seen more easily by placing them side by side as seen in Figure 7&lt;br /&gt;
[[File:28548481_10215289272734952_157509358_o.jpg|thumb|centre|700px|Figure 7: MgO Density of states and phonon dispersion]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 2: Free energy changing with grid size&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Grid size&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Free energy (eV)&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;1&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-41.07531759&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;2&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926609&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;3&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926432&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;4&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.92645&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;5&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926463&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;6&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926471&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;7&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926475&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;8&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926478&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;12&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926481&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;16&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926482&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;20&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;32&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In order to determine a suitable shrinking factor, a number of grid sizes were investigated with the highest being 32x32x32. As having a higher shrinking factor takes longer and more processing power (leads to being more expensive), choosing the shrinking factor becomes a compromise between time and accuracy. As can be seen from Table 2, the Helmholtz free energy stops changing after a grid size of 20x20x20 so this seemed like a reasonable value to use as not to compromise the accuracy for a quicker run time.&lt;br /&gt;
As can be seen in TABLE 2, after the grid size is 20x20x20, the values have converged and don&#039;t change (when looking at 6 decimal places, it may be changing beyond 6 decimal places). This is optimal as it reduces the computing power needed for a calculation whilst retaining almost the same level of accuracy. Using a grid size of 3x3x3 will gives a suitable energy for calculations accurate to 1 meV, REMEMBER TO DO 0.5mEV!!!!!!!! and a grid size of 5 gives a suitable energy for calculations accurate to 0.1 meV.&lt;br /&gt;
&amp;lt;h3&amp;gt;Quasi-Harmonic Thermal expansion&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Lattice_Parameter_Graph.png|thumb|centre|Figure 8: Lattice parameter vs temperature]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Free_energy_vs_T.png|thumb|centre|Figure 9: Free energy vs temperature]]&amp;lt;/th&amp;gt; &lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In Figure 9, it can be seen that the free energy is constant, then almost linearly decreases. At very low temperatures, the only main contribution to the free energy is the zero point energy as this is temperature independent. At around 400 K (where the free energy starts to decrease). We can explain by looking at equation 4 as when the temperature increases, the entropic contribution increases. If we assume the internal energy doesn&#039;t change much with temperature, then the TS term will increase in magnitude and decrease the overall free energy term. By looking at equation 4, the vibrational contribution term (also entropic term) is a ln term which will be negative, and again, decrease the overall free energy with an increase in temperature. &lt;br /&gt;
In the graph of lattice parameter vs temperature, the lattice parameter is initially constant and then increases linearly, then exponentially. Using the quasi-harmonic approximation, this gives the potential a &#039;quasi-anharmonic&#039; shape, meaning that the bond length will actually change with temperature but will just never reach the point where it breaks. Although this doesn&#039;t allow phase transitions to be investigated, it does allow the lattice parameter as a function of temperature to be investigated. DLVisualise and GULP doesn&#039;t actually allow simulations past 3000 K because of the infinitely increase potential.&lt;br /&gt;
&lt;br /&gt;
Using the Quasi Harmonic approximation, and fitting the data to get a line of best fit with a gradient of &amp;lt;math&amp;gt;5.697\times 10^{-4}&amp;lt;/math&amp;gt; which is equivalent to &amp;lt;math&amp;gt;\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt;. Multiplying by the reciprocal of the initial volume of the crystal, gives a thermal expansion coefficient for the region of 300-1300 K of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;. By taking the value from lower temperatures, this gives a higher accuracy compared to the &#039;real value&#039;. This is because of the computational model that is being used. This model is quasi-harmonic which is based on the harmonic model. The harmonic oscillator is infinite and the bond between two atoms infinitely extends. However, at high temperatures this is not the reality. The bonds extend and break which is shown by the anharmonic model. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot; class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 3: Thermal expansion coefficients&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Temperature range (K)&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Quasi-Harmonic&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Molecular Dynamics&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Literature&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;0-300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.042\times 10^{-5[1]}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;300-1300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.140\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;4.000\times 10^{-5[1]}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-0-300.png|thumb|centre|Figure 10: Quasi Harmonic approximation 0 -300 K ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-300-1300.png|thumb|centre|Figure 11:  Quasi Harmonic approximation 300-1300 K]]&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-Thermal-expansion-100-300.png|thumb|centre|Figure 12: Molecular Dynamics 100-300 K]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-300-1300.png|thumb|centre|Figure 13: Molecular Dynamics 300-1300 K]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from Table 3, at lower temperatures, the quasi-harmonic approximation gives a value closer to literature. This is because the quasi-harmonic approximation takes into account the zero point energy at lower temperatures which is the main contributing factor whereas molecular dynamics method doesn&#039;t giving a linear line much like the second temperature region - it only considers classical mechanics and not quantum mechanics like quasi-harmonic approximation which takes into account quantum effects such as the zero point energy. At lower temperatures, the molecular dynamics value had to be taken from the 100-300 K region as GULP gave an error at 0 K. This could be because molecular dynamics depends on the motion/velocity of the atoms. At 0 K, there is no motion meaning no information would be outputted, potentially giving an error. At higher temperatures, it can be seen that molecular dynamics gives a more accurate value compared to literature. This is because quasi-harmonic has a parabolic shape where the bond length increases exponentially with temperature. This means the bond length increases infinitely and the bond never breaks - the melting point can never be found using the quasi harmonic approximation. Quasi harmonic is, however, much more useful than simply a harmonic approximation as the average bond length stays at the bottom of the potential well in the harmonic oscillator potential meaning there&#039;s no difference in bond length at different temperatures.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Conclusion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;References&amp;lt;/h2&amp;gt;&lt;br /&gt;
[1] - Rao, A. S. M., &amp;amp; Narender, K. (2014). Studies on thermophysical properties of CaO and MgO by γ -ray attenuation. Journal of Thermodynamics, 2014. http://doi.org/10.1155/2014/123478&lt;br /&gt;
&amp;lt;br&amp;gt;[2] - Lecture 4: Vibrations and Free Energy N. M. Harrison Imperial College London&lt;br /&gt;
&amp;lt;br&amp;gt;[3] - Atkins, P. W., 2014, Atkins&#039; physical chemistry. Oxford: Oxford Univ. Press&lt;/div&gt;</summary>
		<author><name>Ar3015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674452</id>
		<title>Rep:Ar3015MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674452"/>
		<updated>2018-02-28T09:10:44Z</updated>

		<summary type="html">&lt;p&gt;Ar3015: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h1&amp;gt;MgO Report - Antonia Reeves&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;Introduction&amp;lt;/h2&amp;gt;&lt;br /&gt;
In chemistry, it is much easier to treat crystals as rigid structures with set lattice points in unit cells. This can often hold as a good approximation at very low temperatures. However, this is obviously not the case. There are many different vibrations happening throughout the lattice structure leading to thermal expansion. These vibrations can be quantified by using a wave vector - this gives the direction of the propagation of the wave in reciprocal space. To represent reciprocal space, the inverse of the lattice parameter, a, can simply be taken &amp;lt;math&amp;gt;a^* = \frac{2 \pi}{a} ^3&amp;lt;/math&amp;gt;. This report investigates the effect of temperature on vibrations and size of the lattice structure of MgO. The lattice structure of MgO is face centred cubic. &lt;br /&gt;
&amp;lt;h3&amp;gt;Phonons and phonon dispersions&amp;lt;/h3&amp;gt;&lt;br /&gt;
In quantum chemistry, vibrations can be treated as both particles and waves. When treating vibrations as particles - just as particles of light are photons - they are called phonons. This can be used and a plot of frequency against wave vector can be generated. This effectively gives a plot of the energy against the &#039;the way that vibrations move&#039; which is the k vector. As the phonon dispersion plot investigates the different ways vibrations can take place in the same time, if there were for example only a few atoms, this would give rise to only a few different k points. However, as an infinite lattice is being used, instead of giving quantised k points, a continuous line of k points can be generated, giving rise to a band. One band is called a branch. The number of branches is dependent on the number of different atoms in the lattice. In MgO lattice there are 2 atoms. Using the equation 3N (not 3N-6 as this takes into account rotational and translation degeneracy for single molecules that don&#039;t need to be considered for crystal vibrations) where N is the number of different atoms, this gives 6 branches which can be seen in the phonon dispersion plot in Figure 1. Using the dispersion plots are useful for seeing the frequency vs k vector as a whole, however, makes it difficult to determine pieces of information such as how many states are at a given frequency, and whether there is a direct or indirect band gap. This is simply one way of displaying all of the data - the same data can be displayed as a density of states. Instead of simply giving the angular frequency as a function of the wave vector, a plot of density of states can also show how many states have a given energy at each k vector point. This can show the energy difference in the band gap, and the most densely populated k-states more easily. In order to visualise the density of states, the phonon dispersion is &#039;chopped up&#039; into sections. The number of sections is determined by the grid size (these parameters can be changed in the GULP execution panel. In this, the frequencies at the edge of the grids are taken and plotted (only one side as not to repeat the counting of the frequencies). The higher the grid size, the greater the accuracy of the density of states as this allows a greater number of wave vectors to be sampled. The value of the grid size is called the shrinking factor.&lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal Expansion Coefficient&amp;lt;/h3&amp;gt;&lt;br /&gt;
Using the equation &amp;lt;math&amp;gt;\frac{1}{V_0}\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt; gives the thermal expansion coefficient. This value represents how much a given crystal expands with an increase in temperature.  The &amp;lt;math&amp;gt;\frac{1}{V_0}&amp;lt;/math&amp;gt; term to normalises this value so it can be applied to a crystal of any size which is composed of the same crystal. Below, the different computational methods that can be used to investigate how these properties change with temperature are used.&lt;br /&gt;
&amp;lt;h3&amp;gt;Software used&amp;lt;/h3&amp;gt;&lt;br /&gt;
DLVisualise is the programmed used for modelling crystals in simulations such as this and allows chemists to visualise properties of crystals such as vibrations, energy, volume  and calculates these using wavefunctions of crystals - GULP lets the particular codes for the simulations to be accessed for running simulations. GULP is better for quantum based calculations such as lattice dynamics over molecular dynamics. However force fields for molecular dynamics can still be used and calculate values to output thermodynamic data. &lt;br /&gt;
&amp;lt;h3&amp;gt;Harmonic and Quasi-Harmonic approximations&amp;lt;/h3&amp;gt;&lt;br /&gt;
The harmonic oscillator is simply a taylor expansion of anhmarmonic potential. The harmonic oscillator takes the third term (quadratic term) giving the easily the harmonic oscillator parabola. When looking at harmonic potential energies, as the temperature is changed, the average bond length stays at an equilibrium point and therefore the volume of the crystal doesn&#039;t change. This means that although this approximation works well at lower temperatures as there is little change in volume at low temperatures in reality, at higher temperatures, harmonic and anharmonic (which is a much more realistic model) deviate a lot, giving unreliable data for higher temperatures. A compromise between harmonic which isn&#039;t a very reliable approximation as it only uses 3 terms from the taylor series expansion and using an anharmonic which uses many terms and will be very expensive is using a quasi-harmonic approximation. In the helmholtz free energy equations, the differences in the equations for harmonic and quasi-harmonic plots are in the frequency term. In a harmonic system, equation 3 would be used as the potential. However as the quasi harmonic system is being examined, within the brillouin zone &amp;lt;math&amp;gt;-\pi &amp;lt; k &amp;lt; \pi &amp;lt;/math&amp;gt; equation 1 can be used. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{4J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 1)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{2J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 2)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{1}{2\pi}){\frac{k}{\mu}}^{\frac{1}{2}} &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 3)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Helmholtz Free Energy&amp;lt;/h3&amp;gt;&lt;br /&gt;
[[File:Screen_Shot_2018-02-27_at_10.12.39.png|thumb|centre|Eq. 4]]&amp;lt;math&amp;gt;^2&amp;lt;/math&amp;gt;&lt;br /&gt;
A = U - TS&lt;br /&gt;
In order to look at the energy of the vibrational modes, we use the vibrational contribution to the entropy using statistical thermodynamics and the partition coefficient. &lt;br /&gt;
The first term of equation 4 is the internal energy, the second term is the zero point energy (energy at 0K) and the final term is the statistical thermodynamics contribution - the contribution to the energy from the different vibrations.&lt;br /&gt;
This equation can be derived by using the partition function to derive the entropic term as shown in equation 5. &lt;br /&gt;
[[File:Screen_Shot_2018-02-28_at_08.56.46.png|thumb|centre|Eq. 5]&amp;lt;math&amp;gt;^3&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
The molecular dynamics method takes the values from the ideal MgO crystal, then when we change the parameters, generate random velocities. This process is repeated at each time step (each a microstate) then all of the microstates are averaged. An average of all of the microstates is carried out, when enough microstates have been sampled, they start to converge and properties of the crystal can start to be measured such as energy and volume. One of the main differences between the quasi-harmonic approximation and molecular dynamics is that quasi-harmonics uses quantum mechanics to calculate the volumes (the change in bond length) and molecular dynamics uses classical mechanics. When sampling a configuration, there needs to be enough time for the values to converge. This is where the length of the timesteps come into play - getting a more accurate value means that the calculations will take much longer and therefore be more expensive. &lt;br /&gt;
&amp;lt;h2&amp;gt;Method&amp;lt;/h2&amp;gt;&lt;br /&gt;
For all of the calculations, the GUI DLVisualise was used. For all calculations, the execute GULP panel was brought up and in the GULP potential parameters, ionic.lib was used and include shells was not included. &lt;br /&gt;
&amp;lt;h3&amp;gt;Lattice vibrations -Computing the phonons&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected, and then run was pressed. Once the job has completed, this shows in the job list and the files were recovered. The energy could be found in the log file under Total Free Energy. &lt;br /&gt;
[[File:MgO_phonon_1.PNG|thumb|centre|Figure 1: MgO Phonon dispersion ]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Calculating the free energy in the Harmonic approximation&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected. Under General Opts, phonon dispersion was selected with N points set to 50 and calculate phonon eigenvectors was selected, so that specific points in k-space (relating to the origin, x direction vectors being in phase etc.) are represented with greek letters. The files were recovered and the phonon dispersion was displayed using the 1D data display. &lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal expansion of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
The settings used for this calculation were, select phonon DOS, change shrinking factor to 20x20x20 and set the temperature from 0-3000 K in 100 K intervals. For each temperature, the free energy and lattice volume were taken from the log file. The volumes were multiplied by 4 as the volume given in the log file is the primitive cell volume. This is also required to calculate the lattice parameter which is simply the cube root of the volume of a conventional cell. &lt;br /&gt;
[[File:MgO_DOS_16x16x16.PNG|thumb|centre|Figure 2: 16x16x16 MgO Density of states]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
For Molecular dynamics, a super cell which is twice the length on every side of the cell was used. This is so the cell is larger and is more similar to &#039;an infinite lattice&#039;. Molecular Dynamics option was selected on the execute panel, the NPT ensemble was chosen, the time step used was 1 femtosecond, equilibration steps of 500, production steps was set to 500 steps and sampling steps and trajectory write steps were set to 5. The temperature used went from 100-3000 K with 100 K interval steps. As the volume of the cell is different to the cell used in the quasi-harmonic approximation, the cell volume taken from the log file (the last average cell volume), the volume was divided by 8 to get the same volume as the conventional cell for the quasi-harmonic approximation.&lt;br /&gt;
&amp;lt;h2&amp;gt;Results and discussion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Phonon Modes of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
When the density of states for calculated for a single k point, it can be worked out by examining the phonon dispersion which k point this is. In this case, the point is L as there are only 4 peaks (2 that have double the intensity due to the double degeneracy) and at L there are only 4 branches where we would expect 6 (due to 3N to calculate number of vibrational branches expected). This can also be seen by comparing the frequencies of the peaks in the 1x1x1 DOS and the frequency of the 4 branches at L. This can be checked in the log file as although the character L is useful for helping us to determine the symmetry of the modes of vibrations, it&#039;s always useful to numerically quantify values. This is simply in the row &#039;K point&#039; where the K point is 0.5. It&#039;s important that it can be viewed in the log file as on the phonon dispersion, only greek characters which represent different k points can be seen and it&#039;s not always obvious what numerical value goes with each character. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 1: Density of states - accuracy improved with increased shrinking factor&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_1.PNG|thumb|centre|Figure 3: MgO Density of States 1x1x1 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_3x3x3.PNG|thumb|centre|Figure 4: MgO Density of States 3x3x3 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_8x8x8.PNG|thumb|centre|Figure 5: MgO Density of States 8x8x8 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_32x32x32.PNG|thumb|centre|Figure 6: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from the progression in grid size that as the grid size increases, although the peaks with the greatest intensity stay in the same place, the shape of the density of states becomes much more defined and includes information on the states at k-points even where there is a lower number of states. When looking at the difference between grid sizes qualitatively, there isn&#039;t much of a difference between 8x8x8 and 32x32x32 apart from there is a more continuous curve with the same shape. It seems that a grid size of approximately 12x12x12 would be the minimum grid size as this is the grid size at which all k points are sampled and there aren&#039;t k-points with an angular frequency of 0 which then have non-zero values of angular frequencies at higher grid sizes. However, when deciding qualitatively, the convergence of the free energy can be used. At 20x20x20 and 6 decimal places, the free energy converges suggesting this is the optimum grid size to use. The density of states in terms of the phonon dispersion curve is basically plotting how many k points there are per value of angular frequency. This can be seen more easily by placing them side by side as seen in Figure 7&lt;br /&gt;
[[File:28548481_10215289272734952_157509358_o.jpg|thumb|centre|700px|Figure 7: MgO Density of states and phonon dispersion]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 2: Free energy changing with grid size&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Grid size&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Free energy (eV)&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;1&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-41.07531759&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;2&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926609&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;3&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926432&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;4&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.92645&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;5&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926463&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;6&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926471&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;7&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926475&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;8&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926478&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;12&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926481&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;16&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926482&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;20&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;32&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In order to determine a suitable shrinking factor, a number of grid sizes were investigated with the highest being 32x32x32. As having a higher shrinking factor takes longer and more processing power (leads to being more expensive), choosing the shrinking factor becomes a compromise between time and accuracy. As can be seen from Table 2, the Helmholtz free energy stops changing after a grid size of 20x20x20 so this seemed like a reasonable value to use as not to compromise the accuracy for a quicker run time.&lt;br /&gt;
As can be seen in TABLE 2, after the grid size is 20x20x20, the values have converged and don&#039;t change (when looking at 6 decimal places, it may be changing beyond 6 decimal places). This is optimal as it reduces the computing power needed for a calculation whilst retaining almost the same level of accuracy. Using a grid size of 3x3x3 will gives a suitable energy for calculations accurate to 1 meV, REMEMBER TO DO 0.5mEV!!!!!!!! and a grid size of 5 gives a suitable energy for calculations accurate to 0.1 meV.&lt;br /&gt;
&amp;lt;h3&amp;gt;Quasi-Harmonic Thermal expansion&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Lattice_Parameter_Graph.png|thumb|centre|Figure 8: Lattice parameter vs temperature]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Free_energy_vs_T.png|thumb|centre|Figure 9: Free energy vs temperature]]&amp;lt;/th&amp;gt; &lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In Figure 9, it can be seen that the free energy is constant, then almost linearly decreases. At very low temperatures, the only main contribution to the free energy is the zero point energy as this is temperature independent. At around 400 K (where the free energy starts to decrease). We can explain by looking at equation 4 as when the temperature increases, the entropic contribution increases. If we assume the internal energy doesn&#039;t change much with temperature, then the TS term will increase in magnitude and decrease the overall free energy term. By looking at equation 4, the vibrational contribution term (also entropic term) is a ln term which will be negative, and again, decrease the overall free energy with an increase in temperature. &lt;br /&gt;
In the graph of lattice parameter vs temperature, the lattice parameter is initially constant and then increases linearly, then exponentially. Using the quasi-harmonic approximation, this gives the potential a &#039;quasi-anharmonic&#039; shape, meaning that the bond length will actually change with temperature but will just never reach the point where it breaks. Although this doesn&#039;t allow phase transitions to be investigated, it does allow the lattice parameter as a function of temperature to be investigated. DLVisualise and GULP doesn&#039;t actually allow simulations past 3000 K because of the infinitely increase potential.&lt;br /&gt;
&lt;br /&gt;
Using the Quasi Harmonic approximation, and fitting the data to get a line of best fit with a gradient of &amp;lt;math&amp;gt;5.697\times 10^{-4}&amp;lt;/math&amp;gt; which is equivalent to &amp;lt;math&amp;gt;\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt;. Multiplying by the reciprocal of the initial volume of the crystal, gives a thermal expansion coefficient for the region of 300-1300 K of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;. By taking the value from lower temperatures, this gives a higher accuracy compared to the &#039;real value&#039;. This is because of the computational model that is being used. This model is quasi-harmonic which is based on the harmonic model. The harmonic oscillator is infinite and the bond between two atoms infinitely extends. However, at high temperatures this is not the reality. The bonds extend and break which is shown by the anharmonic model. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot; class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 3: Thermal expansion coefficients&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Temperature range (K)&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Quasi-Harmonic&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Molecular Dynamics&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Literature&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;0-300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.042\times 10^{-5[1]}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;300-1300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.140\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;4.000\times 10^{-5[1]}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-0-300.png|thumb|centre|Figure 10: Quasi Harmonic approximation 0 -300 K ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-300-1300.png|thumb|centre|Figure 11:  Quasi Harmonic approximation 300-1300 K]]&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-Thermal-expansion-100-300.png|thumb|centre|Figure 12: Molecular Dynamics 100-300 K]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-300-1300.png|thumb|centre|Figure 13: Molecular Dynamics 300-1300 K]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from Table 3, at lower temperatures, the quasi-harmonic approximation gives a value closer to literature. This is because the quasi-harmonic approximation takes into account the zero point energy at lower temperatures which is the main contributing factor whereas molecular dynamics method doesn&#039;t giving a linear line much like the second temperature region - it only considers classical mechanics and not quantum mechanics like quasi-harmonic approximation which takes into account quantum effects such as the zero point energy. At lower temperatures, the molecular dynamics value had to be taken from the 100-300 K region as GULP gave an error at 0 K. This could be because molecular dynamics depends on the motion/velocity of the atoms. At 0 K, there is no motion meaning no information would be outputted, potentially giving an error. At higher temperatures, it can be seen that molecular dynamics gives a more accurate value compared to literature. This is because quasi-harmonic has a parabolic shape where the bond length increases exponentially with temperature. This means the bond length increases infinitely and the bond never breaks - the melting point can never be found using the quasi harmonic approximation. Quasi harmonic is, however, much more useful than simply a harmonic approximation as the average bond length stays at the bottom of the potential well in the harmonic oscillator potential meaning there&#039;s no difference in bond length at different temperatures.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Conclusion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;References&amp;lt;/h2&amp;gt;&lt;br /&gt;
[1] - Rao, A. S. M., &amp;amp; Narender, K. (2014). Studies on thermophysical properties of CaO and MgO by γ -ray attenuation. Journal of Thermodynamics, 2014. http://doi.org/10.1155/2014/123478&lt;br /&gt;
&amp;lt;br&amp;gt;[2] - Lecture 4: Vibrations and Free Energy N. M. Harrison Imperial College London&lt;br /&gt;
&amp;lt;br&amp;gt;[3] - Atkins, P. W., 2014, Atkins&#039; physical chemistry. Oxford: Oxford Univ. Press&lt;/div&gt;</summary>
		<author><name>Ar3015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674450</id>
		<title>Rep:Ar3015MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674450"/>
		<updated>2018-02-28T09:09:49Z</updated>

		<summary type="html">&lt;p&gt;Ar3015: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h1&amp;gt;MgO Report - Antonia Reeves&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;Introduction&amp;lt;/h2&amp;gt;&lt;br /&gt;
In chemistry, it is much easier to treat crystals as rigid structures with set lattice points in unit cells. This can often hold as a good approximation at very low temperatures. However, this is obviously not the case. There are many different vibrations happening throughout the lattice structure leading to thermal expansion. These vibrations can be quantified by using a wave vector - this gives the direction of the propagation of the wave in reciprocal space. To represent reciprocal space, the inverse of the lattice parameter, a, can simply be taken &amp;lt;math&amp;gt;a^* = \frac{2 \pi}{a}&amp;lt;/math&amp;gt;. This report investigates the effect of temperature on vibrations and size of the lattice structure of MgO. The lattice structure of MgO is face centred cubic. &lt;br /&gt;
&amp;lt;h3&amp;gt;Phonons and phonon dispersions&amp;lt;/h3&amp;gt;&lt;br /&gt;
In quantum chemistry, vibrations can be treated as both particles and waves. When treating vibrations as particles - just as particles of light are photons - they are called phonons. This can be used and a plot of frequency against wave vector can be generated. This effectively gives a plot of the energy against the &#039;the way that vibrations move&#039; which is the k vector. As the phonon dispersion plot investigates the different ways vibrations can take place in the same time, if there were for example only a few atoms, this would give rise to only a few different k points. However, as an infinite lattice is being used, instead of giving quantised k points, a continuous line of k points can be generated, giving rise to a band. One band is called a branch. The number of branches is dependent on the number of different atoms in the lattice. In MgO lattice there are 2 atoms. Using the equation 3N (not 3N-6 as this takes into account rotational and translation degeneracy for single molecules that don&#039;t need to be considered for crystal vibrations) where N is the number of different atoms, this gives 6 branches which can be seen in the phonon dispersion plot in Figure 1. Using the dispersion plots are useful for seeing the frequency vs k vector as a whole, however, makes it difficult to determine pieces of information such as how many states are at a given frequency, and whether there is a direct or indirect band gap. This is simply one way of displaying all of the data - the same data can be displayed as a density of states. Instead of simply giving the angular frequency as a function of the wave vector, a plot of density of states can also show how many states have a given energy at each k vector point. This can show the energy difference in the band gap, and the most densely populated k-states more easily. In order to visualise the density of states, the phonon dispersion is &#039;chopped up&#039; into sections. The number of sections is determined by the grid size (these parameters can be changed in the GULP execution panel. In this, the frequencies at the edge of the grids are taken and plotted (only one side as not to repeat the counting of the frequencies). The higher the grid size, the greater the accuracy of the density of states as this allows a greater number of wave vectors to be sampled. The value of the grid size is called the shrinking factor.&lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal Expansion Coefficient&amp;lt;/h3&amp;gt;&lt;br /&gt;
Using the equation &amp;lt;math&amp;gt;\frac{1}{V_0}\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt; gives the thermal expansion coefficient. This value represents how much a given crystal expands with an increase in temperature.  The &amp;lt;math&amp;gt;\frac{1}{V_0}&amp;lt;/math&amp;gt; term to normalises this value so it can be applied to a crystal of any size which is composed of the same crystal. Below, the different computational methods that can be used to investigate how these properties change with temperature are used.&lt;br /&gt;
&amp;lt;h3&amp;gt;Software used&amp;lt;/h3&amp;gt;&lt;br /&gt;
DLVisualise is the programmed used for modelling crystals in simulations such as this and allows chemists to visualise properties of crystals such as vibrations, energy, volume  and calculates these using wavefunctions of crystals - GULP lets the particular codes for the simulations to be accessed for running simulations. GULP is better for quantum based calculations such as lattice dynamics over molecular dynamics. However force fields for molecular dynamics can still be used and calculate values to output thermodynamic data. &lt;br /&gt;
&amp;lt;h3&amp;gt;Harmonic and Quasi-Harmonic approximations&amp;lt;/h3&amp;gt;&lt;br /&gt;
The harmonic oscillator is simply a taylor expansion of anhmarmonic potential. The harmonic oscillator takes the third term (quadratic term) giving the easily the harmonic oscillator parabola. When looking at harmonic potential energies, as the temperature is changed, the average bond length stays at an equilibrium point and therefore the volume of the crystal doesn&#039;t change. This means that although this approximation works well at lower temperatures as there is little change in volume at low temperatures in reality, at higher temperatures, harmonic and anharmonic (which is a much more realistic model) deviate a lot, giving unreliable data for higher temperatures. A compromise between harmonic which isn&#039;t a very reliable approximation as it only uses 3 terms from the taylor series expansion and using an anharmonic which uses many terms and will be very expensive is using a quasi-harmonic approximation. In the helmholtz free energy equations, the differences in the equations for harmonic and quasi-harmonic plots are in the frequency term. In a harmonic system, equation 3 would be used as the potential. However as the quasi harmonic system is being examined, within the brillouin zone &amp;lt;math&amp;gt;-\pi &amp;lt; k &amp;lt; \pi &amp;lt;/math&amp;gt; equation 1 can be used. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{4J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 1)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{2J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 2)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{1}{2\pi}){\frac{k}{\mu}}^{\frac{1}{2}} &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 3)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Helmholtz Free Energy&amp;lt;/h3&amp;gt;&lt;br /&gt;
[[File:Screen_Shot_2018-02-27_at_10.12.39.png|thumb|centre|Eq. 4]]&amp;lt;math&amp;gt;^2&amp;lt;/math&amp;gt;&lt;br /&gt;
A = U - TS&lt;br /&gt;
In order to look at the energy of the vibrational modes, we use the vibrational contribution to the entropy using statistical thermodynamics and the partition coefficient. &lt;br /&gt;
The first term of equation 4 is the internal energy, the second term is the zero point energy (energy at 0K) and the final term is the statistical thermodynamics contribution - the contribution to the energy from the different vibrations.&lt;br /&gt;
This equation can be derived by using the partition function to derive the entropic term as shown in equation 5. &lt;br /&gt;
[[File:Screen_Shot_2018-02-28_at_08.56.46.png|thumb|centre|Eq. 5]&amp;lt;math&amp;gt;^3&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
The molecular dynamics method takes the values from the ideal MgO crystal, then when we change the parameters, generate random velocities. This process is repeated at each time step (each a microstate) then all of the microstates are averaged. An average of all of the microstates is carried out, when enough microstates have been sampled, they start to converge and properties of the crystal can start to be measured such as energy and volume. One of the main differences between the quasi-harmonic approximation and molecular dynamics is that quasi-harmonics uses quantum mechanics to calculate the volumes (the change in bond length) and molecular dynamics uses classical mechanics. When sampling a configuration, there needs to be enough time for the values to converge. This is where the length of the timesteps come into play - getting a more accurate value means that the calculations will take much longer and therefore be more expensive. &lt;br /&gt;
&amp;lt;h2&amp;gt;Method&amp;lt;/h2&amp;gt;&lt;br /&gt;
For all of the calculations, the GUI DLVisualise was used. For all calculations, the execute GULP panel was brought up and in the GULP potential parameters, ionic.lib was used and include shells was not included. &lt;br /&gt;
&amp;lt;h3&amp;gt;Lattice vibrations -Computing the phonons&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected, and then run was pressed. Once the job has completed, this shows in the job list and the files were recovered. The energy could be found in the log file under Total Free Energy. &lt;br /&gt;
[[File:MgO_phonon_1.PNG|thumb|centre|Figure 1: MgO Phonon dispersion ]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Calculating the free energy in the Harmonic approximation&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected. Under General Opts, phonon dispersion was selected with N points set to 50 and calculate phonon eigenvectors was selected, so that specific points in k-space (relating to the origin, x direction vectors being in phase etc.) are represented with greek letters. The files were recovered and the phonon dispersion was displayed using the 1D data display. &lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal expansion of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
The settings used for this calculation were, select phonon DOS, change shrinking factor to 20x20x20 and set the temperature from 0-3000 K in 100 K intervals. For each temperature, the free energy and lattice volume were taken from the log file. The volumes were multiplied by 4 as the volume given in the log file is the primitive cell volume. This is also required to calculate the lattice parameter which is simply the cube root of the volume of a conventional cell. &lt;br /&gt;
[[File:MgO_DOS_16x16x16.PNG|thumb|centre|Figure 2: 16x16x16 MgO Density of states]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
For Molecular dynamics, a super cell which is twice the length on every side of the cell was used. This is so the cell is larger and is more similar to &#039;an infinite lattice&#039;. Molecular Dynamics option was selected on the execute panel, the NPT ensemble was chosen, the time step used was 1 femtosecond, equilibration steps of 500, production steps was set to 500 steps and sampling steps and trajectory write steps were set to 5. The temperature used went from 100-3000 K with 100 K interval steps. As the volume of the cell is different to the cell used in the quasi-harmonic approximation, the cell volume taken from the log file (the last average cell volume), the volume was divided by 8 to get the same volume as the conventional cell for the quasi-harmonic approximation.&lt;br /&gt;
&amp;lt;h2&amp;gt;Results and discussion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Phonon Modes of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
When the density of states for calculated for a single k point, it can be worked out by examining the phonon dispersion which k point this is. In this case, the point is L as there are only 4 peaks (2 that have double the intensity due to the double degeneracy) and at L there are only 4 branches where we would expect 6 (due to 3N to calculate number of vibrational branches expected). This can also be seen by comparing the frequencies of the peaks in the 1x1x1 DOS and the frequency of the 4 branches at L. This can be checked in the log file as although the character L is useful for helping us to determine the symmetry of the modes of vibrations, it&#039;s always useful to numerically quantify values. This is simply in the row &#039;K point&#039; where the K point is 0.5. It&#039;s important that it can be viewed in the log file as on the phonon dispersion, only greek characters which represent different k points can be seen and it&#039;s not always obvious what numerical value goes with each character. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 1: Density of states - accuracy improved with increased shrinking factor&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_1.PNG|thumb|centre|Figure 3: MgO Density of States 1x1x1 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_3x3x3.PNG|thumb|centre|Figure 4: MgO Density of States 3x3x3 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_8x8x8.PNG|thumb|centre|Figure 5: MgO Density of States 8x8x8 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_32x32x32.PNG|thumb|centre|Figure 6: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from the progression in grid size that as the grid size increases, although the peaks with the greatest intensity stay in the same place, the shape of the density of states becomes much more defined and includes information on the states at k-points even where there is a lower number of states. When looking at the difference between grid sizes qualitatively, there isn&#039;t much of a difference between 8x8x8 and 32x32x32 apart from there is a more continuous curve with the same shape. It seems that a grid size of approximately 12x12x12 would be the minimum grid size as this is the grid size at which all k points are sampled and there aren&#039;t k-points with an angular frequency of 0 which then have non-zero values of angular frequencies at higher grid sizes. However, when deciding qualitatively, the convergence of the free energy can be used. At 20x20x20 and 6 decimal places, the free energy converges suggesting this is the optimum grid size to use. The density of states in terms of the phonon dispersion curve is basically plotting how many k points there are per value of angular frequency. This can be seen more easily by placing them side by side as seen in Figure 7&lt;br /&gt;
[[File:28548481_10215289272734952_157509358_o.jpg|thumb|centre|700px|Figure 7: MgO Density of states and phonon dispersion]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 2: Free energy changing with grid size&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Grid size&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Free energy (eV)&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;1&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-41.07531759&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;2&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926609&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;3&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926432&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;4&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.92645&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;5&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926463&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;6&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926471&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;7&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926475&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;8&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926478&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;12&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926481&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;16&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926482&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;20&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;32&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In order to determine a suitable shrinking factor, a number of grid sizes were investigated with the highest being 32x32x32. As having a higher shrinking factor takes longer and more processing power (leads to being more expensive), choosing the shrinking factor becomes a compromise between time and accuracy. As can be seen from Table 2, the Helmholtz free energy stops changing after a grid size of 20x20x20 so this seemed like a reasonable value to use as not to compromise the accuracy for a quicker run time.&lt;br /&gt;
As can be seen in TABLE 2, after the grid size is 20x20x20, the values have converged and don&#039;t change (when looking at 6 decimal places, it may be changing beyond 6 decimal places). This is optimal as it reduces the computing power needed for a calculation whilst retaining almost the same level of accuracy. Using a grid size of 3x3x3 will gives a suitable energy for calculations accurate to 1 meV, REMEMBER TO DO 0.5mEV!!!!!!!! and a grid size of 5 gives a suitable energy for calculations accurate to 0.1 meV.&lt;br /&gt;
&amp;lt;h3&amp;gt;Quasi-Harmonic Thermal expansion&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Lattice_Parameter_Graph.png|thumb|centre|Figure 8: Lattice parameter vs temperature]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Free_energy_vs_T.png|thumb|centre|Figure 9: Free energy vs temperature]]&amp;lt;/th&amp;gt; &lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In Figure 9, it can be seen that the free energy is constant, then almost linearly decreases. At very low temperatures, the only main contribution to the free energy is the zero point energy as this is temperature independent. At around 400 K (where the free energy starts to decrease). We can explain by looking at equation 4 as when the temperature increases, the entropic contribution increases. If we assume the internal energy doesn&#039;t change much with temperature, then the TS term will increase in magnitude and decrease the overall free energy term. By looking at equation 4, the vibrational contribution term (also entropic term) is a ln term which will be negative, and again, decrease the overall free energy with an increase in temperature. &lt;br /&gt;
In the graph of lattice parameter vs temperature, the lattice parameter is initially constant and then increases linearly, then exponentially. Using the quasi-harmonic approximation, this gives the potential a &#039;quasi-anharmonic&#039; shape, meaning that the bond length will actually change with temperature but will just never reach the point where it breaks. Although this doesn&#039;t allow phase transitions to be investigated, it does allow the lattice parameter as a function of temperature to be investigated. DLVisualise and GULP doesn&#039;t actually allow simulations past 3000 K because of the infinitely increase potential.&lt;br /&gt;
&lt;br /&gt;
Using the Quasi Harmonic approximation, and fitting the data to get a line of best fit with a gradient of &amp;lt;math&amp;gt;5.697\times 10^{-4}&amp;lt;/math&amp;gt; which is equivalent to &amp;lt;math&amp;gt;\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt;. Multiplying by the reciprocal of the initial volume of the crystal, gives a thermal expansion coefficient for the region of 300-1300 K of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;. By taking the value from lower temperatures, this gives a higher accuracy compared to the &#039;real value&#039;. This is because of the computational model that is being used. This model is quasi-harmonic which is based on the harmonic model. The harmonic oscillator is infinite and the bond between two atoms infinitely extends. However, at high temperatures this is not the reality. The bonds extend and break which is shown by the anharmonic model. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot; class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 3: Thermal expansion coefficients&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Temperature range (K)&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Quasi-Harmonic&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Molecular Dynamics&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Literature&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;0-300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.042\times 10^{-5[1]}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;300-1300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.140\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;4.000\times 10^{-5[1]}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-0-300.png|thumb|centre|Figure 10: Quasi Harmonic approximation 0 -300 K ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-300-1300.png|thumb|centre|Figure 11:  Quasi Harmonic approximation 300-1300 K]]&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-Thermal-expansion-100-300.png|thumb|centre|Figure 12: Molecular Dynamics 100-300 K]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-300-1300.png|thumb|centre|Figure 13: Molecular Dynamics 300-1300 K]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from Table 3, at lower temperatures, the quasi-harmonic approximation gives a value closer to literature. This is because the quasi-harmonic approximation takes into account the zero point energy at lower temperatures which is the main contributing factor whereas molecular dynamics method doesn&#039;t giving a linear line much like the second temperature region - it only considers classical mechanics and not quantum mechanics like quasi-harmonic approximation which takes into account quantum effects such as the zero point energy. At lower temperatures, the molecular dynamics value had to be taken from the 100-300 K region as GULP gave an error at 0 K. This could be because molecular dynamics depends on the motion/velocity of the atoms. At 0 K, there is no motion meaning no information would be outputted, potentially giving an error. At higher temperatures, it can be seen that molecular dynamics gives a more accurate value compared to literature. This is because quasi-harmonic has a parabolic shape where the bond length increases exponentially with temperature. This means the bond length increases infinitely and the bond never breaks - the melting point can never be found using the quasi harmonic approximation. Quasi harmonic is, however, much more useful than simply a harmonic approximation as the average bond length stays at the bottom of the potential well in the harmonic oscillator potential meaning there&#039;s no difference in bond length at different temperatures.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Conclusion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;References&amp;lt;/h2&amp;gt;&lt;br /&gt;
[1] - Rao, A. S. M., &amp;amp; Narender, K. (2014). Studies on thermophysical properties of CaO and MgO by γ -ray attenuation. Journal of Thermodynamics, 2014. http://doi.org/10.1155/2014/123478&lt;br /&gt;
&amp;lt;br&amp;gt;[2] - Lecture 4: Vibrations and Free Energy N. M. Harrison Imperial College London&lt;br /&gt;
&amp;lt;br&amp;gt;[3] - Atkins, P. W., 2014, Atkins&#039; physical chemistry. Oxford: Oxford Univ. Press&lt;/div&gt;</summary>
		<author><name>Ar3015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674440</id>
		<title>Rep:Ar3015MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674440"/>
		<updated>2018-02-28T09:02:06Z</updated>

		<summary type="html">&lt;p&gt;Ar3015: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h1&amp;gt;MgO Report - Antonia Reeves&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;Introduction&amp;lt;/h2&amp;gt;&lt;br /&gt;
In chemistry, it is much easier to treat crystals as rigid structures with set lattice points in unit cells. This can often hold as a good approximation at very low temperatures. However, this is obviously not the case. There are many different vibrations happening throughout the lattice structure leading to thermal expansion. These vibrations can be quantified by using a wave vector - this gives the direction of the propagation of the wave in reciprocal space. We use reciprocal space because FILL IN HERE. This report investigates the effect of temperature on vibrations and size of the lattice structure of MgO. The lattice structure of MgO is face centred cubic. &lt;br /&gt;
&amp;lt;h3&amp;gt;Phonons and phonon dispersions&amp;lt;/h3&amp;gt;&lt;br /&gt;
In quantum chemistry, vibrations can be treated as both particles and waves. When treating vibrations as particles - just as particles of light are photons - they are called phonons. This can be used and a plot of frequency against wave vector can be generated. This effectively gives a plot of the energy against the &#039;the way that vibrations move&#039; which is the k vector. As the phonon dispersion plot investigates the different ways vibrations can take place in the same time, if there were for example only a few atoms, this would give rise to only a few different k points. However, as an infinite lattice is being used, instead of giving quantised k points, a continuous line of k points can be generated, giving rise to a band. One band is called a branch. The number of branches is dependent on the number of different atoms in the lattice. In MgO lattice there are 2 atoms. Using the equation 3N (not 3N-6 as this takes into account rotational and translation degeneracy for single molecules that don&#039;t need to be considered for crystal vibrations) where N is the number of different atoms, this gives 6 branches which can be seen in the phonon dispersion plot in Figure 1. Using the dispersion plots are useful for seeing the frequency vs k vector as a whole, however, makes it difficult to determine pieces of information such as how many states are at a given frequency, and whether there is a direct or indirect band gap. This is simply one way of displaying all of the data - the same data can be displayed as a density of states. Instead of simply giving the angular frequency as a function of the wave vector, a plot of density of states can also show how many states have a given energy at each k vector point. This can show the energy difference in the band gap, and the most densely populated k-states more easily. In order to visualise the density of states, the phonon dispersion is &#039;chopped up&#039; into sections. The number of sections is determined by the grid size (these parameters can be changed in the GULP execution panel. In this, the frequencies at the edge of the grids are taken and plotted (only one side as not to repeat the counting of the frequencies). The higher the grid size, the greater the accuracy of the density of states as this allows a greater number of wave vectors to be sampled. The value of the grid size is called the shrinking factor.&lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal Expansion Coefficient&amp;lt;/h3&amp;gt;&lt;br /&gt;
Using the equation &amp;lt;math&amp;gt;\frac{1}{V_0}\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt; gives the thermal expansion coefficient. This value represents how much a given crystal expands with an increase in temperature.  The &amp;lt;math&amp;gt;\frac{1}{V_0}&amp;lt;/math&amp;gt; term to normalises this value so it can be applied to a crystal of any size which is composed of the same crystal. Below, the different computational methods that can be used to investigate how these properties change with temperature are used.&lt;br /&gt;
&amp;lt;h3&amp;gt;Software used&amp;lt;/h3&amp;gt;&lt;br /&gt;
DLVisualise is the programmed used for modelling crystals in simulations such as this and allows chemists to visualise properties of crystals such as vibrations, energy, volume  and calculates these using wavefunctions of crystals - GULP lets the particular codes for the simulations to be accessed for running simulations. GULP is better for quantum based calculations such as lattice dynamics over molecular dynamics. However force fields for molecular dynamics can still be used and calculate values to output thermodynamic data. &lt;br /&gt;
&amp;lt;h3&amp;gt;Harmonic and Quasi-Harmonic approximations&amp;lt;/h3&amp;gt;&lt;br /&gt;
The harmonic oscillator is simply a taylor expansion of anhmarmonic potential. The harmonic oscillator takes the third term (quadratic term) giving the easily the harmonic oscillator parabola. When looking at harmonic potential energies, as the temperature is changed, the average bond length stays at an equilibrium point and therefore the volume of the crystal doesn&#039;t change. This means that although this approximation works well at lower temperatures as there is little change in volume at low temperatures in reality, at higher temperatures, harmonic and anharmonic (which is a much more realistic model) deviate a lot, giving unreliable data for higher temperatures. A compromise between harmonic which isn&#039;t a very reliable approximation as it only uses 3 terms from the taylor series expansion and using an anharmonic which uses many terms and will be very expensive is using a quasi-harmonic approximation. In the helmholtz free energy equations, the differences in the equations for harmonic and quasi-harmonic plots are in the frequency term. In a harmonic system, equation 3 would be used as the potential. However as the quasi harmonic system is being examined, within the brillouin zone &amp;lt;math&amp;gt;-\pi &amp;lt; k &amp;lt; \pi &amp;lt;/math&amp;gt; equation 1 can be used. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{4J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 1)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{2J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 2)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{1}{2\pi}){\frac{k}{\mu}}^{\frac{1}{2}} &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 3)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Helmholtz Free Energy&amp;lt;/h3&amp;gt;&lt;br /&gt;
[[File:Screen_Shot_2018-02-27_at_10.12.39.png|thumb|centre|Eq. 4]]&amp;lt;math&amp;gt;^2&amp;lt;/math&amp;gt;&lt;br /&gt;
A = U - TS&lt;br /&gt;
In order to look at the energy of the vibrational modes, we use the vibrational contribution to the entropy using statistical thermodynamics and the partition coefficient. &lt;br /&gt;
The first term of equation 4 is the internal energy, the second term is the zero point energy (energy at 0K) and the final term is the statistical thermodynamics contribution - the contribution to the energy from the different vibrations.&lt;br /&gt;
This equation can be derived by using the partition function to derive the entropic term as shown in equation 5. &lt;br /&gt;
[[File:Screen_Shot_2018-02-28_at_08.56.46.png|thumb|centre|Eq. 5]&amp;lt;math&amp;gt;^3&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
The molecular dynamics method takes the values from the ideal MgO crystal, then when we change the parameters, generate random velocities. This process is repeated at each time step (each a microstate) then all of the microstates are averaged. An average of all of the microstates is carried out, when enough microstates have been sampled, they start to converge and properties of the crystal can start to be measured such as energy and volume. One of the main differences between the quasi-harmonic approximation and molecular dynamics is that quasi-harmonics uses quantum mechanics to calculate the volumes (the change in bond length) and molecular dynamics uses classical mechanics. When sampling a configuration, there needs to be enough time for the values to converge. This is where the length of the timesteps come into play - getting a more accurate value means that the calculations will take much longer and therefore be more expensive. &lt;br /&gt;
&amp;lt;h2&amp;gt;Method&amp;lt;/h2&amp;gt;&lt;br /&gt;
For all of the calculations, the GUI DLVisualise was used. For all calculations, the execute GULP panel was brought up and in the GULP potential parameters, ionic.lib was used and include shells was not included. &lt;br /&gt;
&amp;lt;h3&amp;gt;Lattice vibrations -Computing the phonons&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected, and then run was pressed. Once the job has completed, this shows in the job list and the files were recovered. The energy could be found in the log file under Total Free Energy. &lt;br /&gt;
[[File:MgO_phonon_1.PNG|thumb|centre|Figure 1: MgO Phonon dispersion ]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Calculating the free energy in the Harmonic approximation&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected. Under General Opts, phonon dispersion was selected with N points set to 50 and calculate phonon eigenvectors was selected, so that specific points in k-space (relating to the origin, x direction vectors being in phase etc.) are represented with greek letters. The files were recovered and the phonon dispersion was displayed using the 1D data display. &lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal expansion of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
The settings used for this calculation were, select phonon DOS, change shrinking factor to 20x20x20 and set the temperature from 0-3000 K in 100 K intervals. For each temperature, the free energy and lattice volume were taken from the log file. The volumes were multiplied by 4 as the volume given in the log file is the primitive cell volume. This is also required to calculate the lattice parameter which is simply the cube root of the volume of a conventional cell. &lt;br /&gt;
[[File:MgO_DOS_16x16x16.PNG|thumb|centre|Figure 2: 16x16x16 MgO Density of states]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
For Molecular dynamics, a super cell which is twice the length on every side of the cell was used. This is so the cell is larger and is more similar to &#039;an infinite lattice&#039;. Molecular Dynamics option was selected on the execute panel, the NPT ensemble was chosen, the time step used was 1 femtosecond, equilibration steps of 500, production steps was set to 500 steps and sampling steps and trajectory write steps were set to 5. The temperature used went from 100-3000 K with 100 K interval steps. As the volume of the cell is different to the cell used in the quasi-harmonic approximation, the cell volume taken from the log file (the last average cell volume), the volume was divided by 8 to get the same volume as the conventional cell for the quasi-harmonic approximation.&lt;br /&gt;
&amp;lt;h2&amp;gt;Results and discussion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Phonon Modes of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
When the density of states for calculated for a single k point, it can be worked out by examining the phonon dispersion which k point this is. In this case, the point is L as there are only 4 peaks (2 that have double the intensity due to the double degeneracy) and at L there are only 4 branches where we would expect 6 (due to 3N to calculate number of vibrational branches expected). This can also be seen by comparing the frequencies of the peaks in the 1x1x1 DOS and the frequency of the 4 branches at L. This can be checked in the log file as although the character L is useful for helping us to determine the symmetry of the modes of vibrations, it&#039;s always useful to numerically quantify values. This is simply in the row &#039;K point&#039; where the K point is 0.5. It&#039;s important that it can be viewed in the log file as on the phonon dispersion, only greek characters which represent different k points can be seen and it&#039;s not always obvious what numerical value goes with each character. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 1: Density of states - accuracy improved with increased shrinking factor&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_1.PNG|thumb|centre|Figure 3: MgO Density of States 1x1x1 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_3x3x3.PNG|thumb|centre|Figure 4: MgO Density of States 3x3x3 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_8x8x8.PNG|thumb|centre|Figure 5: MgO Density of States 8x8x8 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_32x32x32.PNG|thumb|centre|Figure 6: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from the progression in grid size that as the grid size increases, although the peaks with the greatest intensity stay in the same place, the shape of the density of states becomes much more defined and includes information on the states at k-points even where there is a lower number of states. When looking at the difference between grid sizes qualitatively, there isn&#039;t much of a difference between 8x8x8 and 32x32x32 apart from there is a more continuous curve with the same shape. It seems that a grid size of approximately 12x12x12 would be the minimum grid size as this is the grid size at which all k points are sampled and there aren&#039;t k-points with an angular frequency of 0 which then have non-zero values of angular frequencies at higher grid sizes. However, when deciding qualitatively, the convergence of the free energy can be used. At 20x20x20 and 6 decimal places, the free energy converges suggesting this is the optimum grid size to use. The density of states in terms of the phonon dispersion curve is basically plotting how many k points there are per value of angular frequency. This can be seen more easily by placing them side by side as seen in Figure 7&lt;br /&gt;
[[File:28548481_10215289272734952_157509358_o.jpg|thumb|centre|700px|Figure 7: MgO Density of states and phonon dispersion]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 2: Free energy changing with grid size&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Grid size&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Free energy (eV)&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;1&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-41.07531759&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;2&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926609&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;3&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926432&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;4&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.92645&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;5&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926463&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;6&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926471&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;7&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926475&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;8&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926478&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;12&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926481&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;16&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926482&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;20&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;32&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In order to determine a suitable shrinking factor, a number of grid sizes were investigated with the highest being 32x32x32. As having a higher shrinking factor takes longer and more processing power (leads to being more expensive), choosing the shrinking factor becomes a compromise between time and accuracy. As can be seen from Table 2, the Helmholtz free energy stops changing after a grid size of 20x20x20 so this seemed like a reasonable value to use as not to compromise the accuracy for a quicker run time.&lt;br /&gt;
As can be seen in TABLE 2, after the grid size is 20x20x20, the values have converged and don&#039;t change (when looking at 6 decimal places, it may be changing beyond 6 decimal places). This is optimal as it reduces the computing power needed for a calculation whilst retaining almost the same level of accuracy. Using a grid size of 3x3x3 will gives a suitable energy for calculations accurate to 1 meV, REMEMBER TO DO 0.5mEV!!!!!!!! and a grid size of 5 gives a suitable energy for calculations accurate to 0.1 meV.&lt;br /&gt;
&amp;lt;h3&amp;gt;Quasi-Harmonic Thermal expansion&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Lattice_Parameter_Graph.png|thumb|centre|Figure 8: Lattice parameter vs temperature]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Free_energy_vs_T.png|thumb|centre|Figure 9: Free energy vs temperature]]&amp;lt;/th&amp;gt; &lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In Figure 9, it can be seen that the free energy is constant, then almost linearly decreases. At very low temperatures, the only main contribution to the free energy is the zero point energy as this is temperature independent. At around 400 K (where the free energy starts to decrease). We can explain by looking at equation 4 as when the temperature increases, the entropic contribution increases. If we assume the internal energy doesn&#039;t change much with temperature, then the TS term will increase in magnitude and decrease the overall free energy term. By looking at equation 4, the vibrational contribution term (also entropic term) is a ln term which will be negative, and again, decrease the overall free energy with an increase in temperature. &lt;br /&gt;
In the graph of lattice parameter vs temperature, the lattice parameter is initially constant and then increases linearly, then exponentially. Using the quasi-harmonic approximation, this gives the potential a &#039;quasi-anharmonic&#039; shape, meaning that the bond length will actually change with temperature but will just never reach the point where it breaks. Although this doesn&#039;t allow phase transitions to be investigated, it does allow the lattice parameter as a function of temperature to be investigated. DLVisualise and GULP doesn&#039;t actually allow simulations past 3000 K because of the infinitely increase potential.&lt;br /&gt;
&lt;br /&gt;
Using the Quasi Harmonic approximation, and fitting the data to get a line of best fit with a gradient of &amp;lt;math&amp;gt;5.697\times 10^{-4}&amp;lt;/math&amp;gt; which is equivalent to &amp;lt;math&amp;gt;\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt;. Multiplying by the reciprocal of the initial volume of the crystal, gives a thermal expansion coefficient for the region of 300-1300 K of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;. By taking the value from lower temperatures, this gives a higher accuracy compared to the &#039;real value&#039;. This is because of the computational model that is being used. This model is quasi-harmonic which is based on the harmonic model. The harmonic oscillator is infinite and the bond between two atoms infinitely extends. However, at high temperatures this is not the reality. The bonds extend and break which is shown by the anharmonic model. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot; class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 3: Thermal expansion coefficients&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Temperature range (K)&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Quasi-Harmonic&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Molecular Dynamics&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Literature&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;0-300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.042\times 10^{-5[1]}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;300-1300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.140\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;4.000\times 10^{-5[1]}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-0-300.png|thumb|centre|Figure 10: Quasi Harmonic approximation 0 -300 K ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-300-1300.png|thumb|centre|Figure 11:  Quasi Harmonic approximation 300-1300 K]]&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-Thermal-expansion-100-300.png|thumb|centre|Figure 12: Molecular Dynamics 100-300 K]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-300-1300.png|thumb|centre|Figure 13: Molecular Dynamics 300-1300 K]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from Table 3, at lower temperatures, the quasi-harmonic approximation gives a value closer to literature. This is because the quasi-harmonic approximation takes into account the zero point energy at lower temperatures which is the main contributing factor whereas molecular dynamics method doesn&#039;t giving a linear line much like the second temperature region - it only considers classical mechanics and not quantum mechanics like quasi-harmonic approximation which takes into account quantum effects such as the zero point energy. At lower temperatures, the molecular dynamics value had to be taken from the 100-300 K region as GULP gave an error at 0 K. This could be because molecular dynamics depends on the motion/velocity of the atoms. At 0 K, there is no motion meaning no information would be outputted, potentially giving an error. At higher temperatures, it can be seen that molecular dynamics gives a more accurate value compared to literature. This is because quasi-harmonic has a parabolic shape where the bond length increases exponentially with temperature. This means the bond length increases infinitely and the bond never breaks - the melting point can never be found using the quasi harmonic approximation. Quasi harmonic is, however, much more useful than simply a harmonic approximation as the average bond length stays at the bottom of the potential well in the harmonic oscillator potential meaning there&#039;s no difference in bond length at different temperatures.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Conclusion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;References&amp;lt;/h2&amp;gt;&lt;br /&gt;
[1] - Rao, A. S. M., &amp;amp; Narender, K. (2014). Studies on thermophysical properties of CaO and MgO by γ -ray attenuation. Journal of Thermodynamics, 2014. http://doi.org/10.1155/2014/123478&lt;br /&gt;
&amp;lt;br&amp;gt;[2] - Lecture 4: Vibrations and Free Energy N. M. Harrison Imperial College London&lt;br /&gt;
&amp;lt;br&amp;gt;[3] - Atkins, P. W., 2014, Atkins&#039; physical chemistry. Oxford: Oxford Univ. Press&lt;/div&gt;</summary>
		<author><name>Ar3015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=File:Screen_Shot_2018-02-28_at_08.56.46.png&amp;diff=674436</id>
		<title>File:Screen Shot 2018-02-28 at 08.56.46.png</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=File:Screen_Shot_2018-02-28_at_08.56.46.png&amp;diff=674436"/>
		<updated>2018-02-28T08:57:46Z</updated>

		<summary type="html">&lt;p&gt;Ar3015: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ar3015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674435</id>
		<title>Rep:Ar3015MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674435"/>
		<updated>2018-02-28T08:57:21Z</updated>

		<summary type="html">&lt;p&gt;Ar3015: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h1&amp;gt;MgO Report - Antonia Reeves&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;Introduction&amp;lt;/h2&amp;gt;&lt;br /&gt;
In chemistry, it is much easier to treat crystals as rigid structures with set lattice points in unit cells. This can often hold as a good approximation at very low temperatures. However, this is obviously not the case. There are many different vibrations happening throughout the lattice structure leading to thermal expansion. These vibrations can be quantified by using a wave vector - this gives the direction of the propagation of the wave in reciprocal space. We use reciprocal space because FILL IN HERE. This report investigates the effect of temperature on vibrations and size of the lattice structure of MgO. The lattice structure of MgO is face centred cubic. &lt;br /&gt;
&amp;lt;h3&amp;gt;Phonons and phonon dispersions&amp;lt;/h3&amp;gt;&lt;br /&gt;
In quantum chemistry, vibrations can be treated as both particles and waves. When treating vibrations as particles - just as particles of light are photons - they are called phonons. This can be used and a plot of frequency against wave vector can be generated. This effectively gives a plot of the energy against the &#039;the way that vibrations move&#039; which is the k vector. As the phonon dispersion plot investigates the different ways vibrations can take place in the same time, if there were for example only a few atoms, this would give rise to only a few different k points. However, as an infinite lattice is being used, instead of giving quantised k points, a continuous line of k points can be generated, giving rise to a band. One band is called a branch. The number of branches is dependent on the number of different atoms in the lattice. In MgO lattice there are 2 atoms. Using the equation 3N (not 3N-6 as this takes into account rotational and translation degeneracy for single molecules that don&#039;t need to be considered for crystal vibrations) where N is the number of different atoms, this gives 6 branches which can be seen in the phonon dispersion plot in Figure 1. Using the dispersion plots are useful for seeing the frequency vs k vector as a whole, however, makes it difficult to determine pieces of information such as how many states are at a given frequency, and whether there is a direct or indirect band gap. This is simply one way of displaying all of the data - the same data can be displayed as a density of states. Instead of simply giving the angular frequency as a function of the wave vector, a plot of density of states can also show how many states have a given energy at each k vector point. This can show the energy difference in the band gap, and the most densely populated k-states more easily. In order to visualise the density of states, the phonon dispersion is &#039;chopped up&#039; into sections. The number of sections is determined by the grid size (these parameters can be changed in the GULP execution panel. In this, the frequencies at the edge of the grids are taken and plotted (only one side as not to repeat the counting of the frequencies). The higher the grid size, the greater the accuracy of the density of states as this allows a greater number of wave vectors to be sampled. The value of the grid size is called the shrinking factor.&lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal Expansion Coefficient&amp;lt;/h3&amp;gt;&lt;br /&gt;
Using the equation &amp;lt;math&amp;gt;\frac{1}{V_0}\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt; gives the thermal expansion coefficient. This value represents how much a given crystal expands with an increase in temperature.  The &amp;lt;math&amp;gt;\frac{1}{V_0}&amp;lt;/math&amp;gt; term to normalises this value so it can be applied to a crystal of any size which is composed of the same crystal. Below, the different computational methods that can be used to investigate how these properties change with temperature are used.&lt;br /&gt;
&amp;lt;h3&amp;gt;Software used&amp;lt;/h3&amp;gt;&lt;br /&gt;
DLVisualise is the programmed used for modelling crystals in simulations such as this and allows chemists to visualise properties of crystals such as vibrations, energy, volume  and calculates these using wavefunctions of crystals - GULP lets the particular codes for the simulations to be accessed for running simulations. GULP is better for quantum based calculations such as lattice dynamics over molecular dynamics. However force fields for molecular dynamics can still be used and calculate values to output thermodynamic data. &lt;br /&gt;
&amp;lt;h3&amp;gt;Harmonic and Quasi-Harmonic approximations&amp;lt;/h3&amp;gt;&lt;br /&gt;
The harmonic oscillator is simply a taylor expansion of anhmarmonic potential. The harmonic oscillator takes the third term (quadratic term) giving the easily the harmonic oscillator parabola. When looking at harmonic potential energies, as the temperature is changed, the average bond length stays at an equilibrium point and therefore the volume of the crystal doesn&#039;t change. This means that although this approximation works well at lower temperatures as there is little change in volume at low temperatures in reality, at higher temperatures, harmonic and anharmonic (which is a much more realistic model) deviate a lot, giving unreliable data for higher temperatures. A compromise between harmonic which isn&#039;t a very reliable approximation as it only uses 3 terms from the taylor series expansion and using an anharmonic which uses many terms and will be very expensive is using a quasi-harmonic approximation. In the helmholtz free energy equations, the differences in the equations for harmonic and quasi-harmonic plots are in the frequency term. In a harmonic system, equation 3 would be used as the potential. However as the quasi harmonic system is being examined, within the brillouin zone &amp;lt;math&amp;gt;-\pi &amp;lt; k &amp;lt; \pi &amp;lt;/math&amp;gt; equation 1 can be used. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{4J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 1)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{2J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 2)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{1}{2\pi}){\frac{k}{\mu}}^{\frac{1}{2}} &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 3)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Helmholtz Free Energy&amp;lt;/h3&amp;gt;&lt;br /&gt;
[[File:Screen_Shot_2018-02-27_at_10.12.39.png|thumb|centre|Eq. 4]]&amp;lt;math&amp;gt;^2&amp;lt;/math&amp;gt;&lt;br /&gt;
A = U - TS&lt;br /&gt;
In order to look at the energy of the vibrational modes, we use the vibrational contribution to the entropy using statistical thermodynamics and the partition coefficient. &lt;br /&gt;
The first term of equation 4 is the internal energy, the second term is the zero point energy (energy at 0K) and the final term is the statistical thermodynamics contribution - the contribution to the energy from the different vibrations.&lt;br /&gt;
This equation can be derived by using the partition function to derive the entropic term &lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
The molecular dynamics method takes the values from the ideal MgO crystal, then when we change the parameters, generate random velocities. This process is repeated at each time step (each a microstate) then all of the microstates are averaged. An average of all of the microstates is carried out, when enough microstates have been sampled, they start to converge and properties of the crystal can start to be measured such as energy and volume. One of the main differences between the quasi-harmonic approximation and molecular dynamics is that quasi-harmonics uses quantum mechanics to calculate the volumes (the change in bond length) and molecular dynamics uses classical mechanics. When sampling a configuration, there needs to be enough time for the values to converge. This is where the length of the timesteps come into play - getting a more accurate value means that the calculations will take much longer and therefore be more expensive. &lt;br /&gt;
&amp;lt;h2&amp;gt;Method&amp;lt;/h2&amp;gt;&lt;br /&gt;
For all of the calculations, the GUI DLVisualise was used. For all calculations, the execute GULP panel was brought up and in the GULP potential parameters, ionic.lib was used and include shells was not included. &lt;br /&gt;
&amp;lt;h3&amp;gt;Lattice vibrations -Computing the phonons&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected, and then run was pressed. Once the job has completed, this shows in the job list and the files were recovered. The energy could be found in the log file under Total Free Energy. &lt;br /&gt;
[[File:MgO_phonon_1.PNG|thumb|centre|Figure 1: MgO Phonon dispersion ]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Calculating the free energy in the Harmonic approximation&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected. Under General Opts, phonon dispersion was selected with N points set to 50 and calculate phonon eigenvectors was selected, so that specific points in k-space (relating to the origin, x direction vectors being in phase etc.) are represented with greek letters. The files were recovered and the phonon dispersion was displayed using the 1D data display. &lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal expansion of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
The settings used for this calculation were, select phonon DOS, change shrinking factor to 20x20x20 and set the temperature from 0-3000 K in 100 K intervals. For each temperature, the free energy and lattice volume were taken from the log file. The volumes were multiplied by 4 as the volume given in the log file is the primitive cell volume. This is also required to calculate the lattice parameter which is simply the cube root of the volume of a conventional cell. &lt;br /&gt;
[[File:MgO_DOS_16x16x16.PNG|thumb|centre|Figure 2: 16x16x16 MgO Density of states]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
For Molecular dynamics, a super cell which is twice the length on every side of the cell was used. This is so the cell is larger and is more similar to &#039;an infinite lattice&#039;. Molecular Dynamics option was selected on the execute panel, the NPT ensemble was chosen, the time step used was 1 femtosecond, equilibration steps of 500, production steps was set to 500 steps and sampling steps and trajectory write steps were set to 5. The temperature used went from 100-3000 K with 100 K interval steps. As the volume of the cell is different to the cell used in the quasi-harmonic approximation, the cell volume taken from the log file (the last average cell volume), the volume was divided by 8 to get the same volume as the conventional cell for the quasi-harmonic approximation.&lt;br /&gt;
&amp;lt;h2&amp;gt;Results and discussion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Phonon Modes of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
When the density of states for calculated for a single k point, it can be worked out by examining the phonon dispersion which k point this is. In this case, the point is L as there are only 4 peaks (2 that have double the intensity due to the double degeneracy) and at L there are only 4 branches where we would expect 6 (due to 3N to calculate number of vibrational branches expected). This can also be seen by comparing the frequencies of the peaks in the 1x1x1 DOS and the frequency of the 4 branches at L. This can be checked in the log file as although the character L is useful for helping us to determine the symmetry of the modes of vibrations, it&#039;s always useful to numerically quantify values. This is simply in the row &#039;K point&#039; where the K point is 0.5. It&#039;s important that it can be viewed in the log file as on the phonon dispersion, only greek characters which represent different k points can be seen and it&#039;s not always obvious what numerical value goes with each character. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 1: Density of states - accuracy improved with increased shrinking factor&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_1.PNG|thumb|centre|Figure 3: MgO Density of States 1x1x1 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_3x3x3.PNG|thumb|centre|Figure 4: MgO Density of States 3x3x3 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_8x8x8.PNG|thumb|centre|Figure 5: MgO Density of States 8x8x8 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_32x32x32.PNG|thumb|centre|Figure 6: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from the progression in grid size that as the grid size increases, although the peaks with the greatest intensity stay in the same place, the shape of the density of states becomes much more defined and includes information on the states at k-points even where there is a lower number of states. When looking at the difference between grid sizes qualitatively, there isn&#039;t much of a difference between 8x8x8 and 32x32x32 apart from there is a more continuous curve with the same shape. It seems that a grid size of approximately 12x12x12 would be the minimum grid size as this is the grid size at which all k points are sampled and there aren&#039;t k-points with an angular frequency of 0 which then have non-zero values of angular frequencies at higher grid sizes. However, when deciding qualitatively, the convergence of the free energy can be used. At 20x20x20 and 6 decimal places, the free energy converges suggesting this is the optimum grid size to use. The density of states in terms of the phonon dispersion curve is basically plotting how many k points there are per value of angular frequency. This can be seen more easily by placing them side by side as seen in Figure 7&lt;br /&gt;
[[File:28548481_10215289272734952_157509358_o.jpg|thumb|centre|700px|Figure 7: MgO Density of states and phonon dispersion]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 2: Free energy changing with grid size&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Grid size&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Free energy (eV)&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;1&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-41.07531759&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;2&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926609&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;3&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926432&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;4&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.92645&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;5&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926463&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;6&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926471&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;7&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926475&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;8&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926478&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;12&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926481&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;16&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926482&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;20&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;32&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In order to determine a suitable shrinking factor, a number of grid sizes were investigated with the highest being 32x32x32. As having a higher shrinking factor takes longer and more processing power (leads to being more expensive), choosing the shrinking factor becomes a compromise between time and accuracy. As can be seen from Table 2, the Helmholtz free energy stops changing after a grid size of 20x20x20 so this seemed like a reasonable value to use as not to compromise the accuracy for a quicker run time.&lt;br /&gt;
As can be seen in TABLE 2, after the grid size is 20x20x20, the values have converged and don&#039;t change (when looking at 6 decimal places, it may be changing beyond 6 decimal places). This is optimal as it reduces the computing power needed for a calculation whilst retaining almost the same level of accuracy. Using a grid size of 3x3x3 will gives a suitable energy for calculations accurate to 1 meV, REMEMBER TO DO 0.5mEV!!!!!!!! and a grid size of 5 gives a suitable energy for calculations accurate to 0.1 meV.&lt;br /&gt;
&amp;lt;h3&amp;gt;Quasi-Harmonic Thermal expansion&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Lattice_Parameter_Graph.png|thumb|centre|Figure 8: Lattice parameter vs temperature]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Free_energy_vs_T.png|thumb|centre|Figure 9: Free energy vs temperature]]&amp;lt;/th&amp;gt; &lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In Figure 9, it can be seen that the free energy is constant, then almost linearly decreases. At very low temperatures, the only main contribution to the free energy is the zero point energy as this is temperature independent. At around 400 K (where the free energy starts to decrease). We can explain by looking at equation 4 as when the temperature increases, the entropic contribution increases. If we assume the internal energy doesn&#039;t change much with temperature, then the TS term will increase in magnitude and decrease the overall free energy term. By looking at equation 4, the vibrational contribution term (also entropic term) is a ln term which will be negative, and again, decrease the overall free energy with an increase in temperature. &lt;br /&gt;
In the graph of lattice parameter vs temperature, the lattice parameter is initially constant and then increases linearly, then exponentially. Using the quasi-harmonic approximation, this gives the potential a &#039;quasi-anharmonic&#039; shape, meaning that the bond length will actually change with temperature but will just never reach the point where it breaks. Although this doesn&#039;t allow phase transitions to be investigated, it does allow the lattice parameter as a function of temperature to be investigated. DLVisualise and GULP doesn&#039;t actually allow simulations past 3000 K because of the infinitely increase potential.&lt;br /&gt;
&lt;br /&gt;
Using the Quasi Harmonic approximation, and fitting the data to get a line of best fit with a gradient of &amp;lt;math&amp;gt;5.697\times 10^{-4}&amp;lt;/math&amp;gt; which is equivalent to &amp;lt;math&amp;gt;\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt;. Multiplying by the reciprocal of the initial volume of the crystal, gives a thermal expansion coefficient for the region of 300-1300 K of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;. By taking the value from lower temperatures, this gives a higher accuracy compared to the &#039;real value&#039;. This is because of the computational model that is being used. This model is quasi-harmonic which is based on the harmonic model. The harmonic oscillator is infinite and the bond between two atoms infinitely extends. However, at high temperatures this is not the reality. The bonds extend and break which is shown by the anharmonic model. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot; class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 3: Thermal expansion coefficients&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Temperature range (K)&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Quasi-Harmonic&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Molecular Dynamics&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Literature&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;0-300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.042\times 10^{-5[1]}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;300-1300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.140\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;4.000\times 10^{-5[1]}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-0-300.png|thumb|centre|Figure 10: Quasi Harmonic approximation 0 -300 K ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-300-1300.png|thumb|centre|Figure 11:  Quasi Harmonic approximation 300-1300 K]]&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-Thermal-expansion-100-300.png|thumb|centre|Figure 12: Molecular Dynamics 100-300 K]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-300-1300.png|thumb|centre|Figure 13: Molecular Dynamics 300-1300 K]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from Table 3, at lower temperatures, the quasi-harmonic approximation gives a value closer to literature. This is because the quasi-harmonic approximation takes into account the zero point energy at lower temperatures which is the main contributing factor whereas molecular dynamics method doesn&#039;t giving a linear line much like the second temperature region - it only considers classical mechanics and not quantum mechanics like quasi-harmonic approximation which takes into account quantum effects such as the zero point energy. At lower temperatures, the molecular dynamics value had to be taken from the 100-300 K region as GULP gave an error at 0 K. This could be because molecular dynamics depends on the motion/velocity of the atoms. At 0 K, there is no motion meaning no information would be outputted, potentially giving an error. At higher temperatures, it can be seen that molecular dynamics gives a more accurate value compared to literature. This is because quasi-harmonic has a parabolic shape where the bond length increases exponentially with temperature. This means the bond length increases infinitely and the bond never breaks - the melting point can never be found using the quasi harmonic approximation. Quasi harmonic is, however, much more useful than simply a harmonic approximation as the average bond length stays at the bottom of the potential well in the harmonic oscillator potential meaning there&#039;s no difference in bond length at different temperatures.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Conclusion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;References&amp;lt;/h2&amp;gt;&lt;br /&gt;
[1] - Rao, A. S. M., &amp;amp; Narender, K. (2014). Studies on thermophysical properties of CaO and MgO by γ -ray attenuation. Journal of Thermodynamics, 2014. http://doi.org/10.1155/2014/123478&lt;br /&gt;
&amp;lt;br&amp;gt;[2] - Lecture 4: Vibrations and Free Energy N. M. Harrison Imperial College London&lt;/div&gt;</summary>
		<author><name>Ar3015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674421</id>
		<title>Rep:Ar3015MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674421"/>
		<updated>2018-02-28T08:46:56Z</updated>

		<summary type="html">&lt;p&gt;Ar3015: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h1&amp;gt;MgO Report - Antonia Reeves&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;Introduction&amp;lt;/h2&amp;gt;&lt;br /&gt;
In chemistry, it is much easier to treat crystals as rigid structures with set lattice points in unit cells. This can often hold as a good approximation at very low temperatures. However, this is obviously not the case. There are many different vibrations happening throughout the lattice structure leading to thermal expansion. These vibrations can be quantified by using a wave vector - this gives the direction of the propagation of the wave in reciprocal space. We use reciprocal space because FILL IN HERE. This report investigates the effect of temperature on vibrations and size of the lattice structure of MgO. The lattice structure of MgO is face centred cubic. &lt;br /&gt;
&amp;lt;h3&amp;gt;Phonons and phonon dispersions&amp;lt;/h3&amp;gt;&lt;br /&gt;
In quantum chemistry, vibrations can be treated as both particles and waves. When treating vibrations as particles - just as particles of light are photons - they are called phonons. This can be used and a plot of frequency against wave vector can be generated. This effectively gives a plot of the energy against the &#039;the way that vibrations move&#039; which is the k vector. As the phonon dispersion plot investigates the different ways vibrations can take place in the same time, if there were for example only a few atoms, this would give rise to only a few different k points. However, as an infinite lattice is being used, instead of giving quantised k points, a continuous line of k points can be generated, giving rise to a band. One band is called a branch. The number of branches is dependent on the number of different atoms in the lattice. In MgO lattice there are 2 atoms. Using the equation 3N (not 3N-6 as this takes into account rotational and translation degeneracy for single molecules that don&#039;t need to be considered for crystal vibrations) where N is the number of different atoms, this gives 6 branches which can be seen in the phonon dispersion plot in Figure 1. Using the dispersion plots are useful for seeing the frequency vs k vector as a whole, however, makes it difficult to determine pieces of information such as how many states are at a given frequency, and whether there is a direct or indirect band gap. This is simply one way of displaying all of the data - the same data can be displayed as a density of states. Instead of simply giving the angular frequency as a function of the wave vector, a plot of density of states can also show how many states have a given energy at each k vector point. This can show the energy difference in the band gap, and the most densely populated k-states more easily. In order to visualise the density of states, the phonon dispersion is &#039;chopped up&#039; into sections. The number of sections is determined by the grid size (these parameters can be changed in the GULP execution panel. In this, the frequencies at the edge of the grids are taken and plotted (only one side as not to repeat the counting of the frequencies). The higher the grid size, the greater the accuracy of the density of states as this allows a greater number of wave vectors to be sampled. The value of the grid size is called the shrinking factor.&lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal Expansion Coefficient&amp;lt;/h3&amp;gt;&lt;br /&gt;
Using the equation &amp;lt;math&amp;gt;\frac{1}{V_0}\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt; gives the thermal expansion coefficient. This value represents how much a given crystal expands with an increase in temperature.  The &amp;lt;math&amp;gt;\frac{1}{V_0}&amp;lt;/math&amp;gt; term to normalises this value so it can be applied to a crystal of any size which is composed of the same crystal. Below, the different computational methods that can be used to investigate how these properties change with temperature are used.&lt;br /&gt;
&amp;lt;h3&amp;gt;Software used&amp;lt;/h3&amp;gt;&lt;br /&gt;
DLVisualise is the programmed used for modelling crystals in simulations such as this and allows chemists to visualise properties of crystals such as vibrations, energy, volume  and calculates these using wavefunctions of crystals - GULP lets the particular codes for the simulations to be accessed for running simulations. GULP is better for quantum based calculations such as lattice dynamics over molecular dynamics. However force fields for molecular dynamics can still be used and calculate values to output thermodynamic data. &lt;br /&gt;
&amp;lt;h3&amp;gt;Harmonic and Quasi-Harmonic approximations&amp;lt;/h3&amp;gt;&lt;br /&gt;
The harmonic oscillator is simply a taylor expansion of anhmarmonic potential. The harmonic oscillator takes the third term (quadratic term) giving the easily the harmonic oscillator parabola. When looking at harmonic potential energies, as the temperature is changed, the average bond length stays at an equilibrium point and therefore the volume of the crystal doesn&#039;t change. This means that although this approximation works well at lower temperatures as there is little change in volume at low temperatures in reality, at higher temperatures, harmonic and anharmonic (which is a much more realistic model) deviate a lot, giving unreliable data for higher temperatures. A compromise between harmonic which isn&#039;t a very reliable approximation as it only uses 3 terms from the taylor series expansion and using an anharmonic which uses many terms and will be very expensive is using a quasi-harmonic approximation. In the helmholtz free energy equations, the differences in the equations for harmonic and quasi-harmonic plots are in the frequency term. In a harmonic system, equation 3 would be used as the potential. However as the quasi harmonic system is being examined, within the brillouin zone &amp;lt;math&amp;gt;-\pi &amp;lt; k &amp;lt; \pi &amp;lt;/math&amp;gt; equation 1 can be used. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{4J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 1)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{2J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 2)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{1}{2\pi}){\frac{k}{\mu}}^{\frac{1}{2}} &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 3)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Helmholtz Free Energy&amp;lt;/h3&amp;gt;&lt;br /&gt;
[[File:Screen_Shot_2018-02-27_at_10.12.39.png|thumb|centre|Eq. 4]]&lt;br /&gt;
A = U - TS&lt;br /&gt;
In order to look at the energy of the vibrational modes, we use the vibrational contribution to the entropy using statistical thermodynamics and the partition coefficient. &lt;br /&gt;
The first term of equation 4 is the internal energy, the second term is the zero point energy (energy at 0K) and the final term is the statistical thermodynamics contribution - the contribution to the energy from the different vibrations.&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
The molecular dynamics method takes the values from the ideal MgO crystal, then when we change the parameters, generate random velocities. This process is repeated at each time step (each a microstate) then all of the microstates are averaged. An average of all of the microstates is carried out, when enough microstates have been sampled, they start to converge and properties of the crystal can start to be measured such as energy and volume. One of the main differences between the quasi-harmonic approximation and molecular dynamics is that quasi-harmonics uses quantum mechanics to calculate the volumes (the change in bond length) and molecular dynamics uses classical mechanics. When sampling a configuration, there needs to be enough time for the values to converge. This is where the length of the timesteps come into play - getting a more accurate value means that the calculations will take much longer and therefore be more expensive. &lt;br /&gt;
&amp;lt;h2&amp;gt;Method&amp;lt;/h2&amp;gt;&lt;br /&gt;
For all of the calculations, the GUI DLVisualise was used. For all calculations, the execute GULP panel was brought up and in the GULP potential parameters, ionic.lib was used and include shells was not included. &lt;br /&gt;
&amp;lt;h3&amp;gt;Lattice vibrations -Computing the phonons&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected, and then run was pressed. Once the job has completed, this shows in the job list and the files were recovered. The energy could be found in the log file under Total Free Energy. &lt;br /&gt;
[[File:MgO_phonon_1.PNG|thumb|centre|Figure 1: MgO Phonon dispersion ]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Calculating the free energy in the Harmonic approximation&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected. Under General Opts, phonon dispersion was selected with N points set to 50 and calculate phonon eigenvectors was selected, so that specific points in k-space (relating to the origin, x direction vectors being in phase etc.) are represented with greek letters. The files were recovered and the phonon dispersion was displayed using the 1D data display. &lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal expansion of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
The settings used for this calculation were, select phonon DOS, change shrinking factor to 20x20x20 and set the temperature from 0-3000 K in 100 K intervals. For each temperature, the free energy and lattice volume were taken from the log file. The volumes were multiplied by 4 as the volume given in the log file is the primitive cell volume. This is also required to calculate the lattice parameter which is simply the cube root of the volume of a conventional cell. &lt;br /&gt;
[[File:MgO_DOS_16x16x16.PNG|thumb|centre|Figure 2: 16x16x16 MgO Density of states]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
For Molecular dynamics, a super cell which is twice the length on every side of the cell was used. This is so the cell is larger and is more similar to &#039;an infinite lattice&#039;. Molecular Dynamics option was selected on the execute panel, the NPT ensemble was chosen, the time step used was 1 femtosecond, equilibration steps of 500, production steps was set to 500 steps and sampling steps and trajectory write steps were set to 5. The temperature used went from 100-3000 K with 100 K interval steps. As the volume of the cell is different to the cell used in the quasi-harmonic approximation, the cell volume taken from the log file (the last average cell volume), the volume was divided by 8 to get the same volume as the conventional cell for the quasi-harmonic approximation.&lt;br /&gt;
&amp;lt;h2&amp;gt;Results and discussion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Phonon Modes of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
When the density of states for calculated for a single k point, it can be worked out by examining the phonon dispersion which k point this is. In this case, the point is L as there are only 4 peaks (2 that have double the intensity due to the double degeneracy) and at L there are only 4 branches where we would expect 6 (due to 3N to calculate number of vibrational branches expected). This can also be seen by comparing the frequencies of the peaks in the 1x1x1 DOS and the frequency of the 4 branches at L. This can be checked in the log file as although the character L is useful for helping us to determine the symmetry of the modes of vibrations, it&#039;s always useful to numerically quantify values. This is simply in the row &#039;K point&#039; where the K point is 0.5. It&#039;s important that it can be viewed in the log file as on the phonon dispersion, only greek characters which represent different k points can be seen and it&#039;s not always obvious what numerical value goes with each character. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 1: Density of states - accuracy improved with increased shrinking factor&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_1.PNG|thumb|centre|Figure 3: MgO Density of States 1x1x1 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_3x3x3.PNG|thumb|centre|Figure 4: MgO Density of States 3x3x3 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_8x8x8.PNG|thumb|centre|Figure 5: MgO Density of States 8x8x8 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_32x32x32.PNG|thumb|centre|Figure 6: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from the progression in grid size that as the grid size increases, although the peaks with the greatest intensity stay in the same place, the shape of the density of states becomes much more defined and includes information on the states at k-points even where there is a lower number of states. When looking at the difference between grid sizes qualitatively, there isn&#039;t much of a difference between 8x8x8 and 32x32x32 apart from there is a more continuous curve with the same shape. It seems that a grid size of approximately 12x12x12 would be the minimum grid size as this is the grid size at which all k points are sampled and there aren&#039;t k-points with an angular frequency of 0 which then have non-zero values of angular frequencies at higher grid sizes. However, when deciding qualitatively, the convergence of the free energy can be used. At 20x20x20 and 6 decimal places, the free energy converges suggesting this is the optimum grid size to use. The density of states in terms of the phonon dispersion curve is basically plotting how many k points there are per value of angular frequency. This can be seen more easily by placing them side by side as seen in Figure 7&lt;br /&gt;
[[File:28548481_10215289272734952_157509358_o.jpg|thumb|centre|700px|Figure 7: MgO Density of states and phonon dispersion]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 2: Free energy changing with grid size&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Grid size&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Free energy (eV)&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;1&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-41.07531759&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;2&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926609&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;3&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926432&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;4&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.92645&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;5&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926463&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;6&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926471&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;7&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926475&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;8&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926478&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;12&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926481&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;16&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926482&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;20&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;32&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In order to determine a suitable shrinking factor, a number of grid sizes were investigated with the highest being 32x32x32. As having a higher shrinking factor takes longer and more processing power (leads to being more expensive), choosing the shrinking factor becomes a compromise between time and accuracy. As can be seen from the plot, in Figure [X], and a subsequent calculation to check this, the Helmholtz free energy stops changing after a grid size of 20x20x20 so this seemed like a reasonable value to use as not to compromise the accuracy for a quicker run time.&lt;br /&gt;
As can be seen in TABLE 2, after the grid size is 20x20x20, the values have converged and don&#039;t change (when looking at 6 decimal places, it may be changing beyond 6 decimal places). This is optimal as it reduces the computing power needed for a calculation whilst retaining almost the same level of accuracy. Using a grid size of 3x3x3 will gives a suitable energy for calculations accurate to 1 meV, REMEMBER TO DO 0.5mEV!!!!!!!! and a grid size of 5 gives a suitable energy for calculations accurate to 0.1 meV.&lt;br /&gt;
&amp;lt;h3&amp;gt;Quasi-Harmonic Thermal expansion&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Lattice_Parameter_Graph.png|thumb|centre|Figure 8: Lattice parameter vs temperature]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Free_energy_vs_T.png|thumb|centre|Figure 9: Free energy vs temperature]]&amp;lt;/th&amp;gt; &lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In Figure 9, it can be seen that the free energy is constant, then almost linearly decreases. At very low temperatures, the only main contribution to the free energy is the zero point energy as this is temperature independent. At around 400 K (where the free energy starts to decrease). We can explain by looking at equation 4 as when the temperature increases, the entropic contribution increases. If we assume the internal energy doesn&#039;t change much with temperature, then the TS term will increase in magnitude and decrease the overall free energy term. By looking at equation 4, the vibrational contribution term (also entropic term) is a ln term which will be negative, and again, decrease the overall free energy with an increase in temperature. &lt;br /&gt;
In the graph of lattice parameter vs temperature, the lattice parameter is initially constant and then increases linearly, then exponentially.  After the exponential region, it can be assumed that the lattice parameter increases exponentially, presumably converging at the melting temperature, however this would need to be investigated to be confirmed. Using the quasi-harmonic approximation, this gives the potential a &#039;quasi-anharmonic&#039; shape, meaning that the bond length will actually change with temperature but will just never reach the point where it breaks. Although this doesn&#039;t allow phase transitions to be investigated, it does allow the lattice parameter as a function of temperature to be investigated.&lt;br /&gt;
&lt;br /&gt;
Using the Quasi Harmonic approximation, and fitting the data to get a line of best fit with a gradient of &amp;lt;math&amp;gt;5.697\times 10^{-4}&amp;lt;/math&amp;gt; which is equivalent to &amp;lt;math&amp;gt;\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt;. Multiplying by the reciprocal of the initial volume of the crystal, gives a thermal expansion coefficient for the region of 300-1300 K of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;. By taking the value from lower temperatures, this gives a higher accuracy compared to the &#039;real value&#039;. This is because of the computational model that is being used. This model is quasi-harmonic which is based on the harmonic model. The harmonic oscillator is infinite and the bond between two atoms infinitely extends. However, at high temperatures this is not the reality. The bonds extend and break which is shown by the anharmonic model. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot; class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 3: Thermal expansion coefficients&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Temperature range (K)&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Quasi-Harmonic&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Molecular Dynamics&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Literature&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;0-300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.042\times 10^{-5[1]}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;300-1300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.140\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;4.000\times 10^{-5[1]}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-0-300.png|thumb|centre|Figure 10: Quasi Harmonic approximation 0 -300 K ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-300-1300.png|thumb|centre|Figure 11:  Quasi Harmonic approximation 300-1300 K]]&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-Thermal-expansion-100-300.png|thumb|centre|Figure 12: Molecular Dynamics 100-300 K]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-300-1300.png|thumb|centre|Figure 13: Molecular Dynamics 300-1300 K]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from Table 3, at lower temperatures, the quasi-harmonic approximation gives a value closer to literature. This is because the quasi-harmonic approximation takes into account the zero point energy at lower temperatures which is the main contributing factor whereas molecular dynamics method doesn&#039;t giving a linear line much like the second temperature region - it only considers classical mechanics and not quantum mechanics like quasi-harmonic approximation which takes into account quantum effects such as the zero point energy. At lower temperatures, the molecular dynamics value had to be taken from the 100-300 K region as GULP gave an error at 0 K. This could be because molecular dynamics depends on the motion/velocity of the atoms. At 0 K, there is no motion meaning no information would be outputted, potentially giving an error. At higher temperatures, it can be seen that molecular dynamics gives a more accurate value compared to literature. This is because quasi-harmonic has a parabolic shape where the bond length increases exponentially with temperature. This means the bond length increases infinitely and the bond never breaks - the melting point can never be found using the quasi harmonic approximation. Quasi harmonic is, however, much more useful than simply a harmonic approximation as the average bond length stays at the bottom of the potential well in the harmonic oscillator potential meaning there&#039;s no difference in bond length at different temperatures.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Conclusion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;References&amp;lt;/h2&amp;gt;&lt;br /&gt;
[1] - Rao, A. S. M., &amp;amp; Narender, K. (2014). Studies on thermophysical properties of CaO and MgO by γ -ray attenuation. Journal of Thermodynamics, 2014. http://doi.org/10.1155/2014/123478&lt;br /&gt;
&amp;lt;br&amp;gt;[2] - Lecture 4: Vibrations and Free Energy N. M. Harrison Imperial College London&lt;/div&gt;</summary>
		<author><name>Ar3015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674420</id>
		<title>Rep:Ar3015MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674420"/>
		<updated>2018-02-28T08:45:14Z</updated>

		<summary type="html">&lt;p&gt;Ar3015: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h1&amp;gt;MgO Report - Antonia Reeves&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;Introduction&amp;lt;/h2&amp;gt;&lt;br /&gt;
In chemistry, it is much easier to treat crystals as rigid structures with set lattice points in unit cells. This can often hold as a good approximation at very low temperatures. However, this is obviously not the case. There are many different vibrations happening throughout the lattice structure leading to thermal expansion. These vibrations can be quantified by using a wave vector - this gives the direction of the propagation of the wave in reciprocal space. We use reciprocal space because FILL IN HERE. This report investigates the effect of temperature on vibrations and size of the lattice structure of MgO. The lattice structure of MgO is face centred cubic. &lt;br /&gt;
&amp;lt;h3&amp;gt;Phonons and phonon dispersions&amp;lt;/h3&amp;gt;&lt;br /&gt;
In quantum chemistry, vibrations can be treated as both particles and waves. When treating vibrations as particles - just as particles of light are photons - they are called phonons. This can be used and a plot of frequency against wave vector can be generated. This effectively gives a plot of the energy against the &#039;the way that vibrations move&#039; which is the k vector. As the phonon dispersion plot investigates the different ways vibrations can take place in the same time, if there were for example only a few atoms, this would give rise to only a few different k points. However, as an infinite lattice is being used, instead of giving quantised k points, a continuous line of k points can be generated, giving rise to a band. One band is called a branch. The number of branches is dependent on the number of different atoms in the lattice. In MgO lattice there are 2 atoms. Using the equation 3N (not 3N-6 as this takes into account rotational and translation degeneracy for single molecules that don&#039;t need to be considered for crystal vibrations) where N is the number of different atoms, this gives 6 branches which can be seen in the phonon dispersion plot in Figure 1. Using the dispersion plots are useful for seeing the frequency vs k vector as a whole, however, makes it difficult to determine pieces of information such as how many states are at a given frequency, and whether there is a direct or indirect band gap. This is simply one way of displaying all of the data - the same data can be displayed as a density of states. Instead of simply giving the angular frequency as a function of the wave vector, a plot of density of states can also show how many states have a given energy at each k vector point. This can show the energy difference in the band gap, and the most densely populated k-states more easily. In order to visualise the density of states, the phonon dispersion is &#039;chopped up&#039; into sections. The number of sections is determined by the grid size (these parameters can be changed in the GULP execution panel. In this, the frequencies at the edge of the grids are taken and plotted (only one side as not to repeat the counting of the frequencies). The higher the grid size, the greater the accuracy of the density of states as this allows a greater number of wave vectors to be sampled. The value of the grid size is called the shrinking factor.&lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal Expansion Coefficient&amp;lt;/h3&amp;gt;&lt;br /&gt;
Using the equation &amp;lt;math&amp;gt;\frac{1}{V_0}\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt; gives the thermal expansion coefficient. This value represents how much a given crystal expands with an increase in temperature.  The &amp;lt;math&amp;gt;\frac{1}{V_0}&amp;lt;/math&amp;gt; term to normalises this value so it can be applied to a crystal of any size which is composed of the same crystal. Below, the different computational methods that can be used to investigate how these properties change with temperature are used.&lt;br /&gt;
&amp;lt;h3&amp;gt;Software used&amp;lt;/h3&amp;gt;&lt;br /&gt;
DLVisualise is the programmed used for modelling crystals in simulations such as this and allows chemists to visualise properties of crystals such as vibrations, energy, volume  and calculates these using wavefunctions of crystals - GULP lets the particular codes for the simulations to be accessed for running simulations. GULP is better for quantum based calculations such as lattice dynamics over molecular dynamics. However force fields for molecular dynamics can still be used and calculate values to output thermodynamic data. &lt;br /&gt;
&amp;lt;h3&amp;gt;Harmonic and Quasi-Harmonic approximations&amp;lt;/h3&amp;gt;&lt;br /&gt;
The harmonic oscillator is simply a taylor expansion of anhmarmonic potential. The harmonic oscillator takes the third term (quadratic term) giving the easily the harmonic oscillator parabola. When looking at harmonic potential energies, as the temperature is changed, the average bond length stays at an equilibrium point and therefore the volume of the crystal doesn&#039;t change. This means that although this approximation works well at lower temperatures as there is little change in volume at low temperatures in reality, at higher temperatures, harmonic and anharmonic (which is a much more realistic model) deviate a lot, giving unreliable data for higher temperatures. A compromise between harmonic which isn&#039;t a very reliable approximation as it only uses 3 terms from the taylor series expansion and using an anharmonic which uses many terms and will be very expensive is using a quasi-harmonic approximation. In the helmholtz free energy equations, the differences in the equations for harmonic and quasi-harmonic plots are in the frequency term. In a harmonic system, equation 3 would be used as the potential. However as the quasi harmonic system is being examined, within the brillouin zone &amp;lt;math&amp;gt;-\pi &amp;lt; k &amp;lt; \pi &amp;lt;/math&amp;gt; equation 1 can be used. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{4J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 1)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{2J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 2)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{1}{2\pi}){\frac{k}{\mu}}^{\frac{1}{2}} &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 3)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Helmholtz Free Energy&amp;lt;/h3&amp;gt;&lt;br /&gt;
[[File:Screen_Shot_2018-02-27_at_10.12.39.png|thumb|centre|Eq. 4]]&lt;br /&gt;
A = U - TS&lt;br /&gt;
In order to look at the energy of the vibrational modes, we use the vibrational contribution to the entropy using statistical thermodynamics and the partition coefficient. &lt;br /&gt;
The first term of equation 4 is the internal energy, the second term is the zero point energy (energy at 0K) and the final term is the statistical thermodynamics contribution - the contribution to the energy from the different vibrations.&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
The molecular dynamics method takes the values from the ideal MgO crystal, then when we change the parameters, generate random velocities. This process is repeated at each time step (each a microstate) then all of the microstates are averaged. An average of all of the microstates is carried out, when enough microstates have been sampled, they start to converge and properties of the crystal can start to be measured such as energy and volume. One of the main differences between the quasi-harmonic approximation and molecular dynamics is that quasi-harmonics uses quantum mechanics to calculate the volumes (the change in bond length) and molecular dynamics uses classical mechanics. When sampling a configuration, there needs to be enough time for the values to converge. This is where the length of the timesteps come into play - getting a more accurate value means that the calculations will take much longer and therefore be more expensive. &lt;br /&gt;
&amp;lt;h2&amp;gt;Method&amp;lt;/h2&amp;gt;&lt;br /&gt;
For all of the calculations, the GUI DLVisualise was used. For all calculations, the execute GULP panel was brought up and in the GULP potential parameters, ionic.lib was used and include shells was not included. &lt;br /&gt;
&amp;lt;h3&amp;gt;Lattice vibrations -Computing the phonons&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected, and then run was pressed. Once the job has completed, this shows in the job list and the files were recovered. The energy could be found in the log file under Total Free Energy. &lt;br /&gt;
[[File:MgO_phonon_1.PNG|thumb|centre|Figure 1: MgO Phonon dispersion ]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Calculating the free energy in the Harmonic approximation&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected. Under General Opts, phonon dispersion was selected with N points set to 50 and calculate phonon eigenvectors was selected, so that specific points in k-space (relating to the origin, x direction vectors being in phase etc.) are represented with greek letters. The files were recovered and the phonon dispersion was displayed using the 1D data display. &lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal expansion of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
The settings used for this calculation were, select phonon DOS, change shrinking factor to 20x20x20 and set the temperature from 0-3000 K in 100 K intervals. For each temperature, the free energy and lattice volume were taken from the log file. The volumes were multiplied by 4 as the volume given in the log file is the primitive cell volume. This is also required to calculate the lattice parameter which is simply the cube root of the volume of a conventional cell. &lt;br /&gt;
[[File:MgO_DOS_16x16x16.PNG|thumb|centre|Figure 2: 16x16x16 MgO Density of states]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
For Molecular dynamics, a super cell which is twice the length on every side of the cell was used. This is so the cell is larger and is more similar to &#039;an infinite lattice&#039;. Molecular Dynamics option was selected on the execute panel, the NPT ensemble was chosen, the time step used was 1 femtosecond, equilibration steps of 500, production steps was set to 500 steps and sampling steps and trajectory write steps were set to 5. The temperature used went from 100-3000 K with 100 K interval steps. As the volume of the cell is different to the cell used in the quasi-harmonic approximation, the cell volume taken from the log file (the last average cell volume), the volume was divided by 8 to get the same volume as the conventional cell for the quasi-harmonic approximation.&lt;br /&gt;
&amp;lt;h2&amp;gt;Results and discussion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Phonon Modes of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
When the density of states for calculated for a single k point, it can be worked out by examining the phonon dispersion which k point this is. In this case, the point is L as there are only 4 peaks (2 that have double the intensity due to the double degeneracy) and at L there are only 4 branches where we would expect 6 (due to 3N to calculate number of vibrational branches expected). This can also be seen by comparing the frequencies of the peaks in the 1x1x1 DOS and the frequency of the 4 branches at L. This can be checked in the log file as although the character L is useful for helping us to determine the symmetry of the modes of vibrations, it&#039;s always useful to numerically quantify values. This is simply in the row &#039;K point&#039; where the K point is 0.5. It&#039;s important that it can be viewed in the log file as on the phonon dispersion, only greek characters which represent different k points can be seen and it&#039;s not always obvious what numerical value goes with each character. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 1: Density of states - accuracy improved with increased shrinking factor&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_1.PNG|thumb|centre|Figure 3: MgO Density of States 1x1x1 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_3x3x3.PNG|thumb|centre|Figure 4: MgO Density of States 3x3x3 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_8x8x8.PNG|thumb|centre|Figure 5: MgO Density of States 8x8x8 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_32x32x32.PNG|thumb|centre|Figure 6: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from the progression in grid size that as the grid size increases, although the peaks with the greatest intensity stay in the same place, the shape of the density of states becomes much more defined and includes information on the states at k-points even where there is a lower number of states. When looking at the difference between grid sizes qualitatively, there isn&#039;t much of a difference between 8x8x8 and 32x32x32 apart from there is a more continuous curve with the same shape. It seems that a grid size of approximately 12x12x12 would be the minimum grid size as this is the grid size at which all k points are sampled and there aren&#039;t k-points with an angular frequency of 0 which then have non-zero values of angular frequencies at higher grid sizes. However, when deciding qualitatively, the convergence of the free energy can be used. At 20x20x20 and 6 decimal places, the free energy converges suggesting this is the optimum grid size to use. The density of states in terms of the phonon dispersion curve is basically plotting how many k points there are per value of angular frequency. This can be seen more easily by placing them side by side as seen in Figure 7&lt;br /&gt;
[[File:28548481_10215289272734952_157509358_o.jpg|thumb|centre|700px|Figure 7: MgO Density of states and phonon dispersion]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 2: Free energy changing with grid size&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Grid size&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Free energy (eV)&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;1&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-41.07531759&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;2&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926609&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;3&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926432&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;4&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.92645&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;5&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926463&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;6&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926471&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;7&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926475&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;8&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926478&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;12&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926481&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;16&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926482&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;20&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;32&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In order to determine a suitable shrinking factor, a number of grid sizes were investigated with the highest being 32x32x32. As having a higher shrinking factor takes longer and more processing power (leads to being more expensive), choosing the shrinking factor becomes a compromise between time and accuracy. As can be seen from the plot, in Figure [X], and a subsequent calculation to check this, the Helmholtz free energy stops changing after a grid size of 20x20x20 so this seemed like a reasonable value to use as not to compromise the accuracy for a quicker run time.&lt;br /&gt;
As can be seen in TABLE 2, after the grid size is 20x20x20, the values have converged and don&#039;t change (when looking at 6 decimal places, it may be changing beyond 6 decimal places). This is optimal as it reduces the computing power needed for a calculation whilst retaining almost the same level of accuracy. Using a grid size of 3x3x3 will gives a suitable energy for calculations accurate to 1 meV, REMEMBER TO DO 0.5mEV!!!!!!!! and a grid size of 5 gives a suitable energy for calculations accurate to 0.1 meV.&lt;br /&gt;
&amp;lt;h3&amp;gt;Quasi-Harmonic Thermal expansion&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Lattice_Parameter_Graph.png|thumb|centre|Figure 8: Lattice parameter vs temperature]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Free_energy_vs_T.png|thumb|centre|Figure 9: Free energy vs temperature]]&amp;lt;/th&amp;gt; &lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In Figure 9, it can be seen that the free energy is constant, then almost linearly decreases. At very low temperatures, the only main contribution to the free energy is the zero point energy as this is temperature independent. At around 400 K (where the free energy starts to decrease). We can explain by looking at equation 4 as when the temperature increases, the entropic contribution increases. If we assume the internal energy doesn&#039;t change much with temperature, then the TS term will increase in magnitude and decrease the overall free energy term. By looking at equation 4, the vibrational contribution term (also entropic term) is a ln term which will be negative, and again, decrease the overall free energy with an increase in temperature. &lt;br /&gt;
In the graph of lattice parameter vs temperature, the lattice parameter is initially constant and then increases linearly, then exponentially.  After the exponential region, it can be assumed that the lattice parameter increases exponentially, presumably converging at the melting temperature, however this would need to be investigated to be confirmed. Using the quasi-harmonic approximation, this gives the potential a &#039;quasi-anharmonic&#039; shape, meaning that the bond length will actually change with temperature but will just never reach the point where it breaks. Although this doesn&#039;t allow phase transitions to be investigated, it does allow the lattice parameter as a function of temperature to be investigated.&lt;br /&gt;
&lt;br /&gt;
Using the Quasi Harmonic approximation, and fitting the data to get a line of best fit with a gradient of INSERT HERE which is equivalent to &amp;lt;math&amp;gt;\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt;. Multiplying by the reciprocal of the initial volume of the crystal, gives a thermal expansion coefficient for the region of 300-1300 K of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;. By taking the value from lower temperatures, this gives a higher accuracy compared to the &#039;real value&#039;. This is because of the computational model that is being used. This model is quasi-harmonic which is based on the harmonic model. The harmonic oscillator is infinite and the bond between two atoms infinitely extends. However, at high temperatures this is not the reality. The bonds extend and break which is shown by the anharmonic model. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot; class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 3: Thermal expansion coefficients&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Temperature range (K)&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Quasi-Harmonic&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Molecular Dynamics&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Literature&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;0-300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.042\times 10^{-5[1]}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;300-1300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.140\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;4.000\times 10^{-5[1]}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-0-300.png|thumb|centre|Figure 10: Quasi Harmonic approximation 0 -300 K ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-300-1300.png|thumb|centre|Figure 11:  Quasi Harmonic approximation 300-1300 K]]&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-Thermal-expansion-100-300.png|thumb|centre|Figure 12: Molecular Dynamics 100-300 K]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-300-1300.png|thumb|centre|Figure 13: Molecular Dynamics 300-1300 K]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from Table 3, at lower temperatures, the quasi-harmonic approximation gives a value closer to literature. This is because the quasi-harmonic approximation takes into account the zero point energy at lower temperatures which is the main contributing factor whereas molecular dynamics method doesn&#039;t giving a linear line much like the second temperature region - it only considers classical mechanics and not quantum mechanics like quasi-harmonic approximation which takes into account quantum effects such as the zero point energy. At lower temperatures, the molecular dynamics value had to be taken from the 100-300 K region as GULP gave an error at 0 K. This could be because molecular dynamics depends on the motion/velocity of the atoms. At 0 K, there is no motion meaning no information would be outputted, potentially giving an error. At higher temperatures, it can be seen that molecular dynamics gives a more accurate value compared to literature. This is because quasi-harmonic has a parabolic shape where the bond length increases exponentially with temperature. This means the bond length increases infinitely and the bond never breaks - the melting point can never be found using the quasi harmonic approximation. Quasi harmonic is, however, much more useful than simply a harmonic approximation as the average bond length stays at the bottom of the potential well in the harmonic oscillator potential meaning there&#039;s no difference in bond length at different temperatures.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Conclusion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;References&amp;lt;/h2&amp;gt;&lt;br /&gt;
[1] - Rao, A. S. M., &amp;amp; Narender, K. (2014). Studies on thermophysical properties of CaO and MgO by γ -ray attenuation. Journal of Thermodynamics, 2014. http://doi.org/10.1155/2014/123478&lt;br /&gt;
&amp;lt;br&amp;gt;[2] - Lecture 4: Vibrations and Free Energy N. M. Harrison Imperial College London&lt;/div&gt;</summary>
		<author><name>Ar3015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674419</id>
		<title>Rep:Ar3015MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674419"/>
		<updated>2018-02-28T08:44:22Z</updated>

		<summary type="html">&lt;p&gt;Ar3015: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h1&amp;gt;MgO Report - Antonia Reeves&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;Introduction&amp;lt;/h2&amp;gt;&lt;br /&gt;
In chemistry, it is much easier to treat crystals as rigid structures with set lattice points in unit cells. This can often hold as a good approximation at very low temperatures. However, this is obviously not the case. There are many different vibrations happening throughout the lattice structure leading to thermal expansion. These vibrations can be quantified by using a wave vector - this gives the direction of the propagation of the wave in reciprocal space. We use reciprocal space because FILL IN HERE. This report investigates the effect of temperature on vibrations and size of the lattice structure of MgO. The lattice structure of MgO is face centred cubic. &lt;br /&gt;
&amp;lt;h3&amp;gt;Phonons and phonon dispersions&amp;lt;/h3&amp;gt;&lt;br /&gt;
In quantum chemistry, vibrations can be treated as both particles and waves. When treating vibrations as particles - just as particles of light are photons - they are called phonons. This can be used and a plot of frequency against wave vector can be generated. This effectively gives a plot of the energy against the &#039;the way that vibrations move&#039; which is the k vector. As the phonon dispersion plot investigates the different ways vibrations can take place in the same time, if there were for example only a few atoms, this would give rise to only a few different k points. However, as an infinite lattice is being used, instead of giving quantised k points, a continuous line of k points can be generated, giving rise to a band. One band is called a branch. The number of branches is dependent on the number of different atoms in the lattice. In MgO lattice there are 2 atoms. Using the equation 3N (not 3N-6 as this takes into account rotational and translation degeneracy for single molecules that don&#039;t need to be considered for crystal vibrations) where N is the number of different atoms, this gives 6 branches which can be seen in the phonon dispersion plot in Figure 1. Using the dispersion plots are useful for seeing the frequency vs k vector as a whole, however, makes it difficult to determine pieces of information such as how many states are at a given frequency, and whether there is a direct or indirect band gap. This is simply one way of displaying all of the data - the same data can be displayed as a density of states. Instead of simply giving the angular frequency as a function of the wave vector, a plot of density of states can also show how many states have a given energy at each k vector point. This can show the energy difference in the band gap, and the most densely populated k-states more easily. In order to visualise the density of states, the phonon dispersion is &#039;chopped up&#039; into sections. The number of sections is determined by the grid size (these parameters can be changed in the GULP execution panel. In this, the frequencies at the edge of the grids are taken and plotted (only one side as not to repeat the counting of the frequencies). The higher the grid size, the greater the accuracy of the density of states as this allows a greater number of wave vectors to be sampled. The value of the grid size is called the shrinking factor.&lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal Expansion Coefficient&amp;lt;/h3&amp;gt;&lt;br /&gt;
Using the equation &amp;lt;math&amp;gt;\frac{1}{V_0}\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt; gives the thermal expansion coefficient. This value represents how much a given crystal expands with an increase in temperature.  The &amp;lt;math&amp;gt;\frac{1}{V_0}&amp;lt;/math&amp;gt; term to normalises this value so it can be applied to a crystal of any size which is composed of the same crystal. Below, the different computational methods that can be used to investigate how these properties change with temperature are used.&lt;br /&gt;
&amp;lt;h3&amp;gt;Software used&amp;lt;/h3&amp;gt;&lt;br /&gt;
DLVisualise is the programmed used for modelling crystals in simulations such as this and allows chemists to visualise properties of crystals such as vibrations, energy, volume  and calculates these using wavefunctions of crystals - GULP lets the particular codes for the simulations to be accessed for running simulations. GULP is better for quantum based calculations such as lattice dynamics over molecular dynamics. However force fields for molecular dynamics can still be used and calculate values to output thermodynamic data. &lt;br /&gt;
&amp;lt;h3&amp;gt;Harmonic and Quasi-Harmonic approximations&amp;lt;/h3&amp;gt;&lt;br /&gt;
The harmonic oscillator is simply a taylor expansion of anhmarmonic potential. The harmonic oscillator takes the third term (quadratic term) giving the easily the harmonic oscillator parabola. When looking at harmonic potential energies, as the temperature is changed, the average bond length stays at an equilibrium point and therefore the volume of the crystal doesn&#039;t change. This means that although this approximation works well at lower temperatures as there is little change in volume at low temperatures in reality, at higher temperatures, harmonic and anharmonic (which is a much more realistic model) deviate a lot, giving unreliable data for higher temperatures. A compromise between harmonic which isn&#039;t a very reliable approximation as it only uses 3 terms from the taylor series expansion and using an anharmonic which uses many terms and will be very expensive is using a quasi-harmonic approximation. In the helmholtz free energy equations, the differences in the equations for harmonic and quasi-harmonic plots are in the frequency term. In a harmonic system, equation 3 would be used as the potential. However as the quasi harmonic system is being examined, within the brillouin zone &amp;lt;math&amp;gt;-\pi &amp;lt; k &amp;lt; \pi &amp;lt;/math&amp;gt; equation 1 can be used. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{4J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 1)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{2J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 2)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{1}{2\pi}){\frac{k}{\mu}}^{\frac{1}{2}} &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 3)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Helmholtz Free Energy&amp;lt;/h3&amp;gt;&lt;br /&gt;
[[File:Screen_Shot_2018-02-27_at_10.12.39.png|thumb|centre|Eq. 4]]&lt;br /&gt;
A = U - TS&lt;br /&gt;
In order to look at the energy of the vibrational modes, we use the vibrational contribution to the entropy using statistical thermodynamics and the partition coefficient. &lt;br /&gt;
The first term of equation 4 is the internal energy, the second term is the zero point energy (energy at 0K) and the final term is the statistical thermodynamics contribution - the contribution to the energy from the different vibrations.&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
The molecular dynamics method takes the values from the ideal MgO crystal, then when we change the parameters, generate random velocities. This process is repeated at each time step (each a microstate) then all of the microstates are averaged. An average of all of the microstates is carried out, when enough microstates have been sampled, they start to converge and properties of the crystal can start to be measured such as energy and volume. One of the main differences between the quasi-harmonic approximation and molecular dynamics is that quasi-harmonics uses quantum mechanics to calculate the volumes (the change in bond length) and molecular dynamics uses classical mechanics. When sampling a configuration, there needs to be enough time for the values to converge. This is where the length of the timesteps come into play - getting a more accurate value means that the calculations will take much longer and therefore be more expensive. &lt;br /&gt;
&amp;lt;h2&amp;gt;Method&amp;lt;/h2&amp;gt;&lt;br /&gt;
For all of the calculations, the GUI DLVisualise was used. For all calculations, the execute GULP panel was brought up and in the GULP potential parameters, ionic.lib was used and include shells was not included. &lt;br /&gt;
&amp;lt;h3&amp;gt;Lattice vibrations -Computing the phonons&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected, and then run was pressed. Once the job has completed, this shows in the job list and the files were recovered. The energy could be found in the log file under Total Free Energy. &lt;br /&gt;
[[File:MgO_phonon_1.PNG|thumb|centre|Figure 1: MgO Phonon dispersion ]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Calculating the free energy in the Harmonic approximation&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected. Under General Opts, phonon dispersion was selected with N points set to 50 and calculate phonon eigenvectors was selected, so that specific points in k-space (relating to the origin, x direction vectors being in phase etc.) are represented with greek letters. The files were recovered and the phonon dispersion was displayed using the 1D data display. &lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal expansion of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
The settings used for this calculation were, select phonon DOS, change shrinking factor to 20x20x20 and set the temperature from 0-3000 K in 100 K intervals. For each temperature, the free energy and lattice volume were taken from the log file. The volumes were multiplied by 4 as the volume given in the log file is the primitive cell volume. This is also required to calculate the lattice parameter which is simply the cube root of the volume of a conventional cell. &lt;br /&gt;
[[File:MgO_DOS_16x16x16.PNG|thumb|centre|Figure 2: 16x16x16 MgO Density of states]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
For Molecular dynamics, a super cell which is twice the length on every side of the cell was used. This is so the cell is larger and is more similar to &#039;an infinite lattice&#039;. Molecular Dynamics option was selected on the execute panel, the NPT ensemble was chosen, the time step used was 1 femtosecond, equilibration steps of 500, production steps was set to 500 steps and sampling steps and trajectory write steps were set to 5. The temperature used went from 100-3000 K with 100 K interval steps. As the volume of the cell is different to the cell used in the quasi-harmonic approximation, the cell volume taken from the log file (the last average cell volume), the volume was divided by 8 to get the same volume as the conventional cell for the quasi-harmonic approximation.&lt;br /&gt;
&amp;lt;h2&amp;gt;Results and discussion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Phonon Modes of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
When the density of states for calculated for a single k point, it can be worked out by examining the phonon dispersion which k point this is. In this case, the point is L as there are only 4 peaks (2 that have double the intensity due to the double degeneracy) and at L there are only 4 branches where we would expect 6 (due to 3N to calculate number of vibrational branches expected). This can also be seen by comparing the frequencies of the peaks in the 1x1x1 DOS and the frequency of the 4 branches at L. This can be checked in the log file as although the character L is useful for helping us to determine the symmetry of the modes of vibrations, it&#039;s always useful to numerically quantify values. This is simply in the row &#039;K point&#039; where the K point is 0.5. It&#039;s important that it can be viewed in the log file as on the phonon dispersion, only greek characters which represent different k points can be seen and it&#039;s not always obvious what numerical value goes with each character. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 1: Density of states - accuracy improved with increased shrinking factor&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_1.PNG|thumb|centre|Figure 3: MgO Density of States 1x1x1 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_3x3x3.PNG|thumb|centre|Figure 4: MgO Density of States 3x3x3 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_8x8x8.PNG|thumb|centre|Figure 5: MgO Density of States 8x8x8 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_32x32x32.PNG|thumb|centre|Figure 6: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from the progression in grid size that as the grid size increases, although the peaks with the greatest intensity stay in the same place, the shape of the density of states becomes much more defined and includes information on the states at k-points even where there is a lower number of states. When looking at the difference between grid sizes qualitatively, there isn&#039;t much of a difference between 8x8x8 and 32x32x32 apart from there is a more continuous curve with the same shape. It seems that a grid size of approximately 12x12x12 would be the minimum grid size as this is the grid size at which all k points are sampled and there aren&#039;t k-points with an angular frequency of 0 which then have non-zero values of angular frequencies at higher grid sizes. However, when deciding qualitatively, the convergence of the free energy can be used. At 20x20x20 and 6 decimal places, the free energy converges suggesting this is the optimum grid size to use. The density of states in terms of the phonon dispersion curve is basically plotting how many k points there are per value of angular frequency. This can be seen more easily by placing them side by side as seen in Figure 7&lt;br /&gt;
[[File:28548481_10215289272734952_157509358_o.jpg|thumb|centre|700px|Figure 7: MgO Density of states and phonon dispersion]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 2: Free energy changing with grid size&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Grid size&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Free energy (eV)&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;1&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-41.07531759&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;2&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926609&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;3&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926432&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;4&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.92645&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;5&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926463&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;6&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926471&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;7&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926475&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;8&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926478&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;12&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926481&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;16&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926482&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;20&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;32&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In order to determine a suitable shrinking factor, a number of grid sizes were investigated with the highest being 32x32x32. As having a higher shrinking factor takes longer and more processing power (leads to being more expensive), choosing the shrinking factor becomes a compromise between time and accuracy. As can be seen from the plot, in Figure [X], and a subsequent calculation to check this, the Helmholtz free energy stops changing after a grid size of 20x20x20 so this seemed like a reasonable value to use as not to compromise the accuracy for a quicker run time.&lt;br /&gt;
As can be seen in TABLE 2, after the grid size is 20x20x20, the values have converged and don&#039;t change (when looking at 6 decimal places, it may be changing beyond 6 decimal places). This is optimal as it reduces the computing power needed for a calculation whilst retaining almost the same level of accuracy. Using a grid size of 3x3x3 will gives a suitable energy for calculations accurate to 1 meV, REMEMBER TO DO 0.5mEV!!!!!!!! and a grid size of 5 gives a suitable energy for calculations accurate to 0.1 meV.&lt;br /&gt;
&amp;lt;h3&amp;gt;Quasi-Harmonic Thermal expansion&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Lattice_Parameter_Graph.png|thumb|centre|Figure 8: Lattice parameter vs temperature]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Free_energy_vs_T.png|thumb|centre|Figure 9: Free energy vs temperature]]&amp;lt;/th&amp;gt; &lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In Figure 9, it can be seen that the free energy is constant, then almost linearly decreases. At very low temperatures, the only main contribution to the free energy is the zero point energy as this is temperature independent. At around 400 K (where the free energy starts to decrease). We can explain by looking at equation 4 as when the temperature increases, the entropic contribution increases. If we assume the internal energy doesn&#039;t change much with temperature, then the TS term will increase in magnitude and decrease the overall free energy term. By looking at equation 4, the vibrational contribution term (also entropic term) is a ln term which will be negative, and again, decrease the overall free energy with an increase in temperature. &lt;br /&gt;
In the graph of lattice parameter vs temperature, the lattice parameter is initially constant and then increases linearly, then exponentially.  After the exponential region, it can be assumed that the lattice parameter increases exponentially, presumably converging at the melting temperature, however this would need to be investigated to be confirmed. Using the quasi-harmonic approximation, this gives the potential a &#039;quasi-anharmonic&#039; shape, meaning that the bond length will actually change with temperature but will just never reach the point where it breaks. Although this doesn&#039;t allow phase transitions to be investigated, it does allow the lattice parameter as a function of temperature to be investigated.&lt;br /&gt;
&lt;br /&gt;
Using the Quasi Harmonic approximation, and fitting the data to get a line of best fit with a gradient of INSERT HERE which is equivalent to &amp;lt;math&amp;gt;\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt;. Multiplying by the reciprocal of the initial volume of the crystal, gives a thermal expansion coefficient for the region of 300-1300 K of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;. By taking the value from lower temperatures, this gives a higher accuracy compared to the &#039;real value&#039;. This is because of the computational model that is being used. This model is quasi-harmonic which is based on the harmonic model. The harmonic oscillator is infinite and the bond between two atoms infinitely extends. However, at high temperatures this is not the reality. The bonds extend and break which is shown by the anharmonic model. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot; class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 3: Thermal expansion coefficients&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Temperature range (K)&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Quasi-Harmonic&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Molecular Dynamics&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Literature&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;0-300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.042\times 10^{-5} ^{[1]}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;300-1300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.140\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;4.000\times 10^{-5} ^{[1]}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-0-300.png|thumb|centre|Figure 10: Quasi Harmonic approximation 0 -300 K ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-300-1300.png|thumb|centre|Figure 11:  Quasi Harmonic approximation 300-1300 K]]&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-Thermal-expansion-100-300.png|thumb|centre|Figure 12: Molecular Dynamics 100-300 K]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-300-1300.png|thumb|centre|Figure 13: Molecular Dynamics 300-1300 K]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from Table 3, at lower temperatures, the quasi-harmonic approximation gives a value closer to literature. This is because the quasi-harmonic approximation takes into account the zero point energy at lower temperatures which is the main contributing factor whereas molecular dynamics method doesn&#039;t giving a linear line much like the second temperature region - it only considers classical mechanics and not quantum mechanics like quasi-harmonic approximation which takes into account quantum effects such as the zero point energy. At lower temperatures, the molecular dynamics value had to be taken from the 100-300 K region as GULP gave an error at 0 K. This could be because molecular dynamics depends on the motion/velocity of the atoms. At 0 K, there is no motion meaning no information would be outputted, potentially giving an error. At higher temperatures, it can be seen that molecular dynamics gives a more accurate value compared to literature. This is because quasi-harmonic has a parabolic shape where the bond length increases exponentially with temperature. This means the bond length increases infinitely and the bond never breaks - the melting point can never be found using the quasi harmonic approximation. Quasi harmonic is, however, much more useful than simply a harmonic approximation as the average bond length stays at the bottom of the potential well in the harmonic oscillator potential meaning there&#039;s no difference in bond length at different temperatures.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Conclusion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;References&amp;lt;/h2&amp;gt;&lt;br /&gt;
[1] - Rao, A. S. M., &amp;amp; Narender, K. (2014). Studies on thermophysical properties of CaO and MgO by γ -ray attenuation. Journal of Thermodynamics, 2014. http://doi.org/10.1155/2014/123478&lt;br /&gt;
&amp;lt;br&amp;gt;[2] - Lecture 4: Vibrations and Free Energy N. M. Harrison Imperial College London&lt;/div&gt;</summary>
		<author><name>Ar3015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674417</id>
		<title>Rep:Ar3015MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674417"/>
		<updated>2018-02-28T08:43:59Z</updated>

		<summary type="html">&lt;p&gt;Ar3015: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h1&amp;gt;MgO Report - Antonia Reeves&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;Introduction&amp;lt;/h2&amp;gt;&lt;br /&gt;
In chemistry, it is much easier to treat crystals as rigid structures with set lattice points in unit cells. This can often hold as a good approximation at very low temperatures. However, this is obviously not the case. There are many different vibrations happening throughout the lattice structure leading to thermal expansion. These vibrations can be quantified by using a wave vector - this gives the direction of the propagation of the wave in reciprocal space. We use reciprocal space because FILL IN HERE. This report investigates the effect of temperature on vibrations and size of the lattice structure of MgO. The lattice structure of MgO is face centred cubic. &lt;br /&gt;
&amp;lt;h3&amp;gt;Phonons and phonon dispersions&amp;lt;/h3&amp;gt;&lt;br /&gt;
In quantum chemistry, vibrations can be treated as both particles and waves. When treating vibrations as particles - just as particles of light are photons - they are called phonons. This can be used and a plot of frequency against wave vector can be generated. This effectively gives a plot of the energy against the &#039;the way that vibrations move&#039; which is the k vector. As the phonon dispersion plot investigates the different ways vibrations can take place in the same time, if there were for example only a few atoms, this would give rise to only a few different k points. However, as an infinite lattice is being used, instead of giving quantised k points, a continuous line of k points can be generated, giving rise to a band. One band is called a branch. The number of branches is dependent on the number of different atoms in the lattice. In MgO lattice there are 2 atoms. Using the equation 3N (not 3N-6 as this takes into account rotational and translation degeneracy for single molecules that don&#039;t need to be considered for crystal vibrations) where N is the number of different atoms, this gives 6 branches which can be seen in the phonon dispersion plot in Figure 1. Using the dispersion plots are useful for seeing the frequency vs k vector as a whole, however, makes it difficult to determine pieces of information such as how many states are at a given frequency, and whether there is a direct or indirect band gap. This is simply one way of displaying all of the data - the same data can be displayed as a density of states. Instead of simply giving the angular frequency as a function of the wave vector, a plot of density of states can also show how many states have a given energy at each k vector point. This can show the energy difference in the band gap, and the most densely populated k-states more easily. In order to visualise the density of states, the phonon dispersion is &#039;chopped up&#039; into sections. The number of sections is determined by the grid size (these parameters can be changed in the GULP execution panel. In this, the frequencies at the edge of the grids are taken and plotted (only one side as not to repeat the counting of the frequencies). The higher the grid size, the greater the accuracy of the density of states as this allows a greater number of wave vectors to be sampled. The value of the grid size is called the shrinking factor.&lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal Expansion Coefficient&amp;lt;/h3&amp;gt;&lt;br /&gt;
Using the equation &amp;lt;math&amp;gt;\frac{1}{V_0}\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt; gives the thermal expansion coefficient. This value represents how much a given crystal expands with an increase in temperature.  The &amp;lt;math&amp;gt;\frac{1}{V_0}&amp;lt;/math&amp;gt; term to normalises this value so it can be applied to a crystal of any size which is composed of the same crystal. Below, the different computational methods that can be used to investigate how these properties change with temperature are used.&lt;br /&gt;
&amp;lt;h3&amp;gt;Software used&amp;lt;/h3&amp;gt;&lt;br /&gt;
DLVisualise is the programmed used for modelling crystals in simulations such as this and allows chemists to visualise properties of crystals such as vibrations, energy, volume  and calculates these using wavefunctions of crystals - GULP lets the particular codes for the simulations to be accessed for running simulations. GULP is better for quantum based calculations such as lattice dynamics over molecular dynamics. However force fields for molecular dynamics can still be used and calculate values to output thermodynamic data. &lt;br /&gt;
&amp;lt;h3&amp;gt;Harmonic and Quasi-Harmonic approximations&amp;lt;/h3&amp;gt;&lt;br /&gt;
The harmonic oscillator is simply a taylor expansion of anhmarmonic potential. The harmonic oscillator takes the third term (quadratic term) giving the easily the harmonic oscillator parabola. When looking at harmonic potential energies, as the temperature is changed, the average bond length stays at an equilibrium point and therefore the volume of the crystal doesn&#039;t change. This means that although this approximation works well at lower temperatures as there is little change in volume at low temperatures in reality, at higher temperatures, harmonic and anharmonic (which is a much more realistic model) deviate a lot, giving unreliable data for higher temperatures. A compromise between harmonic which isn&#039;t a very reliable approximation as it only uses 3 terms from the taylor series expansion and using an anharmonic which uses many terms and will be very expensive is using a quasi-harmonic approximation. In the helmholtz free energy equations, the differences in the equations for harmonic and quasi-harmonic plots are in the frequency term. In a harmonic system, equation 3 would be used as the potential. However as the quasi harmonic system is being examined, within the brillouin zone &amp;lt;math&amp;gt;-\pi &amp;lt; k &amp;lt; \pi &amp;lt;/math&amp;gt; equation 1 can be used. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{4J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 1)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{2J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 2)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{1}{2\pi}){\frac{k}{\mu}}^{\frac{1}{2}} &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 3)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Helmholtz Free Energy&amp;lt;/h3&amp;gt;&lt;br /&gt;
[[File:Screen_Shot_2018-02-27_at_10.12.39.png|thumb|centre|Eq. 4]]&lt;br /&gt;
A = U - TS&lt;br /&gt;
In order to look at the energy of the vibrational modes, we use the vibrational contribution to the entropy using statistical thermodynamics and the partition coefficient. &lt;br /&gt;
The first term of equation 4 is the internal energy, the second term is the zero point energy (energy at 0K) and the final term is the statistical thermodynamics contribution - the contribution to the energy from the different vibrations.&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
The molecular dynamics method takes the values from the ideal MgO crystal, then when we change the parameters, generate random velocities. This process is repeated at each time step (each a microstate) then all of the microstates are averaged. An average of all of the microstates is carried out, when enough microstates have been sampled, they start to converge and properties of the crystal can start to be measured such as energy and volume. One of the main differences between the quasi-harmonic approximation and molecular dynamics is that quasi-harmonics uses quantum mechanics to calculate the volumes (the change in bond length) and molecular dynamics uses classical mechanics. When sampling a configuration, there needs to be enough time for the values to converge. This is where the length of the timesteps come into play - getting a more accurate value means that the calculations will take much longer and therefore be more expensive. &lt;br /&gt;
&amp;lt;h2&amp;gt;Method&amp;lt;/h2&amp;gt;&lt;br /&gt;
For all of the calculations, the GUI DLVisualise was used. For all calculations, the execute GULP panel was brought up and in the GULP potential parameters, ionic.lib was used and include shells was not included. &lt;br /&gt;
&amp;lt;h3&amp;gt;Lattice vibrations -Computing the phonons&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected, and then run was pressed. Once the job has completed, this shows in the job list and the files were recovered. The energy could be found in the log file under Total Free Energy. &lt;br /&gt;
[[File:MgO_phonon_1.PNG|thumb|centre|Figure 1: MgO Phonon dispersion ]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Calculating the free energy in the Harmonic approximation&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected. Under General Opts, phonon dispersion was selected with N points set to 50 and calculate phonon eigenvectors was selected, so that specific points in k-space (relating to the origin, x direction vectors being in phase etc.) are represented with greek letters. The files were recovered and the phonon dispersion was displayed using the 1D data display. &lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal expansion of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
The settings used for this calculation were, select phonon DOS, change shrinking factor to 20x20x20 and set the temperature from 0-3000 K in 100 K intervals. For each temperature, the free energy and lattice volume were taken from the log file. The volumes were multiplied by 4 as the volume given in the log file is the primitive cell volume. This is also required to calculate the lattice parameter which is simply the cube root of the volume of a conventional cell. &lt;br /&gt;
[[File:MgO_DOS_16x16x16.PNG|thumb|centre|Figure 2: 16x16x16 MgO Density of states]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
For Molecular dynamics, a super cell which is twice the length on every side of the cell was used. This is so the cell is larger and is more similar to &#039;an infinite lattice&#039;. Molecular Dynamics option was selected on the execute panel, the NPT ensemble was chosen, the time step used was 1 femtosecond, equilibration steps of 500, production steps was set to 500 steps and sampling steps and trajectory write steps were set to 5. The temperature used went from 100-3000 K with 100 K interval steps. As the volume of the cell is different to the cell used in the quasi-harmonic approximation, the cell volume taken from the log file (the last average cell volume), the volume was divided by 8 to get the same volume as the conventional cell for the quasi-harmonic approximation.&lt;br /&gt;
&amp;lt;h2&amp;gt;Results and discussion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Phonon Modes of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
When the density of states for calculated for a single k point, it can be worked out by examining the phonon dispersion which k point this is. In this case, the point is L as there are only 4 peaks (2 that have double the intensity due to the double degeneracy) and at L there are only 4 branches where we would expect 6 (due to 3N to calculate number of vibrational branches expected). This can also be seen by comparing the frequencies of the peaks in the 1x1x1 DOS and the frequency of the 4 branches at L. This can be checked in the log file as although the character L is useful for helping us to determine the symmetry of the modes of vibrations, it&#039;s always useful to numerically quantify values. This is simply in the row &#039;K point&#039; where the K point is 0.5. It&#039;s important that it can be viewed in the log file as on the phonon dispersion, only greek characters which represent different k points can be seen and it&#039;s not always obvious what numerical value goes with each character. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 1: Density of states - accuracy improved with increased shrinking factor&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_1.PNG|thumb|centre|Figure 3: MgO Density of States 1x1x1 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_3x3x3.PNG|thumb|centre|Figure 4: MgO Density of States 3x3x3 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_8x8x8.PNG|thumb|centre|Figure 5: MgO Density of States 8x8x8 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_32x32x32.PNG|thumb|centre|Figure 6: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from the progression in grid size that as the grid size increases, although the peaks with the greatest intensity stay in the same place, the shape of the density of states becomes much more defined and includes information on the states at k-points even where there is a lower number of states. When looking at the difference between grid sizes qualitatively, there isn&#039;t much of a difference between 8x8x8 and 32x32x32 apart from there is a more continuous curve with the same shape. It seems that a grid size of approximately 12x12x12 would be the minimum grid size as this is the grid size at which all k points are sampled and there aren&#039;t k-points with an angular frequency of 0 which then have non-zero values of angular frequencies at higher grid sizes. However, when deciding qualitatively, the convergence of the free energy can be used. At 20x20x20 and 6 decimal places, the free energy converges suggesting this is the optimum grid size to use. The density of states in terms of the phonon dispersion curve is basically plotting how many k points there are per value of angular frequency. This can be seen more easily by placing them side by side as seen in Figure 7&lt;br /&gt;
[[File:28548481_10215289272734952_157509358_o.jpg|thumb|centre|700px|Figure 7: MgO Density of states and phonon dispersion]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 2: Free energy changing with grid size&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Grid size&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Free energy (eV)&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;1&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-41.07531759&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;2&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926609&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;3&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926432&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;4&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.92645&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;5&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926463&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;6&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926471&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;7&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926475&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;8&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926478&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;12&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926481&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;16&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926482&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;20&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;32&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In order to determine a suitable shrinking factor, a number of grid sizes were investigated with the highest being 32x32x32. As having a higher shrinking factor takes longer and more processing power (leads to being more expensive), choosing the shrinking factor becomes a compromise between time and accuracy. As can be seen from the plot, in Figure [X], and a subsequent calculation to check this, the Helmholtz free energy stops changing after a grid size of 20x20x20 so this seemed like a reasonable value to use as not to compromise the accuracy for a quicker run time.&lt;br /&gt;
As can be seen in TABLE 2, after the grid size is 20x20x20, the values have converged and don&#039;t change (when looking at 6 decimal places, it may be changing beyond 6 decimal places). This is optimal as it reduces the computing power needed for a calculation whilst retaining almost the same level of accuracy. Using a grid size of 3x3x3 will gives a suitable energy for calculations accurate to 1 meV, REMEMBER TO DO 0.5mEV!!!!!!!! and a grid size of 5 gives a suitable energy for calculations accurate to 0.1 meV.&lt;br /&gt;
&amp;lt;h3&amp;gt;Quasi-Harmonic Thermal expansion&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Lattice_Parameter_Graph.png|thumb|centre|Figure 8: Lattice parameter vs temperature]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Free_energy_vs_T.png|thumb|centre|Figure 9: Free energy vs temperature]]&amp;lt;/th&amp;gt; &lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In Figure 9, it can be seen that the free energy is constant, then almost linearly decreases. At very low temperatures, the only main contribution to the free energy is the zero point energy as this is temperature independent. At around 400 K (where the free energy starts to decrease). We can explain by looking at equation 4 as when the temperature increases, the entropic contribution increases. If we assume the internal energy doesn&#039;t change much with temperature, then the TS term will increase in magnitude and decrease the overall free energy term. By looking at equation 4, the vibrational contribution term (also entropic term) is a ln term which will be negative, and again, decrease the overall free energy with an increase in temperature. &lt;br /&gt;
In the graph of lattice parameter vs temperature, the lattice parameter is initially constant and then increases linearly, then exponentially.  After the exponential region, it can be assumed that the lattice parameter increases exponentially, presumably converging at the melting temperature, however this would need to be investigated to be confirmed. Using the quasi-harmonic approximation, this gives the potential a &#039;quasi-anharmonic&#039; shape, meaning that the bond length will actually change with temperature but will just never reach the point where it breaks. Although this doesn&#039;t allow phase transitions to be investigated, it does allow the lattice parameter as a function of temperature to be investigated.&lt;br /&gt;
&lt;br /&gt;
Using the Quasi Harmonic approximation, and fitting the data to get a line of best fit with a gradient of INSERT HERE which is equivalent to &amp;lt;math&amp;gt;\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt;. Multiplying by the reciprocal of the initial volume of the crystal, gives a thermal expansion coefficient for the region of 300-1300 K of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;. By taking the value from lower temperatures, this gives a higher accuracy compared to the &#039;real value&#039;. This is because of the computational model that is being used. This model is quasi-harmonic which is based on the harmonic model. The harmonic oscillator is infinite and the bond between two atoms infinitely extends. However, at high temperatures this is not the reality. The bonds extend and break which is shown by the anharmonic model. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot; class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 3: Thermal expansion coefficients&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Temperature range (K)&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Quasi-Harmonic&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Molecular Dynamics&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Literature&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;0-300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.042\times 10^{-5}^{[1]}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;300-1300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.140\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;4.000\times 10^{-5}^{[1]}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-0-300.png|thumb|centre|Figure 10: Quasi Harmonic approximation 0 -300 K ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-300-1300.png|thumb|centre|Figure 11:  Quasi Harmonic approximation 300-1300 K]]&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-Thermal-expansion-100-300.png|thumb|centre|Figure 12: Molecular Dynamics 100-300 K]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-300-1300.png|thumb|centre|Figure 13: Molecular Dynamics 300-1300 K]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from Table 3, at lower temperatures, the quasi-harmonic approximation gives a value closer to literature. This is because the quasi-harmonic approximation takes into account the zero point energy at lower temperatures which is the main contributing factor whereas molecular dynamics method doesn&#039;t giving a linear line much like the second temperature region - it only considers classical mechanics and not quantum mechanics like quasi-harmonic approximation which takes into account quantum effects such as the zero point energy. At lower temperatures, the molecular dynamics value had to be taken from the 100-300 K region as GULP gave an error at 0 K. This could be because molecular dynamics depends on the motion/velocity of the atoms. At 0 K, there is no motion meaning no information would be outputted, potentially giving an error. At higher temperatures, it can be seen that molecular dynamics gives a more accurate value compared to literature. This is because quasi-harmonic has a parabolic shape where the bond length increases exponentially with temperature. This means the bond length increases infinitely and the bond never breaks - the melting point can never be found using the quasi harmonic approximation. Quasi harmonic is, however, much more useful than simply a harmonic approximation as the average bond length stays at the bottom of the potential well in the harmonic oscillator potential meaning there&#039;s no difference in bond length at different temperatures.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Conclusion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;References&amp;lt;/h2&amp;gt;&lt;br /&gt;
[1] - Rao, A. S. M., &amp;amp; Narender, K. (2014). Studies on thermophysical properties of CaO and MgO by γ -ray attenuation. Journal of Thermodynamics, 2014. http://doi.org/10.1155/2014/123478&lt;br /&gt;
&amp;lt;br&amp;gt;[2] - Lecture 4: Vibrations and Free Energy N. M. Harrison Imperial College London&lt;/div&gt;</summary>
		<author><name>Ar3015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674416</id>
		<title>Rep:Ar3015MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674416"/>
		<updated>2018-02-28T08:43:24Z</updated>

		<summary type="html">&lt;p&gt;Ar3015: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h1&amp;gt;MgO Report - Antonia Reeves&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;Introduction&amp;lt;/h2&amp;gt;&lt;br /&gt;
In chemistry, it is much easier to treat crystals as rigid structures with set lattice points in unit cells. This can often hold as a good approximation at very low temperatures. However, this is obviously not the case. There are many different vibrations happening throughout the lattice structure leading to thermal expansion. These vibrations can be quantified by using a wave vector - this gives the direction of the propagation of the wave in reciprocal space. We use reciprocal space because FILL IN HERE. This report investigates the effect of temperature on vibrations and size of the lattice structure of MgO. The lattice structure of MgO is face centred cubic. &lt;br /&gt;
&amp;lt;h3&amp;gt;Phonons and phonon dispersions&amp;lt;/h3&amp;gt;&lt;br /&gt;
In quantum chemistry, vibrations can be treated as both particles and waves. When treating vibrations as particles - just as particles of light are photons - they are called phonons. This can be used and a plot of frequency against wave vector can be generated. This effectively gives a plot of the energy against the &#039;the way that vibrations move&#039; which is the k vector. As the phonon dispersion plot investigates the different ways vibrations can take place in the same time, if there were for example only a few atoms, this would give rise to only a few different k points. However, as an infinite lattice is being used, instead of giving quantised k points, a continuous line of k points can be generated, giving rise to a band. One band is called a branch. The number of branches is dependent on the number of different atoms in the lattice. In MgO lattice there are 2 atoms. Using the equation 3N (not 3N-6 as this takes into account rotational and translation degeneracy for single molecules that don&#039;t need to be considered for crystal vibrations) where N is the number of different atoms, this gives 6 branches which can be seen in the phonon dispersion plot in Figure 1. Using the dispersion plots are useful for seeing the frequency vs k vector as a whole, however, makes it difficult to determine pieces of information such as how many states are at a given frequency, and whether there is a direct or indirect band gap. This is simply one way of displaying all of the data - the same data can be displayed as a density of states. Instead of simply giving the angular frequency as a function of the wave vector, a plot of density of states can also show how many states have a given energy at each k vector point. This can show the energy difference in the band gap, and the most densely populated k-states more easily. In order to visualise the density of states, the phonon dispersion is &#039;chopped up&#039; into sections. The number of sections is determined by the grid size (these parameters can be changed in the GULP execution panel. In this, the frequencies at the edge of the grids are taken and plotted (only one side as not to repeat the counting of the frequencies). The higher the grid size, the greater the accuracy of the density of states as this allows a greater number of wave vectors to be sampled. The value of the grid size is called the shrinking factor.&lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal Expansion Coefficient&amp;lt;/h3&amp;gt;&lt;br /&gt;
Using the equation &amp;lt;math&amp;gt;\frac{1}{V_0}\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt; gives the thermal expansion coefficient. This value represents how much a given crystal expands with an increase in temperature.  The &amp;lt;math&amp;gt;\frac{1}{V_0}&amp;lt;/math&amp;gt; term to normalises this value so it can be applied to a crystal of any size which is composed of the same crystal. Below, the different computational methods that can be used to investigate how these properties change with temperature are used.&lt;br /&gt;
&amp;lt;h3&amp;gt;Software used&amp;lt;/h3&amp;gt;&lt;br /&gt;
DLVisualise is the programmed used for modelling crystals in simulations such as this and allows chemists to visualise properties of crystals such as vibrations, energy, volume  and calculates these using wavefunctions of crystals - GULP lets the particular codes for the simulations to be accessed for running simulations. GULP is better for quantum based calculations such as lattice dynamics over molecular dynamics. However force fields for molecular dynamics can still be used and calculate values to output thermodynamic data. &lt;br /&gt;
&amp;lt;h3&amp;gt;Harmonic and Quasi-Harmonic approximations&amp;lt;/h3&amp;gt;&lt;br /&gt;
The harmonic oscillator is simply a taylor expansion of anhmarmonic potential. The harmonic oscillator takes the third term (quadratic term) giving the easily the harmonic oscillator parabola. When looking at harmonic potential energies, as the temperature is changed, the average bond length stays at an equilibrium point and therefore the volume of the crystal doesn&#039;t change. This means that although this approximation works well at lower temperatures as there is little change in volume at low temperatures in reality, at higher temperatures, harmonic and anharmonic (which is a much more realistic model) deviate a lot, giving unreliable data for higher temperatures. A compromise between harmonic which isn&#039;t a very reliable approximation as it only uses 3 terms from the taylor series expansion and using an anharmonic which uses many terms and will be very expensive is using a quasi-harmonic approximation. In the helmholtz free energy equations, the differences in the equations for harmonic and quasi-harmonic plots are in the frequency term. In a harmonic system, equation 3 would be used as the potential. However as the quasi harmonic system is being examined, within the brillouin zone &amp;lt;math&amp;gt;-\pi &amp;lt; k &amp;lt; \pi &amp;lt;/math&amp;gt; equation 1 can be used. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{4J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 1)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{2J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 2)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{1}{2\pi}){\frac{k}{\mu}}^{\frac{1}{2}} &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 3)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Helmholtz Free Energy&amp;lt;/h3&amp;gt;&lt;br /&gt;
[[File:Screen_Shot_2018-02-27_at_10.12.39.png|thumb|centre|Eq. 4]]&lt;br /&gt;
A = U - TS&lt;br /&gt;
In order to look at the energy of the vibrational modes, we use the vibrational contribution to the entropy using statistical thermodynamics and the partition coefficient. &lt;br /&gt;
The first term of equation 4 is the internal energy, the second term is the zero point energy (energy at 0K) and the final term is the statistical thermodynamics contribution - the contribution to the energy from the different vibrations.&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
The molecular dynamics method takes the values from the ideal MgO crystal, then when we change the parameters, generate random velocities. This process is repeated at each time step (each a microstate) then all of the microstates are averaged. An average of all of the microstates is carried out, when enough microstates have been sampled, they start to converge and properties of the crystal can start to be measured such as energy and volume. One of the main differences between the quasi-harmonic approximation and molecular dynamics is that quasi-harmonics uses quantum mechanics to calculate the volumes (the change in bond length) and molecular dynamics uses classical mechanics. When sampling a configuration, there needs to be enough time for the values to converge. This is where the length of the timesteps come into play - getting a more accurate value means that the calculations will take much longer and therefore be more expensive. &lt;br /&gt;
&amp;lt;h2&amp;gt;Method&amp;lt;/h2&amp;gt;&lt;br /&gt;
For all of the calculations, the GUI DLVisualise was used. For all calculations, the execute GULP panel was brought up and in the GULP potential parameters, ionic.lib was used and include shells was not included. &lt;br /&gt;
&amp;lt;h3&amp;gt;Lattice vibrations -Computing the phonons&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected, and then run was pressed. Once the job has completed, this shows in the job list and the files were recovered. The energy could be found in the log file under Total Free Energy. &lt;br /&gt;
[[File:MgO_phonon_1.PNG|thumb|centre|Figure 1: MgO Phonon dispersion ]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Calculating the free energy in the Harmonic approximation&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected. Under General Opts, phonon dispersion was selected with N points set to 50 and calculate phonon eigenvectors was selected, so that specific points in k-space (relating to the origin, x direction vectors being in phase etc.) are represented with greek letters. The files were recovered and the phonon dispersion was displayed using the 1D data display. &lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal expansion of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
The settings used for this calculation were, select phonon DOS, change shrinking factor to 20x20x20 and set the temperature from 0-3000 K in 100 K intervals. For each temperature, the free energy and lattice volume were taken from the log file. The volumes were multiplied by 4 as the volume given in the log file is the primitive cell volume. This is also required to calculate the lattice parameter which is simply the cube root of the volume of a conventional cell. &lt;br /&gt;
[[File:MgO_DOS_16x16x16.PNG|thumb|centre|Figure 2: 16x16x16 MgO Density of states]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
For Molecular dynamics, a super cell which is twice the length on every side of the cell was used. This is so the cell is larger and is more similar to &#039;an infinite lattice&#039;. Molecular Dynamics option was selected on the execute panel, the NPT ensemble was chosen, the time step used was 1 femtosecond, equilibration steps of 500, production steps was set to 500 steps and sampling steps and trajectory write steps were set to 5. The temperature used went from 100-3000 K with 100 K interval steps. As the volume of the cell is different to the cell used in the quasi-harmonic approximation, the cell volume taken from the log file (the last average cell volume), the volume was divided by 8 to get the same volume as the conventional cell for the quasi-harmonic approximation.&lt;br /&gt;
&amp;lt;h2&amp;gt;Results and discussion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Phonon Modes of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
When the density of states for calculated for a single k point, it can be worked out by examining the phonon dispersion which k point this is. In this case, the point is L as there are only 4 peaks (2 that have double the intensity due to the double degeneracy) and at L there are only 4 branches where we would expect 6 (due to 3N to calculate number of vibrational branches expected). This can also be seen by comparing the frequencies of the peaks in the 1x1x1 DOS and the frequency of the 4 branches at L. This can be checked in the log file as although the character L is useful for helping us to determine the symmetry of the modes of vibrations, it&#039;s always useful to numerically quantify values. This is simply in the row &#039;K point&#039; where the K point is 0.5. It&#039;s important that it can be viewed in the log file as on the phonon dispersion, only greek characters which represent different k points can be seen and it&#039;s not always obvious what numerical value goes with each character. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 1: Density of states - accuracy improved with increased shrinking factor&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_1.PNG|thumb|centre|Figure 3: MgO Density of States 1x1x1 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_3x3x3.PNG|thumb|centre|Figure 4: MgO Density of States 3x3x3 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_8x8x8.PNG|thumb|centre|Figure 5: MgO Density of States 8x8x8 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_32x32x32.PNG|thumb|centre|Figure 6: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from the progression in grid size that as the grid size increases, although the peaks with the greatest intensity stay in the same place, the shape of the density of states becomes much more defined and includes information on the states at k-points even where there is a lower number of states. When looking at the difference between grid sizes qualitatively, there isn&#039;t much of a difference between 8x8x8 and 32x32x32 apart from there is a more continuous curve with the same shape. It seems that a grid size of approximately 12x12x12 would be the minimum grid size as this is the grid size at which all k points are sampled and there aren&#039;t k-points with an angular frequency of 0 which then have non-zero values of angular frequencies at higher grid sizes. However, when deciding qualitatively, the convergence of the free energy can be used. At 20x20x20 and 6 decimal places, the free energy converges suggesting this is the optimum grid size to use. The density of states in terms of the phonon dispersion curve is basically plotting how many k points there are per value of angular frequency. This can be seen more easily by placing them side by side as seen in Figure 7&lt;br /&gt;
[[File:28548481_10215289272734952_157509358_o.jpg|thumb|centre|700px|Figure 7: MgO Density of states and phonon dispersion]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 2: Free energy changing with grid size&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Grid size&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Free energy (eV)&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;1&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-41.07531759&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;2&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926609&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;3&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926432&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;4&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.92645&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;5&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926463&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;6&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926471&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;7&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926475&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;8&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926478&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;12&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926481&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;16&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926482&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;20&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;32&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In order to determine a suitable shrinking factor, a number of grid sizes were investigated with the highest being 32x32x32. As having a higher shrinking factor takes longer and more processing power (leads to being more expensive), choosing the shrinking factor becomes a compromise between time and accuracy. As can be seen from the plot, in Figure [X], and a subsequent calculation to check this, the Helmholtz free energy stops changing after a grid size of 20x20x20 so this seemed like a reasonable value to use as not to compromise the accuracy for a quicker run time.&lt;br /&gt;
As can be seen in TABLE 2, after the grid size is 20x20x20, the values have converged and don&#039;t change (when looking at 6 decimal places, it may be changing beyond 6 decimal places). This is optimal as it reduces the computing power needed for a calculation whilst retaining almost the same level of accuracy. Using a grid size of 3x3x3 will gives a suitable energy for calculations accurate to 1 meV, REMEMBER TO DO 0.5mEV!!!!!!!! and a grid size of 5 gives a suitable energy for calculations accurate to 0.1 meV.&lt;br /&gt;
&amp;lt;h3&amp;gt;Quasi-Harmonic Thermal expansion&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Lattice_Parameter_Graph.png|thumb|centre|Figure 8: Lattice parameter vs temperature]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Free_energy_vs_T.png|thumb|centre|Figure 9: Free energy vs temperature]]&amp;lt;/th&amp;gt; &lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In Figure 9, it can be seen that the free energy is constant, then almost linearly decreases. At very low temperatures, the only main contribution to the free energy is the zero point energy as this is temperature independent. At around 400 K (where the free energy starts to decrease). We can explain by looking at equation 4 as when the temperature increases, the entropic contribution increases. If we assume the internal energy doesn&#039;t change much with temperature, then the TS term will increase in magnitude and decrease the overall free energy term. By looking at equation 4, the vibrational contribution term (also entropic term) is a ln term which will be negative, and again, decrease the overall free energy with an increase in temperature. &lt;br /&gt;
In the graph of lattice parameter vs temperature, the lattice parameter is initially constant and then increases linearly, then exponentially.  After the exponential region, it can be assumed that the lattice parameter increases exponentially, presumably converging at the melting temperature, however this would need to be investigated to be confirmed. Using the quasi-harmonic approximation, this gives the potential a &#039;quasi-anharmonic&#039; shape, meaning that the bond length will actually change with temperature but will just never reach the point where it breaks. Although this doesn&#039;t allow phase transitions to be investigated, it does allow the lattice parameter as a function of temperature to be investigated.&lt;br /&gt;
&lt;br /&gt;
Using the Quasi Harmonic approximation, and fitting the data to get a line of best fit with a gradient of INSERT HERE which is equivalent to &amp;lt;math&amp;gt;\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt;. Multiplying by the reciprocal of the initial volume of the crystal, gives a thermal expansion coefficient for the region of 300-1300 K of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;. By taking the value from lower temperatures, this gives a higher accuracy compared to the &#039;real value&#039;. This is because of the computational model that is being used. This model is quasi-harmonic which is based on the harmonic model. The harmonic oscillator is infinite and the bond between two atoms infinitely extends. However, at high temperatures this is not the reality. The bonds extend and break which is shown by the anharmonic model. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot; class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 3: Thermal expansion coefficients&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Temperature range (K)&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Quasi-Harmonic&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Molecular Dynamics&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Literature&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;0-300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.042\times 10^{-5}^{[1]}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;300-1300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.140\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;4.000\times 10^{-5}^{[1]}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-0-300.png|thumb|centre|Figure 10: Quasi Harmonic approximation 0 -300 K ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-300-1300.png|thumb|centre|Figure 11:  Quasi Harmonic approximation 300-1300 K]]&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-Thermal-expansion-100-300.png|thumb|centre|Figure 12: Molecular Dynamics 100-300 K]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-300-1300.png|thumb|centre|Figure 13: Molecular Dynamics 300-1300 K]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from Table 3, at lower temperatures, the quasi-harmonic approximation gives a value closer to literature. This is because the quasi-harmonic approximation takes into account the zero point energy at lower temperatures which is the main contributing factor whereas molecular dynamics method doesn&#039;t giving a linear line much like the second temperature region - it only considers classical mechanics and not quantum mechanics like quasi-harmonic approximation which takes into account quantum effects such as the zero point energy. At lower temperatures, the molecular dynamics value had to be taken from the 100-300 K region as GULP gave an error at 0 K. This could be because molecular dynamics depends on the motion/velocity of the atoms. At 0 K, there is no motion meaning no information would be outputted, potentially giving an error. At higher temperatures, it can be seen that molecular dynamics gives a more accurate value compared to literature. This is because quasi-harmonic has a parabolic shape where the bond length increases exponentially with temperature. This means the bond length increases infinitely and the bond never breaks - the melting point can never be found using the quasi harmonic approximation. Quasi harmonic is, however, much more useful than simply a harmonic approximation as the average bond length stays at the bottom of the potential well in the harmonic oscillator potential meaning there&#039;s no difference in bond length at different temperatures.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Conclusion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;References&amp;lt;/h2&amp;gt;&lt;br /&gt;
[1] - Rao, A. S. M., &amp;amp; Narender, K. (2014). Studies on thermophysical properties of CaO and MgO by γ -ray attenuation. Journal of Thermodynamics, 2014. http://doi.org/10.1155/2014/123478&lt;br /&gt;
[2] - Lecture 4: Vibrations and Free Energy N. M. Harrison Imperial College London&lt;/div&gt;</summary>
		<author><name>Ar3015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674067</id>
		<title>Rep:Ar3015MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674067"/>
		<updated>2018-02-28T00:01:16Z</updated>

		<summary type="html">&lt;p&gt;Ar3015: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h1&amp;gt;MgO Report - Antonia Reeves&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;Introduction&amp;lt;/h2&amp;gt;&lt;br /&gt;
In chemistry, it is much easier to treat crystals as rigid structures with set lattice points in unit cells. This can often hold as a good approximation at very low temperatures. However, this is obviously not the case. There are many different vibrations happening throughout the lattice structure leading to thermal expansion. These vibrations can be quantified by using a wave vector - this gives the direction of the propagation of the wave in reciprocal space. We use reciprocal space because FILL IN HERE. This report investigates the effect of temperature on vibrations and size of the lattice structure of MgO. The lattice structure of MgO is face centred cubic. &lt;br /&gt;
&amp;lt;h3&amp;gt;Phonons and phonon dispersions&amp;lt;/h3&amp;gt;&lt;br /&gt;
In quantum chemistry, vibrations can be treated as both particles and waves. When treating vibrations as particles - just as particles of light are photons - they are called phonons. This can be used and a plot of frequency against wave vector can be generated. This effectively gives a plot of the energy against the &#039;the way that vibrations move&#039; which is the k vector. As the phonon dispersion plot investigates the different ways vibrations can take place in the same time, if there were for example only a few atoms, this would give rise to only a few different k points. However, as an infinite lattice is being used, instead of giving quantised k points, a continuous line of k points can be generated, giving rise to a band. One band is called a branch. The number of branches is dependent on the number of different atoms in the lattice. In MgO lattice there are 2 atoms. Using the equation 3N (not 3N-6 as this takes into account rotational and translation degeneracy for single molecules that don&#039;t need to be considered for crystal vibrations) where N is the number of different atoms, this gives 6 branches which can be seen in the phonon dispersion plot in Figure 1. Using the dispersion plots are useful for seeing the frequency vs k vector as a whole, however, makes it difficult to determine pieces of information such as how many states are at a given frequency, and whether there is a direct or indirect band gap. This is simply one way of displaying all of the data - the same data can be displayed as a density of states. Instead of simply giving the angular frequency as a function of the wave vector, a plot of density of states can also show how many states have a given energy at each k vector point. This can show the energy difference in the band gap, and the most densely populated k-states more easily. In order to visualise the density of states, the phonon dispersion is &#039;chopped up&#039; into sections. The number of sections is determined by the grid size (these parameters can be changed in the GULP execution panel. In this, the frequencies at the edge of the grids are taken and plotted (only one side as not to repeat the counting of the frequencies). The higher the grid size, the greater the accuracy of the density of states as this allows a greater number of wave vectors to be sampled. The value of the grid size is called the shrinking factor.&lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal Expansion Coefficient&amp;lt;/h3&amp;gt;&lt;br /&gt;
Using the equation &amp;lt;math&amp;gt;\frac{1}{V_0}\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt; gives the thermal expansion coefficient. This value represents how much a given crystal expands with an increase in temperature.  The &amp;lt;math&amp;gt;\frac{1}{V_0}&amp;lt;/math&amp;gt; term to normalises this value so it can be applied to a crystal of any size which is composed of the same crystal. Below, the different computational methods that can be used to investigate how these properties change with temperature are used.&lt;br /&gt;
&amp;lt;h3&amp;gt;Software used&amp;lt;/h3&amp;gt;&lt;br /&gt;
DLVisualise is the programmed used for modelling crystals in simulations such as this and allows chemists to visualise properties of crystals such as vibrations, energy, volume  and calculates these using wavefunctions of crystals - GULP lets the particular codes for the simulations to be accessed for running simulations. GULP is better for quantum based calculations such as lattice dynamics over molecular dynamics. However force fields for molecular dynamics can still be used and calculate values to output thermodynamic data. &lt;br /&gt;
&amp;lt;h3&amp;gt;Harmonic and Quasi-Harmonic approximations&amp;lt;/h3&amp;gt;&lt;br /&gt;
The harmonic oscillator is simply a taylor expansion of anhmarmonic potential. The harmonic oscillator takes the third term (quadratic term) giving the easily the harmonic oscillator parabola. When looking at harmonic potential energies, as the temperature is changed, the average bond length stays at an equilibrium point and therefore the volume of the crystal doesn&#039;t change. This means that although this approximation works well at lower temperatures as there is little change in volume at low temperatures in reality, at higher temperatures, harmonic and anharmonic (which is a much more realistic model) deviate a lot, giving unreliable data for higher temperatures. A compromise between harmonic which isn&#039;t a very reliable approximation as it only uses 3 terms from the taylor series expansion and using an anharmonic which uses many terms and will be very expensive is using a quasi-harmonic approximation. In the helmholtz free energy equations, the differences in the equations for harmonic and quasi-harmonic plots are in the frequency term. In a harmonic system, equation 3 would be used as the potential. However as the quasi harmonic system is being examined, within the brillouin zone &amp;lt;math&amp;gt;-\pi &amp;lt; k &amp;lt; \pi &amp;lt;/math&amp;gt; equation 1 can be used. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{4J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 1)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{2J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 2)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{1}{2\pi}){\frac{k}{\mu}}^{\frac{1}{2}} &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 3)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Helmholtz Free Energy&amp;lt;/h3&amp;gt;&lt;br /&gt;
[[File:Screen_Shot_2018-02-27_at_10.12.39.png|thumb|centre|Eq. 4]]&lt;br /&gt;
A = U - TS&lt;br /&gt;
In order to look at the energy of the vibrational modes, we use the vibrational contribution to the entropy using statistical thermodynamics and the partition coefficient. &lt;br /&gt;
The first term of equation 4 is the internal energy, the second term is the zero point energy (energy at 0K) and the final term is the statistical thermodynamics contribution - the contribution to the energy from the different vibrations.&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
The molecular dynamics method takes the values from the ideal MgO crystal, then when we change the parameters, generate random velocities. This process is repeated at each time step (each a microstate) then all of the microstates are averaged. An average of all of the microstates is carried out, when enough microstates have been sampled, they start to converge and properties of the crystal can start to be measured such as energy and volume. One of the main differences between the quasi-harmonic approximation and molecular dynamics is that quasi-harmonics uses quantum mechanics to calculate the volumes (the change in bond length) and molecular dynamics uses classical mechanics. When sampling a configuration, there needs to be enough time for the values to converge. This is where the length of the timesteps come into play - getting a more accurate value means that the calculations will take much longer and therefore be more expensive. &lt;br /&gt;
&amp;lt;h2&amp;gt;Method&amp;lt;/h2&amp;gt;&lt;br /&gt;
For all of the calculations, the GUI DLVisualise was used. For all calculations, the execute GULP panel was brought up and in the GULP potential parameters, ionic.lib was used and include shells was not included. &lt;br /&gt;
&amp;lt;h3&amp;gt;Lattice vibrations -Computing the phonons&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected, and then run was pressed. Once the job has completed, this shows in the job list and the files were recovered. The energy could be found in the log file under Total Free Energy. &lt;br /&gt;
[[File:MgO_phonon_1.PNG|thumb|centre|Figure 1: MgO Phonon dispersion ]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Calculating the free energy in the Harmonic approximation&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected. Under General Opts, phonon dispersion was selected with N points set to 50 and calculate phonon eigenvectors was selected, so that specific points in k-space (relating to the origin, x direction vectors being in phase etc.) are represented with greek letters. The files were recovered and the phonon dispersion was displayed using the 1D data display. &lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal expansion of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
The settings used for this calculation were, select phonon DOS, change shrinking factor to 20x20x20 and set the temperature from 0-3000 K in 100 K intervals. For each temperature, the free energy and lattice volume were taken from the log file. The volumes were multiplied by 4 as the volume given in the log file is the primitive cell volume. This is also required to calculate the lattice parameter which is simply the cube root of the volume of a conventional cell. &lt;br /&gt;
[[File:MgO_DOS_16x16x16.PNG|thumb|centre|Figure 2: 16x16x16 MgO Density of states]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
For Molecular dynamics, a super cell which is twice the length on every side of the cell was used. This is so the cell is larger and is more similar to &#039;an infinite lattice&#039;. Molecular Dynamics option was selected on the execute panel, the NPT ensemble was chosen, the time step used was 1 femtosecond, equilibration steps of 500, production steps was set to 500 steps and sampling steps and trajectory write steps were set to 5. The temperature used went from 100-3000 K with 100 K interval steps. As the volume of the cell is different to the cell used in the quasi-harmonic approximation, the cell volume taken from the log file (the last average cell volume), the volume was divided by 8 to get the same volume as the conventional cell for the quasi-harmonic approximation.&lt;br /&gt;
&amp;lt;h2&amp;gt;Results and discussion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Phonon Modes of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
When the density of states for calculated for a single k point, it can be worked out by examining the phonon dispersion which k point this is. In this case, the point is L as there are only 4 peaks (2 that have double the intensity due to the double degeneracy) and at L there are only 4 branches where we would expect 6 (due to 3N to calculate number of vibrational branches expected). This can also be seen by comparing the frequencies of the peaks in the 1x1x1 DOS and the frequency of the 4 branches at L. This can be checked in the log file as although the character L is useful for helping us to determine the symmetry of the modes of vibrations, it&#039;s always useful to numerically quantify values. This is simply in the row &#039;K point&#039; where the K point is 0.5. It&#039;s important that it can be viewed in the log file as on the phonon dispersion, only greek characters which represent different k points can be seen and it&#039;s not always obvious what numerical value goes with each character. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 1: Density of states - accuracy improved with increased shrinking factor&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_1.PNG|thumb|centre|Figure 3: MgO Density of States 1x1x1 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_3x3x3.PNG|thumb|centre|Figure 4: MgO Density of States 3x3x3 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_8x8x8.PNG|thumb|centre|Figure 5: MgO Density of States 8x8x8 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_32x32x32.PNG|thumb|centre|Figure 6: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from the progression in grid size that as the grid size increases, although the peaks with the greatest intensity stay in the same place, the shape of the density of states becomes much more defined and includes information on the states at k-points even where there is a lower number of states. When looking at the difference between grid sizes qualitatively, there isn&#039;t much of a difference between 8x8x8 and 32x32x32 apart from there is a more continuous curve with the same shape. It seems that a grid size of approximately 12x12x12 would be the minimum grid size as this is the grid size at which all k points are sampled and there aren&#039;t k-points with an angular frequency of 0 which then have non-zero values of angular frequencies at higher grid sizes. However, when deciding qualitatively, the convergence of the free energy can be used. At 20x20x20 and 6 decimal places, the free energy converges suggesting this is the optimum grid size to use. The density of states in terms of the phonon dispersion curve is basically plotting how many k points there are per value of angular frequency. This can be seen more easily by placing them side by side as seen in Figure 7&lt;br /&gt;
[[File:28548481_10215289272734952_157509358_o.jpg|thumb|centre|700px|Figure 7: MgO Density of states and phonon dispersion]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 2: Free energy changing with grid size&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Grid size&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Free energy (eV)&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;1&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-41.07531759&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;2&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926609&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;3&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926432&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;4&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.92645&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;5&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926463&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;6&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926471&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;7&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926475&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;8&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926478&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;12&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926481&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;16&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926482&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;20&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;32&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In order to determine a suitable shrinking factor, a number of grid sizes were investigated with the highest being 32x32x32. As having a higher shrinking factor takes longer and more processing power (leads to being more expensive), choosing the shrinking factor becomes a compromise between time and accuracy. As can be seen from the plot, in Figure [X], and a subsequent calculation to check this, the Helmholtz free energy stops changing after a grid size of 20x20x20 so this seemed like a reasonable value to use as not to compromise the accuracy for a quicker run time.&lt;br /&gt;
As can be seen in TABLE 2, after the grid size is 20x20x20, the values have converged and don&#039;t change (when looking at 6 decimal places, it may be changing beyond 6 decimal places). This is optimal as it reduces the computing power needed for a calculation whilst retaining almost the same level of accuracy. Using a grid size of 3x3x3 will gives a suitable energy for calculations accurate to 1 meV, REMEMBER TO DO 0.5mEV!!!!!!!! and a grid size of 5 gives a suitable energy for calculations accurate to 0.1 meV.&lt;br /&gt;
&amp;lt;h3&amp;gt;Quasi-Harmonic Thermal expansion&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Lattice_Parameter_Graph.png|thumb|centre|Figure 8: Lattice parameter vs temperature]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Free_energy_vs_T.png|thumb|centre|Figure 9: Free energy vs temperature]]&amp;lt;/th&amp;gt; &lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In Figure 9, it can be seen that the free energy is constant, then almost linearly decreases. At very low temperatures, the only main contribution to the free energy is the zero point energy as this is temperature independent. At around 400 K (where the free energy starts to decrease). We can explain by looking at equation 4 as when the temperature increases, the entropic contribution increases. If we assume the internal energy doesn&#039;t change much with temperature, then the TS term will increase in magnitude and decrease the overall free energy term. By looking at equation 4, the vibrational contribution term (also entropic term) is a ln term which will be negative, and again, decrease the overall free energy with an increase in temperature. &lt;br /&gt;
In the graph of lattice parameter vs temperature, the lattice parameter is initially constant and then increases linearly, then exponentially.  After the exponential region, it can be assumed that the lattice parameter increases exponentially, presumably converging at the melting temperature, however this would need to be investigated to be confirmed. Using the quasi-harmonic approximation, this gives the potential a &#039;quasi-anharmonic&#039; shape, meaning that the bond length will actually change with temperature but will just never reach the point where it breaks. Although this doesn&#039;t allow phase transitions to be investigated, it does allow the lattice parameter as a function of temperature to be investigated.&lt;br /&gt;
&lt;br /&gt;
Using the Quasi Harmonic approximation, and fitting the data to get a line of best fit with a gradient of INSERT HERE which is equivalent to &amp;lt;math&amp;gt;\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt;. Multiplying by the reciprocal of the initial volume of the crystal, gives a thermal expansion coefficient for the region of 300-1300 K of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;. By taking the value from lower temperatures, this gives a higher accuracy compared to the &#039;real value&#039;. This is because of the computational model that is being used. This model is quasi-harmonic which is based on the harmonic model. The harmonic oscillator is infinite and the bond between two atoms infinitely extends. However, at high temperatures this is not the reality. The bonds extend and break which is shown by the anharmonic model. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot; class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 3: Thermal expansion coefficients&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Temperature range (K)&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Quasi-Harmonic&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Molecular Dynamics&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Literature&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;0-300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.042\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;300-1300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.140\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;4.000\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-0-300.png|thumb|centre|Figure 10: Quasi Harmonic approximation 0 -300 K ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-300-1300.png|thumb|centre|Figure 11:  Quasi Harmonic approximation 300-1300 K]]&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-Thermal-expansion-100-300.png|thumb|centre|Figure 12: Molecular Dynamics 100-300 K]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-300-1300.png|thumb|centre|Figure 13: Molecular Dynamics 300-1300 K]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from Table 3, at lower temperatures, the quasi-harmonic approximation gives a value closer to literature. This is because the quasi-harmonic approximation takes into account the zero point energy at lower temperatures which is the main contributing factor whereas molecular dynamics method doesn&#039;t giving a linear line much like the second temperature region - it only considers classical mechanics and not quantum mechanics like quasi-harmonic approximation which takes into account quantum effects such as the zero point energy. At lower temperatures, the molecular dynamics value had to be taken from the 100-300 K region as GULP gave an error at 0 K. This could be because molecular dynamics depends on the motion/velocity of the atoms. At 0 K, there is no motion meaning no information would be outputted, potentially giving an error. At higher temperatures, it can be seen that molecular dynamics gives a more accurate value compared to literature. This is because quasi-harmonic has a parabolic shape where the bond length increases exponentially with temperature. This means the bond length increases infinitely and the bond never breaks - the melting point can never be found using the quasi harmonic approximation. Quasi harmonic is, however, much more useful than simply a harmonic approximation as the average bond length stays at the bottom of the potential well in the harmonic oscillator potential meaning there&#039;s no difference in bond length at different temperatures.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Conclusion&amp;lt;/h2&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ar3015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674066</id>
		<title>Rep:Ar3015MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674066"/>
		<updated>2018-02-27T23:57:07Z</updated>

		<summary type="html">&lt;p&gt;Ar3015: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h1&amp;gt;MgO Report - Antonia Reeves&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;Introduction&amp;lt;/h2&amp;gt;&lt;br /&gt;
In chemistry, it is much easier to treat crystals as rigid structures with set lattice points in unit cells. This can often hold as a good approximation at very low temperatures. However, this is obviously not the case. There are many different vibrations happening throughout the lattice structure leading to thermal expansion. These vibrations can be quantified by using a wave vector - this gives the direction of the propagation of the wave in reciprocal space. We use reciprocal space because FILL IN HERE. This report investigates the effect of temperature on vibrations and size of the lattice structure of MgO. The lattice structure of MgO is face centred cubic. &lt;br /&gt;
&amp;lt;h3&amp;gt;Phonons and phonon dispersions&amp;lt;/h3&amp;gt;&lt;br /&gt;
In quantum chemistry, vibrations can be treated as both particles and waves. When treating vibrations as particles - just as particles of light are photons - they are called phonons. This can be used and a plot of frequency against wave vector can be generated. This effectively gives a plot of the energy against the &#039;the way that vibrations move&#039; which is the k vector. As the phonon dispersion plot investigates the different ways vibrations can take place in the same time, if there were for example only a few atoms, this would give rise to only a few different k points. However, as an infinite lattice is being used, instead of giving quantised k points, a continuous line of k points can be generated, giving rise to a band. One band is called a branch. The number of branches is dependent on the number of different atoms in the lattice. In MgO lattice there are 2 atoms. Using the equation 3N (not 3N-6 as this takes into account rotational and translation degeneracy for single molecules that don&#039;t need to be considered for crystal vibrations) where N is the number of different atoms, this gives 6 branches which can be seen in the phonon dispersion plot in Figure 1. Using the dispersion plots are useful for seeing the frequency vs k vector as a whole, however, makes it difficult to determine pieces of information such as how many states are at a given frequency, and whether there is a direct or indirect band gap. This is simply one way of displaying all of the data - the same data can be displayed as a density of states. Instead of simply giving the angular frequency as a function of the wave vector, a plot of density of states can also show how many states have a given energy at each k vector point. This can show the energy difference in the band gap, and the most densely populated k-states more easily. In order to visualise the density of states, the phonon dispersion is &#039;chopped up&#039; into sections. The number of sections is determined by the grid size (these parameters can be changed in the GULP execution panel. In this, the frequencies at the edge of the grids are taken and plotted (only one side as not to repeat the counting of the frequencies). The higher the grid size, the greater the accuracy of the density of states as this allows a greater number of wave vectors to be sampled. The value of the grid size is called the shrinking factor.&lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal Expansion Coefficient&amp;lt;/h3&amp;gt;&lt;br /&gt;
Using the equation &amp;lt;math&amp;gt;\frac{1}{V_0}\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt; gives the thermal expansion coefficient. This value represents how much a given crystal expands with an increase in temperature.  The &amp;lt;math&amp;gt;\frac{1}{V_0}&amp;lt;/math&amp;gt; term to normalises this value so it can be applied to a crystal of any size which is composed of the same crystal. Below, the different computational methods that can be used to investigate how these properties change with temperature are used.&lt;br /&gt;
&amp;lt;h3&amp;gt;Software used&amp;lt;/h3&amp;gt;&lt;br /&gt;
DLVisualise is the programmed used for modelling crystals in simulations such as this and allows chemists to visualise properties of crystals such as vibrations, energy, volume  and calculates these using wavefunctions of crystals - GULP lets the particular codes for the simulations to be accessed for running simulations. GULP is better for quantum based calculations such as lattice dynamics over molecular dynamics. However force fields for molecular dynamics can still be used and calculate values to output thermodynamic data. &lt;br /&gt;
&amp;lt;h3&amp;gt;Harmonic and Quasi-Harmonic approximations&amp;lt;/h3&amp;gt;&lt;br /&gt;
The harmonic oscillator is simply a taylor expansion of anhmarmonic potential. The harmonic oscillator takes the third term (quadratic term) giving the easily the harmonic oscillator parabola. When looking at harmonic potential energies, as the temperature is changed, the average bond length stays at an equilibrium point and therefore the volume of the crystal doesn&#039;t change. This means that although this approximation works well at lower temperatures as there is little change in volume at low temperatures in reality, at higher temperatures, harmonic and anharmonic (which is a much more realistic model) deviate a lot, giving unreliable data for higher temperatures. A compromise between harmonic which isn&#039;t a very reliable approximation as it only uses 3 terms from the taylor series expansion and using an anharmonic which uses many terms and will be very expensive is using a quasi-harmonic approximation. In the helmholtz free energy equations, the differences in the equations for harmonic and quasi-harmonic plots are in the frequency term. In a harmonic system, equation 3 would be used as the potential. However as the quasi harmonic system is being examined, within the brillouin zone &amp;lt;math&amp;gt;-\pi &amp;lt; k &amp;lt; \pi &amp;lt;/math&amp;gt; equation 1 can be used. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{4J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 1)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{2J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 2)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{1}{2\pi}){\frac{k}{\mu}}^{\frac{1}{2}} &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 3)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Helmholtz Free Energy&amp;lt;/h3&amp;gt;&lt;br /&gt;
[[File:Screen_Shot_2018-02-27_at_10.12.39.png|thumb|centre|Eq. 4]]&lt;br /&gt;
A = U - TS&lt;br /&gt;
In order to look at the energy of the vibrational modes, we use the vibrational contribution to the entropy using statistical thermodynamics and the partition coefficient. &lt;br /&gt;
The first term of equation 4 is the internal energy, the second term is the zero point energy (energy at 0K) and the final term is the statistical thermodynamics contribution - the contribution to the energy from the different vibrations.&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
The molecular dynamics method takes the values from the ideal MgO crystal, then when we change the parameters, generate random velocities. This process is repeated at each time step (each a microstate) then all of the microstates are averaged. An average of all of the microstates is carried out, when enough microstates have been sampled, they start to converge and properties of the crystal can start to be measured such as energy and volume. One of the main differences between the quasi-harmonic approximation and molecular dynamics is that quasi-harmonics uses quantum mechanics to calculate the volumes (the change in bond length) and molecular dynamics uses classical mechanics. When sampling a configuration, there needs to be enough time for the values to converge. This is where the length of the timesteps come into play - getting a more accurate value means that the calculations will take much longer and therefore be more expensive. &lt;br /&gt;
&amp;lt;h2&amp;gt;Method&amp;lt;/h2&amp;gt;&lt;br /&gt;
For all of the calculations, the GUI DLVisualise was used. For all calculations, the execute GULP panel was brought up and in the GULP potential parameters, ionic.lib was used and include shells was not included. &lt;br /&gt;
&amp;lt;h3&amp;gt;Lattice vibrations -Computing the phonons&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected, and then run was pressed. Once the job has completed, this shows in the job list and the files were recovered. The energy could be found in the log file under Total Free Energy. &lt;br /&gt;
[[File:MgO_phonon_1.PNG|thumb|centre|Figure 1: MgO Phonon dispersion ]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Calculating the free energy in the Harmonic approximation&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected. Under General Opts, phonon dispersion was selected with N points set to 50 and calculate phonon eigenvectors was selected, so that specific points in k-space (relating to the origin, x direction vectors being in phase etc.) are represented with greek letters. The files were recovered and the phonon dispersion was displayed using the 1D data display. &lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal expansion of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
The settings used for this calculation were, select phonon DOS, change shrinking factor to 20x20x20 and set the temperature from 0-3000 K in 100 K intervals. For each temperature, the free energy and lattice volume were taken from the log file. The volumes were multiplied by 4 as the volume given in the log file is the primitive cell volume. This is also required to calculate the lattice parameter which is simply the cube root of the volume of a conventional cell. &lt;br /&gt;
[[File:MgO_DOS_16x16x16.PNG|thumb|centre|Figure 2: 16x16x16 MgO Density of states]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
For Molecular dynamics, a super cell which is twice the length on every side of the cell was used. This is so the cell is larger and is more similar to &#039;an infinite lattice&#039;. Molecular Dynamics option was selected on the execute panel, the NPT ensemble was chosen, the time step used was 1 femtosecond, equilibration steps of 500, production steps was set to 500 steps and sampling steps and trajectory write steps were set to 5. The temperature used went from 100-3000 K with 100 K interval steps. As the volume of the cell is different to the cell used in the quasi-harmonic approximation, the cell volume taken from the log file (the last average cell volume), the volume was divided by 8 to get the same volume as the conventional cell for the quasi-harmonic approximation.&lt;br /&gt;
&amp;lt;h2&amp;gt;Results and discussion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Phonon Modes of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
When the density of states for calculated for a single k point, it can be worked out by examining the phonon dispersion which k point this is. In this case, the point is L as there are only 4 peaks (2 that have double the intensity due to the double degeneracy) and at L there are only 4 branches where we would expect 6 (due to 3N to calculate number of vibrational branches expected). This can also be seen by comparing the frequencies of the peaks in the 1x1x1 DOS and the frequency of the 4 branches at L. This can be checked in the log file as although the character L is useful for helping us to determine the symmetry of the modes of vibrations, it&#039;s always useful to numerically quantify values. This is simply in the row &#039;K point&#039; where the K point is 0.5. It&#039;s important that it can be viewed in the log file as on the phonon dispersion, only greek characters which represent different k points can be seen and it&#039;s not always obvious what numerical value goes with each character. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;caption&amp;gt;Table 1: Density of states - accuracy improved with increased shrinking factor&amp;lt;/caption&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_1.PNG|thumb|centre|Figure 3: MgO Density of States 1x1x1 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_3x3x3.PNG|thumb|centre|Figure 4: MgO Density of States 3x3x3 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_8x8x8.PNG|thumb|centre|Figure 5: MgO Density of States 8x8x8 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_32x32x32.PNG|thumb|centre|Figure 6: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from the progression in grid size that as the grid size increases, although the peaks with the greatest intensity stay in the same place, the shape of the density of states becomes much more defined and includes information on the states at k-points even where there is a lower number of states. When looking at the difference between grid sizes qualitatively, there isn&#039;t much of a difference between 8x8x8 and 32x32x32 apart from there is a more continuous curve with the same shape. It seems that a grid size of approximately 12x12x12 would be the minimum grid size as this is the grid size at which all k points are sampled and there aren&#039;t k-points with an angular frequency of 0 which then have non-zero values of angular frequencies at higher grid sizes. However, when deciding qualitatively, the convergence of the free energy can be used. At 20x20x20 and 6 decimal places, the free energy converges suggesting this is the optimum grid size to use. The density of states in terms of the phonon dispersion curve is basically plotting how many k points there are per value of angular frequency. This can be seen more easily by placing them side by side as seen in Figure 7&lt;br /&gt;
[[File:28548481_10215289272734952_157509358_o.jpg|thumb|centre|700px|Figure 7: MgO Density of states and phonon dispersion]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Grid size&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Free energy (eV)&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;1&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-41.07531759&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;2&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926609&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;3&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926432&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;4&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.92645&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;5&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926463&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;6&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926471&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;7&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926475&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;8&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926478&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;12&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926481&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;16&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926482&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;20&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;32&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In order to determine a suitable shrinking factor, a number of grid sizes were investigated with the highest being 32x32x32. As having a higher shrinking factor takes longer and more processing power (leads to being more expensive), choosing the shrinking factor becomes a compromise between time and accuracy. As can be seen from the plot, in Figure [X], and a subsequent calculation to check this, the Helmholtz free energy stops changing after a grid size of 20x20x20 so this seemed like a reasonable value to use as not to compromise the accuracy for a quicker run time.&lt;br /&gt;
INSERT TABLE HERE&lt;br /&gt;
As can be seen in TABLE X, after the grid size is 20x20x20, the values have converged and don&#039;t change (when looking at 6 decimal places, it may be changing beyond 6 decimal places). This is optimal as it reduces the computing power needed for a calculation whilst retaining almost the same level of accuracy. Using a grid size of 3x3x3 will gives a suitable energy for calculations accurate to 1 meV, REMEMBER TO DO 0.5mEV!!!!!!!! and a grid size of 5 gives a suitable energy for calculations accurate to 0.1 meV.&lt;br /&gt;
&amp;lt;h3&amp;gt;Quasi-Harmonic Thermal expansion&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Lattice_Parameter_Graph.png|thumb|centre|Figure 8: Lattice parameter vs temperature]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Free_energy_vs_T.png|thumb|centre|Figure 9: Free energy vs temperature]]&amp;lt;/th&amp;gt; &lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In Figure 9, it can be seen that the free energy is constant, then almost linearly decreases. At very low temperatures, the only main contribution to the free energy is the zero point energy as this is temperature independent. At around 400 K (where the free energy starts to decrease). We can explain by looking at equation 4 as when the temperature increases, the entropic contribution increases. If we assume the internal energy doesn&#039;t change much with temperature, then the TS term will increase in magnitude and decrease the overall free energy term. By looking at equation 4, the vibrational contribution term (also entropic term) is a ln term which will be negative, and again, decrease the overall free energy with an increase in temperature. &lt;br /&gt;
In the graph of lattice parameter vs temperature, the lattice parameter is initially constant and then increases linearly, then exponentially.  After the exponential region, it can be assumed that the lattice parameter increases exponentially, presumably converging at the melting temperature, however this would need to be investigated to be confirmed. Using the quasi-harmonic approximation, this gives the potential a &#039;quasi-anharmonic&#039; shape, meaning that the bond length will actually change with temperature but will just never reach the point where it breaks. Although this doesn&#039;t allow phase transitions to be investigated, it does allow the lattice parameter as a function of temperature to be investigated.&lt;br /&gt;
&lt;br /&gt;
Using the Quasi Harmonic approximation, and fitting the data to get a line of best fit with a gradient of INSERT HERE which is equivalent to &amp;lt;math&amp;gt;\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt;. Multiplying by the reciprocal of the initial volume of the crystal, gives a thermal expansion coefficient for the region of 300-1300 K of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;. By taking the value from lower temperatures, this gives a higher accuracy compared to the &#039;real value&#039;. This is because of the computational model that is being used. This model is quasi-harmonic which is based on the harmonic model. The harmonic oscillator is infinite and the bond between two atoms infinitely extends. However, at high temperatures this is not the reality. The bonds extend and break which is shown by the anharmonic model. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot; class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Temperature range (K)&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Quasi-Harmonic&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Molecular Dynamics&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Literature&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;0-300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.042\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;300-1300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.140\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;4.000\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-0-300.png|thumb|centre|Figure 10: Quasi Harmonic approximation 0 -300 K ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-300-1300.png|thumb|centre|Figure 11:  Quasi Harmonic approximation 300-1300 K]]&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-Thermal-expansion-100-300.png|thumb|centre|Figure 12: Molecular Dynamics 100-300 K]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-300-1300.png|thumb|centre|Figure 13: Molecular Dynamics 300-1300 K]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from Table X, at lower temperatures, the quasi-harmonic approximation gives a value closer to literature. This is because the quasi-harmonic approximation takes into account the zero point energy at lower temperatures which is the main contributing factor whereas molecular dynamics method doesn&#039;t giving a linear line much like the second temperature region - it only considers classical mechanics and not quantum mechanics like quasi-harmonic approximation which takes into account quantum effects such as the zero point energy. At lower temperatures, the molecular dynamics value had to be taken from the 100-300 K region as GULP gave an error at 0 K. This could be because molecular dynamics depends on the motion/velocity of the atoms. At 0 K, there is no motion meaning no information would be outputted, potentially giving an error. At higher temperatures, it can be seen that molecular dynamics gives a more accurate value compared to literature. This is because quasi-harmonic has a parabolic shape where the bond length increases exponentially with temperature. This means the bond length increases infinitely and the bond never breaks - the melting point can never be found using the quasi harmonic approximation. Quasi harmonic is, however, much more useful than simply a harmonic approximation as the average bond length stays at the bottom of the potential well in the harmonic oscillator potential meaning there&#039;s no difference in bond length at different temperatures.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Conclusion&amp;lt;/h2&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ar3015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674058</id>
		<title>Rep:Ar3015MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674058"/>
		<updated>2018-02-27T23:50:06Z</updated>

		<summary type="html">&lt;p&gt;Ar3015: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h1&amp;gt;MgO Report - Antonia Reeves&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;Introduction&amp;lt;/h2&amp;gt;&lt;br /&gt;
In chemistry, it is much easier to treat crystals as rigid structures with set lattice points in unit cells. This can often hold as a good approximation at very low temperatures. However, this is obviously not the case. There are many different vibrations happening throughout the lattice structure leading to thermal expansion. These vibrations can be quantified by using a wave vector - this gives the direction of the propagation of the wave in reciprocal space. We use reciprocal space because FILL IN HERE. This report investigates the effect of temperature on vibrations and size of the lattice structure of MgO. The lattice structure of MgO is face centred cubic. &lt;br /&gt;
&amp;lt;h3&amp;gt;Phonons and phonon dispersions&amp;lt;/h3&amp;gt;&lt;br /&gt;
In quantum chemistry, vibrations can be treated as both particles and waves. When treating vibrations as particles - just as particles of light are photons - they are called phonons. This can be used and a plot of frequency against wave vector can be generated. This effectively gives a plot of the energy against the &#039;the way that vibrations move&#039; which is the k vector. As the phonon dispersion plot investigates the different ways vibrations can take place in the same time, if there were for example only a few atoms, this would give rise to only a few different k points. However, as an infinite lattice is being used, instead of giving quantised k points, a continuous line of k points can be generated, giving rise to a band. One band is called a branch. The number of branches is dependent on the number of different atoms in the lattice. In MgO lattice there are 2 atoms. Using the equation 3N (not 3N-6 as this takes into account rotational and translation degeneracy for single molecules that don&#039;t need to be considered for crystal vibrations) where N is the number of different atoms, this gives 6 branches which can be seen in the phonon dispersion plot in Figure X. Using the dispersion plots are useful for seeing the frequency vs k vector as a whole, however, makes it difficult to determine pieces of information such as how many states are at a given frequency, and whether there is a direct or indirect band gap. This is simply one way of displaying all of the data - the same data can be displayed as a density of states. Instead of simply giving the angular frequency as a function of the wave vector, a plot of density of states can also show how many states have a given energy at each k vector point. This can show the energy difference in the band gap, and the most densely populated k-states more easily. In order to visualise the density of states, the phonon dispersion is &#039;chopped up&#039; into sections. The number of sections is determined by the grid size (these parameters can be changed in the GULP execution panel. In this, the frequencies at the edge of the grids are taken and plotted (only one side as not to repeat the counting of the frequencies). The higher the grid size, the greater the accuracy of the density of states as this allows a greater number of wave vectors to be sampled. The value of the grid size is called the shrinking factor.&lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal Expansion Coefficient&amp;lt;/h3&amp;gt;&lt;br /&gt;
Using the equation &amp;lt;math&amp;gt;\frac{1}{V_0}\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt; gives the thermal expansion coefficient. This value represents how much a given crystal expands with an increase in temperature.  The &amp;lt;math&amp;gt;\frac{1}{V_0}&amp;lt;/math&amp;gt; term to normalises this value so it can be applied to a crystal of any size which is composed of the same crystal. Below, the different computational methods that can be used to investigate how these properties change with temperature are used.&lt;br /&gt;
&amp;lt;h3&amp;gt;Software used&amp;lt;/h3&amp;gt;&lt;br /&gt;
DLVisualise is the programmed used for modelling crystals in simulations such as this and allows chemists to visualise properties of crystals such as vibrations, energy, volume  and calculates these using wavefunctions of crystals - GULP lets the particular codes for the simulations to be accessed for running simulations. GULP is better for quantum based calculations such as lattice dynamics over molecular dynamics. However force fields for molecular dynamics can still be used and calculate values to output thermodynamic data. &lt;br /&gt;
&amp;lt;h3&amp;gt;Harmonic and Quasi-Harmonic approximations&amp;lt;/h3&amp;gt;&lt;br /&gt;
The harmonic oscillator is simply a taylor expansion of anhmarmonic potential. The harmonic oscillator takes the third term (quadratic term) giving the easily the harmonic oscillator parabola. When looking at harmonic potential energies, as the temperature is changed, the average bond length stays at an equilibrium point and therefore the volume of the crystal doesn&#039;t change. This means that although this approximation works well at lower temperatures as there is little change in volume at low temperatures in reality, at higher temperatures, harmonic and anharmonic (which is a much more realistic model) deviate a lot, giving unreliable data for higher temperatures. A compromise between harmonic which isn&#039;t a very reliable approximation as it only uses 3 terms from the taylor series expansion and using an anharmonic which uses many terms and will be very expensive is using a quasi-harmonic approximation. In the helmholtz free energy equations, the differences in the equations for harmonic and quasi-harmonic plots are in the frequency term. In a harmonic system, equation 3 would be used as the potential. However as the quasi harmonic system is being examined, within the brillouin zone &amp;lt;math&amp;gt;-\pi &amp;lt; k &amp;lt; \pi &amp;lt;/math&amp;gt; equation 1 can be used. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{4J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 1)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{2J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 2)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{1}{2\pi}){\frac{k}{\mu}}^{\frac{1}{2}} &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 3)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Helmholtz Free Energy&amp;lt;/h3&amp;gt;&lt;br /&gt;
[[File:Screen_Shot_2018-02-27_at_10.12.39.png|thumb|centre|Eq. 4]]&lt;br /&gt;
A = U - TS&lt;br /&gt;
In order to look at the energy of the vibrational modes, we use the vibrational contribution to the entropy using statistical thermodynamics and the partition coefficient. &lt;br /&gt;
The first term of equation 4 is the internal energy, the second term is the zero point energy (energy at 0K) and the final term is the statistical thermodynamics contribution - the contribution to the energy from the different vibrations.&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
The molecular dynamics method takes the values from the ideal MgO crystal, then when we change the parameters, generate random velocities. This process is repeated at each time step (each a microstate) then all of the microstates are averaged. An average of all of the microstates is carried out, when enough microstates have been sampled, they start to converge and properties of the crystal can start to be measured such as energy and volume. One of the main differences between the quasi-harmonic approximation and molecular dynamics is that quasi-harmonics uses quantum mechanics to calculate the volumes (the change in bond length) and molecular dynamics uses classical mechanics. When sampling a configuration, there needs to be enough time for the values to converge. This is where the length of the timesteps come into play - getting a more accurate value means that the calculations will take much longer and therefore be more expensive. &lt;br /&gt;
&amp;lt;h2&amp;gt;Method&amp;lt;/h2&amp;gt;&lt;br /&gt;
For all of the calculations, the GUI DLVisualise was used. For all calculations, the execute GULP panel was brought up and in the GULP potential parameters, ionic.lib was used and include shells was not included. &lt;br /&gt;
&amp;lt;h3&amp;gt;Lattice vibrations -Computing the phonons&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected, and then run was pressed. Once the job has completed, this shows in the job list and the files were recovered. The energy could be found in the log file under Total Free Energy. &lt;br /&gt;
[[File:MgO_phonon_1.PNG|thumb|centre|Figure 1: MgO Phonon dispersion ]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Calculating the free energy in the Harmonic approximation&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected. Under General Opts, phonon dispersion was selected with N points set to 50 and calculate phonon eigenvectors was selected, so that specific points in k-space (relating to the origin, x direction vectors being in phase etc.) are represented with greek letters. The files were recovered and the phonon dispersion was displayed using the 1D data display. &lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal expansion of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
The settings used for this calculation were, select phonon DOS, change shrinking factor to 20x20x20 and set the temperature from 0-3000 K in 100 K intervals. For each temperature, the free energy and lattice volume were taken from the log file. The volumes were multiplied by BLAH as the volume given in the log file is the primitive cell volume. This is also required to calculate the lattice parameter which is simply the cube root of the volume of a conventional cell. &lt;br /&gt;
[[File:MgO_DOS_16x16x16.PNG|thumb|centre|Figure 2:]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
For Molecular dynamics, a super cell which is twice the length on every side of the cell was used. This is so the cell is larger and is more similar to &#039;an infinite lattice&#039;. Molecular Dynamics option was selected on the execute panel, the NPT ensemble was chosen, the time step used was 1 femtosecond, equilibration steps of 500, production steps was set to 500 steps and sampling steps and trajectory write steps were set to 5. The temperature used went from 100-3000 K with 100 K interval steps. As the volume of the cell is different to the cell used in the quasi-harmonic approximation, the cell volume taken from the log file (the last average cell volume), the volume was divided by 8 to get the same volume as the conventional cell for the quasi-harmonic approximation.&lt;br /&gt;
&amp;lt;h2&amp;gt;Results and discussion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Phonon Modes of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
When the density of states for calculated for a single k point, it can be worked out by examining the phonon dispersion which k point this is. In this case, the point is L as there are only 4 peaks (2 that have double the intensity due to the double degeneracy) and at L there are only 4 branches where we would expect 6 (due to 3N to calculate number of vibrational branches expected). This can also be seen by comparing the frequencies of the peaks in the 1x1x1 DOS and the frequency of the 4 branches at L. This can be checked in the log file as although the character L is useful for helping us to determine the symmetry of the modes of vibrations, it&#039;s always useful to numerically quantify values. This is simply in the row &#039;K point&#039; where the K point is 0.5. It&#039;s important that it can be viewed in the log file as on the phonon dispersion, only greek characters which represent different k points can be seen and it&#039;s not always obvious what numerical value goes with each character. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_1.PNG|thumb|centre|Figure 3: MgO Density of States 1x1x1 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_3x3x3.PNG|thumb|centre|Figure 4: MgO Density of States 3x3x3 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_8x8x8.PNG|thumb|centre|Figure 5: MgO Density of States 8x8x8 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_32x32x32.PNG|thumb|centre|Figure 6: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from the progression in grid size that as the grid size increases, although the peaks with the greatest intensity stay in the same place, the shape of the density of states becomes much more defined and includes information on the states at k-points even where there is a lower number of states. When looking at the difference between grid sizes qualitatively, there isn&#039;t much of a difference between 8x8x8 and 32x32x32 apart from there is a more continuous curve with the same shape. It seems that a grid size of approximately 12x12x12 would be the minimum grid size as this is the grid size at which all k points are sampled and there aren&#039;t k-points with an angular frequency of 0 which then have non-zero values of angular frequencies at higher grid sizes. However, when deciding qualitatively, the convergence of the free energy can be used. At 20x20x20 and 6 decimal places, the free energy converges suggesting this is the optimum grid size to use. The density of states in terms of the phonon dispersion curve is basically plotting how many k points there are per value of angular frequency. This can be seen more easily by placing them side by side as seen in Figure X&lt;br /&gt;
[[File:28548481_10215289272734952_157509358_o.jpg|thumb|centre|700px|Figure 7: MgO Density of states and phonon dispersion]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Grid size&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Free energy (eV)&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;1&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-41.07531759&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;2&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926609&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;3&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926432&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;4&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.92645&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;5&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926463&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;6&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926471&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;7&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926475&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;8&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926478&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;12&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926481&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;16&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926482&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;20&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;32&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In order to determine a suitable shrinking factor, a number of grid sizes were investigated with the highest being 32x32x32. As having a higher shrinking factor takes longer and more processing power (leads to being more expensive), choosing the shrinking factor becomes a compromise between time and accuracy. As can be seen from the plot, in Figure [X], and a subsequent calculation to check this, the Helmholtz free energy stops changing after a grid size of 20x20x20 so this seemed like a reasonable value to use as not to compromise the accuracy for a quicker run time.&lt;br /&gt;
INSERT TABLE HERE&lt;br /&gt;
As can be seen in TABLE X, after the grid size is 20x20x20, the values have converged and don&#039;t change (when looking at 6 decimal places, it may be changing beyond 6 decimal places). This is optimal as it reduces the computing power needed for a calculation whilst retaining almost the same level of accuracy. Using a grid size of 3x3x3 will gives a suitable energy for calculations accurate to 1 meV, REMEMBER TO DO 0.5mEV!!!!!!!! and a grid size of 5 gives a suitable energy for calculations accurate to 0.1 meV.&lt;br /&gt;
&amp;lt;h3&amp;gt;Quasi-Harmonic Thermal expansion&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Lattice_Parameter_Graph.png|thumb|centre|Figure 8: Lattice parameter vs temperature]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Free_energy_vs_T.png|thumb|centre|Figure 9: Free energy vs temperature]]&amp;lt;/th&amp;gt; &lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In Figure X, it can be seen that the free energy is constant, then almost linearly decreases. At very low temperatures, the only main contribution to the free energy is the zero point energy as this is temperature independent. At around 400 K (where the free energy starts to decrease). We can explain by looking at equation X as when the temperature increases, the entropic contribution increases. If we assume the internal energy doesn&#039;t change much with temperature, then the TS term will increase in magnitude and decrease the overall free energy term. By looking at equation X, the vibrational contribution term (also entropic term) is a ln term which will be negative, and again, decrease the overall free energy with an increase in temperature. &lt;br /&gt;
In the graph of lattice parameter vs temperature, the lattice parameter is initially constant and then increases linearly, then exponentially.  After the exponential region, it can be assumed that the lattice parameter increases exponentially, presumably converging at the melting temperature, however this would need to be investigated to be confirmed. Using the quasi-harmonic approximation, this gives the potential a &#039;quasi-anharmonic&#039; shape, meaning that the bond length will actually change with temperature but will just never reach the point where it breaks. Although this doesn&#039;t allow phase transitions to be investigated, it does allow the lattice parameter as a function of temperature to be investigated.&lt;br /&gt;
&lt;br /&gt;
Using the Quasi Harmonic approximation, and fitting the data to get a line of best fit with a gradient of INSERT HERE which is equivalent to &amp;lt;math&amp;gt;\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt;. Multiplying by the reciprocal of the initial volume of the crystal, gives a thermal expansion coefficient for the region of 300-1300 K of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;. By taking the value from lower temperatures, this gives a higher accuracy compared to the &#039;real value&#039;. This is because of the computational model that is being used. This model is quasi-harmonic which is based on the harmonic model. The harmonic oscillator is infinite and the bond between two atoms infinitely extends. However, at high temperatures this is not the reality. The bonds extend and break which is shown by the anharmonic model. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot; class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Temperature range (K)&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Quasi-Harmonic&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Molecular Dynamics&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Literature&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;0-300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.042\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;300-1300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.140\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;4.000\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-0-300.png|thumb|centre|Figure 10: Quasi Harmonic approximation 0 -300 K ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-300-1300.png|thumb|centre|Figure 11:  Quasi Harmonic approximation 300-1300 K]]&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-Thermal-expansion-100-300.png|thumb|centre|Figure 12: Molecular Dynamics 100-300 K]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-300-1300.png|thumb|centre|Figure 13: Molecular Dynamics 300-1300 K]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from Table X, at lower temperatures, the quasi-harmonic approximation gives a value closer to literature. This is because the quasi-harmonic approximation takes into account the zero point energy at lower temperatures which is the main contributing factor whereas molecular dynamics method doesn&#039;t giving a linear line much like the second temperature region - it only considers classical mechanics and not quantum mechanics like quasi-harmonic approximation which takes into account quantum effects such as the zero point energy. At lower temperatures, the molecular dynamics value had to be taken from the 100-300 K region as GULP gave an error at 0 K. This could be because molecular dynamics depends on the motion/velocity of the atoms. At 0 K, there is no motion meaning no information would be outputted, potentially giving an error. At higher temperatures, it can be seen that molecular dynamics gives a more accurate value compared to literature. This is because quasi-harmonic has a parabolic shape where the bond length increases exponentially with temperature. This means the bond length increases infinitely and the bond never breaks - the melting point can never be found using the quasi harmonic approximation. Quasi harmonic is, however, much more useful than simply a harmonic approximation as the average bond length stays at the bottom of the potential well in the harmonic oscillator potential meaning there&#039;s no difference in bond length at different temperatures.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Conclusion&amp;lt;/h2&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ar3015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674052</id>
		<title>Rep:Ar3015MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674052"/>
		<updated>2018-02-27T23:47:36Z</updated>

		<summary type="html">&lt;p&gt;Ar3015: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h1&amp;gt;MgO Report - Antonia Reeves&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;Introduction&amp;lt;/h2&amp;gt;&lt;br /&gt;
In chemistry, it is much easier to treat crystals as rigid structures with set lattice points in unit cells. This can often hold as a good approximation at very low temperatures. However, this is obviously not the case. There are many different vibrations happening throughout the lattice structure leading to thermal expansion. These vibrations can be quantified by using a wave vector - this gives the direction of the propagation of the wave in reciprocal space. We use reciprocal space because FILL IN HERE. This report investigates the effect of temperature on vibrations and size of the lattice structure of MgO. The lattice structure of MgO is face centred cubic. &lt;br /&gt;
&amp;lt;h3&amp;gt;Phonons and phonon dispersions&amp;lt;/h3&amp;gt;&lt;br /&gt;
In quantum chemistry, vibrations can be treated as both particles and waves. When treating vibrations as particles - just as particles of light are photons - they are called phonons. This can be used and a plot of frequency against wave vector can be generated. This effectively gives a plot of the energy against the &#039;the way that vibrations move&#039; which is the k vector. As the phonon dispersion plot investigates the different ways vibrations can take place in the same time, if there were for example only a few atoms, this would give rise to only a few different k points. However, as an infinite lattice is being used, instead of giving quantised k points, a continuous line of k points can be generated, giving rise to a band. One band is called a branch. The number of branches is dependent on the number of different atoms in the lattice. In MgO lattice there are 2 atoms. Using the equation 3N (not 3N-6 as this takes into account rotational and translation degeneracy for single molecules that don&#039;t need to be considered for crystal vibrations) where N is the number of different atoms, this gives 6 branches which can be seen in the phonon dispersion plot in Figure X. Using the dispersion plots are useful for seeing the frequency vs k vector as a whole, however, makes it difficult to determine pieces of information such as how many states are at a given frequency, and whether there is a direct or indirect band gap. This is simply one way of displaying all of the data - the same data can be displayed as a density of states. Instead of simply giving the angular frequency as a function of the wave vector, a plot of density of states can also show how many states have a given energy at each k vector point. This can show the energy difference in the band gap, and the most densely populated k-states more easily. In order to visualise the density of states, the phonon dispersion is &#039;chopped up&#039; into sections. The number of sections is determined by the grid size (these parameters can be changed in the GULP execution panel. In this, the frequencies at the edge of the grids are taken and plotted (only one side as not to repeat the counting of the frequencies). The higher the grid size, the greater the accuracy of the density of states as this allows a greater number of wave vectors to be sampled. The value of the grid size is called the shrinking factor.&lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal Expansion Coefficient&amp;lt;/h3&amp;gt;&lt;br /&gt;
Using the equation &amp;lt;math&amp;gt;\frac{1}{V_0}\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt; gives the thermal expansion coefficient. This value represents how much a given crystal expands with an increase in temperature.  The &amp;lt;math&amp;gt;\frac{1}{V_0}&amp;lt;/math&amp;gt; term to normalises this value so it can be applied to a crystal of any size which is composed of the same crystal. Below, the different computational methods that can be used to investigate how these properties change with temperature are used.&lt;br /&gt;
&amp;lt;h3&amp;gt;Software used&amp;lt;/h3&amp;gt;&lt;br /&gt;
DLVisualise is the programmed used for modelling crystals in simulations such as this and allows chemists to visualise properties of crystals such as vibrations, energy, volume  and calculates these using wavefunctions of crystals - GULP lets the particular codes for the simulations to be accessed for running simulations. GULP is better for quantum based calculations such as lattice dynamics over molecular dynamics. However force fields for molecular dynamics can still be used and calculate values to output thermodynamic data. &lt;br /&gt;
&amp;lt;h3&amp;gt;Harmonic and Quasi-Harmonic approximations&amp;lt;/h3&amp;gt;&lt;br /&gt;
The harmonic oscillator is simply a taylor expansion of anhmarmonic potential. The harmonic oscillator takes the third term (quadratic term) giving the easily the harmonic oscillator parabola. When looking at harmonic potential energies, as the temperature is changed, the average bond length stays at an equilibrium point and therefore the volume of the crystal doesn&#039;t change. This means that although this approximation works well at lower temperatures as there is little change in volume at low temperatures in reality, at higher temperatures, harmonic and anharmonic (which is a much more realistic model) deviate a lot, giving unreliable data for higher temperatures. A compromise between harmonic which isn&#039;t a very reliable approximation as it only uses 3 terms from the taylor series expansion and using an anharmonic which uses many terms and will be very expensive is using a quasi-harmonic approximation. In the helmholtz free energy equations, the differences in the equations for harmonic and quasi-harmonic plots are in the frequency term. In a harmonic system, equation 3 would be used as the potential. However as the quasi harmonic system is being examined, within the brillouin zone &amp;lt;math&amp;gt;-\pi &amp;lt; k &amp;lt; \pi &amp;lt;/math&amp;gt; equation 1 can be used. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{4J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 1)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{2J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 2)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{1}{2\pi}){\frac{k}{\mu}}^{\frac{1}{2}} &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 3)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Helmholtz Free Energy&amp;lt;/h3&amp;gt;&lt;br /&gt;
[[File:Screen_Shot_2018-02-27_at_10.12.39.png|thumb|centre|Eq. 4]]&lt;br /&gt;
A = U - TS&lt;br /&gt;
In order to look at the energy of the vibrational modes, we use the vibrational contribution to the entropy using statistical thermodynamics and the partition coefficient. &lt;br /&gt;
The first term of equation 4 is the internal energy, the second term is the zero point energy (energy at 0K) and the final term is the statistical thermodynamics contribution - the contribution to the energy from the different vibrations.&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
The molecular dynamics method takes the values from the ideal MgO crystal, then when we change the parameters, generate random velocities. This process is repeated at each time step (each a microstate) then all of the microstates are averaged. An average of all of the microstates is carried out, when enough microstates have been sampled, they start to converge and properties of the crystal can start to be measured such as energy and volume. One of the main differences between the quasi-harmonic approximation and molecular dynamics is that quasi-harmonics uses quantum mechanics to calculate the volumes (the change in bond length) and molecular dynamics uses classical mechanics. When sampling a configuration, there needs to be enough time for the values to converge. This is where the length of the timesteps come into play - getting a more accurate value means that the calculations will take much longer and therefore be more expensive. &lt;br /&gt;
&amp;lt;h2&amp;gt;Method&amp;lt;/h2&amp;gt;&lt;br /&gt;
For all of the calculations, the GUI DLVisualise was used. For all calculations, the execute GULP panel was brought up and in the GULP potential parameters, ionic.lib was used and include shells was not included. &lt;br /&gt;
&amp;lt;h3&amp;gt;Lattice vibrations -Computing the phonons&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected, and then run was pressed. Once the job has completed, this shows in the job list and the files were recovered. The energy could be found in the log file under Total Free Energy. &lt;br /&gt;
[[File:MgO_phonon_1.PNG|thumb|centre|Figure 1: ]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Calculating the free energy in the Harmonic approximation&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected. Under General Opts, phonon dispersion was selected with N points set to 50 and calculate phonon eigenvectors was selected, so that specific points in k-space (relating to the origin, x direction vectors being in phase etc.) are represented with greek letters. The files were recovered and the phonon dispersion was displayed using the 1D data display. &lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal expansion of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
The settings used for this calculation were, select phonon DOS, change shrinking factor to 20x20x20 and set the temperature from 0-3000 K in 100 K intervals. For each temperature, the free energy and lattice volume were taken from the log file. The volumes were multiplied by BLAH as the volume given in the log file is the primitive cell volume. This is also required to calculate the lattice parameter which is simply the cube root of the volume of a conventional cell. &lt;br /&gt;
[[File:MgO_DOS_16x16x16.PNG|thumb|centre|Figure 2:]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
For Molecular dynamics, a super cell which is twice the length on every side of the cell was used. This is so the cell is larger and is more similar to &#039;an infinite lattice&#039;. Molecular Dynamics option was selected on the execute panel, the NPT ensemble was chosen, the time step used was 1 femtosecond, equilibration steps of 500, production steps was set to 500 steps and sampling steps and trajectory write steps were set to 5. The temperature used went from 100-3000 K with 100 K interval steps. As the volume of the cell is different to the cell used in the quasi-harmonic approximation, the cell volume taken from the log file (the last average cell volume), the volume was divided by 8 to get the same volume as the conventional cell for the quasi-harmonic approximation.&lt;br /&gt;
&amp;lt;h2&amp;gt;Results and discussion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Phonon Modes of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
When the density of states for calculated for a single k point, it can be worked out by examining the phonon dispersion which k point this is. In this case, the point is L as there are only 4 peaks (2 that have double the intensity due to the double degeneracy) and at L there are only 4 branches where we would expect 6 (due to 3N to calculate number of vibrational branches expected). This can also be seen by comparing the frequencies of the peaks in the 1x1x1 DOS and the frequency of the 4 branches at L. This can be checked in the log file as although the character L is useful for helping us to determine the symmetry of the modes of vibrations, it&#039;s always useful to numerically quantify values. This is simply in the row &#039;K point&#039; where the K point is 0.5. It&#039;s important that it can be viewed in the log file as on the phonon dispersion, only greek characters which represent different k points can be seen and it&#039;s not always obvious what numerical value goes with each character. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_1.PNG|thumb|centre|Figure 3: MgO Density of States 1x1x1 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_3x3x3.PNG|thumb|centre|Figure 4: MgO Density of States 3x3x3 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_8x8x8.PNG|thumb|centre|Figure 5: MgO Density of States 8x8x8 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_32x32x32.PNG|thumb|centre|Figure 6: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from the progression in grid size that as the grid size increases, although the peaks with the greatest intensity stay in the same place, the shape of the density of states becomes much more defined and includes information on the states at k-points even where there is a lower number of states. When looking at the difference between grid sizes qualitatively, there isn&#039;t much of a difference between 8x8x8 and 32x32x32 apart from there is a more continuous curve with the same shape. It seems that a grid size of approximately 12x12x12 would be the minimum grid size as this is the grid size at which all k points are sampled and there aren&#039;t k-points with an angular frequency of 0 which then have non-zero values of angular frequencies at higher grid sizes. However, when deciding qualitatively, the convergence of the free energy can be used. At 20x20x20 and 6 decimal places, the free energy converges suggesting this is the optimum grid size to use. The density of states in terms of the phonon dispersion curve is basically plotting how many k points there are per value of angular frequency. This can be seen more easily by placing them side by side as seen in Figure X&lt;br /&gt;
[[File:28548481_10215289272734952_157509358_o.jpg|thumb|centre|700px|Figure 7: MgO Density of States 32x32x32 grid size]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Grid size&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Free energy (eV)&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;1&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-41.07531759&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;2&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926609&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;3&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926432&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;4&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.92645&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;5&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926463&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;6&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926471&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;7&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926475&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;8&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926478&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;12&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926481&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;16&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926482&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;20&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;32&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In order to determine a suitable shrinking factor, a number of grid sizes were investigated with the highest being 32x32x32. As having a higher shrinking factor takes longer and more processing power (leads to being more expensive), choosing the shrinking factor becomes a compromise between time and accuracy. As can be seen from the plot, in Figure [X], and a subsequent calculation to check this, the Helmholtz free energy stops changing after a grid size of 20x20x20 so this seemed like a reasonable value to use as not to compromise the accuracy for a quicker run time.&lt;br /&gt;
INSERT TABLE HERE&lt;br /&gt;
As can be seen in TABLE X, after the grid size is 20x20x20, the values have converged and don&#039;t change (when looking at 6 decimal places, it may be changing beyond 6 decimal places). This is optimal as it reduces the computing power needed for a calculation whilst retaining almost the same level of accuracy. Using a grid size of 3x3x3 will gives a suitable energy for calculations accurate to 1 meV, REMEMBER TO DO 0.5mEV!!!!!!!! and a grid size of 5 gives a suitable energy for calculations accurate to 0.1 meV.&lt;br /&gt;
&amp;lt;h3&amp;gt;Quasi-Harmonic Thermal expansion&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Lattice_Parameter_Graph.png|thumb|centre|Figure 8: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Free_energy_vs_T.png|thumb|centre|Figure 9: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In Figure X, it can be seen that the free energy is constant, then almost linearly decreases. At very low temperatures, the only main contribution to the free energy is the zero point energy as this is temperature independent. At around 400 K (where the free energy starts to decrease). We can explain by looking at equation X as when the temperature increases, the entropic contribution increases. If we assume the internal energy doesn&#039;t change much with temperature, then the TS term will increase in magnitude and decrease the overall free energy term. By looking at equation X, the vibrational contribution term (also entropic term) is a ln term which will be negative, and again, decrease the overall free energy with an increase in temperature. &lt;br /&gt;
In the graph of lattice parameter vs temperature, the lattice parameter is initially constant and then increases linearly, then exponentially.  After the exponential region, it can be assumed that the lattice parameter increases exponentially, presumably converging at the melting temperature, however this would need to be investigated to be confirmed. Using the quasi-harmonic approximation, this gives the potential a &#039;quasi-anharmonic&#039; shape, meaning that the bond length will actually change with temperature but will just never reach the point where it breaks. Although this doesn&#039;t allow phase transitions to be investigated, it does allow the lattice parameter as a function of temperature to be investigated.&lt;br /&gt;
&lt;br /&gt;
Using the Quasi Harmonic approximation, and fitting the data to get a line of best fit with a gradient of INSERT HERE which is equivalent to &amp;lt;math&amp;gt;\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt;. Multiplying by the reciprocal of the initial volume of the crystal, gives a thermal expansion coefficient for the region of 300-1300 K of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;. By taking the value from lower temperatures, this gives a higher accuracy compared to the &#039;real value&#039;. This is because of the computational model that is being used. This model is quasi-harmonic which is based on the harmonic model. The harmonic oscillator is infinite and the bond between two atoms infinitely extends. However, at high temperatures this is not the reality. The bonds extend and break which is shown by the anharmonic model. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot; class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Temperature range (K)&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Quasi-Harmonic&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Molecular Dynamics&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Literature&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;0-300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.042\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;300-1300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.140\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;4.000\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-0-300.png|thumb|centre|Figure 10: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-300-1300.png|thumb|centre|Figure 11: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-Thermal-expansion-100-300.png|thumb|centre|Figure 12: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-300-1300.png|thumb|centre|Figure 13: ]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from Table X, at lower temperatures, the quasi-harmonic approximation gives a value closer to literature. This is because the quasi-harmonic approximation takes into account the zero point energy at lower temperatures which is the main contributing factor whereas molecular dynamics method doesn&#039;t giving a linear line much like the second temperature region - it only considers classical mechanics and not quantum mechanics like quasi-harmonic approximation which takes into account quantum effects such as the zero point energy. At lower temperatures, the molecular dynamics value had to be taken from the 100-300 K region as GULP gave an error at 0 K. This could be because molecular dynamics depends on the motion/velocity of the atoms. At 0 K, there is no motion meaning no information would be outputted, potentially giving an error. At higher temperatures, it can be seen that molecular dynamics gives a more accurate value compared to literature. This is because quasi-harmonic has a parabolic shape where the bond length increases exponentially with temperature. This means the bond length increases infinitely and the bond never breaks - the melting point can never be found using the quasi harmonic approximation. Quasi harmonic is, however, much more useful than simply a harmonic approximation as the average bond length stays at the bottom of the potential well in the harmonic oscillator potential meaning there&#039;s no difference in bond length at different temperatures.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Conclusion&amp;lt;/h2&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ar3015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674048</id>
		<title>Rep:Ar3015MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674048"/>
		<updated>2018-02-27T23:46:49Z</updated>

		<summary type="html">&lt;p&gt;Ar3015: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h1&amp;gt;MgO Report - Antonia Reeves&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;Introduction&amp;lt;/h2&amp;gt;&lt;br /&gt;
In chemistry, it is much easier to treat crystals as rigid structures with set lattice points in unit cells. This can often hold as a good approximation at very low temperatures. However, this is obviously not the case. There are many different vibrations happening throughout the lattice structure leading to thermal expansion. These vibrations can be quantified by using a wave vector - this gives the direction of the propagation of the wave in reciprocal space. We use reciprocal space because FILL IN HERE. This report investigates the effect of temperature on vibrations and size of the lattice structure of MgO. The lattice structure of MgO is face centred cubic. &lt;br /&gt;
&amp;lt;h3&amp;gt;Phonons and phonon dispersions&amp;lt;/h3&amp;gt;&lt;br /&gt;
In quantum chemistry, vibrations can be treated as both particles and waves. When treating vibrations as particles - just as particles of light are photons - they are called phonons. This can be used and a plot of frequency against wave vector can be generated. This effectively gives a plot of the energy against the &#039;the way that vibrations move&#039; which is the k vector. As the phonon dispersion plot investigates the different ways vibrations can take place in the same time, if there were for example only a few atoms, this would give rise to only a few different k points. However, as an infinite lattice is being used, instead of giving quantised k points, a continuous line of k points can be generated, giving rise to a band. One band is called a branch. The number of branches is dependent on the number of different atoms in the lattice. In MgO lattice there are 2 atoms. Using the equation 3N (not 3N-6 as this takes into account rotational and translation degeneracy for single molecules that don&#039;t need to be considered for crystal vibrations) where N is the number of different atoms, this gives 6 branches which can be seen in the phonon dispersion plot in Figure X. Using the dispersion plots are useful for seeing the frequency vs k vector as a whole, however, makes it difficult to determine pieces of information such as how many states are at a given frequency, and whether there is a direct or indirect band gap. This is simply one way of displaying all of the data - the same data can be displayed as a density of states. Instead of simply giving the angular frequency as a function of the wave vector, a plot of density of states can also show how many states have a given energy at each k vector point. This can show the energy difference in the band gap, and the most densely populated k-states more easily. In order to visualise the density of states, the phonon dispersion is &#039;chopped up&#039; into sections. The number of sections is determined by the grid size (these parameters can be changed in the GULP execution panel. In this, the frequencies at the edge of the grids are taken and plotted (only one side as not to repeat the counting of the frequencies). The higher the grid size, the greater the accuracy of the density of states as this allows a greater number of wave vectors to be sampled. The value of the grid size is called the shrinking factor.&lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal Expansion Coefficient&amp;lt;/h3&amp;gt;&lt;br /&gt;
Using the equation &amp;lt;math&amp;gt;\frac{1}{V_0}\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt; gives the thermal expansion coefficient. This value represents how much a given crystal expands with an increase in temperature.  The &amp;lt;math&amp;gt;\frac{1}{V_0}&amp;lt;/math&amp;gt; term to normalises this value so it can be applied to a crystal of any size which is composed of the same crystal. Below, the different computational methods that can be used to investigate how these properties change with temperature are used.&lt;br /&gt;
&amp;lt;h3&amp;gt;Software used&amp;lt;/h3&amp;gt;&lt;br /&gt;
DLVisualise is the programmed used for modelling crystals in simulations such as this and allows chemists to visualise properties of crystals such as vibrations, energy, volume  and calculates these using wavefunctions of crystals - GULP lets the particular codes for the simulations to be accessed for running simulations. GULP is better for quantum based calculations such as lattice dynamics over molecular dynamics. However force fields for molecular dynamics can still be used and calculate values to output thermodynamic data. &lt;br /&gt;
&amp;lt;h3&amp;gt;Harmonic and Quasi-Harmonic approximations&amp;lt;/h3&amp;gt;&lt;br /&gt;
The harmonic oscillator is simply a taylor expansion of anhmarmonic potential. The harmonic oscillator takes the third term (quadratic term) giving the easily the harmonic oscillator parabola. When looking at harmonic potential energies, as the temperature is changed, the average bond length stays at an equilibrium point and therefore the volume of the crystal doesn&#039;t change. This means that although this approximation works well at lower temperatures as there is little change in volume at low temperatures in reality, at higher temperatures, harmonic and anharmonic (which is a much more realistic model) deviate a lot, giving unreliable data for higher temperatures. A compromise between harmonic which isn&#039;t a very reliable approximation as it only uses 3 terms from the taylor series expansion and using an anharmonic which uses many terms and will be very expensive is using a quasi-harmonic approximation. In the helmholtz free energy equations, the differences in the equations for harmonic and quasi-harmonic plots are in the frequency term. In a harmonic system, equation 3 would be used as the potential. However as the quasi harmonic system is being examined, within the brillouin zone &amp;lt;math&amp;gt;-\pi &amp;lt; k &amp;lt; \pi &amp;lt;/math&amp;gt; equation 1 can be used. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{4J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 1)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{2J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 2)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{1}{2\pi}){\frac{k}{\mu}}^{\frac{1}{2}} &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 3)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Helmholtz Free Energy&amp;lt;/h3&amp;gt;&lt;br /&gt;
[[File:Screen_Shot_2018-02-27_at_10.12.39.png|thumb|centre|Eq. 4]]&lt;br /&gt;
A = U - TS&lt;br /&gt;
In order to look at the energy of the vibrational modes, we use the vibrational contribution to the entropy using statistical thermodynamics and the partition coefficient. &lt;br /&gt;
The first term of equation 4 is the internal energy, the second term is the zero point energy (energy at 0K) and the final term is the statistical thermodynamics contribution - the contribution to the energy from the different vibrations.&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
The molecular dynamics method takes the values from the ideal MgO crystal, then when we change the parameters, generate random velocities. This process is repeated at each time step (each a microstate) then all of the microstates are averaged. An average of all of the microstates is carried out, when enough microstates have been sampled, they start to converge and properties of the crystal can start to be measured such as energy and volume. One of the main differences between the quasi-harmonic approximation and molecular dynamics is that quasi-harmonics uses quantum mechanics to calculate the volumes (the change in bond length) and molecular dynamics uses classical mechanics. When sampling a configuration, there needs to be enough time for the values to converge. This is where the length of the timesteps come into play - getting a more accurate value means that the calculations will take much longer and therefore be more expensive. &lt;br /&gt;
&amp;lt;h2&amp;gt;Method&amp;lt;/h2&amp;gt;&lt;br /&gt;
For all of the calculations, the GUI DLVisualise was used. For all calculations, the execute GULP panel was brought up and in the GULP potential parameters, ionic.lib was used and include shells was not included. &lt;br /&gt;
&amp;lt;h3&amp;gt;Lattice vibrations -Computing the phonons&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected, and then run was pressed. Once the job has completed, this shows in the job list and the files were recovered. The energy could be found in the log file under Total Free Energy. &lt;br /&gt;
[[File:MgO_phonon_1.PNG|thumb|centre|Figure 1: ]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Calculating the free energy in the Harmonic approximation&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected. Under General Opts, phonon dispersion was selected with N points set to 50 and calculate phonon eigenvectors was selected, so that specific points in k-space (relating to the origin, x direction vectors being in phase etc.) are represented with greek letters. The files were recovered and the phonon dispersion was displayed using the 1D data display. &lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal expansion of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
The settings used for this calculation were, select phonon DOS, change shrinking factor to 20x20x20 and set the temperature from 0-3000 K in 100 K intervals. For each temperature, the free energy and lattice volume were taken from the log file. The volumes were multiplied by BLAH as the volume given in the log file is the primitive cell volume. This is also required to calculate the lattice parameter which is simply the cube root of the volume of a conventional cell. &lt;br /&gt;
[[File:MgO_DOS_16x16x16.PNG|thumb|centre|Figure 2:]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
For Molecular dynamics, a super cell which is twice the length on every side of the cell was used. This is so the cell is larger and is more similar to &#039;an infinite lattice&#039;. Molecular Dynamics option was selected on the execute panel, the NPT ensemble was chosen, the time step used was 1 femtosecond, equilibration steps of 500, production steps was set to 500 steps and sampling steps and trajectory write steps were set to 5. The temperature used went from 100-3000 K with 100 K interval steps. As the volume of the cell is different to the cell used in the quasi-harmonic approximation, the cell volume taken from the log file (the last average cell volume), the volume was divided by 8 to get the same volume as the conventional cell for the quasi-harmonic approximation.&lt;br /&gt;
&amp;lt;h2&amp;gt;Results and discussion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Phonon Modes of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
When the density of states for calculated for a single k point, it can be worked out by examining the phonon dispersion which k point this is. In this case, the point is L as there are only 4 peaks (2 that have double the intensity due to the double degeneracy) and at L there are only 4 branches where we would expect 6 (due to 3N to calculate number of vibrational branches expected). This can also be seen by comparing the frequencies of the peaks in the 1x1x1 DOS and the frequency of the 4 branches at L. This can be checked in the log file as although the character L is useful for helping us to determine the symmetry of the modes of vibrations, it&#039;s always useful to numerically quantify values. This is simply in the row &#039;K point&#039; where the K point is 0.5. It&#039;s important that it can be viewed in the log file as on the phonon dispersion, only greek characters which represent different k points can be seen and it&#039;s not always obvious what numerical value goes with each character. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_1.PNG|thumb|centre|Figure 3: MgO Density of States 1x1x1 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_3x3x3.PNG|thumb|centre|Figure 4: MgO Density of States 3x3x3 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_8x8x8.PNG|thumb|centre|Figure 5: MgO Density of States 8x8x8 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_32x32x32.PNG|thumb|centre|Figure 6: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from the progression in grid size that as the grid size increases, although the peaks with the greatest intensity stay in the same place, the shape of the density of states becomes much more defined and includes information on the states at k-points even where there is a lower number of states. When looking at the difference between grid sizes qualitatively, there isn&#039;t much of a difference between 8x8x8 and 32x32x32 apart from there is a more continuous curve with the same shape. It seems that a grid size of approximately 12x12x12 would be the minimum grid size as this is the grid size at which all k points are sampled and there aren&#039;t k-points with an angular frequency of 0 which then have non-zero values of angular frequencies at higher grid sizes. However, when deciding qualitatively, the convergence of the free energy can be used. At 20x20x20 and 6 decimal places, the free energy converges suggesting this is the optimum grid size to use. The density of states in terms of the phonon dispersion curve is basically plotting how many k points there are per value of angular frequency. This can be seen more easily by placing them side by side as seen in Figure X&lt;br /&gt;
[[File:28548481_10215289272734952_157509358_o.jpg|thumb|centre|700px|Figure 7: MgO Density of States 32x32x32 grid size]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Grid size&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Free energy (eV)&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;1&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-41.07531759&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;2&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926609&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;3&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926432&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;4&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.92645&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;5&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926463&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;6&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926471&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;7&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926475&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;8&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926478&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;12&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926481&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;16&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926482&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;20&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;32&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In order to determine a suitable shrinking factor, a number of grid sizes were investigated with the highest being 32x32x32. As having a higher shrinking factor takes longer and more processing power (leads to being more expensive), choosing the shrinking factor becomes a compromise between time and accuracy. As can be seen from the plot, in Figure [X], and a subsequent calculation to check this, the Helmholtz free energy stops changing after a grid size of 20x20x20 so this seemed like a reasonable value to use as not to compromise the accuracy for a quicker run time.&lt;br /&gt;
INSERT TABLE HERE&lt;br /&gt;
As can be seen in TABLE X, after the grid size is 20x20x20, the values have converged and don&#039;t change (when looking at 6 decimal places, it may be changing beyond 6 decimal places). This is optimal as it reduces the computing power needed for a calculation whilst retaining almost the same level of accuracy. Using a grid size of 3x3x3 will gives a suitable energy for calculations accurate to 1 meV, REMEMBER TO DO 0.5mEV!!!!!!!! and a grid size of 5 gives a suitable energy for calculations accurate to 0.1 meV.&lt;br /&gt;
&amp;lt;h3&amp;gt;Quasi-Harmonic Thermal expansion&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Lattice_Parameter_Graph.png|thumb|centre|Figure 8: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Free_energy_vs_T.png|thumb|centre|Figure 9: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In Figure X, it can be seen that the free energy is constant, then almost linearly decreases. At very low temperatures, the only main contribution to the free energy is the zero point energy as this is temperature independent. At around 400 K (where the free energy starts to decrease). We can explain by looking at equation X as when the temperature increases, the entropic contribution increases. If we assume the internal energy doesn&#039;t change much with temperature, then the TS term will increase in magnitude and decrease the overall free energy term. By looking at equation X, the vibrational contribution term (also entropic term) is a ln term which will be negative, and again, decrease the overall free energy with an increase in temperature. &lt;br /&gt;
In the graph of lattice parameter vs temperature, the lattice parameter is initially constant and then increases linearly, then exponentially.  After the exponential region, it can be assumed that the lattice parameter increases exponentially, presumably converging at the melting temperature, however this would need to be investigated to be confirmed. Using the quasi-harmonic approximation, this gives the potential a &#039;quasi-anharmonic&#039; shape, meaning that the bond length will actually change with temperature but will just never reach the point where it breaks. Although this doesn&#039;t allow phase transitions to be investigated, it does allow the lattice parameter as a function of temperature to be investigated.&lt;br /&gt;
&lt;br /&gt;
Using the Quasi Harmonic approximation, and fitting the data to get a line of best fit with a gradient of INSERT HERE which is equivalent to &amp;lt;math&amp;gt;\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt;. Multiplying by the reciprocal of the initial volume of the crystal, gives a thermal expansion coefficient for the region of 300-1300 K of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;. By taking the value from lower temperatures, this gives a higher accuracy compared to the &#039;real value&#039;. This is because of the computational model that is being used. This model is quasi-harmonic which is based on the harmonic model. The harmonic oscillator is infinite and the bond between two atoms infinitely extends. However, at high temperatures this is not the reality. The bonds extend and break which is shown by the anharmonic model. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot; class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Temperature range (K)&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Quasi-Harmonic&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Molecular Dynamics&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Literature&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;0-300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.042\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;300-1300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.140\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;4.000\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-0-300.png|thumb|centre|Figure 10: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-300-1300.png|thumb|centre|Figure 10: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-Thermal-expansion-100-300.png|thumb|centre|Figure 10: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-300-1300.png|thumb|centre|Figure 10: ]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from Table X, at lower temperatures, the quasi-harmonic approximation gives a value closer to literature. This is because the quasi-harmonic approximation takes into account the zero point energy at lower temperatures which is the main contributing factor whereas molecular dynamics method doesn&#039;t giving a linear line much like the second temperature region - it only considers classical mechanics and not quantum mechanics like quasi-harmonic approximation which takes into account quantum effects such as the zero point energy. At lower temperatures, the molecular dynamics value had to be taken from the 100-300 K region as GULP gave an error at 0 K. This could be because molecular dynamics depends on the motion/velocity of the atoms. At 0 K, there is no motion meaning no information would be outputted, potentially giving an error. At higher temperatures, it can be seen that molecular dynamics gives a more accurate value compared to literature. This is because quasi-harmonic has a parabolic shape where the bond length increases exponentially with temperature. This means the bond length increases infinitely and the bond never breaks - the melting point can never be found using the quasi harmonic approximation. Quasi harmonic is, however, much more useful than simply a harmonic approximation as the average bond length stays at the bottom of the potential well in the harmonic oscillator potential meaning there&#039;s no difference in bond length at different temperatures.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Conclusion&amp;lt;/h2&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ar3015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674042</id>
		<title>Rep:Ar3015MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674042"/>
		<updated>2018-02-27T23:40:46Z</updated>

		<summary type="html">&lt;p&gt;Ar3015: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h1&amp;gt;MgO Report - Antonia Reeves&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;Introduction&amp;lt;/h2&amp;gt;&lt;br /&gt;
In chemistry, it is much easier to treat crystals as rigid structures with set lattice points in unit cells. This can often hold as a good approximation at very low temperatures. However, this is obviously not the case. There are many different vibrations happening throughout the lattice structure leading to thermal expansion. These vibrations can be quantified by using a wave vector - this gives the direction of the propagation of the wave in reciprocal space. We use reciprocal space because FILL IN HERE. This report investigates the effect of temperature on vibrations and size of the lattice structure of MgO. The lattice structure of MgO is face centred cubic. &lt;br /&gt;
&amp;lt;h3&amp;gt;Phonons and phonon dispersions&amp;lt;/h3&amp;gt;&lt;br /&gt;
In quantum chemistry, vibrations can be treated as both particles and waves. When treating vibrations as particles - just as particles of light are photons - they are called phonons. This can be used and a plot of frequency against wave vector can be generated. This effectively gives a plot of the energy against the &#039;the way that vibrations move&#039; which is the k vector. As the phonon dispersion plot investigates the different ways vibrations can take place in the same time, if there were for example only a few atoms, this would give rise to only a few different k points. However, as an infinite lattice is being used, instead of giving quantised k points, a continuous line of k points can be generated, giving rise to a band. One band is called a branch. The number of branches is dependent on the number of different atoms in the lattice. In MgO lattice there are 2 atoms. Using the equation 3N (not 3N-6 as this takes into account rotational and translation degeneracy for single molecules that don&#039;t need to be considered for crystal vibrations) where N is the number of different atoms, this gives 6 branches which can be seen in the phonon dispersion plot in Figure X. Using the dispersion plots are useful for seeing the frequency vs k vector as a whole, however, makes it difficult to determine pieces of information such as how many states are at a given frequency, and whether there is a direct or indirect band gap. This is simply one way of displaying all of the data - the same data can be displayed as a density of states. Instead of simply giving the angular frequency as a function of the wave vector, a plot of density of states can also show how many states have a given energy at each k vector point. This can show the energy difference in the band gap, and the most densely populated k-states more easily. In order to visualise the density of states, the phonon dispersion is &#039;chopped up&#039; into sections. The number of sections is determined by the grid size (these parameters can be changed in the GULP execution panel. In this, the frequencies at the edge of the grids are taken and plotted (only one side as not to repeat the counting of the frequencies). The higher the grid size, the greater the accuracy of the density of states as this allows a greater number of wave vectors to be sampled. The value of the grid size is called the shrinking factor.&lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal Expansion Coefficient&amp;lt;/h3&amp;gt;&lt;br /&gt;
Using the equation &amp;lt;math&amp;gt;\frac{1}{V_0}\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt; gives the thermal expansion coefficient. This value represents how much a given crystal expands with an increase in temperature.  The &amp;lt;math&amp;gt;\frac{1}{V_0}&amp;lt;/math&amp;gt; term to normalises this value so it can be applied to a crystal of any size which is composed of the same crystal. Below, the different computational methods that can be used to investigate how these properties change with temperature are used.&lt;br /&gt;
&amp;lt;h3&amp;gt;Software used&amp;lt;/h3&amp;gt;&lt;br /&gt;
DLVisualise is the programmed used for modelling crystals in simulations such as this and allows chemists to visualise properties of crystals such as vibrations, energy, volume  and calculates these using wavefunctions of crystals - GULP lets the particular codes for the simulations to be accessed for running simulations. GULP is better for quantum based calculations such as lattice dynamics over molecular dynamics. However force fields for molecular dynamics can still be used and calculate values to output thermodynamic data. &lt;br /&gt;
&amp;lt;h3&amp;gt;Harmonic and Quasi-Harmonic approximations&amp;lt;/h3&amp;gt;&lt;br /&gt;
The harmonic oscillator is simply a taylor expansion of anhmarmonic potential. The harmonic oscillator takes the third term (quadratic term) giving the easily the harmonic oscillator parabola. When looking at harmonic potential energies, as the temperature is changed, the average bond length stays at an equilibrium point and therefore the volume of the crystal doesn&#039;t change. This means that although this approximation works well at lower temperatures as there is little change in volume at low temperatures in reality, at higher temperatures, harmonic and anharmonic (which is a much more realistic model) deviate a lot, giving unreliable data for higher temperatures. A compromise between harmonic which isn&#039;t a very reliable approximation as it only uses 3 terms from the taylor series expansion and using an anharmonic which uses many terms and will be very expensive is using a quasi-harmonic approximation. In the helmholtz free energy equations, the differences in the equations for harmonic and quasi-harmonic plots are in the frequency term. In a harmonic system, equation 3 would be used as the potential. However as the quasi harmonic system is being examined, within the brillouin zone &amp;lt;math&amp;gt;-\pi &amp;lt; k &amp;lt; \pi &amp;lt;/math&amp;gt; equation 1 can be used. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{4J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 1)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{2J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 2)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{1}{2\pi}){\frac{k}{\mu}}^{\frac{1}{2}} &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 3)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Helmholtz Free Energy&amp;lt;/h3&amp;gt;&lt;br /&gt;
[[File:Screen_Shot_2018-02-27_at_10.12.39.png|thumb|centre|Eq. 4]]&lt;br /&gt;
A = U - TS&lt;br /&gt;
In order to look at the energy of the vibrational modes, we use the vibrational contribution to the entropy using statistical thermodynamics and the partition coefficient. &lt;br /&gt;
The first term of equation 4 is the internal energy, the second term is the zero point energy (energy at 0K) and the final term is the statistical thermodynamics contribution - the contribution to the energy from the different vibrations.&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
The molecular dynamics method takes the values from the ideal MgO crystal, then when we change the parameters, generate random velocities. This process is repeated at each time step (each a microstate) then all of the microstates are averaged. An average of all of the microstates is carried out, when enough microstates have been sampled, they start to converge and properties of the crystal can start to be measured such as energy and volume. One of the main differences between the quasi-harmonic approximation and molecular dynamics is that quasi-harmonics uses quantum mechanics to calculate the volumes (the change in bond length) and molecular dynamics uses classical mechanics. When sampling a configuration, there needs to be enough time for the values to converge. This is where the length of the timesteps come into play - getting a more accurate value means that the calculations will take much longer and therefore be more expensive. &lt;br /&gt;
&amp;lt;h2&amp;gt;Method&amp;lt;/h2&amp;gt;&lt;br /&gt;
For all of the calculations, the GUI DLVisualise was used. For all calculations, the execute GULP panel was brought up and in the GULP potential parameters, ionic.lib was used and include shells was not included. &lt;br /&gt;
&amp;lt;h3&amp;gt;Lattice vibrations -Computing the phonons&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected, and then run was pressed. Once the job has completed, this shows in the job list and the files were recovered. The energy could be found in the log file under Total Free Energy. &lt;br /&gt;
[[File:MgO_phonon_1.PNG|thumb|centre|Figure 3: Aide for bond lengths table]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Calculating the free energy in the Harmonic approximation&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected. Under General Opts, phonon dispersion was selected with N points set to 50 and calculate phonon eigenvectors was selected, so that specific points in k-space (relating to the origin, x direction vectors being in phase etc.) are represented with greek letters. The files were recovered and the phonon dispersion was displayed using the 1D data display. &lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal expansion of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
The settings used for this calculation were, select phonon DOS, change shrinking factor to 20x20x20 and set the temperature from 0-3000 K in 100 K intervals. For each temperature, the free energy and lattice volume were taken from the log file. The volumes were multiplied by BLAH as the volume given in the log file is the primitive cell volume. This is also required to calculate the lattice parameter which is simply the cube root of the volume of a conventional cell. &lt;br /&gt;
[[File:MgO_DOS_16x16x16.PNG|thumb|centre|Figure 3: Aide for bond lengths table]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
For Molecular dynamics, a super cell which is twice the length on every side of the cell was used. This is so the cell is larger and is more similar to &#039;an infinite lattice&#039;. Molecular Dynamics option was selected on the execute panel, the NPT ensemble was chosen, the time step used was 1 femtosecond, equilibration steps of 500, production steps was set to 500 steps and sampling steps and trajectory write steps were set to 5. The temperature used went from 100-3000 K with 100 K interval steps. As the volume of the cell is different to the cell used in the quasi-harmonic approximation, the cell volume taken from the log file (the last average cell volume), the volume was divided by 8 to get the same volume as the conventional cell for the quasi-harmonic approximation.&lt;br /&gt;
&amp;lt;h2&amp;gt;Results and discussion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Phonon Modes of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
When the density of states for calculated for a single k point, it can be worked out by examining the phonon dispersion which k point this is. In this case, the point is L as there are only 4 peaks (2 that have double the intensity due to the double degeneracy) and at L there are only 4 branches where we would expect 6 (due to 3N to calculate number of vibrational branches expected). This can also be seen by comparing the frequencies of the peaks in the 1x1x1 DOS and the frequency of the 4 branches at L. This can be checked in the log file as although the character L is useful for helping us to determine the symmetry of the modes of vibrations, it&#039;s always useful to numerically quantify values. This is simply in the row &#039;K point&#039; where the K point is 0.5. It&#039;s important that it can be viewed in the log file as on the phonon dispersion, only greek characters which represent different k points can be seen and it&#039;s not always obvious what numerical value goes with each character. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_1.PNG|thumb|centre|Figure X: MgO Density of States 1x1x1 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_3x3x3.PNG|thumb|centre|Figure X: MgO Density of States 3x3x3 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_8x8x8.PNG|thumb|centre|Figure X: MgO Density of States 8x8x8 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_32x32x32.PNG|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from the progression in grid size that as the grid size increases, although the peaks with the greatest intensity stay in the same place, the shape of the density of states becomes much more defined and includes information on the states at k-points even where there is a lower number of states. When looking at the difference between grid sizes qualitatively, there isn&#039;t much of a difference between 8x8x8 and 32x32x32 apart from there is a more continuous curve with the same shape. It seems that a grid size of approximately 12x12x12 would be the minimum grid size as this is the grid size at which all k points are sampled and there aren&#039;t k-points with an angular frequency of 0 which then have non-zero values of angular frequencies at higher grid sizes. However, when deciding qualitatively, the convergence of the free energy can be used. At 20x20x20 and 6 decimal places, the free energy converges suggesting this is the optimum grid size to use. The density of states in terms of the phonon dispersion curve is basically plotting how many k points there are per value of angular frequency. This can be seen more easily by placing them side by side as seen in Figure X&lt;br /&gt;
[[File:28548481_10215289272734952_157509358_o.jpg|thumb|centre|700px|Figure X: MgO Density of States 32x32x32 grid size]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Grid size&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Free energy (eV)&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;1&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-41.07531759&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;2&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926609&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;3&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926432&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;4&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.92645&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;5&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926463&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;6&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926471&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;7&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926475&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;8&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926478&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;12&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926481&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;16&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926482&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;20&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;32&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In order to determine a suitable shrinking factor, a number of grid sizes were investigated with the highest being 32x32x32. As having a higher shrinking factor takes longer and more processing power (leads to being more expensive), choosing the shrinking factor becomes a compromise between time and accuracy. As can be seen from the plot, in Figure [X], and a subsequent calculation to check this, the Helmholtz free energy stops changing after a grid size of 20x20x20 so this seemed like a reasonable value to use as not to compromise the accuracy for a quicker run time.&lt;br /&gt;
INSERT TABLE HERE&lt;br /&gt;
As can be seen in TABLE X, after the grid size is 20x20x20, the values have converged and don&#039;t change (when looking at 6 decimal places, it may be changing beyond 6 decimal places). This is optimal as it reduces the computing power needed for a calculation whilst retaining almost the same level of accuracy. Using a grid size of 3x3x3 will gives a suitable energy for calculations accurate to 1 meV, REMEMBER TO DO 0.5mEV!!!!!!!! and a grid size of 5 gives a suitable energy for calculations accurate to 0.1 meV.&lt;br /&gt;
&amp;lt;h3&amp;gt;Quasi-Harmonic Thermal expansion&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Lattice_Parameter_Graph.png|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Free_energy_vs_T.png|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In Figure X, it can be seen that the free energy is constant, then almost linearly decreases. At very low temperatures, the only main contribution to the free energy is the zero point energy as this is temperature independent. At around 400 K (where the free energy starts to decrease). We can explain by looking at equation X as when the temperature increases, the entropic contribution increases. If we assume the internal energy doesn&#039;t change much with temperature, then the TS term will increase in magnitude and decrease the overall free energy term. By looking at equation X, the vibrational contribution term (also entropic term) is a ln term which will be negative, and again, decrease the overall free energy with an increase in temperature. &lt;br /&gt;
In the graph of lattice parameter vs temperature, the lattice parameter is initially constant and then increases linearly, then exponentially.  After the exponential region, it can be assumed that the lattice parameter increases exponentially, presumably converging at the melting temperature, however this would need to be investigated to be confirmed. Using the quasi-harmonic approximation, this gives the potential a &#039;quasi-anharmonic&#039; shape, meaning that the bond length will actually change with temperature but will just never reach the point where it breaks. Although this doesn&#039;t allow phase transitions to be investigated, it does allow the lattice parameter as a function of temperature to be investigated.&lt;br /&gt;
&lt;br /&gt;
Using the Quasi Harmonic approximation, and fitting the data to get a line of best fit with a gradient of INSERT HERE which is equivalent to &amp;lt;math&amp;gt;\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt;. Multiplying by the reciprocal of the initial volume of the crystal, gives a thermal expansion coefficient for the region of 300-1300 K of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;. By taking the value from lower temperatures, this gives a higher accuracy compared to the &#039;real value&#039;. This is because of the computational model that is being used. This model is quasi-harmonic which is based on the harmonic model. The harmonic oscillator is infinite and the bond between two atoms infinitely extends. However, at high temperatures this is not the reality. The bonds extend and break which is shown by the anharmonic model. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot; class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Temperature range (K)&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Quasi-Harmonic&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Molecular Dynamics&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Literature&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;0-300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.042\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;300-1300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.140\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;4.000\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-0-300.png|thumb|centre|Figure X: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-300-1300.png|thumb|centre|Figure X: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-Thermal-expansion-100-300.png|thumb|centre|Figure X: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-300-1300.png|thumb|centre|Figure X: ]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from Table X, at lower temperatures, the quasi-harmonic approximation gives a value closer to literature. This is because the quasi-harmonic approximation takes into account the zero point energy at lower temperatures which is the main contributing factor whereas molecular dynamics method doesn&#039;t giving a linear line much like the second temperature region - it only considers classical mechanics and not quantum mechanics like quasi-harmonic approximation which takes into account quantum effects such as the zero point energy. At lower temperatures, the molecular dynamics value had to be taken from the 100-300 K region as GULP gave an error at 0 K. This could be because molecular dynamics depends on the motion/velocity of the atoms. At 0 K, there is no motion meaning no information would be outputted, potentially giving an error. At higher temperatures, it can be seen that molecular dynamics gives a more accurate value compared to literature. This is because quasi-harmonic has a parabolic shape where the bond length increases exponentially with temperature. This means the bond length increases infinitely and the bond never breaks - the melting point can never be found using the quasi harmonic approximation. Quasi harmonic is, however, much more useful than simply a harmonic approximation as the average bond length stays at the bottom of the potential well in the harmonic oscillator potential meaning there&#039;s no difference in bond length at different temperatures.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Conclusion&amp;lt;/h2&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ar3015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674041</id>
		<title>Rep:Ar3015MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674041"/>
		<updated>2018-02-27T23:40:24Z</updated>

		<summary type="html">&lt;p&gt;Ar3015: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h1&amp;gt;MgO Report - Antonia Reeves&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;Introduction&amp;lt;/h2&amp;gt;&lt;br /&gt;
In chemistry, it is much easier to treat crystals as rigid structures with set lattice points in unit cells. This can often hold as a good approximation at very low temperatures. However, this is obviously not the case. There are many different vibrations happening throughout the lattice structure leading to thermal expansion. These vibrations can be quantified by using a wave vector - this gives the direction of the propagation of the wave in reciprocal space. We use reciprocal space because FILL IN HERE. This report investigates the effect of temperature on vibrations and size of the lattice structure of MgO. The lattice structure of MgO is face centred cubic. &lt;br /&gt;
&amp;lt;h3&amp;gt;Phonons and phonon dispersions&amp;lt;/h3&amp;gt;&lt;br /&gt;
In quantum chemistry, vibrations can be treated as both particles and waves. When treating vibrations as particles - just as particles of light are photons - they are called phonons. This can be used and a plot of frequency against wave vector can be generated. This effectively gives a plot of the energy against the &#039;the way that vibrations move&#039; which is the k vector. As the phonon dispersion plot investigates the different ways vibrations can take place in the same time, if there were for example only a few atoms, this would give rise to only a few different k points. However, as an infinite lattice is being used, instead of giving quantised k points, a continuous line of k points can be generated, giving rise to a band. One band is called a branch. The number of branches is dependent on the number of different atoms in the lattice. In MgO lattice there are 2 atoms. Using the equation 3N (not 3N-6 as this takes into account rotational and translation degeneracy for single molecules that don&#039;t need to be considered for crystal vibrations) where N is the number of different atoms, this gives 6 branches which can be seen in the phonon dispersion plot in Figure X. Using the dispersion plots are useful for seeing the frequency vs k vector as a whole, however, makes it difficult to determine pieces of information such as how many states are at a given frequency, and whether there is a direct or indirect band gap. This is simply one way of displaying all of the data - the same data can be displayed as a density of states. Instead of simply giving the angular frequency as a function of the wave vector, a plot of density of states can also show how many states have a given energy at each k vector point. This can show the energy difference in the band gap, and the most densely populated k-states more easily. In order to visualise the density of states, the phonon dispersion is &#039;chopped up&#039; into sections. The number of sections is determined by the grid size (these parameters can be changed in the GULP execution panel. In this, the frequencies at the edge of the grids are taken and plotted (only one side as not to repeat the counting of the frequencies). The higher the grid size, the greater the accuracy of the density of states as this allows a greater number of wave vectors to be sampled. The value of the grid size is called the shrinking factor.&lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal Expansion Coefficient&amp;lt;/h3&amp;gt;&lt;br /&gt;
Using the equation &amp;lt;math&amp;gt;\frac{1}{V_0}\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt; gives the thermal expansion coefficient. This value represents how much a given crystal expands with an increase in temperature.  The &amp;lt;math&amp;gt;\frac{1}{V_0}&amp;lt;/math&amp;gt; term to normalises this value so it can be applied to a crystal of any size which is composed of the same crystal. Below, the different computational methods that can be used to investigate how these properties change with temperature are used.&lt;br /&gt;
&amp;lt;h3&amp;gt;Software used&amp;lt;/h3&amp;gt;&lt;br /&gt;
DLVisualise is the programmed used for modelling crystals in simulations such as this and allows chemists to visualise properties of crystals such as vibrations, energy, volume  and calculates these using wavefunctions of crystals - GULP lets the particular codes for the simulations to be accessed for running simulations. GULP is better for quantum based calculations such as lattice dynamics over molecular dynamics. However force fields for molecular dynamics can still be used and calculate values to output thermodynamic data. &lt;br /&gt;
&amp;lt;h3&amp;gt;Harmonic and Quasi-Harmonic approximations&amp;lt;/h3&amp;gt;&lt;br /&gt;
The harmonic oscillator is simply a taylor expansion of anhmarmonic potential. The harmonic oscillator takes the third term (quadratic term) giving the easily the harmonic oscillator parabola. When looking at harmonic potential energies, as the temperature is changed, the average bond length stays at an equilibrium point and therefore the volume of the crystal doesn&#039;t change. This means that although this approximation works well at lower temperatures as there is little change in volume at low temperatures in reality, at higher temperatures, harmonic and anharmonic (which is a much more realistic model) deviate a lot, giving unreliable data for higher temperatures. A compromise between harmonic which isn&#039;t a very reliable approximation as it only uses 3 terms from the taylor series expansion and using an anharmonic which uses many terms and will be very expensive is using a quasi-harmonic approximation. In the helmholtz free energy equations, the differences in the equations for harmonic and quasi-harmonic plots are in the frequency term. In a harmonic system, equation 3 would be used as the potential. However as the quasi harmonic system is being examined, within the brillouin zone &amp;lt;math&amp;gt;-\pi &amp;lt; k &amp;lt; \pi &amp;lt;/math&amp;gt; equation 1 can be used. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{4J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 1)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{2J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 2)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{1}{2\pi}){\frac{k}{\mu}}^{\frac{1}{2}} &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 3)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Helmholtz Free Energy&amp;lt;/h3&amp;gt;&lt;br /&gt;
[[File:Screen_Shot_2018-02-27_at_10.12.39.png|thumb|centre|Eq. 4]]&lt;br /&gt;
A = U - TS&lt;br /&gt;
In order to look at the energy of the vibrational modes, we use the vibrational contribution to the entropy using statistical thermodynamics and the partition coefficient. &lt;br /&gt;
The first term of equation 4 is the internal energy, the second term is the zero point energy (energy at 0K) and the final term is the statistical thermodynamics contribution - the contribution to the energy from the different vibrations.&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
The molecular dynamics method takes the values from the ideal MgO crystal, then when we change the parameters, generate random velocities. This process is repeated at each time step (each a microstate) then all of the microstates are averaged. An average of all of the microstates is carried out, when enough microstates have been sampled, they start to converge and properties of the crystal can start to be measured such as energy and volume. One of the main differences between the quasi-harmonic approximation and molecular dynamics is that quasi-harmonics uses quantum mechanics to calculate the volumes (the change in bond length) and molecular dynamics uses classical mechanics. When sampling a configuration, there needs to be enough time for the values to converge. This is where the length of the timesteps come into play - getting a more accurate value means that the calculations will take much longer and therefore be more expensive. &lt;br /&gt;
&amp;lt;h2&amp;gt;Method&amp;lt;/h2&amp;gt;&lt;br /&gt;
For all of the calculations, the GUI DLVisualise was used. For all calculations, the execute GULP panel was brought up and in the GULP potential parameters, ionic.lib was used and include shells was not included. &lt;br /&gt;
&amp;lt;h3&amp;gt;Lattice vibrations -Computing the phonons&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected, and then run was pressed. Once the job has completed, this shows in the job list and the files were recovered. The energy could be found in the log file under Total Free Energy. &lt;br /&gt;
[[File:MgO_phonon_1.PNG|thumb|centre|Figure 3: Aide for bond lengths table]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Calculating the free energy in the Harmonic approximation&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected. Under General Opts, phonon dispersion was selected with N points set to 50 and calculate phonon eigenvectors was selected, so that specific points in k-space (relating to the origin, x direction vectors being in phase etc.) are represented with greek letters. The files were recovered and the phonon dispersion was displayed using the 1D data display. &lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal expansion of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
The settings used for this calculation were, select phonon DOS, change shrinking factor to 20x20x20 and set the temperature from 0-3000 K in 100 K intervals. For each temperature, the free energy and lattice volume were taken from the log file. The volumes were multiplied by BLAH as the volume given in the log file is the primitive cell volume. This is also required to calculate the lattice parameter which is simply the cube root of the volume of a conventional cell. &lt;br /&gt;
[[File:MgO_DOS_16x16x16.PNG|thumb|centre|Figure 3: Aide for bond lengths table]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
For Molecular dynamics, a super cell which is twice the length on every side of the cell was used. This is so the cell is larger and is more similar to &#039;an infinite lattice&#039;. Molecular Dynamics option was selected on the execute panel, the NPT ensemble was chosen, the time step used was 1 femtosecond, equilibration steps of 500, production steps was set to 500 steps and sampling steps and trajectory write steps were set to 5. The temperature used went from 100-3000 K with 100 K interval steps. As the volume of the cell is different to the cell used in the quasi-harmonic approximation, the cell volume taken from the log file (the last average cell volume), the volume was divided by 8 to get the same volume as the conventional cell for the quasi-harmonic approximation.&lt;br /&gt;
&amp;lt;h2&amp;gt;Results and discussion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Phonon Modes of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
When the density of states for calculated for a single k point, it can be worked out by examining the phonon dispersion which k point this is. In this case, the point is L as there are only 4 peaks (2 that have double the intensity due to the double degeneracy) and at L there are only 4 branches where we would expect 6 (due to 3N to calculate number of vibrational branches expected). This can also be seen by comparing the frequencies of the peaks in the 1x1x1 DOS and the frequency of the 4 branches at L. This can be checked in the log file as although the character L is useful for helping us to determine the symmetry of the modes of vibrations, it&#039;s always useful to numerically quantify values. This is simply in the row &#039;K point&#039; where the K point is 0.5. It&#039;s important that it can be viewed in the log file as on the phonon dispersion, only greek characters which represent different k points can be seen and it&#039;s not always obvious what numerical value goes with each character. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_1.PNG|thumb|centre|Figure X: MgO Density of States 1x1x1 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_3x3x3.PNG|thumb|centre|Figure X: MgO Density of States 3x3x3 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_8x8x8.PNG|thumb|centre|Figure X: MgO Density of States 8x8x8 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_32x32x32.PNG|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from the progression in grid size that as the grid size increases, although the peaks with the greatest intensity stay in the same place, the shape of the density of states becomes much more defined and includes information on the states at k-points even where there is a lower number of states. When looking at the difference between grid sizes qualitatively, there isn&#039;t much of a difference between 8x8x8 and 32x32x32 apart from there is a more continuous curve with the same shape. It seems that a grid size of approximately 12x12x12 would be the minimum grid size as this is the grid size at which all k points are sampled and there aren&#039;t k-points with an angular frequency of 0 which then have non-zero values of angular frequencies at higher grid sizes. However, when deciding qualitatively, the convergence of the free energy can be used. At 20x20x20 and 6 decimal places, the free energy converges suggesting this is the optimum grid size to use. The density of states in terms of the phonon dispersion curve is basically plotting how many k points there are per value of angular frequency. This can be seen more easily by placing them side by side as seen in Figure X&lt;br /&gt;
[[File:28548481_10215289272734952_157509358_o.jpg|thumb|centre|500px|Figure X: MgO Density of States 32x32x32 grid size]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Grid size&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Free energy (eV)&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;1&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-41.07531759&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;2&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926609&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;3&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926432&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;4&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.92645&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;5&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926463&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;6&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926471&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;7&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926475&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;8&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926478&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;12&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926481&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;16&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926482&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;20&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;32&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In order to determine a suitable shrinking factor, a number of grid sizes were investigated with the highest being 32x32x32. As having a higher shrinking factor takes longer and more processing power (leads to being more expensive), choosing the shrinking factor becomes a compromise between time and accuracy. As can be seen from the plot, in Figure [X], and a subsequent calculation to check this, the Helmholtz free energy stops changing after a grid size of 20x20x20 so this seemed like a reasonable value to use as not to compromise the accuracy for a quicker run time.&lt;br /&gt;
INSERT TABLE HERE&lt;br /&gt;
As can be seen in TABLE X, after the grid size is 20x20x20, the values have converged and don&#039;t change (when looking at 6 decimal places, it may be changing beyond 6 decimal places). This is optimal as it reduces the computing power needed for a calculation whilst retaining almost the same level of accuracy. Using a grid size of 3x3x3 will gives a suitable energy for calculations accurate to 1 meV, REMEMBER TO DO 0.5mEV!!!!!!!! and a grid size of 5 gives a suitable energy for calculations accurate to 0.1 meV.&lt;br /&gt;
&amp;lt;h3&amp;gt;Quasi-Harmonic Thermal expansion&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Lattice_Parameter_Graph.png|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Free_energy_vs_T.png|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In Figure X, it can be seen that the free energy is constant, then almost linearly decreases. At very low temperatures, the only main contribution to the free energy is the zero point energy as this is temperature independent. At around 400 K (where the free energy starts to decrease). We can explain by looking at equation X as when the temperature increases, the entropic contribution increases. If we assume the internal energy doesn&#039;t change much with temperature, then the TS term will increase in magnitude and decrease the overall free energy term. By looking at equation X, the vibrational contribution term (also entropic term) is a ln term which will be negative, and again, decrease the overall free energy with an increase in temperature. &lt;br /&gt;
In the graph of lattice parameter vs temperature, the lattice parameter is initially constant and then increases linearly, then exponentially.  After the exponential region, it can be assumed that the lattice parameter increases exponentially, presumably converging at the melting temperature, however this would need to be investigated to be confirmed. Using the quasi-harmonic approximation, this gives the potential a &#039;quasi-anharmonic&#039; shape, meaning that the bond length will actually change with temperature but will just never reach the point where it breaks. Although this doesn&#039;t allow phase transitions to be investigated, it does allow the lattice parameter as a function of temperature to be investigated.&lt;br /&gt;
&lt;br /&gt;
Using the Quasi Harmonic approximation, and fitting the data to get a line of best fit with a gradient of INSERT HERE which is equivalent to &amp;lt;math&amp;gt;\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt;. Multiplying by the reciprocal of the initial volume of the crystal, gives a thermal expansion coefficient for the region of 300-1300 K of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;. By taking the value from lower temperatures, this gives a higher accuracy compared to the &#039;real value&#039;. This is because of the computational model that is being used. This model is quasi-harmonic which is based on the harmonic model. The harmonic oscillator is infinite and the bond between two atoms infinitely extends. However, at high temperatures this is not the reality. The bonds extend and break which is shown by the anharmonic model. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot; class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Temperature range (K)&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Quasi-Harmonic&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Molecular Dynamics&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Literature&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;0-300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.042\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;300-1300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.140\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;4.000\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-0-300.png|thumb|centre|Figure X: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-300-1300.png|thumb|centre|Figure X: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-Thermal-expansion-100-300.png|thumb|centre|Figure X: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-300-1300.png|thumb|centre|Figure X: ]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from Table X, at lower temperatures, the quasi-harmonic approximation gives a value closer to literature. This is because the quasi-harmonic approximation takes into account the zero point energy at lower temperatures which is the main contributing factor whereas molecular dynamics method doesn&#039;t giving a linear line much like the second temperature region - it only considers classical mechanics and not quantum mechanics like quasi-harmonic approximation which takes into account quantum effects such as the zero point energy. At lower temperatures, the molecular dynamics value had to be taken from the 100-300 K region as GULP gave an error at 0 K. This could be because molecular dynamics depends on the motion/velocity of the atoms. At 0 K, there is no motion meaning no information would be outputted, potentially giving an error. At higher temperatures, it can be seen that molecular dynamics gives a more accurate value compared to literature. This is because quasi-harmonic has a parabolic shape where the bond length increases exponentially with temperature. This means the bond length increases infinitely and the bond never breaks - the melting point can never be found using the quasi harmonic approximation. Quasi harmonic is, however, much more useful than simply a harmonic approximation as the average bond length stays at the bottom of the potential well in the harmonic oscillator potential meaning there&#039;s no difference in bond length at different temperatures.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Conclusion&amp;lt;/h2&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ar3015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674039</id>
		<title>Rep:Ar3015MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674039"/>
		<updated>2018-02-27T23:38:12Z</updated>

		<summary type="html">&lt;p&gt;Ar3015: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h1&amp;gt;MgO Report - Antonia Reeves&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;Introduction&amp;lt;/h2&amp;gt;&lt;br /&gt;
In chemistry, it is much easier to treat crystals as rigid structures with set lattice points in unit cells. This can often hold as a good approximation at very low temperatures. However, this is obviously not the case. There are many different vibrations happening throughout the lattice structure leading to thermal expansion. These vibrations can be quantified by using a wave vector - this gives the direction of the propagation of the wave in reciprocal space. We use reciprocal space because FILL IN HERE. This report investigates the effect of temperature on vibrations and size of the lattice structure of MgO. The lattice structure of MgO is face centred cubic. &lt;br /&gt;
&amp;lt;h3&amp;gt;Phonons and phonon dispersions&amp;lt;/h3&amp;gt;&lt;br /&gt;
In quantum chemistry, vibrations can be treated as both particles and waves. When treating vibrations as particles - just as particles of light are photons - they are called phonons. This can be used and a plot of frequency against wave vector can be generated. This effectively gives a plot of the energy against the &#039;the way that vibrations move&#039; which is the k vector. As the phonon dispersion plot investigates the different ways vibrations can take place in the same time, if there were for example only a few atoms, this would give rise to only a few different k points. However, as an infinite lattice is being used, instead of giving quantised k points, a continuous line of k points can be generated, giving rise to a band. One band is called a branch. The number of branches is dependent on the number of different atoms in the lattice. In MgO lattice there are 2 atoms. Using the equation 3N (not 3N-6 as this takes into account rotational and translation degeneracy for single molecules that don&#039;t need to be considered for crystal vibrations) where N is the number of different atoms, this gives 6 branches which can be seen in the phonon dispersion plot in Figure X. Using the dispersion plots are useful for seeing the frequency vs k vector as a whole, however, makes it difficult to determine pieces of information such as how many states are at a given frequency, and whether there is a direct or indirect band gap. This is simply one way of displaying all of the data - the same data can be displayed as a density of states. Instead of simply giving the angular frequency as a function of the wave vector, a plot of density of states can also show how many states have a given energy at each k vector point. This can show the energy difference in the band gap, and the most densely populated k-states more easily. In order to visualise the density of states, the phonon dispersion is &#039;chopped up&#039; into sections. The number of sections is determined by the grid size (these parameters can be changed in the GULP execution panel. In this, the frequencies at the edge of the grids are taken and plotted (only one side as not to repeat the counting of the frequencies). The higher the grid size, the greater the accuracy of the density of states as this allows a greater number of wave vectors to be sampled. The value of the grid size is called the shrinking factor.&lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal Expansion Coefficient&amp;lt;/h3&amp;gt;&lt;br /&gt;
Using the equation &amp;lt;math&amp;gt;\frac{1}{V_0}\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt; gives the thermal expansion coefficient. This value represents how much a given crystal expands with an increase in temperature.  The &amp;lt;math&amp;gt;\frac{1}{V_0}&amp;lt;/math&amp;gt; term to normalises this value so it can be applied to a crystal of any size which is composed of the same crystal. Below, the different computational methods that can be used to investigate how these properties change with temperature are used.&lt;br /&gt;
&amp;lt;h3&amp;gt;Software used&amp;lt;/h3&amp;gt;&lt;br /&gt;
DLVisualise is the programmed used for modelling crystals in simulations such as this and allows chemists to visualise properties of crystals such as vibrations, energy, volume  and calculates these using wavefunctions of crystals - GULP lets the particular codes for the simulations to be accessed for running simulations. GULP is better for quantum based calculations such as lattice dynamics over molecular dynamics. However force fields for molecular dynamics can still be used and calculate values to output thermodynamic data. &lt;br /&gt;
&amp;lt;h3&amp;gt;Harmonic and Quasi-Harmonic approximations&amp;lt;/h3&amp;gt;&lt;br /&gt;
The harmonic oscillator is simply a taylor expansion of anhmarmonic potential. The harmonic oscillator takes the third term (quadratic term) giving the easily the harmonic oscillator parabola. When looking at harmonic potential energies, as the temperature is changed, the average bond length stays at an equilibrium point and therefore the volume of the crystal doesn&#039;t change. This means that although this approximation works well at lower temperatures as there is little change in volume at low temperatures in reality, at higher temperatures, harmonic and anharmonic (which is a much more realistic model) deviate a lot, giving unreliable data for higher temperatures. A compromise between harmonic which isn&#039;t a very reliable approximation as it only uses 3 terms from the taylor series expansion and using an anharmonic which uses many terms and will be very expensive is using a quasi-harmonic approximation. In the helmholtz free energy equations, the differences in the equations for harmonic and quasi-harmonic plots are in the frequency term. In a harmonic system, equation 3 would be used as the potential. However as the quasi harmonic system is being examined, within the brillouin zone &amp;lt;math&amp;gt;-\pi &amp;lt; k &amp;lt; \pi &amp;lt;/math&amp;gt; equation 1 can be used. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{4J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 1)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{2J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 2)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{1}{2\pi}){\frac{k}{\mu}}^{\frac{1}{2}} &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 3)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Helmholtz Free Energy&amp;lt;/h3&amp;gt;&lt;br /&gt;
[[File:Screen_Shot_2018-02-27_at_10.12.39.png|thumb|centre|Eq. 4]]&lt;br /&gt;
A = U - TS&lt;br /&gt;
In order to look at the energy of the vibrational modes, we use the vibrational contribution to the entropy using statistical thermodynamics and the partition coefficient. &lt;br /&gt;
The first term of equation 4 is the internal energy, the second term is the zero point energy (energy at 0K) and the final term is the statistical thermodynamics contribution - the contribution to the energy from the different vibrations.&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
The molecular dynamics method takes the values from the ideal MgO crystal, then when we change the parameters, generate random velocities. This process is repeated at each time step (each a microstate) then all of the microstates are averaged. An average of all of the microstates is carried out, when enough microstates have been sampled, they start to converge and properties of the crystal can start to be measured such as energy and volume. One of the main differences between the quasi-harmonic approximation and molecular dynamics is that quasi-harmonics uses quantum mechanics to calculate the volumes (the change in bond length) and molecular dynamics uses classical mechanics. When sampling a configuration, there needs to be enough time for the values to converge. This is where the length of the timesteps come into play - getting a more accurate value means that the calculations will take much longer and therefore be more expensive. &lt;br /&gt;
&amp;lt;h2&amp;gt;Method&amp;lt;/h2&amp;gt;&lt;br /&gt;
For all of the calculations, the GUI DLVisualise was used. For all calculations, the execute GULP panel was brought up and in the GULP potential parameters, ionic.lib was used and include shells was not included. &lt;br /&gt;
&amp;lt;h3&amp;gt;Lattice vibrations -Computing the phonons&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected, and then run was pressed. Once the job has completed, this shows in the job list and the files were recovered. The energy could be found in the log file under Total Free Energy. &lt;br /&gt;
[[File:MgO_phonon_1.PNG|thumb|centre|Figure 3: Aide for bond lengths table]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Calculating the free energy in the Harmonic approximation&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected. Under General Opts, phonon dispersion was selected with N points set to 50 and calculate phonon eigenvectors was selected, so that specific points in k-space (relating to the origin, x direction vectors being in phase etc.) are represented with greek letters. The files were recovered and the phonon dispersion was displayed using the 1D data display. &lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal expansion of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
The settings used for this calculation were, select phonon DOS, change shrinking factor to 20x20x20 and set the temperature from 0-3000 K in 100 K intervals. For each temperature, the free energy and lattice volume were taken from the log file. The volumes were multiplied by BLAH as the volume given in the log file is the primitive cell volume. This is also required to calculate the lattice parameter which is simply the cube root of the volume of a conventional cell. &lt;br /&gt;
[[File:MgO_DOS_16x16x16.PNG|thumb|centre|Figure 3: Aide for bond lengths table]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
For Molecular dynamics, a super cell which is twice the length on every side of the cell was used. This is so the cell is larger and is more similar to &#039;an infinite lattice&#039;. Molecular Dynamics option was selected on the execute panel, the NPT ensemble was chosen, the time step used was 1 femtosecond, equilibration steps of 500, production steps was set to 500 steps and sampling steps and trajectory write steps were set to 5. The temperature used went from 100-3000 K with 100 K interval steps. As the volume of the cell is different to the cell used in the quasi-harmonic approximation, the cell volume taken from the log file (the last average cell volume), the volume was divided by 8 to get the same volume as the conventional cell for the quasi-harmonic approximation.&lt;br /&gt;
&amp;lt;h2&amp;gt;Results and discussion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Phonon Modes of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
When the density of states for calculated for a single k point, it can be worked out by examining the phonon dispersion which k point this is. In this case, the point is L as there are only 4 peaks (2 that have double the intensity due to the double degeneracy) and at L there are only 4 branches where we would expect 6 (due to 3N to calculate number of vibrational branches expected). This can also be seen by comparing the frequencies of the peaks in the 1x1x1 DOS and the frequency of the 4 branches at L. This can be checked in the log file as although the character L is useful for helping us to determine the symmetry of the modes of vibrations, it&#039;s always useful to numerically quantify values. This is simply in the row &#039;K point&#039; where the K point is 0.5. It&#039;s important that it can be viewed in the log file as on the phonon dispersion, only greek characters which represent different k points can be seen and it&#039;s not always obvious what numerical value goes with each character. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_1.PNG|thumb|centre|Figure X: MgO Density of States 1x1x1 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_3x3x3.PNG|thumb|centre|Figure X: MgO Density of States 3x3x3 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_8x8x8.PNG|thumb|centre|Figure X: MgO Density of States 8x8x8 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_32x32x32.PNG|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from the progression in grid size that as the grid size increases, although the peaks with the greatest intensity stay in the same place, the shape of the density of states becomes much more defined and includes information on the states at k-points even where there is a lower number of states. When looking at the difference between grid sizes qualitatively, there isn&#039;t much of a difference between 8x8x8 and 32x32x32 apart from there is a more continuous curve with the same shape. It seems that a grid size of approximately 12x12x12 would be the minimum grid size as this is the grid size at which all k points are sampled and there aren&#039;t k-points with an angular frequency of 0 which then have non-zero values of angular frequencies at higher grid sizes. However, when deciding qualitatively, the convergence of the free energy can be used. At 20x20x20 and 6 decimal places, the free energy converges suggesting this is the optimum grid size to use. The density of states in terms of the phonon dispersion curve is basically plotting how many k points there are per value of angular frequency. This can be seen more easily by placing them side by side as seen in Figure X&lt;br /&gt;
[[File:28548481_10215289272734952_157509358_o.jpg|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Grid size&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Free energy (eV)&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;1&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-41.07531759&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;2&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926609&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;3&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926432&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;4&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.92645&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;5&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926463&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;6&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926471&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;7&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926475&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;8&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926478&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;12&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926481&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;16&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926482&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;20&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;32&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In order to determine a suitable shrinking factor, a number of grid sizes were investigated with the highest being 32x32x32. As having a higher shrinking factor takes longer and more processing power (leads to being more expensive), choosing the shrinking factor becomes a compromise between time and accuracy. As can be seen from the plot, in Figure [X], and a subsequent calculation to check this, the Helmholtz free energy stops changing after a grid size of 20x20x20 so this seemed like a reasonable value to use as not to compromise the accuracy for a quicker run time.&lt;br /&gt;
INSERT TABLE HERE&lt;br /&gt;
As can be seen in TABLE X, after the grid size is 20x20x20, the values have converged and don&#039;t change (when looking at 6 decimal places, it may be changing beyond 6 decimal places). This is optimal as it reduces the computing power needed for a calculation whilst retaining almost the same level of accuracy. Using a grid size of 3x3x3 will gives a suitable energy for calculations accurate to 1 meV, REMEMBER TO DO 0.5mEV!!!!!!!! and a grid size of 5 gives a suitable energy for calculations accurate to 0.1 meV.&lt;br /&gt;
&amp;lt;h3&amp;gt;Quasi-Harmonic Thermal expansion&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Lattice_Parameter_Graph.png|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Free_energy_vs_T.png|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In Figure X, it can be seen that the free energy is constant, then almost linearly decreases. At very low temperatures, the only main contribution to the free energy is the zero point energy as this is temperature independent. At around 400 K (where the free energy starts to decrease). We can explain by looking at equation X as when the temperature increases, the entropic contribution increases. If we assume the internal energy doesn&#039;t change much with temperature, then the TS term will increase in magnitude and decrease the overall free energy term. By looking at equation X, the vibrational contribution term (also entropic term) is a ln term which will be negative, and again, decrease the overall free energy with an increase in temperature. &lt;br /&gt;
In the graph of lattice parameter vs temperature, the lattice parameter is initially constant and then increases linearly, then exponentially.  After the exponential region, it can be assumed that the lattice parameter increases exponentially, presumably converging at the melting temperature, however this would need to be investigated to be confirmed. Using the quasi-harmonic approximation, this gives the potential a &#039;quasi-anharmonic&#039; shape, meaning that the bond length will actually change with temperature but will just never reach the point where it breaks. Although this doesn&#039;t allow phase transitions to be investigated, it does allow the lattice parameter as a function of temperature to be investigated.&lt;br /&gt;
&lt;br /&gt;
Using the Quasi Harmonic approximation, and fitting the data to get a line of best fit with a gradient of INSERT HERE which is equivalent to &amp;lt;math&amp;gt;\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt;. Multiplying by the reciprocal of the initial volume of the crystal, gives a thermal expansion coefficient for the region of 300-1300 K of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;. By taking the value from lower temperatures, this gives a higher accuracy compared to the &#039;real value&#039;. This is because of the computational model that is being used. This model is quasi-harmonic which is based on the harmonic model. The harmonic oscillator is infinite and the bond between two atoms infinitely extends. However, at high temperatures this is not the reality. The bonds extend and break which is shown by the anharmonic model. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot; class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Temperature range (K)&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Quasi-Harmonic&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Molecular Dynamics&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Literature&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;0-300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.042\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;300-1300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.140\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;4.000\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-0-300.png|thumb|centre|Figure X: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-300-1300.png|thumb|centre|Figure X: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-Thermal-expansion-100-300.png|thumb|centre|Figure X: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-300-1300.png|thumb|centre|Figure X: ]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from Table X, at lower temperatures, the quasi-harmonic approximation gives a value closer to literature. This is because the quasi-harmonic approximation takes into account the zero point energy at lower temperatures which is the main contributing factor whereas molecular dynamics method doesn&#039;t giving a linear line much like the second temperature region - it only considers classical mechanics and not quantum mechanics like quasi-harmonic approximation which takes into account quantum effects such as the zero point energy. At lower temperatures, the molecular dynamics value had to be taken from the 100-300 K region as GULP gave an error at 0 K. This could be because molecular dynamics depends on the motion/velocity of the atoms. At 0 K, there is no motion meaning no information would be outputted, potentially giving an error. At higher temperatures, it can be seen that molecular dynamics gives a more accurate value compared to literature. This is because quasi-harmonic has a parabolic shape where the bond length increases exponentially with temperature. This means the bond length increases infinitely and the bond never breaks - the melting point can never be found using the quasi harmonic approximation. Quasi harmonic is, however, much more useful than simply a harmonic approximation as the average bond length stays at the bottom of the potential well in the harmonic oscillator potential meaning there&#039;s no difference in bond length at different temperatures.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Conclusion&amp;lt;/h2&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ar3015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=File:28548481_10215289272734952_157509358_o.jpg&amp;diff=674037</id>
		<title>File:28548481 10215289272734952 157509358 o.jpg</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=File:28548481_10215289272734952_157509358_o.jpg&amp;diff=674037"/>
		<updated>2018-02-27T23:36:48Z</updated>

		<summary type="html">&lt;p&gt;Ar3015: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ar3015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674035</id>
		<title>Rep:Ar3015MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674035"/>
		<updated>2018-02-27T23:33:58Z</updated>

		<summary type="html">&lt;p&gt;Ar3015: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h1&amp;gt;MgO Report - Antonia Reeves&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;Introduction&amp;lt;/h2&amp;gt;&lt;br /&gt;
In chemistry, it is much easier to treat crystals as rigid structures with set lattice points in unit cells. This can often hold as a good approximation at very low temperatures. However, this is obviously not the case. There are many different vibrations happening throughout the lattice structure leading to thermal expansion. These vibrations can be quantified by using a wave vector - this gives the direction of the propagation of the wave in reciprocal space. We use reciprocal space because FILL IN HERE. This report investigates the effect of temperature on vibrations and size of the lattice structure of MgO. The lattice structure of MgO is face centred cubic. &lt;br /&gt;
&amp;lt;h3&amp;gt;Phonons and phonon dispersions&amp;lt;/h3&amp;gt;&lt;br /&gt;
In quantum chemistry, vibrations can be treated as both particles and waves. When treating vibrations as particles - just as particles of light are photons - they are called phonons. This can be used and a plot of frequency against wave vector can be generated. This effectively gives a plot of the energy against the &#039;the way that vibrations move&#039; which is the k vector. As the phonon dispersion plot investigates the different ways vibrations can take place in the same time, if there were for example only a few atoms, this would give rise to only a few different k points. However, as an infinite lattice is being used, instead of giving quantised k points, a continuous line of k points can be generated, giving rise to a band. One band is called a branch. The number of branches is dependent on the number of different atoms in the lattice. In MgO lattice there are 2 atoms. Using the equation 3N (not 3N-6 as this takes into account rotational and translation degeneracy for single molecules that don&#039;t need to be considered for crystal vibrations) where N is the number of different atoms, this gives 6 branches which can be seen in the phonon dispersion plot in Figure X. Using the dispersion plots are useful for seeing the frequency vs k vector as a whole, however, makes it difficult to determine pieces of information such as how many states are at a given frequency, and whether there is a direct or indirect band gap. This is simply one way of displaying all of the data - the same data can be displayed as a density of states. Instead of simply giving the angular frequency as a function of the wave vector, a plot of density of states can also show how many states have a given energy at each k vector point. This can show the energy difference in the band gap, and the most densely populated k-states more easily. In order to visualise the density of states, the phonon dispersion is &#039;chopped up&#039; into sections. The number of sections is determined by the grid size (these parameters can be changed in the GULP execution panel. In this, the frequencies at the edge of the grids are taken and plotted (only one side as not to repeat the counting of the frequencies). The higher the grid size, the greater the accuracy of the density of states as this allows a greater number of wave vectors to be sampled. The value of the grid size is called the shrinking factor.&lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal Expansion Coefficient&amp;lt;/h3&amp;gt;&lt;br /&gt;
Using the equation &amp;lt;math&amp;gt;\frac{1}{V_0}\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt; gives the thermal expansion coefficient. This value represents how much a given crystal expands with an increase in temperature.  The &amp;lt;math&amp;gt;\frac{1}{V_0}&amp;lt;/math&amp;gt; term to normalises this value so it can be applied to a crystal of any size which is composed of the same crystal. Below, the different computational methods that can be used to investigate how these properties change with temperature are used.&lt;br /&gt;
&amp;lt;h3&amp;gt;Software used&amp;lt;/h3&amp;gt;&lt;br /&gt;
DLVisualise is the programmed used for modelling crystals in simulations such as this and allows chemists to visualise properties of crystals such as vibrations, energy, volume  and calculates these using wavefunctions of crystals - GULP lets the particular codes for the simulations to be accessed for running simulations. GULP is better for quantum based calculations such as lattice dynamics over molecular dynamics. However force fields for molecular dynamics can still be used and calculate values to output thermodynamic data. &lt;br /&gt;
&amp;lt;h3&amp;gt;Harmonic and Quasi-Harmonic approximations&amp;lt;/h3&amp;gt;&lt;br /&gt;
The harmonic oscillator is simply a taylor expansion of anhmarmonic potential. The harmonic oscillator takes the third term (quadratic term) giving the easily the harmonic oscillator parabola. When looking at harmonic potential energies, as the temperature is changed, the average bond length stays at an equilibrium point and therefore the volume of the crystal doesn&#039;t change. This means that although this approximation works well at lower temperatures as there is little change in volume at low temperatures in reality, at higher temperatures, harmonic and anharmonic (which is a much more realistic model) deviate a lot, giving unreliable data for higher temperatures. A compromise between harmonic which isn&#039;t a very reliable approximation as it only uses 3 terms from the taylor series expansion and using an anharmonic which uses many terms and will be very expensive is using a quasi-harmonic approximation. In the helmholtz free energy equations, the differences in the equations for harmonic and quasi-harmonic plots are in the frequency term. In a harmonic system, equation 3 would be used as the potential. However as the quasi harmonic system is being examined, within the brillouin zone &amp;lt;math&amp;gt;-\pi &amp;lt; k &amp;lt; \pi &amp;lt;/math&amp;gt; equation 1 can be used. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{4J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 1)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{2J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 2)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{1}{2\pi}){\frac{k}{\mu}}^{\frac{1}{2}} &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 3)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Helmholtz Free Energy&amp;lt;/h3&amp;gt;&lt;br /&gt;
[[File:Screen_Shot_2018-02-27_at_10.12.39.png|thumb|centre|Eq. 4]]&lt;br /&gt;
A = U - TS&lt;br /&gt;
In order to look at the energy of the vibrational modes, we use the vibrational contribution to the entropy using statistical thermodynamics and the partition coefficient. &lt;br /&gt;
The first term of equation 4 is the internal energy, the second term is the zero point energy (energy at 0K) and the final term is the statistical thermodynamics contribution - the contribution to the energy from the different vibrations.&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
The molecular dynamics method takes the values from the ideal MgO crystal, then when we change the parameters, generate random velocities. This process is repeated at each time step (each a microstate) then all of the microstates are averaged. An average of all of the microstates is carried out, when enough microstates have been sampled, they start to converge and properties of the crystal can start to be measured such as energy and volume. One of the main differences between the quasi-harmonic approximation and molecular dynamics is that quasi-harmonics uses quantum mechanics to calculate the volumes (the change in bond length) and molecular dynamics uses classical mechanics. When sampling a configuration, there needs to be enough time for the values to converge. This is where the length of the timesteps come into play - getting a more accurate value means that the calculations will take much longer and therefore be more expensive. &lt;br /&gt;
&amp;lt;h2&amp;gt;Method&amp;lt;/h2&amp;gt;&lt;br /&gt;
For all of the calculations, the GUI DLVisualise was used. For all calculations, the execute GULP panel was brought up and in the GULP potential parameters, ionic.lib was used and include shells was not included. &lt;br /&gt;
&amp;lt;h3&amp;gt;Lattice vibrations -Computing the phonons&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected, and then run was pressed. Once the job has completed, this shows in the job list and the files were recovered. The energy could be found in the log file under Total Free Energy. &lt;br /&gt;
[[File:MgO_phonon_1.PNG|thumb|centre|Figure 3: Aide for bond lengths table]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Calculating the free energy in the Harmonic approximation&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected. Under General Opts, phonon dispersion was selected with N points set to 50 and calculate phonon eigenvectors was selected, so that specific points in k-space (relating to the origin, x direction vectors being in phase etc.) are represented with greek letters. The files were recovered and the phonon dispersion was displayed using the 1D data display. &lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal expansion of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
The settings used for this calculation were, select phonon DOS, change shrinking factor to 20x20x20 and set the temperature from 0-3000 K in 100 K intervals. For each temperature, the free energy and lattice volume were taken from the log file. The volumes were multiplied by BLAH as the volume given in the log file is the primitive cell volume. This is also required to calculate the lattice parameter which is simply the cube root of the volume of a conventional cell. &lt;br /&gt;
[[File:MgO_DOS_16x16x16.PNG|thumb|centre|Figure 3: Aide for bond lengths table]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
For Molecular dynamics, a super cell which is twice the length on every side of the cell was used. This is so the cell is larger and is more similar to &#039;an infinite lattice&#039;. Molecular Dynamics option was selected on the execute panel, the NPT ensemble was chosen, the time step used was 1 femtosecond, equilibration steps of 500, production steps was set to 500 steps and sampling steps and trajectory write steps were set to 5. The temperature used went from 100-3000 K with 100 K interval steps. As the volume of the cell is different to the cell used in the quasi-harmonic approximation, the cell volume taken from the log file (the last average cell volume), the volume was divided by 8 to get the same volume as the conventional cell for the quasi-harmonic approximation.&lt;br /&gt;
&amp;lt;h2&amp;gt;Results and discussion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Phonon Modes of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
When the density of states for calculated for a single k point, it can be worked out by examining the phonon dispersion which k point this is. In this case, the point is L as there are only 4 peaks (2 that have double the intensity due to the double degeneracy) and at L there are only 4 branches where we would expect 6 (due to 3N to calculate number of vibrational branches expected). This can also be seen by comparing the frequencies of the peaks in the 1x1x1 DOS and the frequency of the 4 branches at L. This can be checked in the log file as although the character L is useful for helping us to determine the symmetry of the modes of vibrations, it&#039;s always useful to numerically quantify values. This is simply in the row &#039;K point&#039; where the K point is 0.5. It&#039;s important that it can be viewed in the log file as on the phonon dispersion, only greek characters which represent different k points can be seen and it&#039;s not always obvious what numerical value goes with each character. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_1.PNG|thumb|centre|Figure X: MgO Density of States 1x1x1 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_3x3x3.PNG|thumb|centre|Figure X: MgO Density of States 3x3x3 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_8x8x8.PNG|thumb|centre|Figure X: MgO Density of States 8x8x8 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_32x32x32.PNG|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from the progression in grid size that as the grid size increases, although the peaks with the greatest intensity stay in the same place, the shape of the density of states becomes much more defined and includes information on the states at k-points even where there is a lower number of states. When looking at the difference between grid sizes qualitatively, there isn&#039;t much of a difference between 8x8x8 and 32x32x32 apart from there is a more continuous curve with the same shape. It seems that a grid size of approximately 12x12x12 would be the minimum grid size as this is the grid size at which all k points are sampled and there aren&#039;t k-points with an angular frequency of 0 which then have non-zero values of angular frequencies at higher grid sizes. However, when deciding qualitatively, the convergence of the free energy can be used. At 20x20x20 and 6 decimal places, the free energy converges suggesting this is the optimum grid size to use. The density of states in terms of the phonon dispersion curve is basically plotting how many k points there are per value of angular frequency. This can be seen more easily by placing them side by side as seen in FIGURE ENTER HERE.&lt;br /&gt;
&amp;lt;h3&amp;gt;Free energy varied with grid size&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;table class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Grid size&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Free energy (eV)&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;1&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-41.07531759&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;2&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926609&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;3&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926432&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;4&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.92645&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;5&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926463&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;6&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926471&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;7&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926475&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;8&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926478&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;12&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926481&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;16&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926482&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;20&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;32&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In order to determine a suitable shrinking factor, a number of grid sizes were investigated with the highest being 32x32x32. As having a higher shrinking factor takes longer and more processing power (leads to being more expensive), choosing the shrinking factor becomes a compromise between time and accuracy. As can be seen from the plot, in Figure [X], and a subsequent calculation to check this, the Helmholtz free energy stops changing after a grid size of 20x20x20 so this seemed like a reasonable value to use as not to compromise the accuracy for a quicker run time.&lt;br /&gt;
INSERT TABLE HERE&lt;br /&gt;
As can be seen in TABLE X, after the grid size is 20x20x20, the values have converged and don&#039;t change (when looking at 6 decimal places, it may be changing beyond 6 decimal places). This is optimal as it reduces the computing power needed for a calculation whilst retaining almost the same level of accuracy. Using a grid size of 3x3x3 will gives a suitable energy for calculations accurate to 1 meV, REMEMBER TO DO 0.5mEV!!!!!!!! and a grid size of 5 gives a suitable energy for calculations accurate to 0.1 meV.&lt;br /&gt;
&amp;lt;h3&amp;gt;Quasi-Harmonic Thermal expansion&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Lattice_Parameter_Graph.png|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Free_energy_vs_T.png|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In Figure X, it can be seen that the free energy is constant, then almost linearly decreases. At very low temperatures, the only main contribution to the free energy is the zero point energy as this is temperature independent. At around 400 K (where the free energy starts to decrease). We can explain by looking at equation X as when the temperature increases, the entropic contribution increases. If we assume the internal energy doesn&#039;t change much with temperature, then the TS term will increase in magnitude and decrease the overall free energy term. By looking at equation X, the vibrational contribution term (also entropic term) is a ln term which will be negative, and again, decrease the overall free energy with an increase in temperature. &lt;br /&gt;
In the graph of lattice parameter vs temperature, the lattice parameter is initially constant and then increases linearly, then exponentially.  After the exponential region, it can be assumed that the lattice parameter increases exponentially, presumably converging at the melting temperature, however this would need to be investigated to be confirmed. Using the quasi-harmonic approximation, this gives the potential a &#039;quasi-anharmonic&#039; shape, meaning that the bond length will actually change with temperature but will just never reach the point where it breaks. Although this doesn&#039;t allow phase transitions to be investigated, it does allow the lattice parameter as a function of temperature to be investigated.&lt;br /&gt;
&lt;br /&gt;
Using the Quasi Harmonic approximation, and fitting the data to get a line of best fit with a gradient of INSERT HERE which is equivalent to &amp;lt;math&amp;gt;\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt;. Multiplying by the reciprocal of the initial volume of the crystal, gives a thermal expansion coefficient for the region of 300-1300 K of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;. By taking the value from lower temperatures, this gives a higher accuracy compared to the &#039;real value&#039;. This is because of the computational model that is being used. This model is quasi-harmonic which is based on the harmonic model. The harmonic oscillator is infinite and the bond between two atoms infinitely extends. However, at high temperatures this is not the reality. The bonds extend and break which is shown by the anharmonic model. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot; class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Temperature range (K)&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Quasi-Harmonic&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Molecular Dynamics&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Literature&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;0-300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.042\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;300-1300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.140\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;4.000\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-0-300.png|thumb|centre|Figure X: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-300-1300.png|thumb|centre|Figure X: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-Thermal-expansion-100-300.png|thumb|centre|Figure X: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-300-1300.png|thumb|centre|Figure X: ]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from Table X, at lower temperatures, the quasi-harmonic approximation gives a value closer to literature. This is because the quasi-harmonic approximation takes into account the zero point energy at lower temperatures which is the main contributing factor whereas molecular dynamics method doesn&#039;t giving a linear line much like the second temperature region - it only considers classical mechanics and not quantum mechanics like quasi-harmonic approximation which takes into account quantum effects such as the zero point energy. At lower temperatures, the molecular dynamics value had to be taken from the 100-300 K region as GULP gave an error at 0 K. This could be because molecular dynamics depends on the motion/velocity of the atoms. At 0 K, there is no motion meaning no information would be outputted, potentially giving an error. At higher temperatures, it can be seen that molecular dynamics gives a more accurate value compared to literature. This is because quasi-harmonic has a parabolic shape where the bond length increases exponentially with temperature. This means the bond length increases infinitely and the bond never breaks - the melting point can never be found using the quasi harmonic approximation. Quasi harmonic is, however, much more useful than simply a harmonic approximation as the average bond length stays at the bottom of the potential well in the harmonic oscillator potential meaning there&#039;s no difference in bond length at different temperatures.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Conclusion&amp;lt;/h2&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ar3015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674032</id>
		<title>Rep:Ar3015MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674032"/>
		<updated>2018-02-27T23:32:34Z</updated>

		<summary type="html">&lt;p&gt;Ar3015: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h1&amp;gt;MgO Report - Antonia Reeves&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;Introduction&amp;lt;/h2&amp;gt;&lt;br /&gt;
In chemistry, it is much easier to treat crystals as rigid structures with set lattice points in unit cells. This can often hold as a good approximation at very low temperatures. However, this is obviously not the case. There are many different vibrations happening throughout the lattice structure leading to thermal expansion. These vibrations can be quantified by using a wave vector - this gives the direction of the propagation of the wave in reciprocal space. We use reciprocal space because FILL IN HERE. This report investigates the effect of temperature on vibrations and size of the lattice structure of MgO. The lattice structure of MgO is face centred cubic. &lt;br /&gt;
&amp;lt;h3&amp;gt;Phonons and phonon dispersions&amp;lt;/h3&amp;gt;&lt;br /&gt;
In quantum chemistry, vibrations can be treated as both particles and waves. When treating vibrations as particles - just as particles of light are photons - they are called phonons. This can be used and a plot of frequency against wave vector can be generated. This effectively gives a plot of the energy against the &#039;the way that vibrations move&#039; which is the k vector. As the phonon dispersion plot investigates the different ways vibrations can take place in the same time, if there were for example only a few atoms, this would give rise to only a few different k points. However, as an infinite lattice is being used, instead of giving quantised k points, a continuous line of k points can be generated, giving rise to a band. One band is called a branch. The number of branches is dependent on the number of different atoms in the lattice. In MgO lattice there are 2 atoms. Using the equation 3N (not 3N-6 as this takes into account rotational and translation degeneracy for single molecules that don&#039;t need to be considered for crystal vibrations) where N is the number of different atoms, this gives 6 branches which can be seen in the phonon dispersion plot in Figure X. Using the dispersion plots are useful for seeing the frequency vs k vector as a whole, however, makes it difficult to determine pieces of information such as how many states are at a given frequency, and whether there is a direct or indirect band gap. This is simply one way of displaying all of the data - the same data can be displayed as a density of states. Instead of simply giving the angular frequency as a function of the wave vector, a plot of density of states can also show how many states have a given energy at each k vector point. This can show the energy difference in the band gap, and the most densely populated k-states more easily. In order to visualise the density of states, the phonon dispersion is &#039;chopped up&#039; into sections. The number of sections is determined by the grid size (these parameters can be changed in the GULP execution panel. In this, the frequencies at the edge of the grids are taken and plotted (only one side as not to repeat the counting of the frequencies). The higher the grid size, the greater the accuracy of the density of states as this allows a greater number of wave vectors to be sampled. The value of the grid size is called the shrinking factor.&lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal Expansion Coefficient&amp;lt;/h3&amp;gt;&lt;br /&gt;
Using the equation &amp;lt;math&amp;gt;\frac{1}{V_0}\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt; gives the thermal expansion coefficient. This value represents how much a given crystal expands with an increase in temperature.  The &amp;lt;math&amp;gt;\frac{1}{V_0}&amp;lt;/math&amp;gt; term to normalises this value so it can be applied to a crystal of any size which is composed of the same crystal. Below, the different computational methods that can be used to investigate how these properties change with temperature are used.&lt;br /&gt;
&amp;lt;h3&amp;gt;Software used&amp;lt;/h3&amp;gt;&lt;br /&gt;
DLVisualise is the programmed used for modelling crystals in simulations such as this and allows chemists to visualise properties of crystals such as vibrations, energy, volume  and calculates these using wavefunctions of crystals - GULP lets the particular codes for the simulations to be accessed for running simulations. GULP is better for quantum based calculations such as lattice dynamics over molecular dynamics. However force fields for molecular dynamics can still be used and calculate values to output thermodynamic data. &lt;br /&gt;
&amp;lt;h3&amp;gt;Harmonic and Quasi-Harmonic approximations&amp;lt;/h3&amp;gt;&lt;br /&gt;
The harmonic oscillator is simply a taylor expansion of anhmarmonic potential. The harmonic oscillator takes the third term (quadratic term) giving the easily the harmonic oscillator parabola. When looking at harmonic potential energies, as the temperature is changed, the average bond length stays at an equilibrium point and therefore the volume of the crystal doesn&#039;t change. This means that although this approximation works well at lower temperatures as there is little change in volume at low temperatures in reality, at higher temperatures, harmonic and anharmonic (which is a much more realistic model) deviate a lot, giving unreliable data for higher temperatures. A compromise between harmonic which isn&#039;t a very reliable approximation as it only uses 3 terms from the taylor series expansion and using an anharmonic which uses many terms and will be very expensive is using a quasi-harmonic approximation. In the helmholtz free energy equations, the differences in the equations for harmonic and quasi-harmonic plots are in the frequency term. In a harmonic system, equation 3 would be used as the potential. However as the quasi harmonic system is being examined, within the brillouin zone &amp;lt;math&amp;gt;-\pi &amp;lt; k &amp;lt; \pi &amp;lt;/math&amp;gt; equation 1 can be used. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{4J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 1)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{2J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 2)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{1}{2\pi}){\frac{k}{\mu}}^{\frac{1}{2}} &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 3)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Helmholtz Free Energy&amp;lt;/h3&amp;gt;&lt;br /&gt;
[[File:Screen_Shot_2018-02-27_at_10.12.39.png|thumb|centre|Eq. 4]]&lt;br /&gt;
A = U - TS&lt;br /&gt;
In order to look at the energy of the vibrational modes, we use the vibrational contribution to the entropy using statistical thermodynamics and the partition coefficient. &lt;br /&gt;
The first term of equation 4 is the internal energy, the second term is the zero point energy (energy at 0K) and the final term is the statistical thermodynamics contribution - the contribution to the energy from the different vibrations.&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
The molecular dynamics method takes the values from the ideal MgO crystal, then when we change the parameters, generate random velocities. This process is repeated at each time step (each a microstate) then all of the microstates are averaged. An average of all of the microstates is carried out, when enough microstates have been sampled, they start to converge and properties of the crystal can start to be measured such as energy and volume. One of the main differences between the quasi-harmonic approximation and molecular dynamics is that quasi-harmonics uses quantum mechanics to calculate the volumes (the change in bond length) and molecular dynamics uses classical mechanics. When sampling a configuration, there needs to be enough time for the values to converge. This is where the length of the timesteps come into play - getting a more accurate value means that the calculations will take much longer and therefore be more expensive. &lt;br /&gt;
&amp;lt;h2&amp;gt;Method&amp;lt;/h2&amp;gt;&lt;br /&gt;
For all of the calculations, the GUI DLVisualise was used. For all calculations, the execute GULP panel was brought up and in the GULP potential parameters, ionic.lib was used and include shells was not included. &lt;br /&gt;
&amp;lt;h3&amp;gt;Lattice vibrations -Computing the phonons&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected, and then run was pressed. Once the job has completed, this shows in the job list and the files were recovered. The energy could be found in the log file under Total Free Energy. &lt;br /&gt;
[[File:MgO_phonon_1.PNG|thumb|centre|Figure 3: Aide for bond lengths table]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Calculating the free energy in the Harmonic approximation&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected. Under General Opts, phonon dispersion was selected with N points set to 50 and calculate phonon eigenvectors was selected, so that specific points in k-space (relating to the origin, x direction vectors being in phase etc.) are represented with greek letters. The files were recovered and the phonon dispersion was displayed using the 1D data display. &lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal expansion of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
The settings used for this calculation were, select phonon DOS, change shrinking factor to 20x20x20 and set the temperature from 0-3000 K in 100 K intervals. For each temperature, the free energy and lattice volume were taken from the log file. The volumes were multiplied by BLAH as the volume given in the log file is the primitive cell volume. This is also required to calculate the lattice parameter which is simply the cube root of the volume of a conventional cell. &lt;br /&gt;
[[File:MgO_DOS_16x16x16.PNG|thumb|centre|Figure 3: Aide for bond lengths table]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
For Molecular dynamics, a super cell which is twice the length on every side of the cell was used. This is so the cell is larger and is more similar to &#039;an infinite lattice&#039;. Molecular Dynamics option was selected on the execute panel, the NPT ensemble was chosen, the time step used was 1 femtosecond, equilibration steps of 500, production steps was set to 500 steps and sampling steps and trajectory write steps were set to 5. The temperature used went from 100-3000 K with 100 K interval steps. As the volume of the cell is different to the cell used in the quasi-harmonic approximation, the cell volume taken from the log file (the last average cell volume), the volume was divided by 8 to get the same volume as the conventional cell for the quasi-harmonic approximation.&lt;br /&gt;
&amp;lt;h2&amp;gt;Results and discussion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Phonon Modes of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
When the density of states for calculated for a single k point, it can be worked out by examining the phonon dispersion which k point this is. In this case, the point is L as there are only 4 peaks (2 that have double the intensity due to the double degeneracy) and at L there are only 4 branches where we would expect 6 (due to 3N to calculate number of vibrational branches expected). This can also be seen by comparing the frequencies of the peaks in the 1x1x1 DOS and the frequency of the 4 branches at L. This can be checked in the log file as although the character L is useful for helping us to determine the symmetry of the modes of vibrations, it&#039;s always useful to numerically quantify values. This is simply in the row &#039;K point&#039; where the K point is 0.5. It&#039;s important that it can be viewed in the log file as on the phonon dispersion, only greek characters which represent different k points can be seen and it&#039;s not always obvious what numerical value goes with each character. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_1.PNG|thumb|centre|Figure X: MgO Density of States 1x1x1 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_3x3x3.PNG|thumb|centre|Figure X: MgO Density of States 3x3x3 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_8x8x8.PNG|thumb|centre|Figure X: MgO Density of States 8x8x8 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_32x32x32.PNG|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from the progression in grid size that as the grid size increases, although the peaks with the greatest intensity stay in the same place, the shape of the density of states becomes much more defined and includes information on the states at k-points even where there is a lower number of states. When looking at the difference between grid sizes qualitatively, there isn&#039;t much of a difference between 8x8x8 and 32x32x32 apart from there is a more continuous curve with the same shape. It seems that a grid size of approximately 12x12x12 would be the minimum grid size as this is the grid size at which all k points are sampled and there aren&#039;t k-points with an angular frequency of 0 which then have non-zero values of angular frequencies at higher grid sizes. However, when deciding qualitatively, the convergence of the free energy can be used. At 20x20x20 and 6 decimal places, the free energy converges suggesting this is the optimum grid size to use. The density of states in terms of the phonon dispersion curve is basically plotting how many k points there are per value of angular frequency. This can be seen more easily by placing them side by side as seen in FIGURE ENTER HERE.&lt;br /&gt;
&amp;lt;h3&amp;gt;Free energy varied with grid size&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;table class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Grid size&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Free energy (eV)&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;1&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-41.07531759&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;2&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926609&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;3&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926432&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;4&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.92645&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;5&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926463&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;6&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926471&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;7&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926475&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;8&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926478&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;12&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926481&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;16&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926482&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;20&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;32&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In order to determine a suitable shrinking factor, a number of grid sizes were investigated with the highest being 32x32x32. As having a higher shrinking factor takes longer and more processing power (leads to being more expensive), choosing the shrinking factor becomes a compromise between time and accuracy. As can be seen from the plot, in Figure [X], and a subsequent calculation to check this, the Helmholtz free energy stops changing after a grid size of 20x20x20 so this seemed like a reasonable value to use as not to compromise the accuracy for a quicker run time.&lt;br /&gt;
INSERT TABLE HERE&lt;br /&gt;
As can be seen in TABLE X, after the grid size is 20x20x20, the values have converged and don&#039;t change (when looking at 6 decimal places, it may be changing beyond 6 decimal places). This is optimal as it reduces the computing power needed for a calculation whilst retaining almost the same level of accuracy. Using a grid size of 3x3x3 will gives a suitable energy for calculations accurate to 1 meV, REMEMBER TO DO 0.5mEV!!!!!!!! and a grid size of 5 gives a suitable energy for calculations accurate to 0.1 meV.&lt;br /&gt;
&amp;lt;h3&amp;gt;Quasi-Harmonic Thermal expansion&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Lattice_Parameter_Graph.png|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Free_energy_vs_T.png|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In Figure X, it can be seen that the free energy is constant, then almost linearly decreases. At very low temperatures, the only main contribution to the free energy is the zero point energy as this is temperature independent. At around 400 K (where the free energy starts to decrease). We can explain by looking at equation X as when the temperature increases, the entropic contribution increases. If we assume the internal energy doesn&#039;t change much with temperature, then the TS term will increase in magnitude and decrease the overall free energy term. By looking at equation X, the vibrational contribution term (also entropic term) is a ln term which will be negative, and again, decrease the overall free energy with an increase in temperature. &lt;br /&gt;
In the graph of lattice parameter vs temperature, the lattice parameter is initially constant and then increases linearly, then exponentially.  After the exponential region, it can be assumed that the lattice parameter increases exponentially, presumably converging at the melting temperature, however this would need to be investigated to be confirmed. Using the quasi-harmonic approximation, this gives the potential a &#039;quasi-anharmonic&#039; shape, meaning that the bond length will actually change with temperature but will just never reach the point where it breaks. Although this doesn&#039;t allow phase transitions to be investigated, it does allow the lattice parameter as a function of temperature to be investigated.&lt;br /&gt;
&lt;br /&gt;
Using the Quasi Harmonic approximation, and fitting the data to get a line of best fit with a gradient of INSERT HERE which is equivalent to &amp;lt;math&amp;gt;\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt;. Multiplying by the reciprocal of the initial volume of the crystal, gives a thermal expansion coefficient for the region of 300-1300 K of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;. By taking the value from lower temperatures, this gives a higher accuracy compared to the &#039;real value&#039;. This is because of the computational model that is being used. This model is quasi-harmonic which is based on the harmonic model. The harmonic oscillator is infinite and the bond between two atoms infinitely extends. However, at high temperatures this is not the reality. The bonds extend and break which is shown by the anharmonic model. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Temperature range (K)&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Quasi-Harmonic&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Molecular Dynamics&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Literature&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;0-300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.042\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;300-1300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.140\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;4.000\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-0-300.png|thumb|centre|Figure X: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-300-1300.png|thumb|centre|Figure X: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-Thermal-expansion-100-300.png|thumb|centre|Figure X: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-300-1300.png|thumb|centre|Figure X: ]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from Table X, at lower temperatures, the quasi-harmonic approximation gives a value closer to literature. This is because the quasi-harmonic approximation takes into account the zero point energy at lower temperatures which is the main contributing factor whereas molecular dynamics method doesn&#039;t giving a linear line much like the second temperature region - it only considers classical mechanics and not quantum mechanics like quasi-harmonic approximation which takes into account quantum effects such as the zero point energy. At lower temperatures, the molecular dynamics value had to be taken from the 100-300 K region as GULP gave an error at 0 K. This could be because molecular dynamics depends on the motion/velocity of the atoms. At 0 K, there is no motion meaning no information would be outputted, potentially giving an error. At higher temperatures, it can be seen that molecular dynamics gives a more accurate value compared to literature. This is because quasi-harmonic has a parabolic shape where the bond length increases exponentially with temperature. This means the bond length increases infinitely and the bond never breaks - the melting point can never be found using the quasi harmonic approximation. Quasi harmonic is, however, much more useful than simply a harmonic approximation as the average bond length stays at the bottom of the potential well in the harmonic oscillator potential meaning there&#039;s no difference in bond length at different temperatures.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Conclusion&amp;lt;/h2&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ar3015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674031</id>
		<title>Rep:Ar3015MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674031"/>
		<updated>2018-02-27T23:32:16Z</updated>

		<summary type="html">&lt;p&gt;Ar3015: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h1&amp;gt;MgO Report - Antonia Reeves&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;Introduction&amp;lt;/h2&amp;gt;&lt;br /&gt;
In chemistry, it is much easier to treat crystals as rigid structures with set lattice points in unit cells. This can often hold as a good approximation at very low temperatures. However, this is obviously not the case. There are many different vibrations happening throughout the lattice structure leading to thermal expansion. These vibrations can be quantified by using a wave vector - this gives the direction of the propagation of the wave in reciprocal space. We use reciprocal space because FILL IN HERE. This report investigates the effect of temperature on vibrations and size of the lattice structure of MgO. The lattice structure of MgO is face centred cubic. &lt;br /&gt;
&amp;lt;h3&amp;gt;Phonons and phonon dispersions&amp;lt;/h3&amp;gt;&lt;br /&gt;
In quantum chemistry, vibrations can be treated as both particles and waves. When treating vibrations as particles - just as particles of light are photons - they are called phonons. This can be used and a plot of frequency against wave vector can be generated. This effectively gives a plot of the energy against the &#039;the way that vibrations move&#039; which is the k vector. As the phonon dispersion plot investigates the different ways vibrations can take place in the same time, if there were for example only a few atoms, this would give rise to only a few different k points. However, as an infinite lattice is being used, instead of giving quantised k points, a continuous line of k points can be generated, giving rise to a band. One band is called a branch. The number of branches is dependent on the number of different atoms in the lattice. In MgO lattice there are 2 atoms. Using the equation 3N (not 3N-6 as this takes into account rotational and translation degeneracy for single molecules that don&#039;t need to be considered for crystal vibrations) where N is the number of different atoms, this gives 6 branches which can be seen in the phonon dispersion plot in Figure X. Using the dispersion plots are useful for seeing the frequency vs k vector as a whole, however, makes it difficult to determine pieces of information such as how many states are at a given frequency, and whether there is a direct or indirect band gap. This is simply one way of displaying all of the data - the same data can be displayed as a density of states. Instead of simply giving the angular frequency as a function of the wave vector, a plot of density of states can also show how many states have a given energy at each k vector point. This can show the energy difference in the band gap, and the most densely populated k-states more easily. In order to visualise the density of states, the phonon dispersion is &#039;chopped up&#039; into sections. The number of sections is determined by the grid size (these parameters can be changed in the GULP execution panel. In this, the frequencies at the edge of the grids are taken and plotted (only one side as not to repeat the counting of the frequencies). The higher the grid size, the greater the accuracy of the density of states as this allows a greater number of wave vectors to be sampled. The value of the grid size is called the shrinking factor.&lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal Expansion Coefficient&amp;lt;/h3&amp;gt;&lt;br /&gt;
Using the equation &amp;lt;math&amp;gt;\frac{1}{V_0}\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt; gives the thermal expansion coefficient. This value represents how much a given crystal expands with an increase in temperature.  The &amp;lt;math&amp;gt;\frac{1}{V_0}&amp;lt;/math&amp;gt; term to normalises this value so it can be applied to a crystal of any size which is composed of the same crystal. Below, the different computational methods that can be used to investigate how these properties change with temperature are used.&lt;br /&gt;
&amp;lt;h3&amp;gt;Software used&amp;lt;/h3&amp;gt;&lt;br /&gt;
DLVisualise is the programmed used for modelling crystals in simulations such as this and allows chemists to visualise properties of crystals such as vibrations, energy, volume  and calculates these using wavefunctions of crystals - GULP lets the particular codes for the simulations to be accessed for running simulations. GULP is better for quantum based calculations such as lattice dynamics over molecular dynamics. However force fields for molecular dynamics can still be used and calculate values to output thermodynamic data. &lt;br /&gt;
&amp;lt;h3&amp;gt;Harmonic and Quasi-Harmonic approximations&amp;lt;/h3&amp;gt;&lt;br /&gt;
The harmonic oscillator is simply a taylor expansion of anhmarmonic potential. The harmonic oscillator takes the third term (quadratic term) giving the easily the harmonic oscillator parabola. When looking at harmonic potential energies, as the temperature is changed, the average bond length stays at an equilibrium point and therefore the volume of the crystal doesn&#039;t change. This means that although this approximation works well at lower temperatures as there is little change in volume at low temperatures in reality, at higher temperatures, harmonic and anharmonic (which is a much more realistic model) deviate a lot, giving unreliable data for higher temperatures. A compromise between harmonic which isn&#039;t a very reliable approximation as it only uses 3 terms from the taylor series expansion and using an anharmonic which uses many terms and will be very expensive is using a quasi-harmonic approximation. In the helmholtz free energy equations, the differences in the equations for harmonic and quasi-harmonic plots are in the frequency term. In a harmonic system, equation 3 would be used as the potential. However as the quasi harmonic system is being examined, within the brillouin zone &amp;lt;math&amp;gt;-\pi &amp;lt; k &amp;lt; \pi &amp;lt;/math&amp;gt; equation 1 can be used. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{4J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 1)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{2J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 2)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{1}{2\pi}){\frac{k}{\mu}}^{\frac{1}{2}} &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 3)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Helmholtz Free Energy&amp;lt;/h3&amp;gt;&lt;br /&gt;
[[File:Screen_Shot_2018-02-27_at_10.12.39.png|thumb|centre|Eq. 4]]&lt;br /&gt;
A = U - TS&lt;br /&gt;
In order to look at the energy of the vibrational modes, we use the vibrational contribution to the entropy using statistical thermodynamics and the partition coefficient. &lt;br /&gt;
The first term of equation 4 is the internal energy, the second term is the zero point energy (energy at 0K) and the final term is the statistical thermodynamics contribution - the contribution to the energy from the different vibrations.&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
The molecular dynamics method takes the values from the ideal MgO crystal, then when we change the parameters, generate random velocities. This process is repeated at each time step (each a microstate) then all of the microstates are averaged. An average of all of the microstates is carried out, when enough microstates have been sampled, they start to converge and properties of the crystal can start to be measured such as energy and volume. One of the main differences between the quasi-harmonic approximation and molecular dynamics is that quasi-harmonics uses quantum mechanics to calculate the volumes (the change in bond length) and molecular dynamics uses classical mechanics. When sampling a configuration, there needs to be enough time for the values to converge. This is where the length of the timesteps come into play - getting a more accurate value means that the calculations will take much longer and therefore be more expensive. &lt;br /&gt;
&amp;lt;h2&amp;gt;Method&amp;lt;/h2&amp;gt;&lt;br /&gt;
For all of the calculations, the GUI DLVisualise was used. For all calculations, the execute GULP panel was brought up and in the GULP potential parameters, ionic.lib was used and include shells was not included. &lt;br /&gt;
&amp;lt;h3&amp;gt;Lattice vibrations -Computing the phonons&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected, and then run was pressed. Once the job has completed, this shows in the job list and the files were recovered. The energy could be found in the log file under Total Free Energy. &lt;br /&gt;
[[File:MgO_phonon_1.PNG|thumb|centre|Figure 3: Aide for bond lengths table]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Calculating the free energy in the Harmonic approximation&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected. Under General Opts, phonon dispersion was selected with N points set to 50 and calculate phonon eigenvectors was selected, so that specific points in k-space (relating to the origin, x direction vectors being in phase etc.) are represented with greek letters. The files were recovered and the phonon dispersion was displayed using the 1D data display. &lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal expansion of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
The settings used for this calculation were, select phonon DOS, change shrinking factor to 20x20x20 and set the temperature from 0-3000 K in 100 K intervals. For each temperature, the free energy and lattice volume were taken from the log file. The volumes were multiplied by BLAH as the volume given in the log file is the primitive cell volume. This is also required to calculate the lattice parameter which is simply the cube root of the volume of a conventional cell. &lt;br /&gt;
[[File:MgO_DOS_16x16x16.PNG|thumb|centre|Figure 3: Aide for bond lengths table]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
For Molecular dynamics, a super cell which is twice the length on every side of the cell was used. This is so the cell is larger and is more similar to &#039;an infinite lattice&#039;. Molecular Dynamics option was selected on the execute panel, the NPT ensemble was chosen, the time step used was 1 femtosecond, equilibration steps of 500, production steps was set to 500 steps and sampling steps and trajectory write steps were set to 5. The temperature used went from 100-3000 K with 100 K interval steps. As the volume of the cell is different to the cell used in the quasi-harmonic approximation, the cell volume taken from the log file (the last average cell volume), the volume was divided by 8 to get the same volume as the conventional cell for the quasi-harmonic approximation.&lt;br /&gt;
&amp;lt;h2&amp;gt;Results and discussion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Phonon Modes of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
When the density of states for calculated for a single k point, it can be worked out by examining the phonon dispersion which k point this is. In this case, the point is L as there are only 4 peaks (2 that have double the intensity due to the double degeneracy) and at L there are only 4 branches where we would expect 6 (due to 3N to calculate number of vibrational branches expected). This can also be seen by comparing the frequencies of the peaks in the 1x1x1 DOS and the frequency of the 4 branches at L. This can be checked in the log file as although the character L is useful for helping us to determine the symmetry of the modes of vibrations, it&#039;s always useful to numerically quantify values. This is simply in the row &#039;K point&#039; where the K point is 0.5. It&#039;s important that it can be viewed in the log file as on the phonon dispersion, only greek characters which represent different k points can be seen and it&#039;s not always obvious what numerical value goes with each character. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_1.PNG|thumb|centre|Figure X: MgO Density of States 1x1x1 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_3x3x3.PNG|thumb|centre|Figure X: MgO Density of States 3x3x3 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_8x8x8.PNG|thumb|centre|Figure X: MgO Density of States 8x8x8 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_32x32x32.PNG|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from the progression in grid size that as the grid size increases, although the peaks with the greatest intensity stay in the same place, the shape of the density of states becomes much more defined and includes information on the states at k-points even where there is a lower number of states. When looking at the difference between grid sizes qualitatively, there isn&#039;t much of a difference between 8x8x8 and 32x32x32 apart from there is a more continuous curve with the same shape. It seems that a grid size of approximately 12x12x12 would be the minimum grid size as this is the grid size at which all k points are sampled and there aren&#039;t k-points with an angular frequency of 0 which then have non-zero values of angular frequencies at higher grid sizes. However, when deciding qualitatively, the convergence of the free energy can be used. At 20x20x20 and 6 decimal places, the free energy converges suggesting this is the optimum grid size to use. The density of states in terms of the phonon dispersion curve is basically plotting how many k points there are per value of angular frequency. This can be seen more easily by placing them side by side as seen in FIGURE ENTER HERE.&lt;br /&gt;
&amp;lt;h3&amp;gt;Free energy varied with grid size&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot; class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Grid size&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Free energy (eV)&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;1&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-41.07531759&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;2&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926609&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;3&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926432&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;4&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.92645&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;5&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926463&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;6&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926471&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;7&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926475&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;8&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926478&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;12&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926481&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;16&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926482&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;20&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;32&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In order to determine a suitable shrinking factor, a number of grid sizes were investigated with the highest being 32x32x32. As having a higher shrinking factor takes longer and more processing power (leads to being more expensive), choosing the shrinking factor becomes a compromise between time and accuracy. As can be seen from the plot, in Figure [X], and a subsequent calculation to check this, the Helmholtz free energy stops changing after a grid size of 20x20x20 so this seemed like a reasonable value to use as not to compromise the accuracy for a quicker run time.&lt;br /&gt;
INSERT TABLE HERE&lt;br /&gt;
As can be seen in TABLE X, after the grid size is 20x20x20, the values have converged and don&#039;t change (when looking at 6 decimal places, it may be changing beyond 6 decimal places). This is optimal as it reduces the computing power needed for a calculation whilst retaining almost the same level of accuracy. Using a grid size of 3x3x3 will gives a suitable energy for calculations accurate to 1 meV, REMEMBER TO DO 0.5mEV!!!!!!!! and a grid size of 5 gives a suitable energy for calculations accurate to 0.1 meV.&lt;br /&gt;
&amp;lt;h3&amp;gt;Quasi-Harmonic Thermal expansion&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Lattice_Parameter_Graph.png|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Free_energy_vs_T.png|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In Figure X, it can be seen that the free energy is constant, then almost linearly decreases. At very low temperatures, the only main contribution to the free energy is the zero point energy as this is temperature independent. At around 400 K (where the free energy starts to decrease). We can explain by looking at equation X as when the temperature increases, the entropic contribution increases. If we assume the internal energy doesn&#039;t change much with temperature, then the TS term will increase in magnitude and decrease the overall free energy term. By looking at equation X, the vibrational contribution term (also entropic term) is a ln term which will be negative, and again, decrease the overall free energy with an increase in temperature. &lt;br /&gt;
In the graph of lattice parameter vs temperature, the lattice parameter is initially constant and then increases linearly, then exponentially.  After the exponential region, it can be assumed that the lattice parameter increases exponentially, presumably converging at the melting temperature, however this would need to be investigated to be confirmed. Using the quasi-harmonic approximation, this gives the potential a &#039;quasi-anharmonic&#039; shape, meaning that the bond length will actually change with temperature but will just never reach the point where it breaks. Although this doesn&#039;t allow phase transitions to be investigated, it does allow the lattice parameter as a function of temperature to be investigated.&lt;br /&gt;
&lt;br /&gt;
Using the Quasi Harmonic approximation, and fitting the data to get a line of best fit with a gradient of INSERT HERE which is equivalent to &amp;lt;math&amp;gt;\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt;. Multiplying by the reciprocal of the initial volume of the crystal, gives a thermal expansion coefficient for the region of 300-1300 K of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;. By taking the value from lower temperatures, this gives a higher accuracy compared to the &#039;real value&#039;. This is because of the computational model that is being used. This model is quasi-harmonic which is based on the harmonic model. The harmonic oscillator is infinite and the bond between two atoms infinitely extends. However, at high temperatures this is not the reality. The bonds extend and break which is shown by the anharmonic model. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Temperature range (K)&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Quasi-Harmonic&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Molecular Dynamics&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Literature&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;0-300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.042\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;300-1300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.140\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;4.000\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-0-300.png|thumb|centre|Figure X: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-300-1300.png|thumb|centre|Figure X: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-Thermal-expansion-100-300.png|thumb|centre|Figure X: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-300-1300.png|thumb|centre|Figure X: ]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from Table X, at lower temperatures, the quasi-harmonic approximation gives a value closer to literature. This is because the quasi-harmonic approximation takes into account the zero point energy at lower temperatures which is the main contributing factor whereas molecular dynamics method doesn&#039;t giving a linear line much like the second temperature region - it only considers classical mechanics and not quantum mechanics like quasi-harmonic approximation which takes into account quantum effects such as the zero point energy. At lower temperatures, the molecular dynamics value had to be taken from the 100-300 K region as GULP gave an error at 0 K. This could be because molecular dynamics depends on the motion/velocity of the atoms. At 0 K, there is no motion meaning no information would be outputted, potentially giving an error. At higher temperatures, it can be seen that molecular dynamics gives a more accurate value compared to literature. This is because quasi-harmonic has a parabolic shape where the bond length increases exponentially with temperature. This means the bond length increases infinitely and the bond never breaks - the melting point can never be found using the quasi harmonic approximation. Quasi harmonic is, however, much more useful than simply a harmonic approximation as the average bond length stays at the bottom of the potential well in the harmonic oscillator potential meaning there&#039;s no difference in bond length at different temperatures.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Conclusion&amp;lt;/h2&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ar3015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674017</id>
		<title>Rep:Ar3015MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=674017"/>
		<updated>2018-02-27T23:24:29Z</updated>

		<summary type="html">&lt;p&gt;Ar3015: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h1&amp;gt;MgO Report - Antonia Reeves&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;Introduction&amp;lt;/h2&amp;gt;&lt;br /&gt;
In chemistry, it is much easier to treat crystals as rigid structures with set lattice points in unit cells. This can often hold as a good approximation at very low temperatures. However, this is obviously not the case. There are many different vibrations happening throughout the lattice structure leading to thermal expansion. These vibrations can be quantified by using a wave vector - this gives the direction of the propagation of the wave in reciprocal space. We use reciprocal space because FILL IN HERE. This report investigates the effect of temperature on vibrations and size of the lattice structure of MgO. The lattice structure of MgO is face centred cubic. &lt;br /&gt;
&amp;lt;h3&amp;gt;Phonons and phonon dispersions&amp;lt;/h3&amp;gt;&lt;br /&gt;
In quantum chemistry, vibrations can be treated as both particles and waves. When treating vibrations as particles - just as particles of light are photons - they are called phonons. This can be used and a plot of frequency against wave vector can be generated. This effectively gives a plot of the energy against the &#039;the way that vibrations move&#039; which is the k vector. As the phonon dispersion plot investigates the different ways vibrations can take place in the same time, if there were for example only a few atoms, this would give rise to only a few different k points. However, as an infinite lattice is being used, instead of giving quantised k points, a continuous line of k points can be generated, giving rise to a band. One band is called a branch. The number of branches is dependent on the number of different atoms in the lattice. In MgO lattice there are 2 atoms. Using the equation 3N (not 3N-6 as this takes into account rotational and translation degeneracy for single molecules that don&#039;t need to be considered for crystal vibrations) where N is the number of different atoms, this gives 6 branches which can be seen in the phonon dispersion plot in Figure X. Using the dispersion plots are useful for seeing the frequency vs k vector as a whole, however, makes it difficult to determine pieces of information such as how many states are at a given frequency, and whether there is a direct or indirect band gap. This is simply one way of displaying all of the data - the same data can be displayed as a density of states. Instead of simply giving the angular frequency as a function of the wave vector, a plot of density of states can also show how many states have a given energy at each k vector point. This can show the energy difference in the band gap, and the most densely populated k-states more easily. In order to visualise the density of states, the phonon dispersion is &#039;chopped up&#039; into sections. The number of sections is determined by the grid size (these parameters can be changed in the GULP execution panel. In this, the frequencies at the edge of the grids are taken and plotted (only one side as not to repeat the counting of the frequencies). The higher the grid size, the greater the accuracy of the density of states as this allows a greater number of wave vectors to be sampled. The value of the grid size is called the shrinking factor.&lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal Expansion Coefficient&amp;lt;/h3&amp;gt;&lt;br /&gt;
Using the equation &amp;lt;math&amp;gt;\frac{1}{V_0}\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt; gives the thermal expansion coefficient. This value represents how much a given crystal expands with an increase in temperature.  The &amp;lt;math&amp;gt;\frac{1}{V_0}&amp;lt;/math&amp;gt; term to normalises this value so it can be applied to a crystal of any size which is composed of the same crystal. Below, the different computational methods that can be used to investigate how these properties change with temperature are used.&lt;br /&gt;
&amp;lt;h3&amp;gt;Software used&amp;lt;/h3&amp;gt;&lt;br /&gt;
DLVisualise is the programmed used for modelling crystals in simulations such as this and allows chemists to visualise properties of crystals such as vibrations, energy, volume  and calculates these using wavefunctions of crystals - GULP lets the particular codes for the simulations to be accessed for running simulations. GULP is better for quantum based calculations such as lattice dynamics over molecular dynamics. However force fields for molecular dynamics can still be used and calculate values to output thermodynamic data. &lt;br /&gt;
&amp;lt;h3&amp;gt;Harmonic and Quasi-Harmonic approximations&amp;lt;/h3&amp;gt;&lt;br /&gt;
The harmonic oscillator is simply a taylor expansion of anhmarmonic potential. The harmonic oscillator takes the third term (quadratic term) giving the easily the harmonic oscillator parabola. When looking at harmonic potential energies, as the temperature is changed, the average bond length stays at an equilibrium point and therefore the volume of the crystal doesn&#039;t change. This means that although this approximation works well at lower temperatures as there is little change in volume at low temperatures in reality, at higher temperatures, harmonic and anharmonic (which is a much more realistic model) deviate a lot, giving unreliable data for higher temperatures. A compromise between harmonic which isn&#039;t a very reliable approximation as it only uses 3 terms from the taylor series expansion and using an anharmonic which uses many terms and will be very expensive is using a quasi-harmonic approximation. In the helmholtz free energy equations, the differences in the equations for harmonic and quasi-harmonic plots are in the frequency term. In a harmonic system, equation 3 would be used as the potential. However as the quasi harmonic system is being examined, within the brillouin zone &amp;lt;math&amp;gt;-\pi &amp;lt; k &amp;lt; \pi &amp;lt;/math&amp;gt; equation 1 can be used. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{4J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 1)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{2J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 2)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{1}{2\pi}){\frac{k}{\mu}}^{\frac{1}{2}} &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 3)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Helmholtz Free Energy&amp;lt;/h3&amp;gt;&lt;br /&gt;
[[File:Screen_Shot_2018-02-27_at_10.12.39.png|thumb|centre|Eq. 4]]&lt;br /&gt;
A = U - TS&lt;br /&gt;
In order to look at the energy of the vibrational modes, we use the vibrational contribution to the entropy using statistical thermodynamics and the partition coefficient. &lt;br /&gt;
The first term of equation 4 is the internal energy, the second term is the zero point energy (energy at 0K) and the final term is the statistical thermodynamics contribution - the contribution to the energy from the different vibrations.&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
The molecular dynamics method takes the values from the ideal MgO crystal, then when we change the parameters, generate random velocities. This process is repeated at each time step (each a microstate) then all of the microstates are averaged. An average of all of the microstates is carried out, when enough microstates have been sampled, they start to converge and properties of the crystal can start to be measured such as energy and volume. One of the main differences between the quasi-harmonic approximation and molecular dynamics is that quasi-harmonics uses quantum mechanics to calculate the volumes (the change in bond length) and molecular dynamics uses classical mechanics. When sampling a configuration, there needs to be enough time for the values to converge. This is where the length of the timesteps come into play - getting a more accurate value means that the calculations will take much longer and therefore be more expensive. &lt;br /&gt;
&amp;lt;h2&amp;gt;Method&amp;lt;/h2&amp;gt;&lt;br /&gt;
For all of the calculations, the GUI DLVisualise was used. For all calculations, the execute GULP panel was brought up and in the GULP potential parameters, ionic.lib was used and include shells was not included. &lt;br /&gt;
&amp;lt;h3&amp;gt;Lattice vibrations -Computing the phonons&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected, and then run was pressed. Once the job has completed, this shows in the job list and the files were recovered. The energy could be found in the log file under Total Free Energy. &lt;br /&gt;
[[File:MgO_phonon_1.PNG|thumb|centre|Figure 3: Aide for bond lengths table]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Calculating the free energy in the Harmonic approximation&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected. Under General Opts, phonon dispersion was selected with N points set to 50 and calculate phonon eigenvectors was selected, so that specific points in k-space (relating to the origin, x direction vectors being in phase etc.) are represented with greek letters. The files were recovered and the phonon dispersion was displayed using the 1D data display. &lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal expansion of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
The settings used for this calculation were, select phonon DOS, change shrinking factor to 20x20x20 and set the temperature from 0-3000 K in 100 K intervals. For each temperature, the free energy and lattice volume were taken from the log file. The volumes were multiplied by BLAH as the volume given in the log file is the primitive cell volume. This is also required to calculate the lattice parameter which is simply the cube root of the volume of a conventional cell. &lt;br /&gt;
[[File:MgO_DOS_16x16x16.PNG|thumb|centre|Figure 3: Aide for bond lengths table]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
For Molecular dynamics, a super cell which is twice the length on every side of the cell was used. This is so the cell is larger and is more similar to &#039;an infinite lattice&#039;. Molecular Dynamics option was selected on the execute panel, the NPT ensemble was chosen, the time step used was 1 femtosecond, equilibration steps of 500, production steps was set to 500 steps and sampling steps and trajectory write steps were set to 5. The temperature used went from 100-3000 K with 100 K interval steps. As the volume of the cell is different to the cell used in the quasi-harmonic approximation, the cell volume taken from the log file (the last average cell volume), the volume was divided by 8 to get the same volume as the conventional cell for the quasi-harmonic approximation.&lt;br /&gt;
&amp;lt;h2&amp;gt;Results and discussion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Phonon Modes of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
When the density of states for calculated for a single k point, it can be worked out by examining the phonon dispersion which k point this is. In this case, the point is L as there are only 4 peaks (2 that have double the intensity due to the double degeneracy) and at L there are only 4 branches where we would expect 6 (due to 3N to calculate number of vibrational branches expected). This can also be seen by comparing the frequencies of the peaks in the 1x1x1 DOS and the frequency of the 4 branches at L. This can be checked in the log file as although the character L is useful for helping us to determine the symmetry of the modes of vibrations, it&#039;s always useful to numerically quantify values. This is simply in the row &#039;K point&#039; where the K point is 0.5. It&#039;s important that it can be viewed in the log file as on the phonon dispersion, only greek characters which represent different k points can be seen and it&#039;s not always obvious what numerical value goes with each character. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_1.PNG|thumb|centre|Figure X: MgO Density of States 1x1x1 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_3x3x3.PNG|thumb|centre|Figure X: MgO Density of States 3x3x3 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_8x8x8.PNG|thumb|centre|Figure X: MgO Density of States 8x8x8 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_32x32x32.PNG|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from the progression in grid size that as the grid size increases, although the peaks with the greatest intensity stay in the same place, the shape of the density of states becomes much more defined and includes information on the states at k-points even where there is a lower number of states. When looking at the difference between grid sizes qualitatively, there isn&#039;t much of a difference between 8x8x8 and 32x32x32 apart from there is a more continuous curve with the same shape. It seems that a grid size of approximately 12x12x12 would be the minimum grid size as this is the grid size at which all k points are sampled and there aren&#039;t k-points with an angular frequency of 0 which then have non-zero values of angular frequencies at higher grid sizes. However, when deciding qualitatively, the convergence of the free energy can be used. At 20x20x20 and 6 decimal places, the free energy converges suggesting this is the optimum grid size to use. The density of states in terms of the phonon dispersion curve is basically plotting how many k points there are per value of angular frequency. This can be seen more easily by placing them side by side as seen in FIGURE ENTER HERE.&lt;br /&gt;
&amp;lt;h3&amp;gt;Free energy varied with grid size&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Grid size&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Free energy (eV)&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;1&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-41.07531759&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;2&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926609&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;3&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926432&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;4&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.92645&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;5&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926463&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;6&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926471&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;7&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926475&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;8&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926478&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;12&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926481&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;16&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926482&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;20&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;32&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;-40.926483&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In order to determine a suitable shrinking factor, a number of grid sizes were investigated with the highest being 32x32x32. As having a higher shrinking factor takes longer and more processing power (leads to being more expensive), choosing the shrinking factor becomes a compromise between time and accuracy. As can be seen from the plot, in Figure [X], and a subsequent calculation to check this, the Helmholtz free energy stops changing after a grid size of 20x20x20 so this seemed like a reasonable value to use as not to compromise the accuracy for a quicker run time.&lt;br /&gt;
INSERT TABLE HERE&lt;br /&gt;
As can be seen in TABLE X, after the grid size is 20x20x20, the values have converged and don&#039;t change (when looking at 6 decimal places, it may be changing beyond 6 decimal places). This is optimal as it reduces the computing power needed for a calculation whilst retaining almost the same level of accuracy. Using a grid size of 3x3x3 will gives a suitable energy for calculations accurate to 1 meV, REMEMBER TO DO 0.5mEV!!!!!!!! and a grid size of 5 gives a suitable energy for calculations accurate to 0.1 meV.&lt;br /&gt;
&amp;lt;h3&amp;gt;Quasi-Harmonic Thermal expansion&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Lattice_Parameter_Graph.png|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Free_energy_vs_T.png|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In Figure X, it can be seen that the free energy is constant, then almost linearly decreases. At very low temperatures, the only main contribution to the free energy is the zero point energy as this is temperature independent. At around 400 K (where the free energy starts to decrease). We can explain by looking at equation X as when the temperature increases, the entropic contribution increases. If we assume the internal energy doesn&#039;t change much with temperature, then the TS term will increase in magnitude and decrease the overall free energy term. By looking at equation X, the vibrational contribution term (also entropic term) is a ln term which will be negative, and again, decrease the overall free energy with an increase in temperature. &lt;br /&gt;
In the graph of lattice parameter vs temperature, the lattice parameter is initially constant and then increases linearly, then exponentially.  After the exponential region, it can be assumed that the lattice parameter increases exponentially, presumably converging at the melting temperature, however this would need to be investigated to be confirmed. Using the quasi-harmonic approximation, this gives the potential a &#039;quasi-anharmonic&#039; shape, meaning that the bond length will actually change with temperature but will just never reach the point where it breaks. Although this doesn&#039;t allow phase transitions to be investigated, it does allow the lattice parameter as a function of temperature to be investigated.&lt;br /&gt;
&lt;br /&gt;
Using the Quasi Harmonic approximation, and fitting the data to get a line of best fit with a gradient of INSERT HERE which is equivalent to &amp;lt;math&amp;gt;\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt;. Multiplying by the reciprocal of the initial volume of the crystal, gives a thermal expansion coefficient for the region of 300-1300 K of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;. By taking the value from lower temperatures, this gives a higher accuracy compared to the &#039;real value&#039;. This is because of the computational model that is being used. This model is quasi-harmonic which is based on the harmonic model. The harmonic oscillator is infinite and the bond between two atoms infinitely extends. However, at high temperatures this is not the reality. The bonds extend and break which is shown by the anharmonic model. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Temperature range (K)&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Quasi-Harmonic&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Molecular Dynamics&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Literature&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;0-300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.042\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;300-1300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.140\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;4.000\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-0-300.png|thumb|centre|Figure X: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-300-1300.png|thumb|centre|Figure X: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-Thermal-expansion-100-300.png|thumb|centre|Figure X: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-300-1300.png|thumb|centre|Figure X: ]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from Table X, at lower temperatures, the quasi-harmonic approximation gives a value closer to literature. This is because the quasi-harmonic approximation takes into account the zero point energy at lower temperatures which is the main contributing factor whereas molecular dynamics method doesn&#039;t giving a linear line much like the second temperature region - it only considers classical mechanics and not quantum mechanics like quasi-harmonic approximation which takes into account quantum effects such as the zero point energy. At lower temperatures, the molecular dynamics value had to be taken from the 100-300 K region as GULP gave an error at 0 K. This could be because molecular dynamics depends on the motion/velocity of the atoms. At 0 K, there is no motion meaning no information would be outputted, potentially giving an error. At higher temperatures, it can be seen that molecular dynamics gives a more accurate value compared to literature. This is because quasi-harmonic has a parabolic shape where the bond length increases exponentially with temperature. This means the bond length increases infinitely and the bond never breaks - the melting point can never be found using the quasi harmonic approximation. Quasi harmonic is, however, much more useful than simply a harmonic approximation as the average bond length stays at the bottom of the potential well in the harmonic oscillator potential meaning there&#039;s no difference in bond length at different temperatures.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Conclusion&amp;lt;/h2&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ar3015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=673954</id>
		<title>Rep:Ar3015MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=673954"/>
		<updated>2018-02-27T22:36:41Z</updated>

		<summary type="html">&lt;p&gt;Ar3015: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h1&amp;gt;MgO Report - Antonia Reeves&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;Introduction&amp;lt;/h2&amp;gt;&lt;br /&gt;
In chemistry, it is much easier to treat crystals as rigid structures with set lattice points in unit cells. This can often hold as a good approximation at very low temperatures. However, this is obviously not the case. There are many different vibrations happening throughout the lattice structure leading to thermal expansion. These vibrations can be quantified by using a wave vector - this gives the direction of the propagation of the wave in reciprocal space. We use reciprocal space because FILL IN HERE. This report investigates the effect of temperature on vibrations and size of the lattice structure of MgO. The lattice structure of MgO is face centred cubic. &lt;br /&gt;
&amp;lt;h3&amp;gt;Phonons and phonon dispersions&amp;lt;/h3&amp;gt;&lt;br /&gt;
In quantum chemistry, vibrations can be treated as both particles and waves. When treating vibrations as particles - just as particles of light are photons - they are called phonons. This can be used and a plot of frequency against wave vector can be generated. This effectively gives a plot of the energy against the &#039;the way that vibrations move&#039; which is the k vector. As the phonon dispersion plot investigates the different ways vibrations can take place in the same time, if there were for example only a few atoms, this would give rise to only a few different k points. However, as an infinite lattice is being used, instead of giving quantised k points, a continuous line of k points can be generated, giving rise to a band. One band is called a branch. The number of branches is dependent on the number of different atoms in the lattice. In MgO lattice there are 2 atoms. Using the equation 3N (not 3N-6 as this takes into account rotational and translation degeneracy for single molecules that don&#039;t need to be considered for crystal vibrations) where N is the number of different atoms, this gives 6 branches which can be seen in the phonon dispersion plot in Figure X. Using the dispersion plots are useful for seeing the frequency vs k vector as a whole, however, makes it difficult to determine pieces of information such as how many states are at a given frequency, and whether there is a direct or indirect band gap. This is simply one way of displaying all of the data - the same data can be displayed as a density of states. Instead of simply giving the angular frequency as a function of the wave vector, a plot of density of states can also show how many states have a given energy at each k vector point. This can show the energy difference in the band gap, and the most densely populated k-states more easily. In order to visualise the density of states, the phonon dispersion is &#039;chopped up&#039; into sections. The number of sections is determined by the grid size (these parameters can be changed in the GULP execution panel. In this, the frequencies at the edge of the grids are taken and plotted (only one side as not to repeat the counting of the frequencies). The higher the grid size, the greater the accuracy of the density of states as this allows a greater number of wave vectors to be sampled. The value of the grid size is called the shrinking factor.&lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal Expansion Coefficient&amp;lt;/h3&amp;gt;&lt;br /&gt;
Using the equation &amp;lt;math&amp;gt;\frac{1}{V_0}\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt; gives the thermal expansion coefficient. This value represents how much a given crystal expands with an increase in temperature.  The &amp;lt;math&amp;gt;\frac{1}{V_0}&amp;lt;/math&amp;gt; term to normalises this value so it can be applied to a crystal of any size which is composed of the same crystal. Below, the different computational methods that can be used to investigate how these properties change with temperature are used.&lt;br /&gt;
&amp;lt;h3&amp;gt;Software used&amp;lt;/h3&amp;gt;&lt;br /&gt;
DLVisualise is the programmed used for modelling crystals in simulations such as this and allows chemists to visualise properties of crystals such as vibrations, energy, volume  and calculates these using wavefunctions of crystals - GULP lets the particular codes for the simulations to be accessed for running simulations. GULP is better for quantum based calculations such as lattice dynamics over molecular dynamics. However force fields for molecular dynamics can still be used and calculate values to output thermodynamic data. &lt;br /&gt;
&amp;lt;h3&amp;gt;Harmonic and Quasi-Harmonic approximations&amp;lt;/h3&amp;gt;&lt;br /&gt;
The harmonic oscillator is simply a taylor expansion of anhmarmonic potential. The harmonic oscillator takes the third term (quadratic term) giving the easily the harmonic oscillator parabola. When looking at harmonic potential energies, as the temperature is changed, the average bond length stays at an equilibrium point and therefore the volume of the crystal doesn&#039;t change. This means that although this approximation works well at lower temperatures as there is little change in volume at low temperatures in reality, at higher temperatures, harmonic and anharmonic (which is a much more realistic model) deviate a lot, giving unreliable data for higher temperatures. A compromise between harmonic which isn&#039;t a very reliable approximation as it only uses 3 terms from the taylor series expansion and using an anharmonic which uses many terms and will be very expensive is using a quasi-harmonic approximation. In the helmholtz free energy equations, the differences in the equations for harmonic and quasi-harmonic plots are in the frequency term. In a harmonic system, equation 3 would be used as the potential. However as the quasi harmonic system is being examined, within the brillouin zone &amp;lt;math&amp;gt;-\pi &amp;lt; k &amp;lt; \pi &amp;lt;/math&amp;gt; equation 1 can be used. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{4J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 1)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{2J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 2)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{1}{2\pi}){\frac{k}{\mu}}^{\frac{1}{2}} &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 3)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Helmholtz Free Energy&amp;lt;/h3&amp;gt;&lt;br /&gt;
[[File:Screen_Shot_2018-02-27_at_10.12.39.png|thumb|centre|Eq. 4]]&lt;br /&gt;
A = U - TS&lt;br /&gt;
In order to look at the energy of the vibrational modes, we use the vibrational contribution to the entropy using statistical thermodynamics and the partition coefficient. &lt;br /&gt;
The first term of equation 4 is the internal energy, the second term is the zero point energy (energy at 0K) and the final term is the statistical thermodynamics contribution - the contribution to the energy from the different vibrations.&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
The molecular dynamics method takes the values from the ideal MgO crystal, then when we change the parameters, generate random velocities. This process is repeated at each time step (each a microstate) then all of the microstates are averaged. An average of all of the microstates is carried out, when enough microstates have been sampled, they start to converge and properties of the crystal can start to be measured such as energy and volume. One of the main differences between the quasi-harmonic approximation and molecular dynamics is that quasi-harmonics uses quantum mechanics to calculate the volumes (the change in bond length) and molecular dynamics uses classical mechanics. When sampling a configuration, there needs to be enough time for the values to converge. This is where the length of the timesteps come into play - getting a more accurate value means that the calculations will take much longer and therefore be more expensive. &lt;br /&gt;
&amp;lt;h2&amp;gt;Method&amp;lt;/h2&amp;gt;&lt;br /&gt;
For all of the calculations, the GUI DLVisualise was used. For all calculations, the execute GULP panel was brought up and in the GULP potential parameters, ionic.lib was used and include shells was not included. &lt;br /&gt;
&amp;lt;h3&amp;gt;Lattice vibrations -Computing the phonons&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected, and then run was pressed. Once the job has completed, this shows in the job list and the files were recovered. The energy could be found in the log file under Total Free Energy. &lt;br /&gt;
[[File:MgO_phonon_1.PNG|thumb|centre|Figure 3: Aide for bond lengths table]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Calculating the free energy in the Harmonic approximation&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected. Under General Opts, phonon dispersion was selected with N points set to 50 and calculate phonon eigenvectors was selected, so that specific points in k-space (relating to the origin, x direction vectors being in phase etc.) are represented with greek letters. The files were recovered and the phonon dispersion was displayed using the 1D data display. &lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal expansion of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
The settings used for this calculation were, select phonon DOS, change shrinking factor to 20x20x20 and set the temperature from 0-3000 K in 100 K intervals. For each temperature, the free energy and lattice volume were taken from the log file. The volumes were multiplied by BLAH as the volume given in the log file is the primitive cell volume. This is also required to calculate the lattice parameter which is simply the cube root of the volume of a conventional cell. &lt;br /&gt;
[[File:MgO_DOS_16x16x16.PNG|thumb|centre|Figure 3: Aide for bond lengths table]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
For Molecular dynamics, a super cell which is twice the length on every side of the cell was used. This is so the cell is larger and is more similar to &#039;an infinite lattice&#039;. Molecular Dynamics option was selected on the execute panel, the NPT ensemble was chosen, the time step used was 1 femtosecond, equilibration steps of 500, production steps was set to 500 steps and sampling steps and trajectory write steps were set to 5. The temperature used went from 100-3000 K with 100 K interval steps. As the volume of the cell is different to the cell used in the quasi-harmonic approximation, the cell volume taken from the log file (the last average cell volume), the volume was divided by 8 to get the same volume as the conventional cell for the quasi-harmonic approximation.&lt;br /&gt;
&amp;lt;h2&amp;gt;Results and discussion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Phonon Modes of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
When the density of states for calculated for a single k point, it can be worked out by examining the phonon dispersion which k point this is. In this case, the point is L as there are only 4 peaks (2 that have double the intensity due to the double degeneracy) and at L there are only 4 branches where we would expect 6 (due to 3N to calculate number of vibrational branches expected). This can also be seen by comparing the frequencies of the peaks in the 1x1x1 DOS and the frequency of the 4 branches at L. This can be checked in the log file as although the character L is useful for helping us to determine the symmetry of the modes of vibrations, it&#039;s always useful to numerically quantify values. This is simply in the row &#039;K point&#039; where the K point is 0.5. It&#039;s important that it can be viewed in the log file as on the phonon dispersion, only greek characters which represent different k points can be seen and it&#039;s not always obvious what numerical value goes with each character. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_1.PNG|thumb|centre|Figure X: MgO Density of States 1x1x1 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_3x3x3.PNG|thumb|centre|Figure X: MgO Density of States 3x3x3 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_8x8x8.PNG|thumb|centre|Figure X: MgO Density of States 8x8x8 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_32x32x32.PNG|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from the progression in grid size that as the grid size increases, although the peaks with the greatest intensity stay in the same place, the shape of the density of states becomes much more defined and includes information on the states at k-points even where there is a lower number of states. When looking at the difference between grid sizes qualitatively, there isn&#039;t much of a difference between 8x8x8 and 32x32x32 apart from there is a more continuous curve with the same shape. It seems that a grid size of approximately 12x12x12 would be the minimum grid size as this is the grid size at which all k points are sampled and there aren&#039;t k-points with an angular frequency of 0 which then have non-zero values of angular frequencies at higher grid sizes. However, when deciding qualitatively, the convergence of the free energy can be used. At 20x20x20 and 6 decimal places, the free energy converges suggesting this is the optimum grid size to use. The density of states in terms of the phonon dispersion curve is basically plotting how many k points there are per value of angular frequency. This can be seen more easily by placing them side by side as seen in FIGURE ENTER HERE.&lt;br /&gt;
&amp;lt;h3&amp;gt;Free energy varied with grid size&amp;lt;/h3&amp;gt;&lt;br /&gt;
In order to determine a suitable shrinking factor, a number of grid sizes were investigated with the highest being 32x32x32. As having a higher shrinking factor takes longer and more processing power (leads to being more expensive), choosing the shrinking factor becomes a compromise between time and accuracy. As can be seen from the plot, in Figure [X], and a subsequent calculation to check this, the Helmholtz free energy stops changing after a grid size of 20x20x20 so this seemed like a reasonable value to use as not to compromise the accuracy for a quicker run time.&lt;br /&gt;
INSERT TABLE HERE&lt;br /&gt;
As can be seen in TABLE X, after the grid size is 20x20x20, the values have converged and don&#039;t change (when looking at 6 decimal places, it may be changing beyond 6 decimal places). This is optimal as it reduces the computing power needed for a calculation whilst retaining almost the same level of accuracy. Using a grid size of 3x3x3 will gives a suitable energy for calculations accurate to 1 meV, REMEMBER TO DO 0.5mEV!!!!!!!! and a grid size of 5 gives a suitable energy for calculations accurate to 0.1 meV.&lt;br /&gt;
&amp;lt;h3&amp;gt;Quasi-Harmonic Thermal expansion&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Lattice_Parameter_Graph.png|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Free_energy_vs_T.png|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In Figure X, it can be seen that the free energy is constant, then almost linearly decreases. At very low temperatures, the only main contribution to the free energy is the zero point energy as this is temperature independent. At around 400 K (where the free energy starts to decrease). We can explain by looking at equation X as when the temperature increases, the entropic contribution increases. If we assume the internal energy doesn&#039;t change much with temperature, then the TS term will increase in magnitude and decrease the overall free energy term. By looking at equation X, the vibrational contribution term (also entropic term) is a ln term which will be negative, and again, decrease the overall free energy with an increase in temperature. &lt;br /&gt;
In the graph of lattice parameter vs temperature, the lattice parameter is initially constant and then increases linearly, then exponentially.  After the exponential region, it can be assumed that the lattice parameter increases exponentially, presumably converging at the melting temperature, however this would need to be investigated to be confirmed. Using the quasi-harmonic approximation, this gives the potential a &#039;quasi-anharmonic&#039; shape, meaning that the bond length will actually change with temperature but will just never reach the point where it breaks. Although this doesn&#039;t allow phase transitions to be investigated, it does allow the lattice parameter as a function of temperature to be investigated.&lt;br /&gt;
&lt;br /&gt;
Using the Quasi Harmonic approximation, and fitting the data to get a line of best fit with a gradient of INSERT HERE which is equivalent to &amp;lt;math&amp;gt;\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt;. Multiplying by the reciprocal of the initial volume of the crystal, gives a thermal expansion coefficient for the region of 300-1300 K of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;. By taking the value from lower temperatures, this gives a higher accuracy compared to the &#039;real value&#039;. This is because of the computational model that is being used. This model is quasi-harmonic which is based on the harmonic model. The harmonic oscillator is infinite and the bond between two atoms infinitely extends. However, at high temperatures this is not the reality. The bonds extend and break which is shown by the anharmonic model. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Temperature range (K)&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Quasi-Harmonic&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Molecular Dynamics&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Literature&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;0-300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.042\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;300-1300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.140\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;4.000\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-0-300.png|thumb|centre|Figure X: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-300-1300.png|thumb|centre|Figure X: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-Thermal-expansion-100-300.png|thumb|centre|Figure X: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-300-1300.png|thumb|centre|Figure X: ]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from Table X, at lower temperatures, the quasi-harmonic approximation gives a value closer to literature. This is because the quasi-harmonic approximation takes into account the zero point energy at lower temperatures which is the main contributing factor whereas molecular dynamics method doesn&#039;t giving a linear line much like the second temperature region - it only considers classical mechanics and not quantum mechanics like quasi-harmonic approximation which takes into account quantum effects such as the zero point energy. At lower temperatures, the molecular dynamics value had to be taken from the 100-300 K region as GULP gave an error at 0 K. This could be because molecular dynamics depends on the motion/velocity of the atoms. At 0 K, there is no motion meaning no information would be outputted, potentially giving an error. At higher temperatures, it can be seen that molecular dynamics gives a more accurate value compared to literature. This is because quasi-harmonic has a parabolic shape where the bond length increases exponentially with temperature. This means the bond length increases infinitely and the bond never breaks - the melting point can never be found using the quasi harmonic approximation. Quasi harmonic is, however, much more useful than simply a harmonic approximation as the average bond length stays at the bottom of the potential well in the harmonic oscillator potential meaning there&#039;s no difference in bond length at different temperatures.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Conclusion&amp;lt;/h2&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ar3015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=673916</id>
		<title>Rep:Ar3015MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=673916"/>
		<updated>2018-02-27T22:04:41Z</updated>

		<summary type="html">&lt;p&gt;Ar3015: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h1&amp;gt;MgO Report - Antonia Reeves&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;Introduction&amp;lt;/h2&amp;gt;&lt;br /&gt;
In chemistry, it is much easier to treat crystals as rigid structures with set lattice points in unit cells. This can often hold as a good approximation at very low temperatures. However, this is obviously not the case. There are many different vibrations happening throughout the lattice structure leading to thermal expansion. These vibrations can be quantified by using a wave vector - this gives the direction of the propagation of the wave in reciprocal space. We use reciprocal space because FILL IN HERE. This report investigates the effect of temperature on vibrations and size of the lattice structure of MgO. The lattice structure of MgO is face centred cubic. &lt;br /&gt;
&amp;lt;h3&amp;gt;Phonons and phonon dispersions&amp;lt;/h3&amp;gt;&lt;br /&gt;
In quantum chemistry, vibrations can be treated as both particles and waves. When treating vibrations as particles - just as particles of light are photons - they are called phonons. This can be used and a plot of frequency against wave vector can be generated. This effectively gives a plot of the energy against the &#039;the way that vibrations move&#039; which is the k vector. As the phonon dispersion plot investigates the different ways vibrations can take place in the same time, if there were for example only a few atoms, this would give rise to only a few different k points. However, as an infinite lattice is being used, instead of giving quantised k points, a continuous line of k points can be generated, giving rise to a band. One band is called a branch. The number of branches is dependent on the number of different atoms in the lattice. In MgO lattice there are 2 atoms. Using the equation 3N (not 3N-6 as this takes into account rotational and translation degeneracy for single molecules that don&#039;t need to be considered for crystal vibrations) where N is the number of different atoms, this gives 6 branches which can be seen in the phonon dispersion plot in Figure X. Using the dispersion plots are useful for seeing the frequency vs k vector as a whole, however, makes it difficult to determine pieces of information such as how many states are at a given frequency, and whether there is a direct or indirect band gap. This is simply one way of displaying all of the data - the same data can be displayed as a density of states. Instead of simply giving the angular frequency as a function of the wave vector, a plot of density of states can also show how many states have a given energy at each k vector point. This can show the energy difference in the band gap, and the most densely populated k-states more easily. In order to visualise the density of states, the phonon dispersion is &#039;chopped up&#039; into sections. The number of sections is determined by the grid size (these parameters can be changed in the GULP execution panel. In this, the frequencies at the edge of the grids are taken and plotted (only one side as not to repeat the counting of the frequencies). The higher the grid size, the greater the accuracy of the density of states as this allows a greater number of wave vectors to be sampled. The value of the grid size is called the shrinking factor.&lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal Expansion Coefficient&amp;lt;/h3&amp;gt;&lt;br /&gt;
Using the equation &amp;lt;math&amp;gt;\frac{1}{V_0}\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt; gives the thermal expansion coefficient. This value represents how much a given crystal expands with an increase in temperature.  The &amp;lt;math&amp;gt;\frac{1}{V_0}&amp;lt;/math&amp;gt; term to normalises this value so it can be applied to a crystal of any size which is composed of the same crystal. Below, the different computational methods that can be used to investigate how these properties change with temperature are used.&lt;br /&gt;
&amp;lt;h3&amp;gt;Software used&amp;lt;/h3&amp;gt;&lt;br /&gt;
DLVisualise is the programmed used for modelling crystals in simulations such as this and allows chemists to visualise properties of crystals such as vibrations, energy, volume  and calculates these using wavefunctions of crystals - GULP lets the particular codes for the simulations to be accessed for running simulations. GULP is better for quantum based calculations such as lattice dynamics over molecular dynamics. However force fields for molecular dynamics can still be used and calculate values to output thermodynamic data. &lt;br /&gt;
&amp;lt;h3&amp;gt;Harmonic and Quasi-Harmonic approximations&amp;lt;/h3&amp;gt;&lt;br /&gt;
The harmonic oscillator is simply a taylor expansion of anhmarmonic potential. The harmonic oscillator takes the third term (quadratic term) giving the easily the harmonic oscillator parabola. When looking at harmonic potential energies, as we change the temperature, the average bond length stays at an equilibrium point and therefore the volume of the crystal doesn&#039;t change. This means that although this approximation works well at lower temperatures as there is little change in volume at low temperatures in reality, at higher temperatures, harmonic and anharmonic (which is a much more realistic model) deviate a lot, giving unreliable data for higher temperatures. A compromise between harmonic which isn&#039;t a very reliable approximation as it only uses 3 terms from the taylor series expansion and using an anharmonic which uses many terms and will be very expensive is using a quasi-harmonic approximation. When we use the Quasi Harmonic approximation, although the approximation isn&#039;t as accurate as anharmonic, it still gives the point where the bond breaks at higher temperatures. In the helmholtz free energy equations, the differences in the equations for harmonic and quasi-harmonic plots are in the frequency term. In a harmonic system, equation 3 would be used as the potential. However as the quasi harmonic system is being examined, within the brillouin zone &amp;lt;math&amp;gt;-\pi &amp;lt; k &amp;lt; \pi &amp;lt;/math&amp;gt; equation 1 can be used. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{4J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 1)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{2J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 2)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{1}{2\pi}){\frac{k}{\mu}}^{\frac{1}{2}} &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 3)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
The molecular dynamics method takes the values from the ideal MgO crystal, then when we change the parameters, generate random velocities. This process is repeated at each time step (each a microstate) then all of the microstates are averaged. An average of all of the microstates is carried out, when enough microstates have been sampled, they start to converge and properties of the crystal can start to be measured such as energy and volume. One of the main differences between the quasi-harmonic approximation and molecular dynamics is that quasi-harmonics uses quantum mechanics to calculate the volumes (the change in bond length) and molecular dynamics uses classical mechanics. When sampling a configuration, there needs to be enough time for the values to converge. This is where the length of the timesteps come into play - getting a more accurate value means that the calculations will take much longer and therefore be more expensive. &lt;br /&gt;
&amp;lt;h3&amp;gt;Helmholtz Free Energy&amp;lt;/h3&amp;gt;&lt;br /&gt;
[[File:Screen_Shot_2018-02-27_at_10.12.39.png|thumb|centre|Eq. 4]]&lt;br /&gt;
A = U - TS&lt;br /&gt;
In order to look at the energy of the vibrational modes, we use the vibrational contribution to the entropy using statistical thermodynamics and the partition coefficient. &lt;br /&gt;
The first term of equation 4 is the internal energy, the second term is the zero point energy (energy at 0K) and the final term is the statistical thermodynamics contribution - the contribution to the energy from the different vibrations.&lt;br /&gt;
&amp;lt;h2&amp;gt;Method&amp;lt;/h2&amp;gt;&lt;br /&gt;
For all of the calculations, the GUI DLVisualise was used. For all calculations, the execute GULP panel was brought up and in the GULP potential parameters, ionic.lib was used and include shells was not included. &lt;br /&gt;
&amp;lt;h3&amp;gt;Lattice vibrations -Computing the phonons&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected, and then run was pressed. Once the job has completed, this shows in the job list and the files were recovered. The energy could be found in the log file under Total Free Energy. &lt;br /&gt;
[[File:MgO_phonon_1.PNG|thumb|centre|Figure 3: Aide for bond lengths table]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Calculating the free energy in the Harmonic approximation&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected. Under General Opts, phonon dispersion was selected with N points set to 50 and calculate phonon eigenvectors was selected, so that specific points in k-space (relating to the origin, x direction vectors being in phase etc.) are represented with greek letters. The files were recovered and the phonon dispersion was displayed using the 1D data display. &lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal expansion of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
The settings used for this calculation were, select phonon DOS, change shrinking factor to 20x20x20 and set the temperature from 0-3000 K in 100 K intervals. For each temperature, the free energy and BLAH were taken from the log file.&lt;br /&gt;
[[File:MgO_DOS_16x16x16.PNG|thumb|centre|Figure 3: Aide for bond lengths table]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
For Molecular dynamics, a super cell which is twice the length on every side of the cell. This is so the cell is larger and is more similar to &#039;an infinite lattice&#039;. Molecular Dynamics option was selected on the execute panel, the NPT ensemble was chosen, the time step used was 1 femtosecond, equilibration steps of 500, production steps to 500 steps and sampling steps and trajectory write steps to 5. The temperature used went from 100-3000 K with 100 K interval steps. As the volume of the cell is different to the cell used in the quasi-harmonic approximation, the cell volume taken from the log file (the last average cell volume), the volume was divided by 8 to get the same volume as the conventional cell for the quasi-harmonic approximation.&lt;br /&gt;
&amp;lt;h2&amp;gt;Results and discussion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Phonon Modes of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
When the density of states for calculated for a single k point, it can be worked out by examining the phonon dispersion which k point this is. In this case, the point is L as there are only 4 peaks (2 that have double the intensity due to the double degeneracy) and at L there are only 4 branches where we would expect 6 (due to 3N to calculate number of vibrational branches expected). This can also be seen by comparing the frequencies of the peaks in the 1x1x1 DOS and the frequency of the 4 branches at L. This can be checked in the log file as although the character L is useful for helping us to determine the symmetry of the modes of vibrations, it&#039;s always useful to numerically quantify values. This is simply in the row &#039;K point&#039; where the K point is 0.5. It&#039;s important that it can be viewed in the log file as on the phonon dispersion, only greek characters which represent different k points can be seen and it&#039;s not always obvious what numerical value goes with each character. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_1.PNG|thumb|centre|Figure X: MgO Density of States 1x1x1 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_3x3x3.PNG|thumb|centre|Figure X: MgO Density of States 3x3x3 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_8x8x8.PNG|thumb|centre|Figure X: MgO Density of States 8x8x8 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_32x32x32.PNG|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from the progression in grid size that as the grid size increases, although the peaks with the greatest intensity stay in the same place, the shape of the density of states becomes much more defined and includes information on the states at k-points even where there is a lower number of states. When looking at the difference between grid sizes qualitatively, there isn&#039;t much of a difference between 8x8x8 and 32x32x32 apart from there is a more continuous curve with the same shape. It seems that a grid size of approximately 12x12x12 would be the minimum grid size as this is the grid size at which all k points are sampled and there aren&#039;t k-points with an angular frequency of 0 which then have non-zero values of angular frequencies at higher grid sizes. However, when deciding qualitatively, the convergence of the free energy can be used. At 20x20x20 and 6 decimal places, the free energy converges suggesting this is the optimum grid size to use. The density of states in terms of the phonon dispersion curve is basically plotting how many k points there are per value of angular frequency. This can be seen more easily by placing them side by side as seen in FIGURE ENTER HERE.&lt;br /&gt;
&amp;lt;h3&amp;gt;Free energy varied with grid size&amp;lt;/h3&amp;gt;&lt;br /&gt;
In order to determine a suitable shrinking factor, a number of grid sizes were investigated with the highest being 32x32x32. As having a higher shrinking factor takes longer and more processing power (leads to being more expensive), choosing the shrinking factor becomes a compromise between time and accuracy. As can be seen from the plot, in Figure [X], and a subsequent calculation to check this, the Helmholtz free energy stops changing after a grid size of 20x20x20 so this seemed like a reasonable value to use as not to compromise the accuracy for a quicker run time.&lt;br /&gt;
INSERT TABLE HERE&lt;br /&gt;
As can be seen in TABLE X, after the grid size is 20x20x20, the values have converged and don&#039;t change (when looking at 6 decimal places, it may be changing beyond 6 decimal places). This is optimal as it reduces the computing power needed for a calculation whilst retaining almost the same level of accuracy. Using a grid size of 3x3x3 will gives a suitable energy for calculations accurate to 1 meV, REMEMBER TO DO 0.5mEV!!!!!!!! and a grid size of 5 gives a suitable energy for calculations accurate to 0.1 meV.&lt;br /&gt;
&amp;lt;h3&amp;gt;Quasi-Harmonic Thermal expansion&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Lattice_Parameter_Graph.png|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Free_energy_vs_T.png|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In Figure X, it can be seen that the free energy is constant, then almost linearly decreases. At very low temperatures, the only main contribution to the free energy is the zero point energy as this is temperature independent. At around 400 K (where the free energy starts to decrease). We can explain by looking at equation X as when the temperature increases, the entropic contribution increases. If we assume the internal energy doesn&#039;t change much with temperature, then the TS term will increase in magnitude and decrease the overall free energy term. By looking at equation X, the vibrational contribution term (also entropic term) is a ln term which will be negative, and again, decrease the overall free energy with an increase in temperature. &lt;br /&gt;
In the graph of lattice parameter vs temperature, the lattice parameter is initially constant and then increases linearly, then exponentially.  After the exponential region, it can be assumed that the lattice parameter increases exponentially, presumably converging at the melting temperature, however this would need to be investigated to be confirmed. Using the quasi-harmonic approximation, this gives the potential a &#039;quasi-anharmonic&#039; shape, meaning that the bond length will actually change with temperature but will just never reach the point where it breaks. Although this doesn&#039;t allow phase transitions to be investigated, it does allow the lattice parameter as a function of temperature to be investigated.&lt;br /&gt;
&lt;br /&gt;
Using the Quasi Harmonic approximation, and fitting the data to get a line of best fit with a gradient of INSERT HERE which is equivalent to &amp;lt;math&amp;gt;\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt;. Multiplying by the reciprocal of the initial volume of the crystal, gives a thermal expansion coefficient for the region of 300-1300 K of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;. By taking the value from lower temperatures, this gives a higher accuracy compared to the &#039;real value&#039;. This is because of the computational model that is being used. This model is quasi-harmonic which is based on the harmonic model. The harmonic oscillator is infinite and the bond between two atoms infinitely extends. However, at high temperatures this is not the reality. The bonds extend and break which is shown by the anharmonic model. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Temperature range (K)&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Quasi-Harmonic&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Molecular Dynamics&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Literature&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;0-300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.042\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;300-1300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.140\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;4.000\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-0-300.png|thumb|centre|Figure X: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-300-1300.png|thumb|centre|Figure X: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-Thermal-expansion-100-300.png|thumb|centre|Figure X: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-300-1300.png|thumb|centre|Figure X: ]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from Table X, at lower temperatures, the quasi-harmonic approximation gives a value closer to literature. This is because the quasi-harmonic approximation takes into account the zero point energy at lower temperatures which is the main contributing factor whereas molecular dynamics method doesn&#039;t giving a linear line much like the second temperature region - it only considers classical mechanics and not quantum mechanics like quasi-harmonic approximation which takes into account quantum effects such as the zero point energy. At lower temperatures, the molecular dynamics value had to be taken from the 100-300 K region as GULP gave an error at 0 K. This could be because molecular dynamics depends on the motion/velocity of the atoms. At 0 K, there is no motion meaning no information would be outputted, potentially giving an error. At higher temperatures, it can be seen that molecular dynamics gives a more accurate value compared to literature. This is because quasi-harmonic has a parabolic shape where the bond length increases exponentially with temperature. This means the bond length increases infinitely and the bond never breaks - the melting point can never be found using the quasi harmonic approximation. Quasi harmonic is, however, much more useful than simply a harmonic approximation as the average bond length stays at the bottom of the potential well in the harmonic oscillator potential meaning there&#039;s no difference in bond length at different temperatures.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Conclusion&amp;lt;/h2&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ar3015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=673888</id>
		<title>Rep:Ar3015MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=673888"/>
		<updated>2018-02-27T21:47:42Z</updated>

		<summary type="html">&lt;p&gt;Ar3015: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h1&amp;gt;MgO Report - Antonia Reeves&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;Introduction&amp;lt;/h2&amp;gt;&lt;br /&gt;
In chemistry, it is much easier to treat crystals as rigid structures with set lattice points in unit cells. This can often hold as a good approximation at very low temperatures. However, this is obviously not the case. There are many different vibrations happening throughout the lattice structure leading to thermal expansion. These vibrations can be quantified by using a wave vector - this gives the direction of the propagation of the wave in reciprocal space. We use reciprocal space because FILL IN HERE. This report investigates the effect of temperature on vibrations and size of the lattice structure of MgO. The lattice structure of MgO is face centred cubic. &lt;br /&gt;
&amp;lt;h3&amp;gt;Phonons and phonon dispersions&amp;lt;/h3&amp;gt;&lt;br /&gt;
In quantum chemistry, vibrations can be treated as both particles and waves. When treating vibrations as particles - just as particles of light are photons - they are called phonons. This can be used and a plot of frequency against wave vector can be generated. This effectively gives a plot of the energy against the &#039;the way that vibrations move&#039; which is the k vector. As the phonon dispersion plot investigates the different ways vibrations can take place in the same time, if there were for example only a few atoms, this would give rise to only a few different k points. However, as an infinite lattice is being used, instead of giving quantised k points, a continuous line of k points can be generated, giving rise to a band. One band is called a branch. The number of branches is dependent on the number of different atoms in the lattice. In MgO lattice there are 2 atoms. Using the equation 3N (not 3N-6 as this takes into account rotational and translation degeneracy for single molecules that don&#039;t need to be considered for crystal vibrations) where N is the number of different atoms, this gives 6 branches which can be seen in the phonon dispersion plot in Figure X. Using the dispersion plots are useful for seeing the frequency vs k vector as a whole, however, makes it difficult to determine pieces of information such as how many states are at a given frequency, and whether there is a direct or indirect band gap. This is simply one way of displaying all of the data - the same data can be displayed as a density of states. Instead of simply giving the angular frequency as a function of the wave vector, a plot of density of states can also show how many states have a given energy at each k vector point. This can show the energy difference in the band gap, and the most densely populated k-states more easily. In order to visualise the density of states, the phonon dispersion is &#039;chopped up&#039; into sections. The number of sections is determined by the grid size (these parameters can be changed in the GULP execution panel. In this, the frequencies at the edge of the grids are taken and plotted (only one side as not to repeat the counting of the frequencies). The higher the grid size, the greater the accuracy of the density of states as this allows a greater number of wave vectors to be sampled. The value of the grid size is called the shrinking factor.&lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal Expansion Coefficient&amp;lt;/h3&amp;gt;&lt;br /&gt;
Using the equation &amp;lt;math&amp;gt;\frac{1}{V_0}\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt; gives the thermal expansion coefficient. This value represents how much a given crystal expands with an increase in temperature.  The &amp;lt;math&amp;gt;\frac{1}{V_0}&amp;lt;/math&amp;gt; term to normalises this value so it can be applied to a crystal of any size which is composed of the same crystal. Below, the different computational methods that can be used to investigate how these properties change with temperature are used.&lt;br /&gt;
&amp;lt;h3&amp;gt;Software used&amp;lt;/h3&amp;gt;&lt;br /&gt;
DLVisualise is the programmed used for modelling crystals in simulations such as this and allows chemists to visualise properties of crystals such as vibrations, energy, volume  and calculates these using wavefunctions of crystals - GULP lets the particular codes for the simulations to be accessed for running simulations. GULP is better for quantum based calculations such as lattice dynamics over molecular dynamics. However force fields for molecular dynamics can still be used and calculate values to output thermodynamic data. &lt;br /&gt;
&amp;lt;h3&amp;gt;Harmonic and Quasi-Harmonic approximations&amp;lt;/h3&amp;gt;&lt;br /&gt;
The harmonic oscillator is simply a taylor expansion of INSERT EQUATION. The harmonic oscillator takes the third term (quadratic term) giving the easily the harmonic oscillator parabola. When looking at harmonic potential energies, as we change the temperature, the average bond length stays at an equilibrium point and therefore the volume of the crystal doesn&#039;t change. This means that although this approximation works well at lower temperatures as there is little change in volume at low temperatures in reality, at higher temperatures, harmonic and anharmonic (which is a much more realistic model) deviate a lot, giving unreliable data for higher temperatures. A compromise between harmonic which isn&#039;t a very reliable approximation as it only uses 3 terms from the taylor series expansion and using an anharmonic which uses many terms and will be very expensive is using a quasi-harmonic approximation. When we use the Quasi Harmonic approximation, although the approximation isn&#039;t as accurate as anharmonic, it still gives the point where the bond breaks at higher temperatures. INSERT HELMHOLTZ EQUATION.  In the helmholtz free energy equations we use, the differences in the equations for harmonic and quasi-harmonic plots are in the frequency term. In a harmonic system, we would use equation 3 as the potential, however as we are looking at a quasi harmonic system, within the brillouin zone &amp;lt;math&amp;gt;-\pi &amp;lt; k &amp;lt; \pi &amp;lt;/math&amp;gt; we use equation 1. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{4J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 1)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{2J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 2)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{1}{2\pi}){\frac{k}{\mu}}^{\frac{1}{2}} &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 3)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
The molecular dynamics method takes the values from the ideal MgO crystal, then when we change the parameters, generate random velocities. This process is repeated at each time step (each a microstate) then all of the microstates are averaged. An average of all of the microstates is carried out, when enough microstates have been sampled, they start to converge and properties of the crystal can start to be measured such as energy and volume. One of the main differences between the quasi-harmonic approximation and molecular dynamics is that quasi-harmonics uses quantum mechanics to calculate the volumes (the change in bond length) and molecular dynamics uses classical mechanics. When sampling a configuration, there needs to be enough time for the values to converge. This is where the length of the timesteps come into play - getting a more accurate value means that the calculations will take much longer and therefore be more expensive. &lt;br /&gt;
&amp;lt;h3&amp;gt;Helmholtz Free Energy&amp;lt;/h3&amp;gt;&lt;br /&gt;
[[File:Screen_Shot_2018-02-27_at_10.12.39.png|thumb|centre|Eq. 4]]&lt;br /&gt;
A = U - TS&lt;br /&gt;
In order to look at the energy of the vibrational modes, we use the vibrational contribution to the entropy using statistical thermodynamics and the partition coefficient. &lt;br /&gt;
The first term of equation 4 is the internal energy, the second term is the zero point energy (energy at 0K) and the final term is the statistical thermodynamics contribution - the contribution to the energy from the different vibrations.&lt;br /&gt;
&amp;lt;h2&amp;gt;Method&amp;lt;/h2&amp;gt;&lt;br /&gt;
For all of the calculations, the GUI DLVisualise was used. For all calculations, the execute GULP panel was brought up and in the GULP potential parameters, ionic.lib was used and include shells was not included. &lt;br /&gt;
&amp;lt;h3&amp;gt;Lattice vibrations -Computing the phonons&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected, and then run was pressed. Once the job has completed, this shows in the job list and the files were recovered. The energy could be found in the log file under Total Free Energy. &lt;br /&gt;
[[File:MgO_phonon_1.PNG|thumb|centre|Figure 3: Aide for bond lengths table]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Calculating the free energy in the Harmonic approximation&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected. Under General Opts, phonon dispersion was selected with N points set to 50 and calculate phonon eigenvectors was selected, so that specific points in k-space (relating to the origin, x direction vectors being in phase etc.) are represented with greek letters. The files were recovered and the phonon dispersion was displayed using the 1D data display. &lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal expansion of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
The settings used for this calculation were, select phonon DOS, change shrinking factor to 20x20x20 and set the temperature from 0-3000 K in 100 K intervals. For each temperature, the free energy and BLAH were taken from the log file.&lt;br /&gt;
[[File:MgO_DOS_16x16x16.PNG|thumb|centre|Figure 3: Aide for bond lengths table]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
For Molecular dynamics, a super cell which is twice the length on every side of the cell. This is so the cell is larger and is more similar to &#039;an infinite lattice&#039;. Molecular Dynamics option was selected on the execute panel, the NPT ensemble was chosen, the time step used was 1 femtosecond, equilibration steps of 500, production steps to 500 steps and sampling steps and trajectory write steps to 5. The temperature used went from 100-3000 K with 100 K interval steps. As the volume of the cell is different to the cell used in the quasi-harmonic approximation, the cell volume taken from the log file (the last average cell volume), the volume was divided by 8 to get the same volume as the conventional cell for the quasi-harmonic approximation.&lt;br /&gt;
&amp;lt;h2&amp;gt;Results and discussion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Phonon Modes of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
When the density of states for calculated for a single k point, it can be worked out by examining the phonon dispersion which k point this is. In this case, the point is L as there are only 4 peaks (2 that have double the intensity due to the double degeneracy) and at L there are only 4 branches where we would expect 6 (due to 3N to calculate number of vibrational branches expected). This can also be seen by comparing the frequencies of the peaks in the 1x1x1 DOS and the frequency of the 4 branches at L. This can be checked in the log file as although the character L is useful for helping us to determine the symmetry of the modes of vibrations, it&#039;s always useful to numerically quantify values. This is simply in the row &#039;K point&#039; where the K point is 0.5. It&#039;s important that it can be viewed in the log file as on the phonon dispersion, only greek characters which represent different k points can be seen and it&#039;s not always obvious what numerical value goes with each character. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_1.PNG|thumb|centre|Figure X: MgO Density of States 1x1x1 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_3x3x3.PNG|thumb|centre|Figure X: MgO Density of States 3x3x3 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_8x8x8.PNG|thumb|centre|Figure X: MgO Density of States 8x8x8 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_32x32x32.PNG|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from the progression in grid size that as the grid size increases, although the peaks with the greatest intensity stay in the same place, the shape of the density of states becomes much more defined and includes information on the states at k-points even where there is a lower number of states. When looking at the difference between grid sizes qualitatively, there isn&#039;t much of a difference between 8x8x8 and 32x32x32 apart from there is a more continuous curve with the same shape. It seems that a grid size of approximately 12x12x12 would be the minimum grid size as this is the grid size at which all k points are sampled and there aren&#039;t k-points with an angular frequency of 0 which then have non-zero values of angular frequencies at higher grid sizes. However, when deciding qualitatively, the convergence of the free energy can be used. At 20x20x20 and 6 decimal places, the free energy converges suggesting this is the optimum grid size to use. The density of states in terms of the phonon dispersion curve is basically plotting how many k points there are per value of angular frequency. This can be seen more easily by placing them side by side as seen in FIGURE ENTER HERE.&lt;br /&gt;
&amp;lt;h3&amp;gt;Free energy varied with grid size&amp;lt;/h3&amp;gt;&lt;br /&gt;
In order to determine a suitable shrinking factor, a number of grid sizes were investigated with the highest being 32x32x32. As having a higher shrinking factor takes longer and more processing power (leads to being more expensive), choosing the shrinking factor becomes a compromise between time and accuracy. As can be seen from the plot, in Figure [X], and a subsequent calculation to check this, the Helmholtz free energy stops changing after a grid size of 20x20x20 so this seemed like a reasonable value to use as not to compromise the accuracy for a quicker run time.&lt;br /&gt;
INSERT TABLE HERE&lt;br /&gt;
As can be seen in TABLE X, after the grid size is 20x20x20, the values have converged and don&#039;t change (when looking at 6 decimal places, it may be changing beyond 6 decimal places). This is optimal as it reduces the computing power needed for a calculation whilst retaining almost the same level of accuracy. Using a grid size of 3x3x3 will gives a suitable energy for calculations accurate to 1 meV, REMEMBER TO DO 0.5mEV!!!!!!!! and a grid size of 5 gives a suitable energy for calculations accurate to 0.1 meV.&lt;br /&gt;
&amp;lt;h3&amp;gt;Quasi-Harmonic Thermal expansion&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Lattice_Parameter_Graph.png|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Free_energy_vs_T.png|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In Figure X, it can be seen that the free energy is constant, then almost linearly decreases. At very low temperatures, the only main contribution to the free energy is the zero point energy as this is temperature independent. At around 400 K (where the free energy starts to decrease). We can explain by looking at equation X as when the temperature increases, the entropic contribution increases. If we assume the internal energy doesn&#039;t change much with temperature, then the TS term will increase in magnitude and decrease the overall free energy term. By looking at equation X, the vibrational contribution term (also entropic term) is a ln term which will be negative, and again, decrease the overall free energy with an increase in temperature. &lt;br /&gt;
In the graph of lattice parameter vs temperature, the lattice parameter is initially constant and then increases linearly, then exponentially.  After the exponential region, it can be assumed that the lattice parameter increases exponentially, presumably converging at the melting temperature, however this would need to be investigated to be confirmed. Using the quasi-harmonic approximation, this gives the potential a &#039;quasi-anharmonic&#039; shape, meaning that the bond length will actually change with temperature but will just never reach the point where it breaks. Although this doesn&#039;t allow phase transitions to be investigated, it does allow the lattice parameter as a function of temperature to be investigated.&lt;br /&gt;
&lt;br /&gt;
Using the Quasi Harmonic approximation, and fitting the data to get a line of best fit with a gradient of INSERT HERE which is equivalent to &amp;lt;math&amp;gt;\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt;. Multiplying by the reciprocal of the initial volume of the crystal, gives a thermal expansion coefficient for the region of 300-1300 K of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;. By taking the value from lower temperatures, this gives a higher accuracy compared to the &#039;real value&#039;. This is because of the computational model that is being used. This model is quasi-harmonic which is based on the harmonic model. The harmonic oscillator is infinite and the bond between two atoms infinitely extends. However, at high temperatures this is not the reality. The bonds extend and break which is shown by the anharmonic model. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Temperature range (K)&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Quasi-Harmonic&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Molecular Dynamics&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Literature&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;0-300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.042\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;300-1300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.140\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;4.000\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-0-300.png|thumb|centre|Figure X: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-300-1300.png|thumb|centre|Figure X: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-Thermal-expansion-100-300.png|thumb|centre|Figure X: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-300-1300.png|thumb|centre|Figure X: ]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from Table X, at lower temperatures, the quasi-harmonic approximation gives a value closer to literature. This is because the quasi-harmonic approximation takes into account the zero point energy at lower temperatures which is the main contributing factor whereas molecular dynamics method doesn&#039;t giving a linear line much like the second temperature region - it only considers classical mechanics and not quantum mechanics like quasi-harmonic approximation which takes into account quantum effects such as the zero point energy. At lower temperatures, the molecular dynamics value had to be taken from the 100-300 K region as GULP gave an error at 0 K. This could be because molecular dynamics depends on the motion/velocity of the atoms. At 0 K, there is no motion meaning no information would be outputted, potentially giving an error. At higher temperatures, it can be seen that molecular dynamics gives a more accurate value compared to literature. This is because quasi-harmonic has a parabolic shape where the bond length increases exponentially with temperature. This means the bond length increases infinitely and the bond never breaks - the melting point can never be found using the quasi harmonic approximation. Quasi harmonic is, however, much more useful than simply a harmonic approximation as the average bond length stays at the bottom of the potential well in the harmonic oscillator potential meaning there&#039;s no difference in bond length at different temperatures.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Conclusion&amp;lt;/h2&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ar3015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=673757</id>
		<title>Rep:Ar3015MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=673757"/>
		<updated>2018-02-27T18:22:09Z</updated>

		<summary type="html">&lt;p&gt;Ar3015: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h1&amp;gt;MgO Report - Antonia Reeves&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;Introduction&amp;lt;/h2&amp;gt;&lt;br /&gt;
In chemistry, it is much easier to treat crystals as rigid structures with set lattice points in unit cells. This can often hold as a good approximation at very low temperatures. However, this is obviously not the case. There are many different vibrations happening throughout the lattice structure leading to thermal expansion. These vibrations can be quantified by using a wave vector - this gives the direction of the propagation of the wave in reciprocal space. We use reciprocal space because FILL IN HERE. This report investigates the effect of temperature on vibrations and size of the lattice structure of MgO. The lattice structure of MgO is face centred cubic. &lt;br /&gt;
&amp;lt;h3&amp;gt;Phonons and phonon dispersions&amp;lt;/h3&amp;gt;&lt;br /&gt;
In quantum chemistry, vibrations can be treated as both particles and waves. When treating vibrations as particles - just as particles of light are photons - they are called phonons. This can be used and a plot of frequency against wave vector can be generated. This effectively gives a plot of the energy against the &#039;the way that vibrations move&#039; which is the k vector. As the phonon dispersion plot investigates the different ways vibrations can take place in the same time, if there were for example only a few atoms, this would give rise to only a few different k points. However, as an infinite lattice is being used, instead of giving quantised k points, a continuous line of k points can be generated, giving rise to a band. One band is called a branch. The number of branches is dependent on the number of different atoms in the lattice. In MgO lattice there are 2 atoms. Using the equation 3N (not 3N-6 as this takes into account rotational and translation degeneracy for single molecules that don&#039;t need to be considered for crystal vibrations) where N is the number of different atoms, this gives 6 branches which can be seen in the phonon dispersion plot in Figure X. Using the dispersion plots are useful for seeing the frequency vs k vector as a whole, however, makes it difficult to determine pieces of information such as how many states are at a given frequency, and whether there is a direct or indirect band gap. &lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal Expansion Coefficient&amp;lt;/h3&amp;gt;&lt;br /&gt;
Using the equation &amp;lt;math&amp;gt;\frac{1}{V_0}\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt; gives the thermal expansion coefficient. This value represents how much a given crystal expands with an increase in temperature.  The &amp;lt;math&amp;gt;\frac{1}{V_0}&amp;lt;/math&amp;gt; term to normalises this value so it can be applied to a crystal of any size which is composed of the same crystal. Below, the different computational methods that can be used to investigate how these properties change with temperature are used.&lt;br /&gt;
&amp;lt;h3&amp;gt;Software used&amp;lt;/h3&amp;gt;&lt;br /&gt;
DLVisualise is the programmed used for modelling crystals in simulations such as this and allows chemists to visualise properties of crystals such as vibrations, energy, volume  and calculates these using wavefunctions of crystals - GULP lets the particular codes for the simulations to be accessed for running simulations. GULP is better for quantum based calculations such as lattice dynamics over molecular dynamics. However force fields for molecular dynamics can still be used and calculate values to output thermodynamic data. &lt;br /&gt;
&amp;lt;h3&amp;gt;Harmonic and Quasi-Harmonic approximations&amp;lt;/h3&amp;gt;&lt;br /&gt;
The harmonic oscillator is simply a taylor expansion of INSERT EQUATION. The harmonic oscillator takes the third term (quadratic term) giving the easily the harmonic oscillator parabola. When looking at harmonic potential energies, as we change the temperature, the average bond length stays at an equilibrium point and therefore the volume of the crystal doesn&#039;t change. This means that although this approximation works well at lower temperatures as there is little change in volume at low temperatures in reality, at higher temperatures, harmonic and anharmonic (which is a much more realistic model) deviate a lot, giving unreliable data for higher temperatures. A compromise between harmonic which isn&#039;t a very reliable approximation as it only uses 3 terms from the taylor series expansion and using an anharmonic which uses many terms and will be very expensive is using a quasi-harmonic approximation. When we use the Quasi Harmonic approximation, although the approximation isn&#039;t as accurate as anharmonic, it still gives the point where the bond breaks at higher temperatures. INSERT HELMHOLTZ EQUATION.  In the helmholtz free energy equations we use, the differences in the equations for harmonic and quasi-harmonic plots are in the frequency term. In a harmonic system, we would use equation 3 as the potential, however as we are looking at a quasi harmonic system, within the brillouin zone &amp;lt;math&amp;gt;-\pi &amp;lt; k &amp;lt; \pi &amp;lt;/math&amp;gt; we use equation 1. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{4J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 1)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{2J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 2)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{1}{2\pi}){\frac{k}{\mu}}^{\frac{1}{2}} &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 3)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
The molecular dynamics method takes the values from the ideal MgO crystal, then when we change the parameters, generate random velocities. This process is repeated at each time step (each a microstate) then all of the microstates are averaged. An average of all of the microstates is carried out, when enough microstates have been sampled, they start to converge and properties of the crystal can start to be measured such as energy and volume. One of the main differences between the quasi-harmonic approximation and molecular dynamics is that quasi-harmonics uses quantum mechanics to calculate the volumes (the change in bond length) and molecular dynamics uses classical mechanics. When sampling a configuration, there needs to be enough time for the values to converge. This is where the length of the timesteps come into play - getting a more accurate value means that the calculations will take much longer and therefore be more expensive. &lt;br /&gt;
&amp;lt;h3&amp;gt;Helmholtz Free Energy&amp;lt;/h3&amp;gt;&lt;br /&gt;
[[File:Screen_Shot_2018-02-27_at_10.12.39.png|thumb|centre|Eq. 4]]&lt;br /&gt;
A = U - TS&lt;br /&gt;
In order to look at the energy of the vibrational modes, we use the vibrational contribution to the entropy using statistical thermodynamics and the partition coefficient. &lt;br /&gt;
The first term of equation 4 is the internal energy, the second term is the zero point energy (energy at 0K) and the final term is the statistical thermodynamics contribution - the contribution to the energy from the different vibrations.&lt;br /&gt;
&amp;lt;h2&amp;gt;Method&amp;lt;/h2&amp;gt;&lt;br /&gt;
For all of the calculations, the GUI DLVisualise was used. For all calculations, the execute GULP panel was brought up and in the GULP potential parameters, ionic.lib was used and include shells was not included. &lt;br /&gt;
&amp;lt;h3&amp;gt;Lattice vibrations -Computing the phonons&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected, and then run was pressed. Once the job has completed, this shows in the job list and the files were recovered. The energy could be found in the log file under Total Free Energy. &lt;br /&gt;
[[File:MgO_phonon_1.PNG|thumb|centre|Figure 3: Aide for bond lengths table]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Calculating the free energy in the Harmonic approximation&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected. Under General Opts, phonon dispersion was selected with N points set to 50 and calculate phonon eigenvectors was selected, so that specific points in k-space (relating to the origin, x direction vectors being in phase etc.) are represented with greek letters. The files were recovered and the phonon dispersion was displayed using the 1D data display. This is simply one way of displaying all of the data - the same data can be displayed as a density of states. Instead of simply giving the angular frequency as a function of the wave vector, a plot of density of states can also show how many states have a given energy at each k vector point. This can show the energy difference in the band gap, and the most densely populated k-states more easily. In order to visualise the density of states, the phonon dispersion is &#039;chopped up&#039; into sections. The number of sections is determined by the grid size (these parameters can be changed in the GULP execution panel. In this, the frequencies at the edge of the grids are taken and plotted (only one side as not to repeat the counting of the frequencies). The higher the grid size, the greater the accuracy of the density of states as this allows a greater number of wave vectors to be sampled. The value of the grid size is called the shrinking factor.&lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal expansion of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
In order to determine a suitable shrinking factor, a number of grid sizes were investigated with the highest being 32x32x32. As having a higher shrinking factor takes longer and more processing power (leads to being more expensive), choosing the shrinking factor becomes a compromise between time and accuracy. As can be seen from the plot, in Figure [X], and a subsequent calculation to check this, the Helmholtz free energy stops changing after a grid size of 20x20x20 so this seemed like a reasonable value to use as not to compromise the accuracy for a quicker run time. The settings used for this calculation were, select phonon DOS, change shrinking factor to 20x20x20 and set the temperature from 0-3000 K in 100 K intervals. For each temperature, the free energy and BLAH were taken from the log file.&lt;br /&gt;
[[File:MgO_DOS_16x16x16.PNG|thumb|centre|Figure 3: Aide for bond lengths table]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
For Molecular dynamics, a super cell which is twice the length on every side of the cell. This is so the cell is larger and is more similar to &#039;an infinite lattice&#039;. Molecular Dynamics option was selected on the execute panel, the NPT ensemble was chosen, the time step used was 1 femtosecond, equilibration steps of 500, production steps to 500 steps and sampling steps and trajectory write steps to 5. The temperature used went from 100-3000 K with 100 K interval steps. As the volume of the cell is different to the cell used in the quasi-harmonic approximation, the cell volume taken from the log file (the last average cell volume), the volume was divided by 8 to get the same volume as the conventional cell for the quasi-harmonic approximation.&lt;br /&gt;
&amp;lt;h2&amp;gt;Results and discussion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Phonon Modes of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
When the density of states for calculated for a single k point, it can be worked out by examining the phonon dispersion which k point this is. In this case, the point is L as there are only 4 peaks (2 that have double the intensity due to the double degeneracy) and at L there are only 4 branches where we would expect 6 (due to 3N to calculate number of vibrational branches expected). This can also be seen by comparing the frequencies of the peaks in the 1x1x1 DOS and the frequency of the 4 branches at L. This can be checked in the log file as although the character L is useful for helping us to determine the symmetry of the modes of vibrations, it&#039;s always useful to numerically quantify values. This is simply in the row &#039;K point&#039; where the K point is 0.5. It&#039;s important that it can be viewed in the log file as on the phonon dispersion, only greek characters which represent different k points can be seen and it&#039;s not always obvious what numerical value goes with each character. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_1.PNG|thumb|centre|Figure X: MgO Density of States 1x1x1 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_3x3x3.PNG|thumb|centre|Figure X: MgO Density of States 3x3x3 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_8x8x8.PNG|thumb|centre|Figure X: MgO Density of States 8x8x8 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_32x32x32.PNG|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from the progression in grid size that as the grid size increases, although the peaks with the greatest intensity stay in the same place, the shape of the density of states becomes much more defined and includes information on the states at k-points even where there is a lower number of states. When looking at the difference between grid sizes qualitatively, there isn&#039;t much of a difference between 8x8x8 and 32x32x32 apart from there is a more continuous curve with the same shape. It seems that a grid size of approximately 12x12x12 would be the minimum grid size as this is the grid size at which all k points are sampled and there aren&#039;t k-points with an angular frequency of 0 which then have non-zero values of angular frequencies at higher grid sizes. However, when deciding qualitatively, the convergence of the free energy can be used. At 20x20x20 and 6 decimal places, the free energy converges suggesting this is the optimum grid size to use. The density of states in terms of the phonon dispersion curve is basically plotting how many k points there are per value of angular frequency. This can be seen more easily by placing them side by side as seen in FIGURE ENTER HERE.&lt;br /&gt;
&amp;lt;h3&amp;gt;Free energy varied with grid size&amp;lt;/h3&amp;gt;&lt;br /&gt;
INSERT TABLE HERE&lt;br /&gt;
As explained in the introduction, the grid size is simply how many pieces the phonon dispersion has been separated into for the analysis of the density of states. As can be seen in TABLE X, after the grid size is 20x20x20, the values have converged and don&#039;t change (when looking at 6 decimal places, it may be changing beyond 6 decimal places). This is optimal as it reduces the computing power needed for a calculation whilst retaining almost the same level of accuracy. Using a grid size of 3x3x3 will gives a suitable energy for calculations accurate to 1 meV, REMEMBER TO DO 0.5mEV!!!!!!!! and a grid size of 5 gives a suitable energy for calculations accurate to 0.1 meV.&lt;br /&gt;
&amp;lt;h3&amp;gt;Quasi-Harmonic Thermal expansion&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Lattice_Parameter_Graph.png|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Free_energy_vs_T.png|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In Figure X, it can be seen that the free energy is constant, then almost linearly decreases. At very low temperatures, the only main contribution to the free energy is the zero point energy as this is temperature independent. At around 400 K (where the free energy starts to decrease). We can explain by looking at equation X as when the temperature increases, the entropic contribution increases. If we assume the internal energy doesn&#039;t change much with temperature, then the TS term will increase in magnitude and decrease the overall free energy term. By looking at equation X, the vibrational contribution term (also entropic term) is a ln term which will be negative, and again, decrease the overall free energy with an increase in temperature. &lt;br /&gt;
In the graph of lattice parameter vs temperature, the lattice parameter is initially constant and then increases linearly, then exponentially.  After the exponential region, it can be assumed that the lattice parameter increases exponentially, presumably converging at the melting temperature, however this would need to be investigated to be confirmed. Using the quasi-harmonic approximation, this gives the potential a &#039;quasi-anharmonic&#039; shape, meaning that the bond length will actually change with temperature but will just never reach the point where it breaks. Although this doesn&#039;t allow phase transitions to be investigated, it does allow the lattice parameter as a function of temperature to be investigated.&lt;br /&gt;
&lt;br /&gt;
Using the Quasi Harmonic approximation, and fitting the data to get a line of best fit with a gradient of INSERT HERE which is equivalent to &amp;lt;math&amp;gt;\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt;. Multiplying by the reciprocal of the initial volume of the crystal, gives a thermal expansion coefficient for the region of 300-1300 K of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;. By taking the value from lower temperatures, this gives a higher accuracy compared to the &#039;real value&#039;. This is because of the computational model that is being used. This model is quasi-harmonic which is based on the harmonic model. The harmonic oscillator is infinite and the bond between two atoms infinitely extends. However, at high temperatures this is not the reality. The bonds extend and break which is shown by the anharmonic model. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Temperature range (K)&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Quasi-Harmonic&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Molecular Dynamics&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Literature&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;0-300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.042\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;300-1300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.140\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;4.000\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-0-300.png|thumb|centre|Figure X: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-300-1300.png|thumb|centre|Figure X: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-Thermal-expansion-100-300.png|thumb|centre|Figure X: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-300-1300.png|thumb|centre|Figure X: ]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from Table X, at lower temperatures, the quasi-harmonic approximation gives a value closer to literature. This is because the quasi-harmonic approximation takes into account the zero point energy at lower temperatures which is the main contributing factor whereas molecular dynamics method doesn&#039;t giving a linear line much like the second temperature region - it only considers classical mechanics and not quantum mechanics like quasi-harmonic approximation which takes into account quantum effects such as the zero point energy. At lower temperatures, the molecular dynamics value had to be taken from the 100-300 K region as GULP gave an error at 0 K. This could be because molecular dynamics depends on the motion/velocity of the atoms. At 0 K, there is no motion meaning no information would be outputted, potentially giving an error. At higher temperatures, it can be seen that molecular dynamics gives a more accurate value compared to literature. This is because quasi-harmonic has a parabolic shape where the bond length increases exponentially with temperature. This means the bond length increases infinitely and the bond never breaks - the melting point can never be found using the quasi harmonic approximation. Quasi harmonic is, however, much more useful than simply a harmonic approximation as the average bond length stays at the bottom of the potential well in the harmonic oscillator potential meaning there&#039;s no difference in bond length at different temperatures.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Conclusion&amp;lt;/h2&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ar3015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=673699</id>
		<title>Rep:Ar3015MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=673699"/>
		<updated>2018-02-27T17:40:25Z</updated>

		<summary type="html">&lt;p&gt;Ar3015: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h1&amp;gt;MgO Report - Antonia Reeves&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;Introduction&amp;lt;/h2&amp;gt;&lt;br /&gt;
In chemistry, it is much easier to treat crystals as rigid structures with set lattice points in unit cells. This can often hold as a good approximation at very low temperatures. However, this is obviously not the case. There are many different vibrations happening throughout the lattice structure leading to thermal expansion. These vibrations can be quantified by using a wave vector - this gives the direction of the propagation of the wave in reciprocal space. We use reciprocal space because FILL IN HERE. &lt;br /&gt;
&amp;lt;h3&amp;gt;Phonons and phonon dispersions&amp;lt;/h3&amp;gt;&lt;br /&gt;
In quantum chemistry, we can treat vibrations as both particles and waves. When treating vibrations as particles - just as particles of light are photons - they are called phonons. We can plot our frequency CHECK THIS of the phonons against the wave vector. This effectively gives a plot of the energy against the &#039;the way that vibrations move&#039; INSERT DIAGRAM OF POTENTIAL WAYS TO DEMONSTRATE which is the k vector. As the phonon dispersion plot investigates the different ways vibrations can take place in the same time, if there were for example only a few atoms, this would give rise to only a few different k points. However, as we are dealing with an infinite lattice, instead of giving quantised k points, a continuous line of k points can be generated, giving rise to a band. One band is called a branch. The number of branches is dependent on the number of different atoms in the lattice. In MgO lattice there are 2 atoms. Using the equation 3N (not 3N-6 as this takes into account rotational and translation degeneracy for single molecules that we don&#039;t need to consider for crystal vibrations) where N is the number of different atoms, we get 6 branches which can be seen in the phonon dispersion plot in Figure X. Using the dispersion plots are useful for seeing the frequency vs k vector as a whole, however, makes it difficult to determine pieces of information such as how many states are at a given frequency, and whether there is a direct or indirect band gap. &lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal Expansion Coefficient&amp;lt;/h3&amp;gt;&lt;br /&gt;
Using the equation &amp;lt;math&amp;gt;\frac{1}{V_0}\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt; gives the thermal expansion coefficient. This is a value that tells us how much a given crystal expands with an increase in temperature. We use the &amp;lt;math&amp;gt;\frac{1}{V_0}&amp;lt;/math&amp;gt; term to normalise this value so it can be applied to a crystal of any size which is composed of the same crystal. Below, the different computational methods that can be used to investigate how these properties change with temperature are used. &lt;br /&gt;
&amp;lt;h3&amp;gt;Harmonic and Quasi-Harmonic approximations&amp;lt;/h3&amp;gt;&lt;br /&gt;
The harmonic oscillator is simply a taylor expansion of INSERT EQUATION. The harmonic oscillator takes the third term (quadratic term) giving the easily the harmonic oscillator parabola. When looking at harmonic potential energies, as we change the temperature, the average bond length stays at an equilibrium point and therefore the volume of the crystal doesn&#039;t change. This means that although this approximation works well at lower temperatures as there is little change in volume at low temperatures in reality, at higher temperatures, harmonic and anharmonic (which is a much more realistic model) deviate a lot, giving unreliable data for higher temperatures. A compromise between harmonic which isn&#039;t a very reliable approximation as it only uses 3 terms from the taylor series expansion and using an anharmonic which uses many terms and will be very expensive is using a quasi-harmonic approximation. When we use the Quasi Harmonic approximation, although the approximation isn&#039;t as accurate as anharmonic, it still gives the point where the bond breaks at higher temperatures. INSERT HELMHOLTZ EQUATION.  In the helmholtz free energy equations we use, the differences in the equations for harmonic and quasi-harmonic plots are in the frequency term. In a harmonic system, we would use equation 3 as the potential, however as we are looking at a quasi harmonic system, within the brillouin zone &amp;lt;math&amp;gt;-\pi &amp;lt; k &amp;lt; \pi &amp;lt;/math&amp;gt; we use equation 1. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{4J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 1)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{2J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 2)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{1}{2\pi}){\frac{k}{\mu}}^{\frac{1}{2}} &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 3)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
The molecular dynamics method takes the values from the ideal MgO crystal, then when we change the parameters, generate random velocities. This process is repeated at each time step (each a microstate) then all of the microstates are averaged. An average of all of the microstates is carried out, when enough microstates have been sampled, they start to converge and properties of the crystal can start to be measured such as energy and volume. One of the main differences between the quasi-harmonic approximation and molecular dynamics is that quasi-harmonics uses quantum mechanics to calculate the volumes (the change in bond length) and molecular dynamics uses classical mechanics. When sampling a configuration, there needs to be enough time for the values to converge. This is where the length of the timesteps come into play - getting a more accurate value means that the calculations will take much longer and therefore be more expensive. &lt;br /&gt;
&amp;lt;h3&amp;gt;Helmholtz Free Energy&amp;lt;/h3&amp;gt;&lt;br /&gt;
[[File:Screen_Shot_2018-02-27_at_10.12.39.png|thumb|centre|Eq. 4]]&lt;br /&gt;
A = U - TS&lt;br /&gt;
In order to look at the energy of the vibrational modes, we use the vibrational contribution to the entropy using statistical thermodynamics and the partition coefficient. &lt;br /&gt;
The first term of equation 4 is the internal energy, the second term is the zero point energy (energy at 0K) and the final term is the statistical thermodynamics contribution - the contribution to the energy from the different vibrations.&lt;br /&gt;
&amp;lt;h2&amp;gt;Method&amp;lt;/h2&amp;gt;&lt;br /&gt;
For all of the calculations, the GUI DLVisualise was used. For all calculations, the execute GULP panel was brought up and in the GULP potential parameters, ionic.lib was used and include shells was not included. &lt;br /&gt;
&amp;lt;h3&amp;gt;Lattice vibrations -Computing the phonons&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected, and then run was pressed. Once the job has completed, this shows in the job list and the files were recovered. The energy could be found in the log file under Total Free Energy. &lt;br /&gt;
[[File:MgO_phonon_1.PNG|thumb|centre|Figure 3: Aide for bond lengths table]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Calculating the free energy in the Harmonic approximation&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected. Under General Opts, phonon dispersion was selected with N points set to 50 and calculate phonon eigenvectors was selected, so that specific points in k-space (relating to the origin, x direction vectors being in phase etc.) are represented with greek letters. The files were recovered and the phonon dispersion was displayed using the 1D data display. This is simply one way of displaying all of the data - the same data can be displayed as a density of states. Instead of simply giving the angular frequency as a function of the wave vector, a plot of density of states can also show how many states have a given energy at each k vector point. This can show the energy difference in the band gap, and the most densely populated k-states more easily. In order to visualise the density of states, the phonon dispersion is &#039;chopped up&#039; into sections. The number of sections is determined by the grid size (these parameters can be changed in the GULP execution panel. In this, the frequencies at the edge of the grids are taken and plotted (only one side as not to repeat the counting of the frequencies). The higher the grid size, the greater the accuracy of the density of states as this allows a greater number of wave vectors to be sampled. The value of the grid size is called the shrinking factor.&lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal expansion of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
In order to determine a suitable shrinking factor, a number of grid sizes were investigated with the highest being 32x32x32. As having a higher shrinking factor takes longer and more processing power (leads to being more expensive), choosing the shrinking factor becomes a compromise between time and accuracy. As can be seen from the plot, in Figure [X], and a subsequent calculation to check this, the Helmholtz free energy stops changing after a grid size of 20x20x20 so this seemed like a reasonable value to use as not to compromise the accuracy for a quicker run time. The settings used for this calculation were, select phonon DOS, change shrinking factor to 20x20x20 and set the temperature from 0-3000 K in 100 K intervals. For each temperature, the free energy and BLAH were taken from the log file.&lt;br /&gt;
[[File:MgO_DOS_16x16x16.PNG|thumb|centre|Figure 3: Aide for bond lengths table]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
For Molecular dynamics, a super cell which is twice the length on every side of the cell. This is so the cell is larger and is more similar to &#039;an infinite lattice&#039;. Molecular Dynamics option was selected on the execute panel, the NPT ensemble was chosen, the time step used was 1 femtosecond, equilibration steps of 500, production steps to 500 steps and sampling steps and trajectory write steps to 5. The temperature used went from 100-3000 K with 100 K interval steps. As the volume of the cell is different to the cell used in the quasi-harmonic approximation, the cell volume taken from the log file (the last average cell volume), the volume was divided by 8 to get the same volume as the conventional cell for the quasi-harmonic approximation.&lt;br /&gt;
&amp;lt;h2&amp;gt;Results and discussion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Phonon Modes of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
When the density of states for calculated for a single k point, it can be worked out by examining the phonon dispersion which k point this is. In this case, the point is L as there are only 4 peaks (2 that have double the intensity due to the double degeneracy) and at L there are only 4 branches where we would expect 6 (due to 3N to calculate number of vibrational branches expected). This can also be seen by comparing the frequencies of the peaks in the 1x1x1 DOS and the frequency of the 4 branches at L. This can be checked in the log file as although the character L is useful for helping us to determine the symmetry of the modes of vibrations, it&#039;s always useful to numerically quantify values. This is simply in the row &#039;K point&#039; where the K point is 0.5. It&#039;s important that it can be viewed in the log file as on the phonon dispersion, only greek characters which represent different k points can be seen and it&#039;s not always obvious what numerical value goes with each character. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_1.PNG|thumb|centre|Figure X: MgO Density of States 1x1x1 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_3x3x3.PNG|thumb|centre|Figure X: MgO Density of States 3x3x3 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_8x8x8.PNG|thumb|centre|Figure X: MgO Density of States 8x8x8 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_32x32x32.PNG|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from the progression in grid size that as the grid size increases, although the peaks with the greatest intensity stay in the same place, the shape of the density of states becomes much more defined and includes information on the states at k-points even where there is a lower number of states. When looking at the difference between grid sizes qualitatively, there isn&#039;t much of a difference between 8x8x8 and 32x32x32 apart from there is a more continuous curve with the same shape. It seems that a grid size of approximately 12x12x12 would be the minimum grid size as this is the grid size at which all k points are sampled and there aren&#039;t k-points with an angular frequency of 0 which then have non-zero values of angular frequencies at higher grid sizes. However, when deciding qualitatively, the convergence of the free energy can be used. At 20x20x20 and 6 decimal places, the free energy converges suggesting this is the optimum grid size to use. The density of states in terms of the phonon dispersion curve is basically plotting how many k points there are per value of angular frequency. This can be seen more easily by placing them side by side as seen in FIGURE ENTER HERE.&lt;br /&gt;
&amp;lt;h3&amp;gt;Free energy varied with grid size&amp;lt;/h3&amp;gt;&lt;br /&gt;
INSERT TABLE HERE&lt;br /&gt;
As explained in the introduction, the grid size is simply how many pieces the phonon dispersion has been separated into for the analysis of the density of states. As can be seen in TABLE X, after the grid size is 20x20x20, the values have converged and don&#039;t change (when looking at 6 decimal places, it may be changing beyond 6 decimal places). This is optimal as it reduces the computing power needed for a calculation whilst retaining almost the same level of accuracy. Using a grid size of 3x3x3 will gives a suitable energy for calculations accurate to 1 meV, REMEMBER TO DO 0.5mEV!!!!!!!! and a grid size of 5 gives a suitable energy for calculations accurate to 0.1 meV.&lt;br /&gt;
&amp;lt;h3&amp;gt;Quasi-Harmonic Thermal expansion&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Lattice_Parameter_Graph.png|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Free_energy_vs_T.png|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In Figure X, it can be seen that the free energy is constant, then almost linearly decreases. At very low temperatures, the only main contribution to the free energy is the zero point energy as this is temperature independent. At around 400 K (where the free energy starts to decrease). We can explain by looking at equation X as when the temperature increases, the entropic contribution increases. If we assume the internal energy doesn&#039;t change much with temperature, then the TS term will increase in magnitude and decrease the overall free energy term. By looking at equation X, the vibrational contribution term (also entropic term) is a ln term which will be negative, and again, decrease the overall free energy with an increase in temperature. &lt;br /&gt;
In the graph of lattice parameter vs temperature, the lattice parameter is initially constant and then increases linearly, then exponentially.  After the exponential region, it can be assumed that the lattice parameter increases exponentially, presumably converging at the melting temperature, however this would need to be investigated to be confirmed. Using the quasi-harmonic approximation, this gives the potential a &#039;quasi-anharmonic&#039; shape, meaning that the bond length will actually change with temperature but will just never reach the point where it breaks. Although this doesn&#039;t allow phase transitions to be investigated, it does allow the lattice parameter as a function of temperature to be investigated.&lt;br /&gt;
&lt;br /&gt;
Using the Quasi Harmonic approximation, and fitting the data to get a line of best fit with a gradient of INSERT HERE which is equivalent to &amp;lt;math&amp;gt;\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt;. Multiplying by the reciprocal of the initial volume of the crystal, gives a thermal expansion coefficient for the region of 300-1300 K of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;. By taking the value from lower temperatures, this gives a higher accuracy compared to the &#039;real value&#039;. This is because of the computational model that is being used. This model is quasi-harmonic which is based on the harmonic model. The harmonic oscillator is infinite and the bond between two atoms infinitely extends. However, at high temperatures this is not the reality. The bonds extend and break which is shown by the anharmonic model. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Temperature range (K)&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Quasi-Harmonic&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Molecular Dynamics&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Literature&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;0-300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.042\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;300-1300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.140\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;4.000\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-0-300.png|thumb|centre|Figure X: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-300-1300.png|thumb|centre|Figure X: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-Thermal-expansion-100-300.png|thumb|centre|Figure X: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-300-1300.png|thumb|centre|Figure X: ]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from Table X, at lower temperatures, the quasi-harmonic approximation gives a value closer to literature. This is because the quasi-harmonic approximation takes into account the zero point energy at lower temperatures which is the main contributing factor whereas molecular dynamics method doesn&#039;t giving a linear line much like the second temperature region - it only considers classical mechanics and not quantum mechanics like quasi-harmonic approximation which takes into account quantum effects such as the zero point energy. At lower temperatures, the molecular dynamics value had to be taken from the 100-300 K region as GULP gave an error at 0 K. This could be because molecular dynamics depends on the motion/velocity of the atoms. At 0 K, there is no motion meaning no information would be outputted, potentially giving an error. At higher temperatures, it can be seen that molecular dynamics gives a more accurate value compared to literature. This is because quasi-harmonic has a parabolic shape where the bond length increases exponentially with temperature. This means the bond length increases infinitely and the bond never breaks - the melting point can never be found using the quasi harmonic approximation. Quasi harmonic is, however, much more useful than simply a harmonic approximation as the average bond length stays at the bottom of the potential well in the harmonic oscillator potential meaning there&#039;s no difference in bond length at different temperatures.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Conclusion&amp;lt;/h2&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ar3015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=673660</id>
		<title>Rep:Ar3015MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=673660"/>
		<updated>2018-02-27T16:58:28Z</updated>

		<summary type="html">&lt;p&gt;Ar3015: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h1&amp;gt;MgO Report - Antonia Reeves&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;Introduction&amp;lt;/h2&amp;gt;&lt;br /&gt;
In chemistry, it is much easier to treat crystals as rigid structures with set lattice points in unit cells. This can often hold as a good approximation at very low temperatures. However, this is obviously not the case. There are many different vibrations happening throughout the lattice structure leading to thermal expansion. These vibrations can be quantified by using a wave vector - this gives the direction of the propagation of the wave in reciprocal space. We use reciprocal space because FILL IN HERE. &lt;br /&gt;
&amp;lt;h3&amp;gt;Phonons and phonon dispersions&amp;lt;/h3&amp;gt;&lt;br /&gt;
In quantum chemistry, we can treat vibrations as both particles and waves. When treating vibrations as particles - just as particles of light are photons - they are called phonons. We can plot our frequency CHECK THIS of the phonons against the wave vector. This effectively gives a plot of the energy against the &#039;the way that vibrations move&#039; INSERT DIAGRAM OF POTENTIAL WAYS TO DEMONSTRATE which is the k vector. As the phonon dispersion plot investigates the different ways vibrations can take place in the same time, if there were for example only a few atoms, this would give rise to only a few different k points. However, as we are dealing with an infinite lattice, instead of giving quantised k points, a continuous line of k points can be generated, giving rise to a band. One band is called a branch. The number of branches is dependent on the number of different atoms in the lattice. In MgO lattice there are 2 atoms. Using the equation 3N (not 3N-6 as this takes into account rotational and translation degeneracy for single molecules that we don&#039;t need to consider for crystal vibrations) where N is the number of different atoms, we get 6 branches which can be seen in the phonon dispersion plot in Figure X. Using the dispersion plots are useful for seeing the frequency vs k vector as a whole, however, makes it difficult to determine pieces of information such as how many states are at a given frequency, and whether there is a direct or indirect band gap. &lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal Expansion Coefficient&amp;lt;/h3&amp;gt;&lt;br /&gt;
Using the equation &amp;lt;math&amp;gt;\frac{1}{V_0}\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt; gives the thermal expansion coefficient. This is a value that tells us how much a given crystal expands with an increase in temperature. We use the &amp;lt;math&amp;gt;\frac{1}{V_0}&amp;lt;/math&amp;gt; term to normalise this value so it can be applied to a crystal of any size which is composed of the same crystal. Below, the different computational methods that can be used to investigate how these properties change with temperature are used. &lt;br /&gt;
&amp;lt;h3&amp;gt;Harmonic and Quasi-Harmonic approximations&amp;lt;/h3&amp;gt;&lt;br /&gt;
The harmonic oscillator is simply a taylor expansion of INSERT EQUATION. The harmonic oscillator takes the third term (quadratic term) giving the easily the harmonic oscillator parabola. When looking at harmonic potential energies, as we change the temperature, the average bond length stays at an equilibrium point and therefore the volume of the crystal doesn&#039;t change. This means that although this approximation works well at lower temperatures as there is little change in volume at low temperatures in reality, at higher temperatures, harmonic and anharmonic (which is a much more realistic model) deviate a lot, giving unreliable data for higher temperatures. A compromise between harmonic which isn&#039;t a very reliable approximation as it only uses 3 terms from the taylor series expansion and using an anharmonic which uses many terms and will be very expensive is using a quasi-harmonic approximation. When we use the Quasi Harmonic approximation, although the approximation isn&#039;t as accurate as anharmonic, it still gives the point where the bond breaks at higher temperatures. INSERT HELMHOLTZ EQUATION.  In the helmholtz free energy equations we use, the differences in the equations for harmonic and quasi-harmonic plots are in the frequency term. In a harmonic system, we would use equation 3 as the potential, however as we are looking at a quasi harmonic system, within the brillouin zone &amp;lt;math&amp;gt;-\pi &amp;lt; k &amp;lt; \pi &amp;lt;/math&amp;gt; we use equation 1. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{4J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 1)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{2J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 2)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{1}{2\pi}){\frac{k}{\mu}}^{\frac{1}{2}} &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 3)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
The molecular dynamics method takes the values from the ideal MgO crystal, then when we change the parameters, generate random velocities. This process is repeated at each time step (each a microstate) then all of the microstates are averaged. An average of all of the microstates is carried out, when enough microstates have been sampled, they start to converge and properties of the crystal can start to be measured such as energy and volume. One of the main differences between the quasi-harmonic approximation and molecular dynamics is that quasi-harmonics uses quantum mechanics to calculate the volumes (the change in bond length) and molecular dynamics uses classical mechanics. When sampling a configuration, there needs to be enough time for the values to converge. This is where the length of the timesteps come into play - getting a more accurate value means that the calculations will take much longer and therefore be more expensive. &lt;br /&gt;
&amp;lt;h3&amp;gt;Helmholtz Free Energy&amp;lt;/h3&amp;gt;&lt;br /&gt;
[[File:Screen_Shot_2018-02-27_at_10.12.39.png|thumb|centre|Eq. 4]]&lt;br /&gt;
A = U - TS&lt;br /&gt;
In order to look at the energy of the vibrational modes, we use the vibrational contribution to the entropy using statistical thermodynamics and the partition coefficient. &lt;br /&gt;
The first term of equation 4 is the internal energy, the second term is the zero point energy (energy at 0K) and the final term is the statistical thermodynamics contribution - the contribution to the energy from the different vibrations.&lt;br /&gt;
&amp;lt;h2&amp;gt;Method&amp;lt;/h2&amp;gt;&lt;br /&gt;
For all of the calculations, the GUI DLVisualise was used. For all calculations, the execute GULP panel was brought up and in the GULP potential parameters, ionic.lib was used and include shells was not included. &lt;br /&gt;
&amp;lt;h3&amp;gt;Lattice vibrations -Computing the phonons&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected, and then run was pressed. Once the job has completed, this shows in the job list and the files were recovered. The energy could be found in the log file under Total Free Energy. &lt;br /&gt;
[[File:MgO_phonon_1.PNG|thumb|centre|Figure 3: Aide for bond lengths table]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Calculating the free energy in the Harmonic approximation&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected. Under General Opts, phonon dispersion was selected with N points set to 50 and calculate phonon eigenvectors was selected, so that specific points in k-space (relating to the origin, x direction vectors being in phase etc.) are represented with greek letters. The files were recovered and the phonon dispersion was displayed using the 1D data display. This is simply one way of displaying all of the data - the same data can be displayed as a density of states. Instead of simply giving the angular frequency as a function of the wave vector, a plot of density of states can also show how many states have a given energy at each k vector point. This can show the energy difference in the band gap, and the most densely populated k-states more easily. In order to visualise the density of states, the phonon dispersion is &#039;chopped up&#039; into sections. The number of sections is determined by the grid size (these parameters can be changed in the GULP execution panel. In this, the frequencies at the edge of the grids are taken and plotted (only one side as not to repeat the counting of the frequencies). The higher the grid size, the greater the accuracy of the density of states as this allows a greater number of wave vectors to be sampled. The value of the grid size is called the shrinking factor.&lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal expansion of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
In order to determine a suitable shrinking factor, a number of grid sizes were investigated with the highest being 32x32x32. As having a higher shrinking factor takes longer and more processing power (leads to being more expensive), choosing the shrinking factor becomes a compromise between time and accuracy. As can be seen from the plot, in Figure [X], and a subsequent calculation to check this, the Helmholtz free energy stops changing after a grid size of 20x20x20 so this seemed like a reasonable value to use as not to compromise the accuracy for a quicker run time. The settings used for this calculation were, select phonon DOS, change shrinking factor to 20x20x20 and set the temperature from 0-3000 K in 100 K intervals. For each temperature, the free energy and BLAH were taken from the log file.&lt;br /&gt;
[[File:MgO_DOS_16x16x16.PNG|thumb|centre|Figure 3: Aide for bond lengths table]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
For Molecular dynamics, a super cell which is twice the length on every side of the cell. This is so the cell is larger and is more similar to &#039;an infinite lattice&#039;. Molecular Dynamics option was selected on the execute panel, the NPT ensemble was chosen, the time step used was 1 femtosecond, equilibration steps of 500, production steps to 500 steps and sampling steps and trajectory write steps to 5. The temperature used went from 100-3000 K with 100 K interval steps. As the volume of the cell is different to the cell used in the quasi-harmonic approximation, the cell volume taken from the log file (the last average cell volume), the volume was divided by 8 to get the same volume as the conventional cell for the quasi-harmonic approximation.&lt;br /&gt;
&amp;lt;h2&amp;gt;Results and discussion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Phonon Modes of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
When the density of states for calculated for a single k point, it can be worked out by examining the phonon dispersion which k point this is. In this case, the point is L as there are only 4 peaks (2 that have double the intensity due to the double degeneracy) and at L there are only 4 branches where we would expect 6 (due to 3N to calculate number of vibrational branches expected). This can also be seen by comparing the frequencies of the peaks in the 1x1x1 DOS and the frequency of the 4 branches at L. This can be checked in the log file as although the character L is useful for helping us to determine the symmetry of the modes of vibrations, it&#039;s always useful to numerically quantify values. This is simply in the row &#039;K point&#039; where the K point is 0.5. It&#039;s important that it can be viewed in the log file as on the phonon dispersion, only greek characters which represent different k points can be seen and it&#039;s not always obvious what numerical value goes with each character. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_1.PNG|thumb|centre|Figure X: MgO Density of States 1x1x1 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_3x3x3.PNG|thumb|centre|Figure X: MgO Density of States 3x3x3 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_8x8x8.PNG|thumb|centre|Figure X: MgO Density of States 8x8x8 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_32x32x32.PNG|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from the progression in grid size that as the grid size increases, although the peaks with the greatest intensity stay in the same place, the shape of the density of states becomes much more defined and includes information on the states at k-points even where there is a lower number of states. When looking at the difference between grid sizes qualitatively, there isn&#039;t much of a difference between 8x8x8 and 32x32x32 apart from there is a more continuous curve with the same shape. It seems that a grid size of approximately 12x12x12 would be the minimum grid size as this is the grid size at which all k points are sampled and there aren&#039;t k-points with an angular frequency of 0 which then have non-zero values of angular frequencies at higher grid sizes. However, when deciding qualitatively, the convergence of the free energy can be used. At 20x20x20 and 6 decimal places, the free energy converges suggesting this is the optimum grid size to use. The density of states in terms of the phonon dispersion curve is basically plotting how many k points there are per value of angular frequency. This can be seen more easily by placing them side by side as seen in FIGURE ENTER HERE.&lt;br /&gt;
&amp;lt;h3&amp;gt;Free energy varied with grid size&amp;lt;/h3&amp;gt;&lt;br /&gt;
INSERT TABLE HERE&lt;br /&gt;
As explained in the introduction, the grid size is simply how many pieces the phonon dispersion has been separated into for the analysis of the density of states. As can be seen in TABLE X, after the grid size is 20x20x20, the values have converged and don&#039;t change (when looking at 6 decimal places, it may be changing beyond 6 decimal places). This is optimal as it reduces the computing power needed for a calculation whilst retaining almost the same level of accuracy. Using a grid size of 3x3x3 will gives a suitable energy for calculations accurate to 1 meV, REMEMBER TO DO 0.5mEV!!!!!!!! and a grid size of 5 gives a suitable energy for calculations accurate to 0.1 meV.&lt;br /&gt;
&amp;lt;h3&amp;gt;Quasi-Harmonic Thermal expansion&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Lattice_Parameter_Graph.png|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Free_energy_vs_T.png|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In Figure X, it can be seen that the free energy is constant, then almost linearly decreases. At very low temperatures, the only main contribution to the free energy is the zero point energy as this is temperature independent. At around 400 K (where the free energy starts to decrease). We can explain by looking at equation X as when the temperature increases, the entropic contribution increases. If we assume the internal energy doesn&#039;t change much with temperature, then the TS term will increase in magnitude and decrease the overall free energy term. By looking at equation X, the vibrational contribution term (also entropic term) is a ln term which will be negative, and again, decrease the overall free energy with an increase in temperature. &lt;br /&gt;
In the graph of lattice parameter vs temperature, the lattice parameter is initially constant and then increases linearly, then exponentially.  After the exponential region, it can be assumed that the lattice parameter increases exponentially, presumably converging at the melting temperature, however this would need to be investigated to be confirmed. Using the quasi-harmonic approximation, this gives the potential a &#039;quasi-anharmonic&#039; shape, meaning that the bond length will actually change with temperature but will just never reach the point where it breaks. Although this doesn&#039;t allow phase transitions to be investigated, it does allow the lattice parameter as a function of temperature to be investigated.&lt;br /&gt;
&lt;br /&gt;
Using the Quasi Harmonic approximation, and fitting the data to get a line of best fit with a gradient of INSERT HERE which is equivalent to &amp;lt;math&amp;gt;\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt;. Multiplying by the reciprocal of the initial volume of the crystal, gives a thermal expansion coefficient for the region of 300-1300 K of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;. By taking the value from lower temperatures, this gives a higher accuracy compared to the &#039;real value&#039;. This is because of the computational model that is being used. This model is quasi-harmonic which is based on the harmonic model. The harmonic oscillator is infinite and the bond between two atoms infinitely extends. However, at high temperatures this is not the reality. The bonds extend and break which is shown by the anharmonic model. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Temperature range (K)&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Quasi-Harmonic&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Molecular Dynamics&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Literature&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;0-300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.042\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;300-1300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.140\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;4.000\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-0-300.png|thumb|centre|Figure X: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-300-1300.png|thumb|centre|Figure X: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-Thermal-expansion-100-300.png|thumb|centre|Figure X: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-300-1300.png|thumb|centre|Figure X: ]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from Table X, at lower temperatures, the quasi-harmonic approximation gives a value closer to literature. This is because the quasi-harmonic approximation takes into account the zero point energy at lower temperatures which is the main contributing factor whereas molecular dynamics method doesn&#039;t giving a linear line much like the second temperature region - it only considers classical mechanics and not quantum mechanics like quasi-harmonic approximation which takes into account quantum effects such as the zero point energy. At lower temperatures, the molecular dynamics value had to be taken from the 100-300 K region as GULP gave an error at 0 K. This could be because molecular dynamics depends on the motion/velocity of the atoms. At 0 K, there is no motion meaning no information would be outputted, potentially giving an error. At higher temperatures, it can be seen that molecular dynamics gives a more accurate value compared to literature. This is because quasi-harmonic has a parabolic shape where the bond length increases exponentially with temperature. This means the bond length increases infinitely and the bond never breaks - the melting point can never be found using the quasi harmonic approximation. Quasi harmonic is, however, much more useful than simply a harmonic approximation as &lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Conclusion&amp;lt;/h2&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ar3015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=673649</id>
		<title>Rep:Ar3015MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=673649"/>
		<updated>2018-02-27T16:44:21Z</updated>

		<summary type="html">&lt;p&gt;Ar3015: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h1&amp;gt;MgO Report - Antonia Reeves&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;Introduction&amp;lt;/h2&amp;gt;&lt;br /&gt;
In chemistry, it is much easier to treat crystals as rigid structures with set lattice points in unit cells. This can often hold as a good approximation at very low temperatures. However, this is obviously not the case. There are many different vibrations happening throughout the lattice structure leading to thermal expansion. These vibrations can be quantified by using a wave vector - this gives the direction of the propagation of the wave in reciprocal space. We use reciprocal space because FILL IN HERE. &lt;br /&gt;
&amp;lt;h3&amp;gt;Phonons and phonon dispersions&amp;lt;/h3&amp;gt;&lt;br /&gt;
In quantum chemistry, we can treat vibrations as both particles and waves. When treating vibrations as particles - just as particles of light are photons - they are called phonons. We can plot our frequency CHECK THIS of the phonons against the wave vector. This effectively gives a plot of the energy against the &#039;the way that vibrations move&#039; INSERT DIAGRAM OF POTENTIAL WAYS TO DEMONSTRATE which is the k vector. As the phonon dispersion plot investigates the different ways vibrations can take place in the same time, if there were for example only a few atoms, this would give rise to only a few different k points. However, as we are dealing with an infinite lattice, instead of giving quantised k points, a continuous line of k points can be generated, giving rise to a band. One band is called a branch. The number of branches is dependent on the number of different atoms in the lattice. In MgO lattice there are 2 atoms. Using the equation 3N (not 3N-6 as this takes into account rotational and translation degeneracy for single molecules that we don&#039;t need to consider for crystal vibrations) where N is the number of different atoms, we get 6 branches which can be seen in the phonon dispersion plot in Figure X. Using the dispersion plots are useful for seeing the frequency vs k vector as a whole, however, makes it difficult to determine pieces of information such as how many states are at a given frequency, and whether there is a direct or indirect band gap. &lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal Expansion Coefficient&amp;lt;/h3&amp;gt;&lt;br /&gt;
Using the equation &amp;lt;math&amp;gt;\frac{1}{V_0}\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt; gives the thermal expansion coefficient. This is a value that tells us how much a given crystal expands with an increase in temperature. We use the &amp;lt;math&amp;gt;\frac{1}{V_0}&amp;lt;/math&amp;gt; term to normalise this value so it can be applied to a crystal of any size which is composed of the same crystal. Below, the different computational methods that can be used to investigate how these properties change with temperature are used. &lt;br /&gt;
&amp;lt;h3&amp;gt;Harmonic and Quasi-Harmonic approximations&amp;lt;/h3&amp;gt;&lt;br /&gt;
The harmonic oscillator is simply a taylor expansion of INSERT EQUATION. The harmonic oscillator takes the third term (quadratic term) giving the easily the harmonic oscillator parabola. When looking at harmonic potential energies, as we change the temperature, the average bond length stays at an equilibrium point and therefore the volume of the crystal doesn&#039;t change. This means that although this approximation works well at lower temperatures as there is little change in volume at low temperatures in reality, at higher temperatures, harmonic and anharmonic (which is a much more realistic model) deviate a lot, giving unreliable data for higher temperatures. A compromise between harmonic which isn&#039;t a very reliable approximation as it only uses 3 terms from the taylor series expansion and using an anharmonic which uses many terms and will be very expensive is using a quasi-harmonic approximation. When we use the Quasi Harmonic approximation, although the approximation isn&#039;t as accurate as anharmonic, it still gives the point where the bond breaks at higher temperatures. INSERT HELMHOLTZ EQUATION.  In the helmholtz free energy equations we use, the differences in the equations for harmonic and quasi-harmonic plots are in the frequency term. In a harmonic system, we would use equation 3 as the potential, however as we are looking at a quasi harmonic system, within the brillouin zone &amp;lt;math&amp;gt;-\pi &amp;lt; k &amp;lt; \pi &amp;lt;/math&amp;gt; we use equation 1. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{4J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 1)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{2J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 2)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{1}{2\pi}){\frac{k}{\mu}}^{\frac{1}{2}} &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 3)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
The molecular dynamics method takes the values from the ideal MgO crystal, then when we change the parameters, generate random velocities. This process is repeated at each time step (each a microstate) then all of the microstates are averaged. An average of all of the microstates is carried out, when enough microstates have been sampled, they start to converge and properties of the crystal can start to be measured such as energy and volume. One of the main differences between the quasi-harmonic approximation and molecular dynamics is that quasi-harmonics uses quantum mechanics to calculate the volumes (the change in bond length) and molecular dynamics uses classical mechanics. When sampling a configuration, there needs to be enough time for the values to converge. This is where the length of the timesteps come into play - getting a more accurate value means that the calculations will take much longer and therefore be more expensive. &lt;br /&gt;
&amp;lt;h3&amp;gt;Helmholtz Free Energy&amp;lt;/h3&amp;gt;&lt;br /&gt;
[[File:Screen_Shot_2018-02-27_at_10.12.39.png|thumb|centre|Eq. 4]]&lt;br /&gt;
A = U - TS&lt;br /&gt;
In order to look at the energy of the vibrational modes, we use the vibrational contribution to the entropy using statistical thermodynamics and the partition coefficient. &lt;br /&gt;
The first term of equation 4 is the internal energy, the second term is the zero point energy (energy at 0K) and the final term is the statistical thermodynamics contribution - the contribution to the energy from the different vibrations.&lt;br /&gt;
&amp;lt;h2&amp;gt;Method&amp;lt;/h2&amp;gt;&lt;br /&gt;
For all of the calculations, the GUI DLVisualise was used. For all calculations, the execute GULP panel was brought up and in the GULP potential parameters, ionic.lib was used and include shells was not included. &lt;br /&gt;
&amp;lt;h3&amp;gt;Lattice vibrations -Computing the phonons&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected, and then run was pressed. Once the job has completed, this shows in the job list and the files were recovered. The energy could be found in the log file under Total Free Energy. &lt;br /&gt;
[[File:MgO_phonon_1.PNG|thumb|centre|Figure 3: Aide for bond lengths table]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Calculating the free energy in the Harmonic approximation&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected. Under General Opts, phonon dispersion was selected with N points set to 50 and calculate phonon eigenvectors was selected, so that specific points in k-space (relating to the origin, x direction vectors being in phase etc.) are represented with greek letters. The files were recovered and the phonon dispersion was displayed using the 1D data display. This is simply one way of displaying all of the data - the same data can be displayed as a density of states. Instead of simply giving the angular frequency as a function of the wave vector, a plot of density of states can also show how many states have a given energy at each k vector point. This can show the energy difference in the band gap, and the most densely populated k-states more easily. In order to visualise the density of states, the phonon dispersion is &#039;chopped up&#039; into sections. The number of sections is determined by the grid size (these parameters can be changed in the GULP execution panel. In this, the frequencies at the edge of the grids are taken and plotted (only one side as not to repeat the counting of the frequencies). The higher the grid size, the greater the accuracy of the density of states as this allows a greater number of wave vectors to be sampled. The value of the grid size is called the shrinking factor.&lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal expansion of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
In order to determine a suitable shrinking factor, a number of grid sizes were investigated with the highest being 32x32x32. As having a higher shrinking factor takes longer and more processing power (leads to being more expensive), choosing the shrinking factor becomes a compromise between time and accuracy. As can be seen from the plot, in Figure [X], and a subsequent calculation to check this, the Helmholtz free energy stops changing after a grid size of 20x20x20 so this seemed like a reasonable value to use as not to compromise the accuracy for a quicker run time. The settings used for this calculation were, select phonon DOS, change shrinking factor to 20x20x20 and set the temperature from 0-3000 K in 100 K intervals. For each temperature, the free energy and BLAH were taken from the log file.&lt;br /&gt;
[[File:MgO_DOS_16x16x16.PNG|thumb|centre|Figure 3: Aide for bond lengths table]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
For Molecular dynamics, a super cell which is twice the length on every side of the cell. This is so the cell is larger and is more similar to &#039;an infinite lattice&#039;. Molecular Dynamics option was selected on the execute panel, the NPT ensemble was chosen, the time step used was 1 femtosecond, equilibration steps of 500, production steps to 500 steps and sampling steps and trajectory write steps to 5. The temperature used went from 100-3000 K with 100 K interval steps. As the volume of the cell is different to the cell used in the quasi-harmonic approximation, the cell volume taken from the log file (the last average cell volume), the volume was divided by 8 to get the same volume as the conventional cell for the quasi-harmonic approximation.&lt;br /&gt;
&amp;lt;h2&amp;gt;Results and discussion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Phonon Modes of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
When the density of states for calculated for a single k point, it can be worked out by examining the phonon dispersion which k point this is. In this case, the point is L as there are only 4 peaks (2 that have double the intensity due to the double degeneracy) and at L there are only 4 branches where we would expect 6 (due to 3N to calculate number of vibrational branches expected). This can also be seen by comparing the frequencies of the peaks in the 1x1x1 DOS and the frequency of the 4 branches at L. This can be checked in the log file as although the character L is useful for helping us to determine the symmetry of the modes of vibrations, it&#039;s always useful to numerically quantify values. This is simply in the row &#039;K point&#039; where the K point is 0.5. It&#039;s important that it can be viewed in the log file as on the phonon dispersion, only greek characters which represent different k points can be seen and it&#039;s not always obvious what numerical value goes with each character. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_1.PNG|thumb|centre|Figure X: MgO Density of States 1x1x1 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_3x3x3.PNG|thumb|centre|Figure X: MgO Density of States 3x3x3 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_8x8x8.PNG|thumb|centre|Figure X: MgO Density of States 8x8x8 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_32x32x32.PNG|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from the progression in grid size that as the grid size increases, although the peaks with the greatest intensity stay in the same place, the shape of the density of states becomes much more defined and includes information on the states at k-points even where there is a lower number of states. When looking at the difference between grid sizes qualitatively, there isn&#039;t much of a difference between 8x8x8 and 32x32x32 apart from there is a more continuous curve with the same shape. It seems that a grid size of approximately 12x12x12 would be the minimum grid size as this is the grid size at which all k points are sampled and there aren&#039;t k-points with an angular frequency of 0 which then have non-zero values of angular frequencies at higher grid sizes. However, when deciding qualitatively, the convergence of the free energy can be used. At 20x20x20 and 6 decimal places, the free energy converges suggesting this is the optimum grid size to use. The density of states in terms of the phonon dispersion curve is basically plotting how many k points there are per value of angular frequency. This can be seen more easily by placing them side by side as seen in FIGURE ENTER HERE.&lt;br /&gt;
&amp;lt;h3&amp;gt;Free energy varied with grid size&amp;lt;/h3&amp;gt;&lt;br /&gt;
INSERT TABLE HERE&lt;br /&gt;
As explained in the introduction, the grid size is simply how many pieces the phonon dispersion has been separated into for the analysis of the density of states. As can be seen in TABLE X, after the grid size is 20x20x20, the values have converged and don&#039;t change (when looking at 6 decimal places, it may be changing beyond 6 decimal places). This is optimal as it reduces the computing power needed for a calculation whilst retaining almost the same level of accuracy. Using a grid size of 3x3x3 will gives a suitable energy for calculations accurate to 1 meV, REMEMBER TO DO 0.5mEV!!!!!!!! and a grid size of 5 gives a suitable energy for calculations accurate to 0.1 meV.&lt;br /&gt;
&amp;lt;h3&amp;gt;Quasi-Harmonic Thermal expansion&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Lattice_Parameter_Graph.png|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Free_energy_vs_T.png|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In Figure X, it can be seen that the free energy is constant, then almost linearly decreases. At very low temperatures, the only main contribution to the free energy is the zero point energy as this is temperature independent. At around 400 K (where the free energy starts to decrease). We can explain by looking at equation X as when the temperature increases, the entropic contribution increases. If we assume the internal energy doesn&#039;t change much with temperature, then the TS term will increase in magnitude and decrease the overall free energy term. By looking at equation X, the vibrational contribution term (also entropic term) is a ln term which will be negative, and again, decrease the overall free energy with an increase in temperature. &lt;br /&gt;
In the graph of lattice parameter vs temperature, the lattice parameter is initially constant and then increases linearly, then exponentially.  After the exponential region, it can be assumed that the lattice parameter increases exponentially, presumably converging at the melting temperature, however this would need to be investigated to be confirmed. Using the quasi-harmonic approximation, this gives the potential a &#039;quasi-anharmonic&#039; shape, meaning that the bond length will actually change with temperature but will just never reach the point where it breaks. Although this doesn&#039;t allow phase transitions to be investigated, it does allow the lattice parameter as a function of temperature to be investigated.&lt;br /&gt;
&lt;br /&gt;
Using the Quasi Harmonic approximation, and fitting the data to get a line of best fit with a gradient of INSERT HERE which is equivalent to &amp;lt;math&amp;gt;\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt;. Multiplying by the reciprocal of the initial volume of the crystal, gives a thermal expansion coefficient for the region of 300-1300 K of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;. By taking the value from lower temperatures, this gives a higher accuracy compared to the &#039;real value&#039;. This is because of the computational model that is being used. This model is quasi-harmonic which is based on the harmonic model. The harmonic oscillator is infinite and the bond between two atoms infinitely extends. However, at high temperatures this is not the reality. The bonds extend and break which is shown by the anharmonic model. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Temperature range (K)&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Quasi-Harmonic&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Molecular Dynamics&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Literature&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;0-300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.042\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;300-1300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.140\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;4.000\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-0-300.png|thumb|centre|Figure X: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-300-1300.png|thumb|centre|Figure X: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-Thermal-expansion-100-300.png|thumb|centre|Figure X: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-300-1300.png|thumb|centre|Figure X: ]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from Table X, at lower temperatures, the quasi-harmonic approximation gives a value closer to literature. This is because the quasi-harmonic approximation takes into account the zero point energy at lower temperatures which is the main contributing factor whereas molecular dynamics method doesn&#039;t - it only considers classical mechanics and not quantum mechanics like quasi-harmonic approximation. At lower temperatures, the molecular dynamics value had to be taken from the 100-300 K region as GULP gave an error at 0 K. This could be because molecular dynamics depends on the motion/velocity of the atoms. At 0 K, there is no motion meaning no information would be outputted, potentially giving an error. At higher temperatures, it can be seen that molecular dynamics gives a more accurate value compared to literature. This is because quasi-harmonic just has constant and exponential bond extension whereas molecular dynamics &lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Conclusion&amp;lt;/h2&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ar3015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=673638</id>
		<title>Rep:Ar3015MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=673638"/>
		<updated>2018-02-27T16:28:12Z</updated>

		<summary type="html">&lt;p&gt;Ar3015: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h1&amp;gt;MgO Report - Antonia Reeves&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;Introduction&amp;lt;/h2&amp;gt;&lt;br /&gt;
In chemistry, it is much easier to treat crystals as rigid structures with set lattice points in unit cells. This can often hold as a good approximation at very low temperatures. However, this is obviously not the case. There are many different vibrations happening throughout the lattice structure leading to thermal expansion. These vibrations can be quantified by using a wave vector - this gives the direction of the propagation of the wave in reciprocal space. We use reciprocal space because FILL IN HERE. &lt;br /&gt;
&amp;lt;h3&amp;gt;Phonons and phonon dispersions&amp;lt;/h3&amp;gt;&lt;br /&gt;
In quantum chemistry, we can treat vibrations as both particles and waves. When treating vibrations as particles - just as particles of light are photons - they are called phonons. We can plot our frequency CHECK THIS of the phonons against the wave vector. This effectively gives a plot of the energy against the &#039;the way that vibrations move&#039; INSERT DIAGRAM OF POTENTIAL WAYS TO DEMONSTRATE which is the k vector. As the phonon dispersion plot investigates the different ways vibrations can take place in the same time, if there were for example only a few atoms, this would give rise to only a few different k points. However, as we are dealing with an infinite lattice, instead of giving quantised k points, a continuous line of k points can be generated, giving rise to a band. One band is called a branch. The number of branches is dependent on the number of different atoms in the lattice. In MgO lattice there are 2 atoms. Using the equation 3N (not 3N-6 as this takes into account rotational and translation degeneracy for single molecules that we don&#039;t need to consider for crystal vibrations) where N is the number of different atoms, we get 6 branches which can be seen in the phonon dispersion plot in Figure X. Using the dispersion plots are useful for seeing the frequency vs k vector as a whole, however, makes it difficult to determine pieces of information such as how many states are at a given frequency, and whether there is a direct or indirect band gap. &lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal Expansion Coefficient&amp;lt;/h3&amp;gt;&lt;br /&gt;
Using the equation &amp;lt;math&amp;gt;\frac{1}{V_0}\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt; gives the thermal expansion coefficient. This is a value that tells us how much a given crystal expands with an increase in temperature. We use the &amp;lt;math&amp;gt;\frac{1}{V_0}&amp;lt;/math&amp;gt; term to normalise this value so it can be applied to a crystal of any size which is composed of the same crystal. Below, the different computational methods that can be used to investigate how these properties change with temperature are used. &lt;br /&gt;
&amp;lt;h3&amp;gt;Harmonic and Quasi-Harmonic approximations&amp;lt;/h3&amp;gt;&lt;br /&gt;
The harmonic oscillator is simply a taylor expansion of INSERT EQUATION. The harmonic oscillator takes the third term (quadratic term) giving the easily the harmonic oscillator parabola. When looking at harmonic potential energies, as we change the temperature, the average bond length stays at an equilibrium point and therefore the volume of the crystal doesn&#039;t change. This means that although this approximation works well at lower temperatures as there is little change in volume at low temperatures in reality, at higher temperatures, harmonic and anharmonic (which is a much more realistic model) deviate a lot, giving unreliable data for higher temperatures. A compromise between harmonic which isn&#039;t a very reliable approximation as it only uses 3 terms from the taylor series expansion and using an anharmonic which uses many terms and will be very expensive is using a quasi-harmonic approximation. When we use the Quasi Harmonic approximation, although the approximation isn&#039;t as accurate as anharmonic, it still gives the point where the bond breaks at higher temperatures. INSERT HELMHOLTZ EQUATION.  In the helmholtz free energy equations we use, the differences in the equations for harmonic and quasi-harmonic plots are in the frequency term. In a harmonic system, we would use equation 3 as the potential, however as we are looking at a quasi harmonic system, within the brillouin zone &amp;lt;math&amp;gt;-\pi &amp;lt; k &amp;lt; \pi &amp;lt;/math&amp;gt; we use equation 1. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{4J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 1)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{2J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 2)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{1}{2\pi}){\frac{k}{\mu}}^{\frac{1}{2}} &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 3)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
The molecular dynamics method takes the values from the ideal MgO crystal, then when we change the parameters, generate random velocities. This process is repeated at each time step (each a microstate) then all of the microstates are averaged. An average of all of the microstates is carried out, when enough microstates have been sampled, they start to converge and properties of the crystal can start to be measured such as energy and volume. One of the main differences between the quasi-harmonic approximation and molecular dynamics is that quasi-harmonics uses quantum mechanics to calculate the volumes (the change in bond length) and molecular dynamics uses classical mechanics. When sampling a configuration, there needs to be enough time for the values to converge. This is where the length of the timesteps come into play - getting a more accurate value means that the calculations will take much longer and therefore be more expensive. &lt;br /&gt;
&amp;lt;h3&amp;gt;Helmholtz Free Energy&amp;lt;/h3&amp;gt;&lt;br /&gt;
[[File:Screen_Shot_2018-02-27_at_10.12.39.png|thumb|centre|Eq. 4]]&lt;br /&gt;
A = U - TS&lt;br /&gt;
In order to look at the energy of the vibrational modes, we use the vibrational contribution to the entropy using statistical thermodynamics and the partition coefficient. &lt;br /&gt;
The first term of equation 4 is the internal energy, the second term is the zero point energy (energy at 0K) and the final term is the statistical thermodynamics contribution - the contribution to the energy from the different vibrations.&lt;br /&gt;
&amp;lt;h2&amp;gt;Method&amp;lt;/h2&amp;gt;&lt;br /&gt;
For all of the calculations, the GUI DLVisualise was used. For all calculations, the execute GULP panel was brought up and in the GULP potential parameters, ionic.lib was used and include shells was not included. &lt;br /&gt;
&amp;lt;h3&amp;gt;Lattice vibrations -Computing the phonons&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected, and then run was pressed. Once the job has completed, this shows in the job list and the files were recovered. The energy could be found in the log file under Total Free Energy. &lt;br /&gt;
[[File:MgO_phonon_1.PNG|thumb|centre|Figure 3: Aide for bond lengths table]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Calculating the free energy in the Harmonic approximation&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected. Under General Opts, phonon dispersion was selected with N points set to 50 and calculate phonon eigenvectors was selected, so that specific points in k-space (relating to the origin, x direction vectors being in phase etc.) are represented with greek letters. The files were recovered and the phonon dispersion was displayed using the 1D data display. This is simply one way of displaying all of the data - the same data can be displayed as a density of states. Instead of simply giving the angular frequency as a function of the wave vector, a plot of density of states can also show how many states have a given energy at each k vector point. This can show the energy difference in the band gap, and the most densely populated k-states more easily. In order to visualise the density of states, the phonon dispersion is &#039;chopped up&#039; into sections. The number of sections is determined by the grid size (these parameters can be changed in the GULP execution panel. In this, the frequencies at the edge of the grids are taken and plotted (only one side as not to repeat the counting of the frequencies). The higher the grid size, the greater the accuracy of the density of states as this allows a greater number of wave vectors to be sampled. The value of the grid size is called the shrinking factor.&lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal expansion of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
In order to determine a suitable shrinking factor, a number of grid sizes were investigated with the highest being 32x32x32. As having a higher shrinking factor takes longer and more processing power (leads to being more expensive), choosing the shrinking factor becomes a compromise between time and accuracy. As can be seen from the plot, in Figure [X], and a subsequent calculation to check this, the Helmholtz free energy stops changing after a grid size of 20x20x20 so this seemed like a reasonable value to use as not to compromise the accuracy for a quicker run time. The settings used for this calculation were, select phonon DOS, change shrinking factor to 20x20x20 and set the temperature from 0-3000 K in 100 K intervals. For each temperature, the free energy and BLAH were taken from the log file.&lt;br /&gt;
[[File:MgO_DOS_16x16x16.PNG|thumb|centre|Figure 3: Aide for bond lengths table]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
For Molecular dynamics, a super cell which is twice the length on every side of the cell. This is so the cell is larger and is more similar to &#039;an infinite lattice&#039;. Molecular Dynamics option was selected on the execute panel, the NPT ensemble was chosen, the time step used was 1 femtosecond, equilibration steps of 500, production steps to 500 steps and sampling steps and trajectory write steps to 5. The temperature used went from 100-3000 K with 100 K interval steps. As the volume of the cell is different to the cell used in the quasi-harmonic approximation, the cell volume taken from the log file (the last average cell volume), the volume was divided by 8 to get the same volume as the conventional cell for the quasi-harmonic approximation.&lt;br /&gt;
&amp;lt;h2&amp;gt;Results and discussion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Phonon Modes of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
When the density of states for calculated for a single k point, it can be worked out by examining the phonon dispersion which k point this is. In this case, the point is L as there are only 4 peaks (2 that have double the intensity due to the double degeneracy) and at L there are only 4 branches where we would expect 6 (due to 3N to calculate number of vibrational branches expected). This can also be seen by comparing the frequencies of the peaks in the 1x1x1 DOS and the frequency of the 4 branches at L. This can be checked in the log file as although the character L is useful for helping us to determine the symmetry of the modes of vibrations, it&#039;s always useful to numerically quantify values. This is simply in the row &#039;K point&#039; where the K point is 0.5. It&#039;s important that it can be viewed in the log file as on the phonon dispersion, only greek characters which represent different k points can be seen and it&#039;s not always obvious what numerical value goes with each character. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_1.PNG|thumb|centre|Figure X: MgO Density of States 1x1x1 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_3x3x3.PNG|thumb|centre|Figure X: MgO Density of States 3x3x3 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_8x8x8.PNG|thumb|centre|Figure X: MgO Density of States 8x8x8 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_32x32x32.PNG|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from the progression in grid size that as the grid size increases, although the peaks with the greatest intensity stay in the same place, the shape of the density of states becomes much more defined and includes information on the states at k-points even where there is a lower number of states. When looking at the difference between grid sizes qualitatively, there isn&#039;t much of a difference between 8x8x8 and 32x32x32 apart from there is a more continuous curve with the same shape. It seems that a grid size of approximately 12x12x12 would be the minimum grid size as this is the grid size at which all k points are sampled and there aren&#039;t k-points with an angular frequency of 0 which then have non-zero values of angular frequencies at higher grid sizes. However, when deciding qualitatively, the convergence of the free energy can be used. At 20x20x20 and 6 decimal places, the free energy converges suggesting this is the optimum grid size to use. The density of states in terms of the phonon dispersion curve is basically plotting how many k points there are per value of angular frequency. This can be seen more easily by placing them side by side as seen in FIGURE ENTER HERE.&lt;br /&gt;
&amp;lt;h3&amp;gt;Free energy varied with grid size&amp;lt;/h3&amp;gt;&lt;br /&gt;
INSERT TABLE HERE&lt;br /&gt;
As explained in the introduction, the grid size is simply how many pieces the phonon dispersion has been separated into for the analysis of the density of states. As can be seen in TABLE X, after the grid size is 20x20x20, the values have converged and don&#039;t change (when looking at 6 decimal places, it may be changing beyond 6 decimal places). This is optimal as it reduces the computing power needed for a calculation whilst retaining almost the same level of accuracy. Using a grid size of 3x3x3 will gives a suitable energy for calculations accurate to 1 meV, REMEMBER TO DO 0.5mEV!!!!!!!! and a grid size of 5 gives a suitable energy for calculations accurate to 0.1 meV.&lt;br /&gt;
&amp;lt;h3&amp;gt;Quasi-Harmonic Thermal expansion&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Lattice_Parameter_Graph.png|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Free_energy_vs_T.png|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In Figure X, it can be seen that the free energy is constant, then almost linearly decreases. At very low temperatures, the only main contribution to the free energy is the zero point energy as this is temperature independent. At around 400 K (where the free energy starts to decrease). We can explain by looking at equation X as when the temperature increases, the entropic contribution increases. If we assume the internal energy doesn&#039;t change much with temperature, then the TS term will increase in magnitude and decrease the overall free energy term. By looking at equation X, the vibrational contribution term (also entropic term) is a ln term which will be negative, and again, decrease the overall free energy with an increase in temperature. &lt;br /&gt;
In the graph of lattice parameter vs temperature, the lattice parameter is initially constant and then increases linearly, then exponentially.  After the exponential region, it can be assumed that the lattice parameter increases exponentially, presumably converging at the melting temperature, however this would need to be investigated to be confirmed. Using the quasi-harmonic approximation, this gives the potential a &#039;quasi-anharmonic&#039; shape, meaning that the bond length will actually change with temperature but will just never reach the point where it breaks. Although this doesn&#039;t allow phase transitions to be investigated, it does allow the lattice parameter as a function of temperature to be investigated.&lt;br /&gt;
&lt;br /&gt;
Using the Quasi Harmonic approximation, and fitting the data to get a line of best fit with a gradient of INSERT HERE which is equivalent to &amp;lt;math&amp;gt;\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt;. Multiplying by the reciprocal of the initial volume of the crystal, gives a thermal expansion coefficient for the region of 300-1300 K of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;. By taking the value from lower temperatures, this gives a higher accuracy compared to the &#039;real value&#039;. This is because of the computational model that is being used. This model is quasi-harmonic which is based on the harmonic model. The harmonic oscillator is infinite and the bond between two atoms infinitely extends. However, at high temperatures this is not the reality. The bonds extend and break which is shown by the anharmonic model. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Temperature range (K)&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Quasi-Harmonic&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Molecular Dynamics&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Literature&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;0-300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.042\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;300-1300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.140\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;4.000\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-0-300.png|thumb|centre|Figure X: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-300-1300.png|thumb|centre|Figure X: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-Thermal-expansion-100-300.png|thumb|centre|Figure X: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-300-1300.png|thumb|centre|Figure X: ]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from Table X, at lower temperatures, the quasi-harmonic approximation gives a value closer to literature. This is because the quasi-harmonic approximation takes into account the zero point energy at lower temperatures which is the main contributing factor. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Conclusion&amp;lt;/h2&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ar3015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=673582</id>
		<title>Rep:Ar3015MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=673582"/>
		<updated>2018-02-27T15:39:12Z</updated>

		<summary type="html">&lt;p&gt;Ar3015: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h1&amp;gt;MgO Report - Antonia Reeves&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;Introduction&amp;lt;/h2&amp;gt;&lt;br /&gt;
In chemistry, it is much easier to treat crystals as rigid structures with set lattice points in unit cells. This can often hold as a good approximation at very low temperatures. However, this is obviously not the case. There are many different vibrations happening throughout the lattice structure leading to thermal expansion. These vibrations can be quantified by using a wave vector - this gives the direction of the propagation of the wave in reciprocal space. We use reciprocal space because FILL IN HERE. &lt;br /&gt;
&amp;lt;h3&amp;gt;Phonons and phonon dispersions&amp;lt;/h3&amp;gt;&lt;br /&gt;
In quantum chemistry, we can treat vibrations as both particles and waves. When treating vibrations as particles - just as particles of light are photons - they are called phonons. We can plot our frequency CHECK THIS of the phonons against the wave vector. This effectively gives a plot of the energy against the &#039;the way that vibrations move&#039; INSERT DIAGRAM OF POTENTIAL WAYS TO DEMONSTRATE which is the k vector. As the phonon dispersion plot investigates the different ways vibrations can take place in the same time, if there were for example only a few atoms, this would give rise to only a few different k points. However, as we are dealing with an infinite lattice, instead of giving quantised k points, a continuous line of k points can be generated, giving rise to a band. One band is called a branch. The number of branches is dependent on the number of different atoms in the lattice. In MgO lattice there are 2 atoms. Using the equation 3N (not 3N-6 as this takes into account rotational and translation degeneracy for single molecules that we don&#039;t need to consider for crystal vibrations) where N is the number of different atoms, we get 6 branches which can be seen in the phonon dispersion plot in Figure X. Using the dispersion plots are useful for seeing the frequency vs k vector as a whole, however, makes it difficult to determine pieces of information such as how many states are at a given frequency, and whether there is a direct or indirect band gap. &lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal Expansion Coefficient&amp;lt;/h3&amp;gt;&lt;br /&gt;
Using the equation &amp;lt;math&amp;gt;\frac{1}{V_0}\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt; gives the thermal expansion coefficient. This is a value that tells us how much a given crystal expands with an increase in temperature. We use the &amp;lt;math&amp;gt;\frac{1}{V_0}&amp;lt;/math&amp;gt; term to normalise this value so it can be applied to a crystal of any size which is composed of the same crystal. Below, the different computational methods that can be used to investigate how these properties change with temperature are used. &lt;br /&gt;
&amp;lt;h3&amp;gt;Harmonic and Quasi-Harmonic approximations&amp;lt;/h3&amp;gt;&lt;br /&gt;
The harmonic oscillator is simply a taylor expansion of INSERT EQUATION. The harmonic oscillator takes the third term (quadratic term) giving the easily the harmonic oscillator parabola. When looking at harmonic potential energies, as we change the temperature, the average bond length stays at an equilibrium point and therefore the volume of the crystal doesn&#039;t change. This means that although this approximation works well at lower temperatures as there is little change in volume at low temperatures in reality, at higher temperatures, harmonic and anharmonic (which is a much more realistic model) deviate a lot, giving unreliable data for higher temperatures. A compromise between harmonic which isn&#039;t a very reliable approximation as it only uses 3 terms from the taylor series expansion and using an anharmonic which uses many terms and will be very expensive is using a quasi-harmonic approximation. When we use the Quasi Harmonic approximation, although the approximation isn&#039;t as accurate as anharmonic, it still gives the point where the bond breaks at higher temperatures. INSERT HELMHOLTZ EQUATION.  In the helmholtz free energy equations we use, the differences in the equations for harmonic and quasi-harmonic plots are in the frequency term. In a harmonic system, we would use equation 3 as the potential, however as we are looking at a quasi harmonic system, within the brillouin zone &amp;lt;math&amp;gt;-\pi &amp;lt; k &amp;lt; \pi &amp;lt;/math&amp;gt; we use equation 1. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{4J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 1)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{2J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 2)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{1}{2\pi}){\frac{k}{\mu}}^{\frac{1}{2}} &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 3)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
The molecular dynamics method takes the values from the ideal MgO crystal, then when we change the parameters, generate random velocities. This process is continued at each time step until the average of the values converge to a single point. Once the values of the velocity has started to converge, can start to measure properties of the crystals e.g. Energy. &lt;br /&gt;
&amp;lt;h3&amp;gt;Helmholtz Free Energy&amp;lt;/h3&amp;gt;&lt;br /&gt;
[[File:Screen_Shot_2018-02-27_at_10.12.39.png|thumb|centre|Eq. 4]]&lt;br /&gt;
A = U - TS&lt;br /&gt;
In order to look at the energy of the vibrational modes, we use the vibrational contribution to the entropy using statistical thermodynamics and the partition coefficient. &lt;br /&gt;
The first term of equation 4 is the internal energy, the second term is the zero point energy (energy at 0K) and the final term is the statistical thermodynamics contribution - the contribution to the energy from the different vibrations.&lt;br /&gt;
&amp;lt;h2&amp;gt;Method&amp;lt;/h2&amp;gt;&lt;br /&gt;
For all of the calculations, the GUI DLVisualise was used. For all calculations, the execute GULP panel was brought up and in the GULP potential parameters, ionic.lib was used and include shells was not included. &lt;br /&gt;
&amp;lt;h3&amp;gt;Lattice vibrations -Computing the phonons&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected, and then run was pressed. Once the job has completed, this shows in the job list and the files were recovered. The energy could be found in the log file under Total Free Energy. &lt;br /&gt;
[[File:MgO_phonon_1.PNG|thumb|centre|Figure 3: Aide for bond lengths table]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Calculating the free energy in the Harmonic approximation&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected. Under General Opts, phonon dispersion was selected with N points set to 50 and calculate phonon eigenvectors was selected, so that specific points in k-space (relating to the origin, x direction vectors being in phase etc.) are represented with greek letters. The files were recovered and the phonon dispersion was displayed using the 1D data display. This is simply one way of displaying all of the data - the same data can be displayed as a density of states. Instead of simply giving the angular frequency as a function of the wave vector, a plot of density of states can also show how many states have a given energy at each k vector point. This can show the energy difference in the band gap, and the most densely populated k-states more easily. In order to visualise the density of states, the phonon dispersion is &#039;chopped up&#039; into sections. The number of sections is determined by the grid size (these parameters can be changed in the GULP execution panel. In this, the frequencies at the edge of the grids are taken and plotted (only one side as not to repeat the counting of the frequencies). The higher the grid size, the greater the accuracy of the density of states as this allows a greater number of wave vectors to be sampled. The value of the grid size is called the shrinking factor.&lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal expansion of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
In order to determine a suitable shrinking factor, a number of grid sizes were investigated with the highest being 32x32x32. As having a higher shrinking factor takes longer and more processing power (leads to being more expensive), choosing the shrinking factor becomes a compromise between time and accuracy. As can be seen from the plot, in Figure [X], and a subsequent calculation to check this, the Helmholtz free energy stops changing after a grid size of 20x20x20 so this seemed like a reasonable value to use as not to compromise the accuracy for a quicker run time. The settings used for this calculation were, select phonon DOS, change shrinking factor to 20x20x20 and set the temperature from 0-3000 K in 100 K intervals. For each temperature, the free energy and BLAH were taken from the log file.&lt;br /&gt;
[[File:MgO_DOS_16x16x16.PNG|thumb|centre|Figure 3: Aide for bond lengths table]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
For Molecular dynamics, a super cell which is twice the length on every side of the cell. This is so the cell is larger and is more similar to &#039;an infinite lattice&#039;. Molecular Dynamics option was selected on the execute panel, the NPT ensemble was chosen, the time step used was 1 femtosecond, equilibration steps of 500, production steps to 500 steps and sampling steps and trajectory write steps to 5. The temperature used went from 100-3000 K with 100 K interval steps. As the volume of the cell is different to the cell used in the quasi-harmonic approximation, the cell volume taken from the log file (the last average cell volume), the volume was divided by 8 to get the same volume as the conventional cell for the quasi-harmonic approximation.&lt;br /&gt;
&amp;lt;h2&amp;gt;Results and discussion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Phonon Modes of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
When the density of states for calculated for a single k point, it can be worked out by examining the phonon dispersion which k point this is. In this case, the point is L as there are only 4 peaks (2 that have double the intensity due to the double degeneracy) and at L there are only 4 branches where we would expect 6 (due to 3N to calculate number of vibrational branches expected). This can also be seen by comparing the frequencies of the peaks in the 1x1x1 DOS and the frequency of the 4 branches at L. This can be checked in the log file as although the character L is useful for helping us to determine the symmetry of the modes of vibrations, it&#039;s always useful to numerically quantify values. This is simply in the row &#039;K point&#039; where the K point is 0.5. It&#039;s important that it can be viewed in the log file as on the phonon dispersion, only greek characters which represent different k points can be seen and it&#039;s not always obvious what numerical value goes with each character. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_1.PNG|thumb|centre|Figure X: MgO Density of States 1x1x1 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_3x3x3.PNG|thumb|centre|Figure X: MgO Density of States 3x3x3 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_8x8x8.PNG|thumb|centre|Figure X: MgO Density of States 8x8x8 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_32x32x32.PNG|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from the progression in grid size that as the grid size increases, although the peaks with the greatest intensity stay in the same place, the shape of the density of states becomes much more defined and includes information on the states at k-points even where there is a lower number of states. When looking at the difference between grid sizes qualitatively, there isn&#039;t much of a difference between 8x8x8 and 32x32x32 apart from there is a more continuous curve with the same shape. It seems that a grid size of approximately 12x12x12 would be the minimum grid size as this is the grid size at which all k points are sampled and there aren&#039;t k-points with an angular frequency of 0 which then have non-zero values of angular frequencies at higher grid sizes. However, when deciding qualitatively, the convergence of the free energy can be used. At 20x20x20 and 6 decimal places, the free energy converges suggesting this is the optimum grid size to use. The density of states in terms of the phonon dispersion curve is basically plotting how many k points there are per value of angular frequency. This can be seen more easily by placing them side by side as seen in FIGURE ENTER HERE.&lt;br /&gt;
&amp;lt;h3&amp;gt;Free energy varied with grid size&amp;lt;/h3&amp;gt;&lt;br /&gt;
INSERT TABLE HERE&lt;br /&gt;
As explained in the introduction, the grid size is simply how many pieces the phonon dispersion has been separated into for the analysis of the density of states. As can be seen in TABLE X, after the grid size is 20x20x20, the values have converged and don&#039;t change (when looking at 6 decimal places, it may be changing beyond 6 decimal places). This is optimal as it reduces the computing power needed for a calculation whilst retaining almost the same level of accuracy. Using a grid size of 3x3x3 will gives a suitable energy for calculations accurate to 1 meV, REMEMBER TO DO 0.5mEV!!!!!!!! and a grid size of 5 gives a suitable energy for calculations accurate to 0.1 meV.&lt;br /&gt;
&amp;lt;h3&amp;gt;Quasi-Harmonic Thermal expansion&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Lattice_Parameter_Graph.png|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Free_energy_vs_T.png|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In Figure X, it can be seen that the free energy is constant, then almost linearly decreases. At very low temperatures, the only main contribution to the free energy is the zero point energy as this is temperature independent. At around 400 K (where the free energy starts to decrease). We can explain by looking at equation X as when the temperature increases, the entropic contribution increases. If we assume the internal energy doesn&#039;t change much with temperature, then the TS term will increase in magnitude and decrease the overall free energy term. By looking at equation X, the vibrational contribution term (also entropic term) is a ln term which will be negative, and again, decrease the overall free energy with an increase in temperature. &lt;br /&gt;
In the graph of lattice parameter vs temperature, the lattice parameter is initially constant and then increases linearly, then exponentially.  After the exponential region, it can be assumed that the lattice parameter increases exponentially, presumably converging at the melting temperature, however this would need to be investigated to be confirmed. Using the quasi-harmonic approximation, this gives the potential a &#039;quasi-anharmonic&#039; shape, meaning that the bond length will actually change with temperature but will just never reach the point where it breaks. Although this doesn&#039;t allow phase transitions to be investigated, it does allow the lattice parameter as a function of temperature to be investigated.&lt;br /&gt;
&lt;br /&gt;
Using the Quasi Harmonic approximation, and fitting the data to get a line of best fit with a gradient of INSERT HERE which is equivalent to &amp;lt;math&amp;gt;\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt;. Multiplying by the reciprocal of the initial volume of the crystal, gives a thermal expansion coefficient for the region of 300-1300 K of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;. By taking the value from lower temperatures, this gives a higher accuracy compared to the &#039;real value&#039;. This is because of the computational model that is being used. This model is quasi-harmonic which is based on the harmonic model. The harmonic oscillator is infinite and the bond between two atoms infinitely extends. However, at high temperatures this is not the reality. The bonds extend and break which is shown by the anharmonic model. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Temperature range (K)&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Quasi-Harmonic&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Molecular Dynamics&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Literature&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;0-300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.042\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;300-1300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.140\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;4.000\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-0-300.png|thumb|centre|Figure X: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-300-1300.png|thumb|centre|Figure X: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-Thermal-expansion-100-300.png|thumb|centre|Figure X: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-300-1300.png|thumb|centre|Figure X: ]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from Table X, at lower temperatures, the quasi-harmonic approximation gives a value closer to literature. This is because the quasi-harmonic approximation takes into account the zero point energy at lower temperatures which is the main contributing factor. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Conclusion&amp;lt;/h2&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ar3015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=673560</id>
		<title>Rep:Ar3015MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=673560"/>
		<updated>2018-02-27T15:30:02Z</updated>

		<summary type="html">&lt;p&gt;Ar3015: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h1&amp;gt;MgO Report - Antonia Reeves&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;Introduction&amp;lt;/h2&amp;gt;&lt;br /&gt;
In chemistry, it is much easier to treat crystals as rigid structures with set lattice points in unit cells. This can often hold as a good approximation at very low temperatures. However, this is obviously not the case. There are many different vibrations happening throughout the lattice structure leading to thermal expansion. These vibrations can be quantified by using a wave vector - this gives the direction of the propagation of the wave in reciprocal space. We use reciprocal space because FILL IN HERE. &lt;br /&gt;
&amp;lt;h3&amp;gt;Phonons and phonon dispersions&amp;lt;/h3&amp;gt;&lt;br /&gt;
In quantum chemistry, we can treat vibrations as both particles and waves. When treating vibrations as particles - just as particles of light are photons - they are called phonons. We can plot our frequency CHECK THIS of the phonons against the wave vector. This effectively gives a plot of the energy against the &#039;the way that vibrations move&#039; INSERT DIAGRAM OF POTENTIAL WAYS TO DEMONSTRATE which is the k vector. As the phonon dispersion plot investigates the different ways vibrations can take place in the same time, if there were for example only a few atoms, this would give rise to only a few different k points. However, as we are dealing with an infinite lattice, instead of giving quantised k points, a continuous line of k points can be generated, giving rise to a band. One band is called a branch. The number of branches is dependent on the number of different atoms in the lattice. In MgO lattice there are 2 atoms. Using the equation 3N (not 3N-6 as this takes into account rotational and translation degeneracy for single molecules that we don&#039;t need to consider for crystal vibrations) where N is the number of different atoms, we get 6 branches which can be seen in the phonon dispersion plot in Figure X. Using the dispersion plots are useful for seeing the frequency vs k vector as a whole, however, makes it difficult to determine pieces of information such as how many states are at a given frequency, and whether there is a direct or indirect band gap. &lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal Expansion Coefficient&amp;lt;/h3&amp;gt;&lt;br /&gt;
Using the equation &amp;lt;math&amp;gt;\frac{1}{V_0}\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt; gives the thermal expansion coefficient. This is a value that tells us how much a given crystal expands with an increase in temperature. We use the &amp;lt;math&amp;gt;\frac{1}{V_0}&amp;lt;/math&amp;gt; term to normalise this value so it can be applied to a crystal of any size which is composed of the same crystal. Below, the different computational methods that can be used to investigate how these properties change with temperature are used. &lt;br /&gt;
&amp;lt;h3&amp;gt;Harmonic and Quasi-Harmonic approximations&amp;lt;/h3&amp;gt;&lt;br /&gt;
The harmonic oscillator is simply a taylor expansion of INSERT EQUATION. The harmonic oscillator takes the third term (quadratic term) giving the easily the harmonic oscillator parabola. When looking at harmonic potential energies, as we change the temperature, the average bond length stays at an equilibrium point and therefore the volume of the crystal doesn&#039;t change. This means that although this approximation works well at lower temperatures as there is little change in volume at low temperatures in reality, at higher temperatures, harmonic and anharmonic (which is a much more realistic model) deviate a lot, giving unreliable data for higher temperatures. A compromise between harmonic which isn&#039;t a very reliable approximation as it only uses 3 terms from the taylor series expansion and using an anharmonic which uses many terms and will be very expensive is using a quasi-harmonic approximation. When we use the Quasi Harmonic approximation, although the approximation isn&#039;t as accurate as anharmonic, it still gives the point where the bond breaks at higher temperatures. INSERT HELMHOLTZ EQUATION.  In the helmholtz free energy equations we use, the differences in the equations for harmonic and quasi-harmonic plots are in the frequency term. In a harmonic system, we would use equation 3 as the potential, however as we are looking at a quasi harmonic system, within the brillouin zone &amp;lt;math&amp;gt;-\pi &amp;lt; k &amp;lt; \pi &amp;lt;/math&amp;gt; we use equation 1. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{4J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 1)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{2J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 2)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{1}{2\pi}){\frac{k}{\mu}}^{\frac{1}{2}} &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 3)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
The molecular dynamics method takes the values from the ideal MgO crystal, then when we change the parameters, generate random velocities. This process is continued at each time step until the average of the values converge to a single point. Once the values of the velocity has started to converge, can start to measure properties of the crystals e.g. Energy. &lt;br /&gt;
&amp;lt;h3&amp;gt;Helmholtz Free Energy&amp;lt;/h3&amp;gt;&lt;br /&gt;
[[File:Screen_Shot_2018-02-27_at_10.12.39.png|thumb|centre|Eq. 4]]&lt;br /&gt;
A = U - TS&lt;br /&gt;
In order to look at the energy of the vibrational modes, we use the vibrational contribution to the entropy using statistical thermodynamics and the partition coefficient. &lt;br /&gt;
The first term of equation 4 is the internal energy, the second term is the zero point energy (energy at 0K) and the final term is the statistical thermodynamics contribution - the contribution to the energy from the different vibrations.&lt;br /&gt;
&amp;lt;h2&amp;gt;Method&amp;lt;/h2&amp;gt;&lt;br /&gt;
For all of the calculations, the GUI DLVisualise was used. For all calculations, the execute GULP panel was brought up and in the GULP potential parameters, ionic.lib was used and include shells was not included. &lt;br /&gt;
&amp;lt;h3&amp;gt;Lattice vibrations -Computing the phonons&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected, and then run was pressed. Once the job has completed, this shows in the job list and the files were recovered. The energy could be found in the log file under Total Free Energy. &lt;br /&gt;
[[File:MgO_phonon_1.PNG|thumb|centre|Figure 3: Aide for bond lengths table]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Calculating the free energy in the Harmonic approximation&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected. Under General Opts, phonon dispersion was selected with N points set to 50 and calculate phonon eigenvectors was selected, so that specific points in k-space (relating to the origin, x direction vectors being in phase etc.) are represented with greek letters. The files were recovered and the phonon dispersion was displayed using the 1D data display. This is simply one way of displaying all of the data - the same data can be displayed as a density of states. Instead of simply giving the angular frequency as a function of the wave vector, a plot of density of states can also show how many states have a given energy at each k vector point. This can show the energy difference in the band gap, and the most densely populated k-states more easily. In order to visualise the density of states, the phonon dispersion is &#039;chopped up&#039; into sections. The number of sections is determined by the grid size (these parameters can be changed in the GULP execution panel. In this, the frequencies at the edge of the grids are taken and plotted (only one side as not to repeat the counting of the frequencies). The higher the grid size, the greater the accuracy of the density of states as this allows a greater number of wave vectors to be sampled. The value of the grid size is called the shrinking factor.&lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal expansion of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
In order to determine a suitable shrinking factor, a number of grid sizes were investigated with the highest being 32x32x32. As having a higher shrinking factor takes longer and more processing power (leads to being more expensive), choosing the shrinking factor becomes a compromise between time and accuracy. As can be seen from the plot, in Figure [X], and a subsequent calculation to check this, the Helmholtz free energy stops changing after a grid size of 20x20x20 so this seemed like a reasonable value to use as not to compromise the accuracy for a quicker run time. The settings used for this calculation were, select phonon DOS, change shrinking factor to 20x20x20 and set the temperature from 0-3000 K in 100 K intervals. For each temperature, the free energy and BLAH were taken from the log file.&lt;br /&gt;
[[File:MgO_DOS_16x16x16.PNG|thumb|centre|Figure 3: Aide for bond lengths table]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
For Molecular dynamics, a super cell which is twice the length on every side of the cell. This is so the cell is larger and is more similar to &#039;an infinite lattice&#039;. Molecular Dynamics option was selected on the execute panel, the NPT ensemble was chosen, the time step used was 1 femtosecond, equilibration steps of 500, production steps to 500 steps and sampling steps and trajectory write steps to 5. The temperature used went from 100-3000 K with 100 K interval steps. As the volume of the cell is different to the cell used in the quasi-harmonic approximation, the cell volume taken from the log file (the last average cell volume), the volume was divided by 8 to get the same volume as the conventional cell for the quasi-harmonic approximation.&lt;br /&gt;
&amp;lt;h2&amp;gt;Results and discussion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Phonon Modes of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
When the density of states for calculated for a single k point, it can be worked out by examining the phonon dispersion which k point this is. In this case, the point is L as there are only 4 peaks (2 that have double the intensity due to the double degeneracy) and at L there are only 4 branches where we would expect 6 (due to 3N to calculate number of vibrational branches expected). This can also be seen by comparing the frequencies of the peaks in the 1x1x1 DOS and the frequency of the 4 branches at L. This can be checked in the log file as although the character L is useful for helping us to determine the symmetry of the modes of vibrations, it&#039;s always useful to numerically quantify values. This is simply in the row &#039;K point&#039; where the K point is 0.5. It&#039;s important that it can be viewed in the log file as on the phonon dispersion, only greek characters which represent different k points can be seen and it&#039;s not always obvious what numerical value goes with each character. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_1.PNG|thumb|centre|Figure X: MgO Density of States 1x1x1 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_3x3x3.PNG|thumb|centre|Figure X: MgO Density of States 3x3x3 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_8x8x8.PNG|thumb|centre|Figure X: MgO Density of States 8x8x8 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_32x32x32.PNG|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from the progression in grid size that as the grid size increases, although the peaks with the greatest intensity stay in the same place, the shape of the density of states becomes much more defined and includes information on the states at k-points even where there is a lower number of states. When looking at the difference between grid sizes qualitatively, there isn&#039;t much of a difference between 8x8x8 and 32x32x32 apart from there is a more continuous curve with the same shape. It seems that a grid size of approximately 12x12x12 would be the minimum grid size as this is the grid size at which all k points are sampled and there aren&#039;t k-points with an angular frequency of 0 which then have non-zero values of angular frequencies at higher grid sizes. However, when deciding qualitatively, the convergence of the free energy can be used. At 20x20x20 and 6 decimal places, the free energy converges suggesting this is the optimum grid size to use. The density of states in terms of the phonon dispersion curve is basically plotting how many k points there are per value of angular frequency. This can be seen more easily by placing them side by side as seen in FIGURE ENTER HERE.&lt;br /&gt;
&amp;lt;h3&amp;gt;Free energy varied with grid size&amp;lt;/h3&amp;gt;&lt;br /&gt;
INSERT TABLE HERE&lt;br /&gt;
As explained in the introduction, the grid size is simply how many pieces the phonon dispersion has been separated into for the analysis of the density of states. As can be seen in TABLE X, after the grid size is 20x20x20, the values have converged and don&#039;t change (when looking at 6 decimal places, it may be changing beyond 6 decimal places). This is optimal as it reduces the computing power needed for a calculation whilst retaining almost the same level of accuracy. Using a grid size of 3x3x3 will gives a suitable energy for calculations accurate to 1 meV, REMEMBER TO DO 0.5mEV!!!!!!!! and a grid size of 5 gives a suitable energy for calculations accurate to 0.1 meV.&lt;br /&gt;
&amp;lt;h3&amp;gt;Quasi-Harmonic Thermal expansion&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Lattice_Parameter_Graph.png|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Free_energy_vs_T.png|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In Figure X, it can be seen that the free energy is constant, then almost linearly decreases. At very low temperatures, the only main contribution to the free energy is the zero point energy as this is temperature independent. At around 400 K (where the free energy starts to decrease). We can explain by looking at equation X as when the temperature increases, the entropic contribution increases. If we assume the internal energy doesn&#039;t change much with temperature, then the TS term will increase in magnitude and decrease the overall free energy term. By looking at equation X, the vibrational contribution term (also entropic term) is a ln term which will be negative, and again, decrease the overall free energy with an increase in temperature. &lt;br /&gt;
In the graph of lattice parameter vs temperature, the lattice parameter is initially constant and then increases linearly, then exponentially.  After the exponential region, it can be assumed that the lattice parameter increases exponentially, presumably converging at the melting temperature, however this would need to be investigated to be confirmed. Using the quasi-harmonic approximation, this gives the potential a &#039;quasi-anharmonic&#039; shape, meaning that the bond length will actually change with temperature but will just never reach the point where it breaks. Although this doesn&#039;t allow phase transitions to be investigated, it does allow the lattice parameter as a function of temperature to be investigated.&lt;br /&gt;
&lt;br /&gt;
Using the Quasi Harmonic approximation, and fitting the data to get a line of best fit with a gradient of INSERT HERE which is equivalent to &amp;lt;math&amp;gt;\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt;. Multiplying by the reciprocal of the initial volume of the crystal, gives a thermal expansion coefficient for the region of 300-1300 K of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;. By taking the value from lower temperatures, this gives a higher accuracy compared to the &#039;real value&#039;. This is because of the computational model that is being used. This model is quasi-harmonic which is based on the harmonic model. The harmonic oscillator is infinite and the bond between two atoms infinitely extends. However, at high temperatures this is not the reality. The bonds extend and break which is shown by the anharmonic model. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Temperature range (K)&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Quasi-Harmonic&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Molecular Dynamics&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Literature&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;0-300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.042\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;300-1300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.140\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;4.000\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-0-300.png|thumb|centre|Figure X: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-300-1300.png|thumb|centre|Figure X: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-Thermal-expansion-100-300.png|thumb|centre|Figure X: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-300-1300.png|thumb|centre|Figure X: ]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Conclusion&amp;lt;/h2&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ar3015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=673557</id>
		<title>Rep:Ar3015MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=673557"/>
		<updated>2018-02-27T15:29:34Z</updated>

		<summary type="html">&lt;p&gt;Ar3015: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h1&amp;gt;MgO Report - Antonia Reeves&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;Introduction&amp;lt;/h2&amp;gt;&lt;br /&gt;
In chemistry, it is much easier to treat crystals as rigid structures with set lattice points in unit cells. This can often hold as a good approximation at very low temperatures. However, this is obviously not the case. There are many different vibrations happening throughout the lattice structure leading to thermal expansion. These vibrations can be quantified by using a wave vector - this gives the direction of the propagation of the wave in reciprocal space. We use reciprocal space because FILL IN HERE. &lt;br /&gt;
&amp;lt;h3&amp;gt;Phonons and phonon dispersions&amp;lt;/h3&amp;gt;&lt;br /&gt;
In quantum chemistry, we can treat vibrations as both particles and waves. When treating vibrations as particles - just as particles of light are photons - they are called phonons. We can plot our frequency CHECK THIS of the phonons against the wave vector. This effectively gives a plot of the energy against the &#039;the way that vibrations move&#039; INSERT DIAGRAM OF POTENTIAL WAYS TO DEMONSTRATE which is the k vector. As the phonon dispersion plot investigates the different ways vibrations can take place in the same time, if there were for example only a few atoms, this would give rise to only a few different k points. However, as we are dealing with an infinite lattice, instead of giving quantised k points, a continuous line of k points can be generated, giving rise to a band. One band is called a branch. The number of branches is dependent on the number of different atoms in the lattice. In MgO lattice there are 2 atoms. Using the equation 3N (not 3N-6 as this takes into account rotational and translation degeneracy for single molecules that we don&#039;t need to consider for crystal vibrations) where N is the number of different atoms, we get 6 branches which can be seen in the phonon dispersion plot in Figure X. Using the dispersion plots are useful for seeing the frequency vs k vector as a whole, however, makes it difficult to determine pieces of information such as how many states are at a given frequency, and whether there is a direct or indirect band gap. &lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal Expansion Coefficient&amp;lt;/h3&amp;gt;&lt;br /&gt;
Using the equation &amp;lt;math&amp;gt;\frac{1}{V_0}\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt; gives the thermal expansion coefficient. This is a value that tells us how much a given crystal expands with an increase in temperature. We use the &amp;lt;math&amp;gt;\frac{1}{V_0}&amp;lt;/math&amp;gt; term to normalise this value so it can be applied to a crystal of any size which is composed of the same crystal. Below, the different computational methods that can be used to investigate how these properties change with temperature are used. &lt;br /&gt;
&amp;lt;h3&amp;gt;Harmonic and Quasi-Harmonic approximations&amp;lt;/h3&amp;gt;&lt;br /&gt;
The harmonic oscillator is simply a taylor expansion of INSERT EQUATION. The harmonic oscillator takes the third term (quadratic term) giving the easily the harmonic oscillator parabola. When looking at harmonic potential energies, as we change the temperature, the average bond length stays at an equilibrium point and therefore the volume of the crystal doesn&#039;t change. This means that although this approximation works well at lower temperatures as there is little change in volume at low temperatures in reality, at higher temperatures, harmonic and anharmonic (which is a much more realistic model) deviate a lot, giving unreliable data for higher temperatures. A compromise between harmonic which isn&#039;t a very reliable approximation as it only uses 3 terms from the taylor series expansion and using an anharmonic which uses many terms and will be very expensive is using a quasi-harmonic approximation. When we use the Quasi Harmonic approximation, although the approximation isn&#039;t as accurate as anharmonic, it still gives the point where the bond breaks at higher temperatures. INSERT HELMHOLTZ EQUATION.  In the helmholtz free energy equations we use, the differences in the equations for harmonic and quasi-harmonic plots are in the frequency term. In a harmonic system, we would use equation 3 as the potential, however as we are looking at a quasi harmonic system, within the brillouin zone &amp;lt;math&amp;gt;-\pi &amp;lt; k &amp;lt; \pi &amp;lt;/math&amp;gt; we use equation 1. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{4J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 1)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{2J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 2)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{1}{2\pi}){\frac{k}{\mu}}^{\frac{1}{2}} &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 3)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
The molecular dynamics method takes the values from the ideal MgO crystal, then when we change the parameters, generate random velocities. This process is continued at each time step until the average of the values converge to a single point. Once the values of the velocity has started to converge, can start to measure properties of the crystals e.g. Energy. &lt;br /&gt;
&amp;lt;h3&amp;gt;Helmholtz Free Energy&amp;lt;/h3&amp;gt;&lt;br /&gt;
[[File:Screen_Shot_2018-02-27_at_10.12.39.png|thumb|centre|Eq. 4]]&lt;br /&gt;
A = U - TS&lt;br /&gt;
In order to look at the energy of the vibrational modes, we use the vibrational contribution to the entropy using statistical thermodynamics and the partition coefficient. &lt;br /&gt;
The first term of equation 4 is the internal energy, the second term is the zero point energy (energy at 0K) and the final term is the statistical thermodynamics contribution - the contribution to the energy from the different vibrations.&lt;br /&gt;
&amp;lt;h2&amp;gt;Method&amp;lt;/h2&amp;gt;&lt;br /&gt;
For all of the calculations, the GUI DLVisualise was used. For all calculations, the execute GULP panel was brought up and in the GULP potential parameters, ionic.lib was used and include shells was not included. &lt;br /&gt;
&amp;lt;h3&amp;gt;Lattice vibrations -Computing the phonons&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected, and then run was pressed. Once the job has completed, this shows in the job list and the files were recovered. The energy could be found in the log file under Total Free Energy. &lt;br /&gt;
[[File:MgO_phonon_1.PNG|thumb|centre|Figure 3: Aide for bond lengths table]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Calculating the free energy in the Harmonic approximation&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected. Under General Opts, phonon dispersion was selected with N points set to 50 and calculate phonon eigenvectors was selected, so that specific points in k-space (relating to the origin, x direction vectors being in phase etc.) are represented with greek letters. The files were recovered and the phonon dispersion was displayed using the 1D data display. This is simply one way of displaying all of the data - the same data can be displayed as a density of states. Instead of simply giving the angular frequency as a function of the wave vector, a plot of density of states can also show how many states have a given energy at each k vector point. This can show the energy difference in the band gap, and the most densely populated k-states more easily. In order to visualise the density of states, the phonon dispersion is &#039;chopped up&#039; into sections. The number of sections is determined by the grid size (these parameters can be changed in the GULP execution panel. In this, the frequencies at the edge of the grids are taken and plotted (only one side as not to repeat the counting of the frequencies). The higher the grid size, the greater the accuracy of the density of states as this allows a greater number of wave vectors to be sampled. The value of the grid size is called the shrinking factor.&lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal expansion of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
In order to determine a suitable shrinking factor, a number of grid sizes were investigated with the highest being 32x32x32. As having a higher shrinking factor takes longer and more processing power (leads to being more expensive), choosing the shrinking factor becomes a compromise between time and accuracy. As can be seen from the plot, in Figure [X], and a subsequent calculation to check this, the Helmholtz free energy stops changing after a grid size of 20x20x20 so this seemed like a reasonable value to use as not to compromise the accuracy for a quicker run time. The settings used for this calculation were, select phonon DOS, change shrinking factor to 20x20x20 and set the temperature from 0-3000 K in 100 K intervals. For each temperature, the free energy and BLAH were taken from the log file.&lt;br /&gt;
[[File:MgO_DOS_16x16x16.PNG|thumb|centre|Figure 3: Aide for bond lengths table]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
For Molecular dynamics, a super cell which is twice the length on every side of the cell. This is so the cell is larger and is more similar to &#039;an infinite lattice&#039;. Molecular Dynamics option was selected on the execute panel, the NPT ensemble was chosen, the time step used was 1 femtosecond, equilibration steps of 500, production steps to 500 steps and sampling steps and trajectory write steps to 5. The temperature used went from 100-3000 K with 100 K interval steps. As the volume of the cell is different to the cell used in the quasi-harmonic approximation, the cell volume taken from the log file (the last average cell volume), the volume was divided by 8 to get the same volume as the conventional cell for the quasi-harmonic approximation.&lt;br /&gt;
&amp;lt;h2&amp;gt;Results and discussion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Phonon Modes of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
When the density of states for calculated for a single k point, it can be worked out by examining the phonon dispersion which k point this is. In this case, the point is L as there are only 4 peaks (2 that have double the intensity due to the double degeneracy) and at L there are only 4 branches where we would expect 6 (due to 3N to calculate number of vibrational branches expected). This can also be seen by comparing the frequencies of the peaks in the 1x1x1 DOS and the frequency of the 4 branches at L. This can be checked in the log file as although the character L is useful for helping us to determine the symmetry of the modes of vibrations, it&#039;s always useful to numerically quantify values. This is simply in the row &#039;K point&#039; where the K point is 0.5. It&#039;s important that it can be viewed in the log file as on the phonon dispersion, only greek characters which represent different k points can be seen and it&#039;s not always obvious what numerical value goes with each character. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_1.PNG|thumb|centre|Figure X: MgO Density of States 1x1x1 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_3x3x3.PNG|thumb|centre|Figure X: MgO Density of States 3x3x3 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_8x8x8.PNG|thumb|centre|Figure X: MgO Density of States 8x8x8 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_32x32x32.PNG|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from the progression in grid size that as the grid size increases, although the peaks with the greatest intensity stay in the same place, the shape of the density of states becomes much more defined and includes information on the states at k-points even where there is a lower number of states. When looking at the difference between grid sizes qualitatively, there isn&#039;t much of a difference between 8x8x8 and 32x32x32 apart from there is a more continuous curve with the same shape. It seems that a grid size of approximately 12x12x12 would be the minimum grid size as this is the grid size at which all k points are sampled and there aren&#039;t k-points with an angular frequency of 0 which then have non-zero values of angular frequencies at higher grid sizes. However, when deciding qualitatively, the convergence of the free energy can be used. At 20x20x20 and 6 decimal places, the free energy converges suggesting this is the optimum grid size to use. The density of states in terms of the phonon dispersion curve is basically plotting how many k points there are per value of angular frequency. This can be seen more easily by placing them side by side as seen in FIGURE ENTER HERE.&lt;br /&gt;
&amp;lt;h3&amp;gt;Free energy varied with grid size&amp;lt;/h3&amp;gt;&lt;br /&gt;
INSERT TABLE HERE&lt;br /&gt;
As explained in the introduction, the grid size is simply how many pieces the phonon dispersion has been separated into for the analysis of the density of states. As can be seen in TABLE X, after the grid size is 20x20x20, the values have converged and don&#039;t change (when looking at 6 decimal places, it may be changing beyond 6 decimal places). This is optimal as it reduces the computing power needed for a calculation whilst retaining almost the same level of accuracy. Using a grid size of 3x3x3 will gives a suitable energy for calculations accurate to 1 meV, REMEMBER TO DO 0.5mEV!!!!!!!! and a grid size of 5 gives a suitable energy for calculations accurate to 0.1 meV.&lt;br /&gt;
&amp;lt;h3&amp;gt;Quasi-Harmonic Thermal expansion&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Lattice_Parameter_Graph.png|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Free_energy_vs_T.png|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In Figure X, it can be seen that the free energy is constant, then almost linearly decreases. At very low temperatures, the only main contribution to the free energy is the zero point energy as this is temperature independent. At around 400 K (where the free energy starts to decrease). We can explain by looking at equation X as when the temperature increases, the entropic contribution increases. If we assume the internal energy doesn&#039;t change much with temperature, then the TS term will increase in magnitude and decrease the overall free energy term. By looking at equation X, the vibrational contribution term (also entropic term) is a ln term which will be negative, and again, decrease the overall free energy with an increase in temperature. &lt;br /&gt;
In the graph of lattice parameter vs temperature, the lattice parameter is initially constant and then increases linearly, then exponentially.  After the exponential region, it can be assumed that the lattice parameter increases exponentially, presumably converging at the melting temperature, however this would need to be investigated to be confirmed. Using the quasi-harmonic approximation, this gives the potential a &#039;quasi-anharmonic&#039; shape, meaning that the bond length will actually change with temperature but will just never reach the point where it breaks. Although this doesn&#039;t allow phase transitions to be investigated, it does allow the lattice parameter as a function of temperature to be investigated.&lt;br /&gt;
&lt;br /&gt;
Using the Quasi Harmonic approximation, and fitting the data to get a line of best fit with a gradient of INSERT HERE which is equivalent to &amp;lt;math&amp;gt;\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt;. Multiplying by the reciprocal of the initial volume of the crystal, gives a thermal expansion coefficient for the region of 300-1300 K of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;. By taking the value from lower temperatures, this gives a higher accuracy compared to the &#039;real value&#039;. This is because of the computational model that is being used. This model is quasi-harmonic which is based on the harmonic model. The harmonic oscillator is infinite and the bond between two atoms infinitely extends. However, at high temperatures this is not the reality. The bonds extend and break which is shown by the anharmonic model. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Temperature range (K)&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Quasi-Harmonic&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Molecular Dynamics&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Literature&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;0-300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.042\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;300-1300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.140\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;4.000\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;table&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-0-300.png|thumb|centre|Figure X: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-300-1300.png|thumb|centre|Figure X: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-Thermal-expansion-100-300.png|thumb|centre|Figure X: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-300-1300.png|thumb|centre|Figure X: ]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Conclusion&amp;lt;/h2&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ar3015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=673555</id>
		<title>Rep:Ar3015MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=673555"/>
		<updated>2018-02-27T15:29:06Z</updated>

		<summary type="html">&lt;p&gt;Ar3015: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h1&amp;gt;MgO Report - Antonia Reeves&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;Introduction&amp;lt;/h2&amp;gt;&lt;br /&gt;
In chemistry, it is much easier to treat crystals as rigid structures with set lattice points in unit cells. This can often hold as a good approximation at very low temperatures. However, this is obviously not the case. There are many different vibrations happening throughout the lattice structure leading to thermal expansion. These vibrations can be quantified by using a wave vector - this gives the direction of the propagation of the wave in reciprocal space. We use reciprocal space because FILL IN HERE. &lt;br /&gt;
&amp;lt;h3&amp;gt;Phonons and phonon dispersions&amp;lt;/h3&amp;gt;&lt;br /&gt;
In quantum chemistry, we can treat vibrations as both particles and waves. When treating vibrations as particles - just as particles of light are photons - they are called phonons. We can plot our frequency CHECK THIS of the phonons against the wave vector. This effectively gives a plot of the energy against the &#039;the way that vibrations move&#039; INSERT DIAGRAM OF POTENTIAL WAYS TO DEMONSTRATE which is the k vector. As the phonon dispersion plot investigates the different ways vibrations can take place in the same time, if there were for example only a few atoms, this would give rise to only a few different k points. However, as we are dealing with an infinite lattice, instead of giving quantised k points, a continuous line of k points can be generated, giving rise to a band. One band is called a branch. The number of branches is dependent on the number of different atoms in the lattice. In MgO lattice there are 2 atoms. Using the equation 3N (not 3N-6 as this takes into account rotational and translation degeneracy for single molecules that we don&#039;t need to consider for crystal vibrations) where N is the number of different atoms, we get 6 branches which can be seen in the phonon dispersion plot in Figure X. Using the dispersion plots are useful for seeing the frequency vs k vector as a whole, however, makes it difficult to determine pieces of information such as how many states are at a given frequency, and whether there is a direct or indirect band gap. &lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal Expansion Coefficient&amp;lt;/h3&amp;gt;&lt;br /&gt;
Using the equation &amp;lt;math&amp;gt;\frac{1}{V_0}\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt; gives the thermal expansion coefficient. This is a value that tells us how much a given crystal expands with an increase in temperature. We use the &amp;lt;math&amp;gt;\frac{1}{V_0}&amp;lt;/math&amp;gt; term to normalise this value so it can be applied to a crystal of any size which is composed of the same crystal. Below, the different computational methods that can be used to investigate how these properties change with temperature are used. &lt;br /&gt;
&amp;lt;h3&amp;gt;Harmonic and Quasi-Harmonic approximations&amp;lt;/h3&amp;gt;&lt;br /&gt;
The harmonic oscillator is simply a taylor expansion of INSERT EQUATION. The harmonic oscillator takes the third term (quadratic term) giving the easily the harmonic oscillator parabola. When looking at harmonic potential energies, as we change the temperature, the average bond length stays at an equilibrium point and therefore the volume of the crystal doesn&#039;t change. This means that although this approximation works well at lower temperatures as there is little change in volume at low temperatures in reality, at higher temperatures, harmonic and anharmonic (which is a much more realistic model) deviate a lot, giving unreliable data for higher temperatures. A compromise between harmonic which isn&#039;t a very reliable approximation as it only uses 3 terms from the taylor series expansion and using an anharmonic which uses many terms and will be very expensive is using a quasi-harmonic approximation. When we use the Quasi Harmonic approximation, although the approximation isn&#039;t as accurate as anharmonic, it still gives the point where the bond breaks at higher temperatures. INSERT HELMHOLTZ EQUATION.  In the helmholtz free energy equations we use, the differences in the equations for harmonic and quasi-harmonic plots are in the frequency term. In a harmonic system, we would use equation 3 as the potential, however as we are looking at a quasi harmonic system, within the brillouin zone &amp;lt;math&amp;gt;-\pi &amp;lt; k &amp;lt; \pi &amp;lt;/math&amp;gt; we use equation 1. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{4J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 1)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{2J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 2)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{1}{2\pi}){\frac{k}{\mu}}^{\frac{1}{2}} &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 3)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
The molecular dynamics method takes the values from the ideal MgO crystal, then when we change the parameters, generate random velocities. This process is continued at each time step until the average of the values converge to a single point. Once the values of the velocity has started to converge, can start to measure properties of the crystals e.g. Energy. &lt;br /&gt;
&amp;lt;h3&amp;gt;Helmholtz Free Energy&amp;lt;/h3&amp;gt;&lt;br /&gt;
[[File:Screen_Shot_2018-02-27_at_10.12.39.png|thumb|centre|Eq. 4]]&lt;br /&gt;
A = U - TS&lt;br /&gt;
In order to look at the energy of the vibrational modes, we use the vibrational contribution to the entropy using statistical thermodynamics and the partition coefficient. &lt;br /&gt;
The first term of equation 4 is the internal energy, the second term is the zero point energy (energy at 0K) and the final term is the statistical thermodynamics contribution - the contribution to the energy from the different vibrations.&lt;br /&gt;
&amp;lt;h2&amp;gt;Method&amp;lt;/h2&amp;gt;&lt;br /&gt;
For all of the calculations, the GUI DLVisualise was used. For all calculations, the execute GULP panel was brought up and in the GULP potential parameters, ionic.lib was used and include shells was not included. &lt;br /&gt;
&amp;lt;h3&amp;gt;Lattice vibrations -Computing the phonons&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected, and then run was pressed. Once the job has completed, this shows in the job list and the files were recovered. The energy could be found in the log file under Total Free Energy. &lt;br /&gt;
[[File:MgO_phonon_1.PNG|thumb|centre|Figure 3: Aide for bond lengths table]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Calculating the free energy in the Harmonic approximation&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected. Under General Opts, phonon dispersion was selected with N points set to 50 and calculate phonon eigenvectors was selected, so that specific points in k-space (relating to the origin, x direction vectors being in phase etc.) are represented with greek letters. The files were recovered and the phonon dispersion was displayed using the 1D data display. This is simply one way of displaying all of the data - the same data can be displayed as a density of states. Instead of simply giving the angular frequency as a function of the wave vector, a plot of density of states can also show how many states have a given energy at each k vector point. This can show the energy difference in the band gap, and the most densely populated k-states more easily. In order to visualise the density of states, the phonon dispersion is &#039;chopped up&#039; into sections. The number of sections is determined by the grid size (these parameters can be changed in the GULP execution panel. In this, the frequencies at the edge of the grids are taken and plotted (only one side as not to repeat the counting of the frequencies). The higher the grid size, the greater the accuracy of the density of states as this allows a greater number of wave vectors to be sampled. The value of the grid size is called the shrinking factor.&lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal expansion of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
In order to determine a suitable shrinking factor, a number of grid sizes were investigated with the highest being 32x32x32. As having a higher shrinking factor takes longer and more processing power (leads to being more expensive), choosing the shrinking factor becomes a compromise between time and accuracy. As can be seen from the plot, in Figure [X], and a subsequent calculation to check this, the Helmholtz free energy stops changing after a grid size of 20x20x20 so this seemed like a reasonable value to use as not to compromise the accuracy for a quicker run time. The settings used for this calculation were, select phonon DOS, change shrinking factor to 20x20x20 and set the temperature from 0-3000 K in 100 K intervals. For each temperature, the free energy and BLAH were taken from the log file.&lt;br /&gt;
[[File:MgO_DOS_16x16x16.PNG|thumb|centre|Figure 3: Aide for bond lengths table]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
For Molecular dynamics, a super cell which is twice the length on every side of the cell. This is so the cell is larger and is more similar to &#039;an infinite lattice&#039;. Molecular Dynamics option was selected on the execute panel, the NPT ensemble was chosen, the time step used was 1 femtosecond, equilibration steps of 500, production steps to 500 steps and sampling steps and trajectory write steps to 5. The temperature used went from 100-3000 K with 100 K interval steps. As the volume of the cell is different to the cell used in the quasi-harmonic approximation, the cell volume taken from the log file (the last average cell volume), the volume was divided by 8 to get the same volume as the conventional cell for the quasi-harmonic approximation.&lt;br /&gt;
&amp;lt;h2&amp;gt;Results and discussion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Phonon Modes of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
When the density of states for calculated for a single k point, it can be worked out by examining the phonon dispersion which k point this is. In this case, the point is L as there are only 4 peaks (2 that have double the intensity due to the double degeneracy) and at L there are only 4 branches where we would expect 6 (due to 3N to calculate number of vibrational branches expected). This can also be seen by comparing the frequencies of the peaks in the 1x1x1 DOS and the frequency of the 4 branches at L. This can be checked in the log file as although the character L is useful for helping us to determine the symmetry of the modes of vibrations, it&#039;s always useful to numerically quantify values. This is simply in the row &#039;K point&#039; where the K point is 0.5. It&#039;s important that it can be viewed in the log file as on the phonon dispersion, only greek characters which represent different k points can be seen and it&#039;s not always obvious what numerical value goes with each character. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_1.PNG|thumb|centre|Figure X: MgO Density of States 1x1x1 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_3x3x3.PNG|thumb|centre|Figure X: MgO Density of States 3x3x3 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_8x8x8.PNG|thumb|centre|Figure X: MgO Density of States 8x8x8 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_32x32x32.PNG|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from the progression in grid size that as the grid size increases, although the peaks with the greatest intensity stay in the same place, the shape of the density of states becomes much more defined and includes information on the states at k-points even where there is a lower number of states. When looking at the difference between grid sizes qualitatively, there isn&#039;t much of a difference between 8x8x8 and 32x32x32 apart from there is a more continuous curve with the same shape. It seems that a grid size of approximately 12x12x12 would be the minimum grid size as this is the grid size at which all k points are sampled and there aren&#039;t k-points with an angular frequency of 0 which then have non-zero values of angular frequencies at higher grid sizes. However, when deciding qualitatively, the convergence of the free energy can be used. At 20x20x20 and 6 decimal places, the free energy converges suggesting this is the optimum grid size to use. The density of states in terms of the phonon dispersion curve is basically plotting how many k points there are per value of angular frequency. This can be seen more easily by placing them side by side as seen in FIGURE ENTER HERE.&lt;br /&gt;
&amp;lt;h3&amp;gt;Free energy varied with grid size&amp;lt;/h3&amp;gt;&lt;br /&gt;
INSERT TABLE HERE&lt;br /&gt;
As explained in the introduction, the grid size is simply how many pieces the phonon dispersion has been separated into for the analysis of the density of states. As can be seen in TABLE X, after the grid size is 20x20x20, the values have converged and don&#039;t change (when looking at 6 decimal places, it may be changing beyond 6 decimal places). This is optimal as it reduces the computing power needed for a calculation whilst retaining almost the same level of accuracy. Using a grid size of 3x3x3 will gives a suitable energy for calculations accurate to 1 meV, REMEMBER TO DO 0.5mEV!!!!!!!! and a grid size of 5 gives a suitable energy for calculations accurate to 0.1 meV.&lt;br /&gt;
&amp;lt;h3&amp;gt;Quasi-Harmonic Thermal expansion&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Lattice_Parameter_Graph.png|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Free_energy_vs_T.png|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In Figure X, it can be seen that the free energy is constant, then almost linearly decreases. At very low temperatures, the only main contribution to the free energy is the zero point energy as this is temperature independent. At around 400 K (where the free energy starts to decrease). We can explain by looking at equation X as when the temperature increases, the entropic contribution increases. If we assume the internal energy doesn&#039;t change much with temperature, then the TS term will increase in magnitude and decrease the overall free energy term. By looking at equation X, the vibrational contribution term (also entropic term) is a ln term which will be negative, and again, decrease the overall free energy with an increase in temperature. &lt;br /&gt;
In the graph of lattice parameter vs temperature, the lattice parameter is initially constant and then increases linearly, then exponentially.  After the exponential region, it can be assumed that the lattice parameter increases exponentially, presumably converging at the melting temperature, however this would need to be investigated to be confirmed. Using the quasi-harmonic approximation, this gives the potential a &#039;quasi-anharmonic&#039; shape, meaning that the bond length will actually change with temperature but will just never reach the point where it breaks. Although this doesn&#039;t allow phase transitions to be investigated, it does allow the lattice parameter as a function of temperature to be investigated.&lt;br /&gt;
&lt;br /&gt;
Using the Quasi Harmonic approximation, and fitting the data to get a line of best fit with a gradient of INSERT HERE which is equivalent to &amp;lt;math&amp;gt;\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt;. Multiplying by the reciprocal of the initial volume of the crystal, gives a thermal expansion coefficient for the region of 300-1300 K of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;. By taking the value from lower temperatures, this gives a higher accuracy compared to the &#039;real value&#039;. This is because of the computational model that is being used. This model is quasi-harmonic which is based on the harmonic model. The harmonic oscillator is infinite and the bond between two atoms infinitely extends. However, at high temperatures this is not the reality. The bonds extend and break which is shown by the anharmonic model. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Temperature range (K)&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Quasi-Harmonic&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Molecular Dynamics&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Literature&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;0-300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.042\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;300-1300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.140\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;4.000\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;table&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-0-300.png|thumb|centre|Figure X: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:QH-300-1300.png|thumb|centre|Figure X: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-Thermal-expansion-100-300.png|thumb|centre|Figure X: ]]&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;[[File:MD-300-1300.png|thumb|centre|Figure X: ]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Conclusion&amp;lt;/h2&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ar3015</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=673543</id>
		<title>Rep:Ar3015MgO</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Ar3015MgO&amp;diff=673543"/>
		<updated>2018-02-27T15:21:59Z</updated>

		<summary type="html">&lt;p&gt;Ar3015: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h1&amp;gt;MgO Report - Antonia Reeves&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;Introduction&amp;lt;/h2&amp;gt;&lt;br /&gt;
In chemistry, it is much easier to treat crystals as rigid structures with set lattice points in unit cells. This can often hold as a good approximation at very low temperatures. However, this is obviously not the case. There are many different vibrations happening throughout the lattice structure leading to thermal expansion. These vibrations can be quantified by using a wave vector - this gives the direction of the propagation of the wave in reciprocal space. We use reciprocal space because FILL IN HERE. &lt;br /&gt;
&amp;lt;h3&amp;gt;Phonons and phonon dispersions&amp;lt;/h3&amp;gt;&lt;br /&gt;
In quantum chemistry, we can treat vibrations as both particles and waves. When treating vibrations as particles - just as particles of light are photons - they are called phonons. We can plot our frequency CHECK THIS of the phonons against the wave vector. This effectively gives a plot of the energy against the &#039;the way that vibrations move&#039; INSERT DIAGRAM OF POTENTIAL WAYS TO DEMONSTRATE which is the k vector. As the phonon dispersion plot investigates the different ways vibrations can take place in the same time, if there were for example only a few atoms, this would give rise to only a few different k points. However, as we are dealing with an infinite lattice, instead of giving quantised k points, a continuous line of k points can be generated, giving rise to a band. One band is called a branch. The number of branches is dependent on the number of different atoms in the lattice. In MgO lattice there are 2 atoms. Using the equation 3N (not 3N-6 as this takes into account rotational and translation degeneracy for single molecules that we don&#039;t need to consider for crystal vibrations) where N is the number of different atoms, we get 6 branches which can be seen in the phonon dispersion plot in Figure X. Using the dispersion plots are useful for seeing the frequency vs k vector as a whole, however, makes it difficult to determine pieces of information such as how many states are at a given frequency, and whether there is a direct or indirect band gap. &lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal Expansion Coefficient&amp;lt;/h3&amp;gt;&lt;br /&gt;
Using the equation &amp;lt;math&amp;gt;\frac{1}{V_0}\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt; gives the thermal expansion coefficient. This is a value that tells us how much a given crystal expands with an increase in temperature. We use the &amp;lt;math&amp;gt;\frac{1}{V_0}&amp;lt;/math&amp;gt; term to normalise this value so it can be applied to a crystal of any size which is composed of the same crystal. Below, the different computational methods that can be used to investigate how these properties change with temperature are used. &lt;br /&gt;
&amp;lt;h3&amp;gt;Harmonic and Quasi-Harmonic approximations&amp;lt;/h3&amp;gt;&lt;br /&gt;
The harmonic oscillator is simply a taylor expansion of INSERT EQUATION. The harmonic oscillator takes the third term (quadratic term) giving the easily the harmonic oscillator parabola. When looking at harmonic potential energies, as we change the temperature, the average bond length stays at an equilibrium point and therefore the volume of the crystal doesn&#039;t change. This means that although this approximation works well at lower temperatures as there is little change in volume at low temperatures in reality, at higher temperatures, harmonic and anharmonic (which is a much more realistic model) deviate a lot, giving unreliable data for higher temperatures. A compromise between harmonic which isn&#039;t a very reliable approximation as it only uses 3 terms from the taylor series expansion and using an anharmonic which uses many terms and will be very expensive is using a quasi-harmonic approximation. When we use the Quasi Harmonic approximation, although the approximation isn&#039;t as accurate as anharmonic, it still gives the point where the bond breaks at higher temperatures. INSERT HELMHOLTZ EQUATION.  In the helmholtz free energy equations we use, the differences in the equations for harmonic and quasi-harmonic plots are in the frequency term. In a harmonic system, we would use equation 3 as the potential, however as we are looking at a quasi harmonic system, within the brillouin zone &amp;lt;math&amp;gt;-\pi &amp;lt; k &amp;lt; \pi &amp;lt;/math&amp;gt; we use equation 1. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{4J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 1)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{2J}{m})^{\frac{1}{2}}  |sin \frac{ka}{2}| &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 2)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;math&amp;gt; w_k = (\frac{1}{2\pi}){\frac{k}{\mu}}^{\frac{1}{2}} &amp;lt;/math&amp;gt; &amp;lt;b&amp;gt;(Eq. 3)&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
The molecular dynamics method takes the values from the ideal MgO crystal, then when we change the parameters, generate random velocities. This process is continued at each time step until the average of the values converge to a single point. Once the values of the velocity has started to converge, can start to measure properties of the crystals e.g. Energy. &lt;br /&gt;
&amp;lt;h3&amp;gt;Helmholtz Free Energy&amp;lt;/h3&amp;gt;&lt;br /&gt;
[[File:Screen_Shot_2018-02-27_at_10.12.39.png|thumb|centre|Eq. 4]]&lt;br /&gt;
A = U - TS&lt;br /&gt;
In order to look at the energy of the vibrational modes, we use the vibrational contribution to the entropy using statistical thermodynamics and the partition coefficient. &lt;br /&gt;
The first term of equation 4 is the internal energy, the second term is the zero point energy (energy at 0K) and the final term is the statistical thermodynamics contribution - the contribution to the energy from the different vibrations.&lt;br /&gt;
&amp;lt;h2&amp;gt;Method&amp;lt;/h2&amp;gt;&lt;br /&gt;
For all of the calculations, the GUI DLVisualise was used. For all calculations, the execute GULP panel was brought up and in the GULP potential parameters, ionic.lib was used and include shells was not included. &lt;br /&gt;
&amp;lt;h3&amp;gt;Lattice vibrations -Computing the phonons&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected, and then run was pressed. Once the job has completed, this shows in the job list and the files were recovered. The energy could be found in the log file under Total Free Energy. &lt;br /&gt;
[[File:MgO_phonon_1.PNG|thumb|centre|Figure 3: Aide for bond lengths table]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Calculating the free energy in the Harmonic approximation&amp;lt;/h3&amp;gt;&lt;br /&gt;
Single point was selected. Under General Opts, phonon dispersion was selected with N points set to 50 and calculate phonon eigenvectors was selected, so that specific points in k-space (relating to the origin, x direction vectors being in phase etc.) are represented with greek letters. The files were recovered and the phonon dispersion was displayed using the 1D data display. This is simply one way of displaying all of the data - the same data can be displayed as a density of states. Instead of simply giving the angular frequency as a function of the wave vector, a plot of density of states can also show how many states have a given energy at each k vector point. This can show the energy difference in the band gap, and the most densely populated k-states more easily. In order to visualise the density of states, the phonon dispersion is &#039;chopped up&#039; into sections. The number of sections is determined by the grid size (these parameters can be changed in the GULP execution panel. In this, the frequencies at the edge of the grids are taken and plotted (only one side as not to repeat the counting of the frequencies). The higher the grid size, the greater the accuracy of the density of states as this allows a greater number of wave vectors to be sampled. The value of the grid size is called the shrinking factor.&lt;br /&gt;
&amp;lt;h3&amp;gt;Thermal expansion of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
In order to determine a suitable shrinking factor, a number of grid sizes were investigated with the highest being 32x32x32. As having a higher shrinking factor takes longer and more processing power (leads to being more expensive), choosing the shrinking factor becomes a compromise between time and accuracy. As can be seen from the plot, in Figure [X], and a subsequent calculation to check this, the Helmholtz free energy stops changing after a grid size of 20x20x20 so this seemed like a reasonable value to use as not to compromise the accuracy for a quicker run time. The settings used for this calculation were, select phonon DOS, change shrinking factor to 20x20x20 and set the temperature from 0-3000 K in 100 K intervals. For each temperature, the free energy and BLAH were taken from the log file.&lt;br /&gt;
[[File:MgO_DOS_16x16x16.PNG|thumb|centre|Figure 3: Aide for bond lengths table]]&lt;br /&gt;
&amp;lt;h3&amp;gt;Molecular Dynamics&amp;lt;/h3&amp;gt;&lt;br /&gt;
For Molecular dynamics, a super cell which is twice the length on every side of the cell. This is so the cell is larger and is more similar to &#039;an infinite lattice&#039;. Molecular Dynamics option was selected on the execute panel, the NPT ensemble was chosen, the time step used was 1 femtosecond, equilibration steps of 500, production steps to 500 steps and sampling steps and trajectory write steps to 5. The temperature used went from 100-3000 K with 100 K interval steps. As the volume of the cell is different to the cell used in the quasi-harmonic approximation, the cell volume taken from the log file (the last average cell volume), the volume was divided by 8 to get the same volume as the conventional cell for the quasi-harmonic approximation.&lt;br /&gt;
&amp;lt;h2&amp;gt;Results and discussion&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Phonon Modes of MgO&amp;lt;/h3&amp;gt;&lt;br /&gt;
When the density of states for calculated for a single k point, it can be worked out by examining the phonon dispersion which k point this is. In this case, the point is L as there are only 4 peaks (2 that have double the intensity due to the double degeneracy) and at L there are only 4 branches where we would expect 6 (due to 3N to calculate number of vibrational branches expected). This can also be seen by comparing the frequencies of the peaks in the 1x1x1 DOS and the frequency of the 4 branches at L. This can be checked in the log file as although the character L is useful for helping us to determine the symmetry of the modes of vibrations, it&#039;s always useful to numerically quantify values. This is simply in the row &#039;K point&#039; where the K point is 0.5. It&#039;s important that it can be viewed in the log file as on the phonon dispersion, only greek characters which represent different k points can be seen and it&#039;s not always obvious what numerical value goes with each character. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_1.PNG|thumb|centre|Figure X: MgO Density of States 1x1x1 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_3x3x3.PNG|thumb|centre|Figure X: MgO Density of States 3x3x3 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_8x8x8.PNG|thumb|centre|Figure X: MgO Density of States 8x8x8 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:MgO_DOS_32x32x32.PNG|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
As can be seen from the progression in grid size that as the grid size increases, although the peaks with the greatest intensity stay in the same place, the shape of the density of states becomes much more defined and includes information on the states at k-points even where there is a lower number of states. When looking at the difference between grid sizes qualitatively, there isn&#039;t much of a difference between 8x8x8 and 32x32x32 apart from there is a more continuous curve with the same shape. It seems that a grid size of approximately 12x12x12 would be the minimum grid size as this is the grid size at which all k points are sampled and there aren&#039;t k-points with an angular frequency of 0 which then have non-zero values of angular frequencies at higher grid sizes. However, when deciding qualitatively, the convergence of the free energy can be used. At 20x20x20 and 6 decimal places, the free energy converges suggesting this is the optimum grid size to use. The density of states in terms of the phonon dispersion curve is basically plotting how many k points there are per value of angular frequency. This can be seen more easily by placing them side by side as seen in FIGURE ENTER HERE.&lt;br /&gt;
&amp;lt;h3&amp;gt;Free energy varied with grid size&amp;lt;/h3&amp;gt;&lt;br /&gt;
INSERT TABLE HERE&lt;br /&gt;
As explained in the introduction, the grid size is simply how many pieces the phonon dispersion has been separated into for the analysis of the density of states. As can be seen in TABLE X, after the grid size is 20x20x20, the values have converged and don&#039;t change (when looking at 6 decimal places, it may be changing beyond 6 decimal places). This is optimal as it reduces the computing power needed for a calculation whilst retaining almost the same level of accuracy. Using a grid size of 3x3x3 will gives a suitable energy for calculations accurate to 1 meV, REMEMBER TO DO 0.5mEV!!!!!!!! and a grid size of 5 gives a suitable energy for calculations accurate to 0.1 meV.&lt;br /&gt;
&amp;lt;h3&amp;gt;Quasi-Harmonic Thermal expansion&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Lattice_Parameter_Graph.png|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;[[File:Free_energy_vs_T.png|thumb|centre|Figure X: MgO Density of States 32x32x32 grid size]]&amp;lt;/th&amp;gt; &lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
In Figure X, it can be seen that the free energy is constant, then almost linearly decreases. At very low temperatures, the only main contribution to the free energy is the zero point energy as this is temperature independent. At around 400 K (where the free energy starts to decrease). We can explain by looking at equation X as when the temperature increases, the entropic contribution increases. If we assume the internal energy doesn&#039;t change much with temperature, then the TS term will increase in magnitude and decrease the overall free energy term. By looking at equation X, the vibrational contribution term (also entropic term) is a ln term which will be negative, and again, decrease the overall free energy with an increase in temperature. &lt;br /&gt;
In the graph of lattice parameter vs temperature, the lattice parameter is initially constant and then increases linearly, then exponentially.  After the exponential region, it can be assumed that the lattice parameter increases exponentially, presumably converging at the melting temperature, however this would need to be investigated to be confirmed. Using the quasi-harmonic approximation, this gives the potential a &#039;quasi-anharmonic&#039; shape, meaning that the bond length will actually change with temperature but will just never reach the point where it breaks. Although this doesn&#039;t allow phase transitions to be investigated, it does allow the lattice parameter as a function of temperature to be investigated.&lt;br /&gt;
&lt;br /&gt;
Using the Quasi Harmonic approximation, and fitting the data to get a line of best fit with a gradient of INSERT HERE which is equivalent to &amp;lt;math&amp;gt;\frac{\delta V}{\delta T}&amp;lt;/math&amp;gt;. Multiplying by the reciprocal of the initial volume of the crystal, gives a thermal expansion coefficient for the region of 300-1300 K of &amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;. By taking the value from lower temperatures, this gives a higher accuracy compared to the &#039;real value&#039;. This is because of the computational model that is being used. This model is quasi-harmonic which is based on the harmonic model. The harmonic oscillator is infinite and the bond between two atoms infinitely extends. However, at high temperatures this is not the reality. The bonds extend and break which is shown by the anharmonic model. &lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Temperature range (K)&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Quasi-Harmonic&amp;lt;/th&amp;gt; &lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Molecular Dynamics&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Thermal expansion coefficient - Literature&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;0-300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;9.572\times 10^{-6}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.942\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;1.042\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;300-1300&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.083\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;3.140\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;math&amp;gt;4.000\times 10^{-5}&amp;lt;/math&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
[[File:QH-300-1300.png|thumb|centre|Figure X: ]]&lt;br /&gt;
[[File:MD-Thermal-expansion-100-300.png|thumb|centre|Figure X: ]]&lt;br /&gt;
[[File:QH-0-300.png|thumb|centre|Figure X: ]]&lt;br /&gt;
[[File:MD-300-1300.png|thumb|centre|Figure X: ]]&lt;br /&gt;
&amp;lt;h2&amp;gt;Conclusion&amp;lt;/h2&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ar3015</name></author>
	</entry>
</feed>